Get Protected Sites
Protected sites can be filtered by protection groups, or protected vCenters. To do so provide a filter_spec with a list of protection group, or vCenter IDs.
Example usage:
curl -s -X GET \\
-H "Content-Type: application/json" \\
-H "Accept: application/json" \\
-H "x-da-access-token: {access-token}" \\
https://vcdr-xxx-xxx-xxx-xxx.app.vcdr.vmware.com/api/vcdr/v1/cloud-file-systems/30326566-2201-3121-9cb9-42c6e465647c/protected-sites?filter_spec.protection_group_ids=pg_id&filter_spec.protection_group_ids=another_pg_id&filter_spec.vcenter_ids=vcenter_id&filter_spec.vcenter_ids=another_vcenter_id
Unique identifier of an individual cloud file system. Use the cloud file system ID of the cloud file system for which you want to get a list of all protected sites.
The maximum number of results to return with the call. The maximum is 500, and the default is 50 results.
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.
OK. The request succeeded.
"GetProtectedSitesResponse Object"
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.
An array of summary information concerning protected sites.
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 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.
"Error Object"
A stack or error messages. The first element (top of the stack) is the broadest description of the failure.
curl -H 'Authorization: <value>' https://{api_host}/api/vcdr/v1/cloud-file-systems/{cloud_file_system_id}/protected-sites