snappableConnection
Returns a paginated connection of workloads matching the filter. Account and subject contexts are derived from req_ctx inside the handler.
Arguments
| Argument | Type | Description |
|---|---|---|
| first | Int | Returns the first n elements from the list. |
| after | String | An opaque cursor returned from a previous query's endCursor field. Pass this value verbatim to retrieve the next page of results. |
| last | Int | Returns the last n elements from the list. |
| before | String | An opaque cursor returned from a previous query's startCursor field. Pass this value verbatim to retrieve the previous page of results. |
| filter | SnappableFilterInput | Filter workloads by input. |
| sortBy | SnappableSortByEnum | Sort workloads by field. |
| sortOrder | SortOrder | Sort order for workloads. |
Returns
Sample
query {
snappableConnection(first: 10) {
nodes {
archivalComplianceStatus
archivalSnapshotLag
archiveSnapshots
archiveStorage
awaitingFirstFull
complianceStatus
dataReduction
fid
id
lastSnapshot
lastSnapshotLogicalBytes
latestArchivalSnapshot
latestReplicationSnapshot
localEffectiveStorage
localMeteredData
localOnDemandSnapshots
localProtectedData
localSlaSnapshots
localSnapshots
localStorage
location
logicalBytes
logicalDataReduction
missedSnapshots
name
ncdLatestArchiveSnapshot
ncdPolicyName
ncdSnapshotType
objectState
objectType
orgId
orgName
physicalBytes
protectedOn
protectionStatus
provisionedBytes
pullTime
replicaSnapshots
replicaStorage
replicationComplianceStatus
replicationSnapshotLag
sourceProtocol
totalSnapshots
transferredBytes
usedBytes
}
pageInfo {
hasNextPage
endCursor
}
}
}
{
"data": {
"snappableConnection": {
"nodes": [
[
{
"archivalComplianceStatus": "EMPTY",
"archivalSnapshotLag": 0,
"archiveSnapshots": 0,
"archiveStorage": 0,
"awaitingFirstFull": true,
"complianceStatus": "EMPTY"
}
]
],
"pageInfo": {
"endCursor": "example-string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "example-string"
}
}
}
}