Snapservice. Reports. Clusters. Protection Groups. Snapshots List Status Aggregated By Time Slice
Get the aggregated status counts of all the snapshots for all the filtered protection groups for a given cluster time sliced as defined by the service.
This operation was added in vSphere API 9.0.0.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
.
Contains arguments to filter the result list.
If missing or null
, the behavior is equivalent to a Snapservice.Reports.Clusters.ProtectionGroups.Snapshots.FilterSpec with all properties missing or null
which means all protection groups match the filter.
Identifiers of 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 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
.
List of aggregated counts for protection group snapshot statuses for report matching the Snapservice.Reports.Clusters.ProtectionGroups.Snapshots.FilterSpec for the given cluster.
"Snapservice.Reports.Clusters.ProtectionGroups.Snapshots.StatusByTimeSliceListResult Object"
Vapi.Std.Errors.InvalidArgument If validation of the filter fails.
Vapi.Std.Errors.Unsupported If the API is not supported.
"Vapi.Std.Errors.Error 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/reports/clusters/{cluster}/protection-groups/snapshot-status-counts?aggregateBy=time-slice