Snapservice. Clusters. Protection Groups. Snapshots List
List the snapshots for the given protection group.
This operation was added in vSphere API 8.0.3.0.
Returns an authorization error if you do not have all of the privileges described as follows:
- The resource
ClusterComputeResource
referenced by the parameter cluster requiresSystem.Read
.
Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.
Identifier of the protection group.
The parameter must be an identifier for the resource type: com.vmware.snapservice.protection_group
.
Specification of matching snapshots for which information should be returned.
If missing or null
, the behavior is equivalent to a Snapservice.Clusters.ProtectionGroups.Snapshots.FilterSpec with all properties missing or null
which means all protection group snapshots match the filter. Snapservice.Clusters.ProtectionGroups.Snapshots.FilterSpec for the specified protection group.
Identifiers of the snapshots that must match the filter.
This property was added in vSphere API 8.0.3.0.
If missing or null
snapshots with any identifier match the filter.
When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: com.vmware.snapservice.protection_group.snapshot
. When operations return a value of this schema as a response, the property will contain identifiers for the resource type: com.vmware.snapservice.protection_group.snapshot
.
Names of the snapshots that must match the filter.
This property was added in vSphere API 8.0.3.0.
If missing or null
snapshots with any name match the filter.
Information about the snapshots matching the
"Snapservice.Clusters.ProtectionGroups.Snapshots.ListResult Object"
If validation of the filter fails.
"Vapi.Std.Errors.InvalidArgument Object"
If the caller is not authenticated.
"Vapi.Std.Errors.Unauthenticated Object"
If the caller is not authorized to perform the operation.
"Vapi.Std.Errors.Unauthorized Object"
If there is no cluster associated with cluster or no or no protection group associated with pgin the system.
"Vapi.Std.Errors.NotFound Object"
If there is unknown internal error.
"Vapi.Std.Errors.Error Object"
If the service is not available.
"Vapi.Std.Errors.ServiceUnavailable Object"
curl -H 'Authorization: <value>' https://{api_host}/api/snapservice/clusters/{cluster}/protection-groups/{pg}/snapshots