Snapservice. Clusters. Protection Groups List
List the protection groups for the given cluster.
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
.
Identifiers of protection groups that can match the filter.
This property was added in vSphere API 8.0.3.0.
If missing or null
or empty, protection groups 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
. 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
.
Names of protection groups that can match the filter.
This property was added in vSphere API 8.0.3.0.
If missing or null
or empty, protection groups with any name match the filter.
States of protection groups that can match the filter.
Possible values:
ACTIVE
: ActivePAUSED
: PausedMARKED_FOR_DELETE
: Marked for delete,
Indicates that the PG is soft deleted but has some PG snapshots and VM snapshots which are not yet expired.
DEMOTED
: Indicates that the protection group is in a demoted state. While in this state, there are no outgoing or incoming replications and local snapshots (if any) are also stopped.DORMANT
:
Indicates that the PG is in dormant state.
In this state, all local protection and outgoing replications for the members are disabled. Members belonging to this protection group will be replica members for active incoming replications.
This constant was added in vSphere API 9.0.0.0.
RECOVERY
: Recovery state.
Indicates the protection group is in a recovery state. In this state site recovery operations can be initiated in case of planned migration and unplanned failover.
This constant was added in vSphere API 9.0.0.0.
For more information see: Snapservice.ProtectionGroupStatus.
This property was added in vSphere API 8.0.3.0.
If missing or null
or empty, protection groups with any state match the filter.
Identifiers of the virtual machines which belong to the protection groups that can match the filter.
This property was added in vSphere API 8.0.3.0.
If missing or null
or empty, protection groups with any virtual machines 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
. 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
.
Identifiers of the cluster pairs configured for protection groups that can match the filter.
This property was added in vSphere API 9.0.0.0.
If missing or null
or empty, protection groups with any or no cluster pairs 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
. 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
.
Information about the protection groups matching the Snapservice.Clusters.ProtectionGroups.FilterSpec for the given cluster.
"Snapservice.Clusters.ProtectionGroups.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 in 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