Get Protected Virtual Machine Batch Details

Get Protected Virtual Machine Batch Details

Get detailed information about the specified VMs.

Request
URI
POST
https://{api_host}/api/vcdr/v1/cloud-file-systems/{cloud_file_system_id}/protected-vms-batch
COPY
Path Parameters
string
cloud_file_system_id
Required

The cloud file system containing the protection groups of interest.


Request Body
{
    "vms": [
        {
            "vcenter_id": "string",
            "id": "string"
        }
    ]
}
array of VmId
vms
Optional

The VMs of interest. All results are returned in a single request, so the number of provided VMs should be bounded.

Authentication
This operation uses the following authentication methods.
Responses
200

OK. The request succeeded.

Returns GetProtectedVirtualMachineBatchDetailsResponse of type(s) application/json
"GetProtectedVirtualMachineBatchDetailsResponse Object"
array of object
vm_details
Optional

An array of objects describing the provided protected VMs


400

Bad request. The server could not understand the request.

Operation doesn't return any data structure

401

Unauthorized. The client has not authenticated.

Operation doesn't return any data structure

403

Forbidden. The client is not authorized.

Operation doesn't return any data structure

404

Not found. The server cannot find the specified resource.

Operation doesn't return any data structure

500

VMware Live Cyber Recovery-specific error.
An error unique to VMware Live Cyber Recovery was encountered while attempting to satisfy the request. See the returned object for details on the error.

Returns Error of type(s) application/json
"Error Object"
array of object
messages
Optional

A stack or error messages. The first element (top of the stack) is the broadest description of the failure.


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/api/vcdr/v1/cloud-file-systems/{cloud_file_system_id}/protected-vms-batch