Skip to content

setCoordinatorLabels

SetCoordinatorLabels replaces the coordinator labels for virtual machines on a Cloud Direct cluster.

Arguments

Argument Type Description
input (required) SetCoordinatorLabelsInput! The cluster UUID and the label assignments.

Returns

SetCoordinatorLabelsReply!

Sample

mutation SetCoordinatorLabels($input: SetCoordinatorLabelsInput!) {
  setCoordinatorLabels(input: $input)
}
{
  "input": {
    "clusterUuid": "00000000-0000-0000-0000-000000000000"
  }
}
{
  "data": {
    "setCoordinatorLabels": {
      "entries": [
        {
          "hardwareId": "example-string",
          "labels": [
            "BACKUP_SUITE"
          ]
        }
      ]
    }
  }
}