Skip to content

setUpgradeType

Sets upgrade type of a cluster.

Arguments

Argument Type Description
input (required) SetUpgradeTypeInput! Specifies the type of upgrade to be set for the cluster.

Returns

SetUpgradeTypeReply!

Sample

mutation SetUpgradeType($input: SetUpgradeTypeInput!) {
  setUpgradeType(input: $input) {
    code
    excepshuns
    message
  }
}
{
  "input": {
    "clusterUuid": "00000000-0000-0000-0000-000000000000",
    "upgradeType": "FAST"
  }
}
{
  "data": {
    "setUpgradeType": {
      "code": "example-string",
      "excepshuns": "example-string",
      "message": "example-string"
    }
  }
}