Skip to content

setGcpExocomputeConfigs

Upsert the exocompute configuration for the given GCP project based on the provided configs of cloud account ID, VPC and regional subnets.

Arguments

Argument Type Description
input (required) SetGcpExocomputeConfigsInput! Input to upsert exocompute configuration for a GCP project.

Returns

Void

Sample

mutation SetGcpExocomputeConfigs($input: SetGcpExocomputeConfigsInput!) {
  setGcpExocomputeConfigs(input: $input)
}
{
  "input": {
    "cloudAccountId": "00000000-0000-0000-0000-000000000000",
    "regionalExocomputeConfigs": [
      {
        "region": "AFRICA_SOUTH1",
        "subnetName": "example-string",
        "vpcNetworkName": "example-string"
      }
    ],
    "triggerHealthCheck": true
  }
}
{
  "data": {
    "setGcpExocomputeConfigs": "example-string"
  }
}