[{"label":"Latest (1.0.0alpha)","version":"latest"}]
vcdr

Get Protection Group Snapshots

Description

Get a list of all snapshots in a specific protection group.

Request

Request

URL

URL


get
https://{orchestrator_fqdn}/api/vcdr/v1alpha/cloud-file-systems/{cloud_file_system_id}/protection-groups/{protection_group_id}/snapshots
Copy

Path Parameters

Path Parameters

string
cloud_file_system_id Required

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 VMs.


string
protection_group_id Required

Unique identifier of the protection group you want to get a list of snapshots from.


Query Parameters

Query Parameters

string
cursor Optional

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.


integer
limit Optional

The maximum number of results to return with the call. The maximum is 500, and the default is 50 results.


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK returns GetProtectionGroupSnapshotsResponse of type application/json

OK. The request succeeded.

{
	"cursor": "string",
	"snapshots": [
		{
			"id": "string",
			"name": "string"
		}
	]
}
string
cursor Optional

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.


snapshots Optional

An array of summary information about protection group snapshots.

Errors

Errors

400

Bad request. The server could not understand the request.


401

Unauthorized. The client has not authenticated.


403

Forbidden. The client is not authorized.


404

Not found. The server cannot find the specified resource.


500

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

Code Samples

cURL Command

curl https://{orchestrator_fqdn}/api/vcdr/v1alpha/cloud-file-systems/{cloud_file_system_id}/protection-groups/{protection_group_id}/snapshots
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-vcdr-roles-config:
    mutatorMethod: false
    roles:
        - DR_ADMIN
        - DR_TESTER
        - BACKUP_ADMIN
        - SERVICE_ADMIN
        - SDDC_ADMIN
        - AUDITOR


[{"label":"Latest (1.0.0alpha)","version":"latest"}]
vcdr
Feedback

Was this page helpful?