Skip to content

patchMysqlInstance

Update properties of the MySQL instance Supported in v9.3+ Start an asynchronous job to update the properties of the MySQL Instance.

Arguments

Argument Type Description
input (required) PatchMysqldbInstanceInput! Input for V1PatchMysqldbInstance.

Returns

PatchMysqldbInstanceResponse!

Sample

mutation PatchMysqlInstance($input: PatchMysqldbInstanceInput!) {
  patchMysqlInstance(input: $input)
}
{
  "input": {
    "id": "example-string",
    "mysqldbInstanceConfig": {
      "discoveryInfo": {
        "entityInfo": {
          "name": "example-string"
        },
        "hostInfo": [
          {
            "hostId": "example-string"
          }
        ]
      }
    }
  }
}
{
  "data": {
    "patchMysqlInstance": {
      "asyncRequestStatus": {
        "endTime": "2024-01-01T00:00:00.000Z",
        "id": "example-string",
        "nodeId": "example-string",
        "progress": 0.0,
        "result": "example-string",
        "startTime": "2024-01-01T00:00:00.000Z"
      }
    }
  }
}