Skip to content

awsNativeEbsVolumesByName

Paginated list of all AWS EBS Volumes by name or substring of name.

Arguments

Argument Type Description
first Int Returns the first n elements from the list.
after String Returns the elements in the list that occur after the specified cursor.
last Int Returns the last n elements from the list.
before String Returns the elements in the list that occur before the specified cursor.
sortBy AwsNativeEbsVolumeSortFields Sort fields for list of AWS EBS volumes.
sortOrder SortOrder Sorts the order of results.
ebsVolumeName (required) String! The native name for the AWS EBS Volume object.

Returns

AwsNativeEbsVolumeConnection!

Sample

query AwsNativeEbsVolumesByName($ebsVolumeName: String!) {
  awsNativeEbsVolumesByName(
    ebsVolumeName: $ebsVolumeName
    first: 10
  ) {
    nodes {
      authorizedOperations
      availabilityZone
      awsAccountRubrikId
      awsNativeAccountName
      cloudNativeId
      fileIndexingStatus
      id
      iops
      isExocomputeConfigured
      isIndexingEnabled
      isMarketplace
      isProtectable
      isRelic
      name
      nativeName
      numWorkloadDescendants
      objectType
      onDemandSnapshotCount
      region
      rscPendingObjectPauseAssignment
      sizeInGiBs
      slaAssignment
      slaPauseStatus
      volumeName
      volumeNativeId
      volumeType
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{
  "ebsVolumeName": "example-string"
}
{
  "data": {
    "awsNativeEbsVolumesByName": {
      "nodes": [
        [
          {
            "authorizedOperations": [
              "DELETE_SNAPSHOT"
            ],
            "availabilityZone": "example-string",
            "awsAccountRubrikId": "example-string",
            "awsNativeAccountName": "example-string",
            "cloudNativeId": "example-string",
            "fileIndexingStatus": "DISABLED"
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}