Skip to content

addClusterRoute

Add a new route config to all hosts in a Rubrik cluster. Supported in Rubrik CDM v5.0+

Arguments

Argument Type Description
input (required) AddClusterRouteInput! Input for InternalAddRoute.

Returns

AddClusterRouteReply!

Sample

mutation AddClusterRoute($input: AddClusterRouteInput!) {
  addClusterRoute(input: $input)
}
{
  "input": {
    "clusterUuid": "example-string",
    "routeConfig": {
      "device": "example-string",
      "gateway": "example-string",
      "netmask": "example-string",
      "network": "example-string"
    }
  }
}
{
  "data": {
    "addClusterRoute": {
      "output": {
        "device": "example-string",
        "gateway": "example-string",
        "netmask": "example-string",
        "network": "example-string",
        "networkZoneName": "example-string"
      }
    }
  }
}