Get Protected Virtual Machines
DescriptionGet a list of all protected VMs currently being replicated to the specified cloud file system. VMs will not be returned if they are not contained within at least one protection group snapshot in the specified cloud file system.
Request
URLURL
Path Parameters
Path Parameters
Unique identifier of an individual cloud file system. Use the cloud file system ID of the cloud file system from where you want to get a list of all protected VMs.
Query Parameters
Query Parameters
An opaque string previously returned by this API that can be passed to this API in order to get the next set of results. If this property is not passed, enumeration of starts from the beginning.
The maximum number of results to return with the call. The maximum is 500, and the default is 50 results.
Authentication
Response
Response BodyResponse Body
200 OK
OK. The request succeeded.
{
"cursor": "string",
"vms": [
{
"id": "string",
"name": "string",
"size": 0,
"vcdr_vm_id": "string"
}
]
}
An opaque string that can be passed back to this API in order to get the next set of results. If this poperty is not present, no more results are available.
Errors
Bad request. The server could not understand the request.
Unauthorized. The client has not authenticated.
Forbidden. The client is not authorized.
Not found. The server cannot find the specified resource.
VMware Cloud DR-specific error.
An error unique to VMware Cloud DR was encountered while attempting to satisfy the request. See the returned object for details on the error.
Code Samples
cURL Command
Vendor Extensions
x-vcdr-roles-config:
mutatorMethod: false
roles:
- DR_ADMIN
- DR_TESTER
- BACKUP_ADMIN
- SERVICE_ADMIN
- SDDC_ADMIN
- AUDITOR