in internal/provider/application_compute_vm_resource.go [52:88]
func (r *applicationComputeVMsResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse) {
resp.Schema = schema.Schema{
MarkdownDescription: "You can use this resource to onboard GCE 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{
"cloudcredential": schema.StringAttribute{
Required: true,
MarkdownDescription: "Provide the ID of the cloud credential.",
},
"appliance_clusterid": schema.StringAttribute{
Required: true,
MarkdownDescription: "Provide the ID of the backup/recovery appliance.",
},
"projectid": schema.StringAttribute{
Required: true,
MarkdownDescription: "Provide the ID of the project in which the resource belongs. If it is not provided, the provider project is used.",
},
"region": schema.StringAttribute{
Required: true,
MarkdownDescription: "Provide the region to create the cloud credential.",
},
"vmids": schema.ListAttribute{
Required: true,
ElementType: types.StringType,
MarkdownDescription: "Provide the list of GCP instance IDs.",
},
"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.",
},
},
}
}