Skip to content

clusterEncryptionInfo

Filter clusters by encryption information.

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.
sortOrder SortOrder Sorts the order of results.
clusterName String The prefix of the name of the Rubrik cluster.
encryptionStatusFilter (required) [ClusterEncryptionStatusFilter!]! The encryption status of the Rubrik cluster.
keyProtection (required) [ClusterKeyProtection!]! The key type used for the most recent key rotation.
clusters (required) [UUID!]! The IDs of the Rubrik clusters to select.
encryptionTypes (required) [ClusterEncryptionType!]! The types of encryption.

Returns

ClusterEncryptionInfoConnection!

Sample

query ClusterEncryptionInfo($encryptionStatusFilter: [ClusterEncryptionStatusFilter!]!, $keyProtection: [ClusterKeyProtection!]!, $clusters: [UUID!]!, $encryptionTypes: [ClusterEncryptionType!]!) {
  clusterEncryptionInfo(
    encryptionStatusFilter: $encryptionStatusFilter
    keyProtection: $keyProtection
    clusters: $clusters
    encryptionTypes: $encryptionTypes
    first: 10
  ) {
    nodes {
      canUserManageCluster
      cipher
      clusterProductType
      encryptionType
      isConnected
      isEncrypted
      isOnCloud
      kmipClientUsername
      name
      softwareVersion
      supportedKeyTypes
      totalKmipServers
      uuid
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{
  "encryptionStatusFilter": [
    "CLUSTER_ENCRYPTION_STATUS_UNSPECIFIED"
  ],
  "keyProtection": [
    "CLUSTER_KEY_PROTECTION_UNSPECIFIED"
  ],
  "clusters": [
    "00000000-0000-0000-0000-000000000000"
  ],
  "encryptionTypes": [
    "ENCRYPTION_TYPE_UNSPECIFIED"
  ]
}
{
  "data": {
    "clusterEncryptionInfo": {
      "nodes": [
        [
          {
            "canUserManageCluster": true,
            "cipher": "example-string",
            "clusterProductType": "CDM",
            "encryptionType": "ENCRYPTION_TYPE_UNSPECIFIED",
            "isConnected": true,
            "isEncrypted": true
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}