Skip to content

nutanixClusterContainers

Get list of containers on this cluster Supported in v5.0+ Query the nutanix cluster to get the list of containers, used for export purposes.

Arguments

Argument Type Description
input (required) GetContainersInput! Input for InternalGetContainers.

Returns

NutanixContainerListResponse!

Sample

query NutanixClusterContainers($input: GetContainersInput!) {
  nutanixClusterContainers(input: $input) {
    hasMore
    nextCursor
    total
  }
}
{
  "input": {
    "id": "example-string"
  }
}
{
  "data": {
    "nutanixClusterContainers": {
      "hasMore": true,
      "nextCursor": "example-string",
      "total": 0,
      "data": [
        {
          "name": "example-string",
          "naturalId": "example-string"
        }
      ]
    }
  }
}