in internal/provider/application_vmware_vm_resource.go [51:84]
func (r *applicationVmwareVMsResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse) {
resp.Schema = schema.Schema{
Description: "Manages an vCenter Host to add Virtual Machines.",
MarkdownDescription: "You can use this resource to onboard VMware VMs as an application into the Backup and DR Service. After you onboard the application, you can perform backup or restore operations.",
Attributes: map[string]schema.Attribute{
"appliance_id": schema.StringAttribute{
Required: true,
MarkdownDescription: "Provide the backup/recovery appliance ID.",
},
"vcenter_id": schema.StringAttribute{
Required: true,
MarkdownDescription: "Provide the ID for the vCenter host.",
},
"cluster_name": schema.StringAttribute{
Required: true,
MarkdownDescription: "Provide a cluster name of the vCenter.",
},
"vms": schema.ListAttribute{
Required: true,
ElementType: types.StringType,
MarkdownDescription: "Provide the list of VMs UUID.",
},
"status": schema.StringAttribute{
Computed: true,
MarkdownDescription: "It displays the status of the request.",
},
"applications": schema.ListAttribute{
Computed: true,
ElementType: types.StringType,
MarkdownDescription: "It displays the list of application IDs.",
},
},
}
}