Skip to content

allCdmClusterConfigNamespaces

Lists distinct configuration namespaces for a cluster, scoped to either global or local configuration. Powers the namespace filter dropdown shared by the global and local configuration lists.

Arguments

Argument Type Description
clusterUuid (required) UUID! Cluster UUID whose namespaces are listed.
configType (required) CdmConfigType! Whether to list GLOBAL or LOCAL namespaces.
searchTerm String Optional substring filter on namespace name.

Returns

[CdmConfigNamespace!]!

Sample

query AllCdmClusterConfigNamespaces($clusterUuid: UUID!, $configType: CdmConfigType!) {
  allCdmClusterConfigNamespaces(
    clusterUuid: $clusterUuid
    configType: $configType
  ) {
    name
  }
}
{
  "clusterUuid": "00000000-0000-0000-0000-000000000000",
  "configType": "GLOBAL"
}
{
  "data": {
    "allCdmClusterConfigNamespaces": [
      {
        "name": "example-string"
      }
    ]
  }
}