Skip to content

setupAzureO365Exocompute

Sets up Exocompute for an O365 subscription. Validates the exocompute configuration, initialises the Korg job and returns the cluster and taskchain IDs.

Arguments

Argument Type Description
tenantId (required) String! The Azure tenant ID.
subscriptionId (required) UUID! The Azure subscription ID.
exocomputeConfig (required) AzureO365ExocomputeConfig! The exocompute configuration.

Returns

SetupAzureO365ExocomputeResp!

Sample

mutation SetupAzureO365Exocompute($tenantId: String!, $subscriptionId: UUID!, $exocomputeConfig: AzureO365ExocomputeConfig!) {
  setupAzureO365Exocompute(
    tenantId: $tenantId
    subscriptionId: $subscriptionId
    exocomputeConfig: $exocomputeConfig
  ) {
    clusterId
    taskchainId
  }
}
{
  "tenantId": "example-string",
  "subscriptionId": "00000000-0000-0000-0000-000000000000",
  "exocomputeConfig": {
    "regionName": "example-string"
  }
}
{
  "data": {
    "setupAzureO365Exocompute": {
      "clusterId": "example-string",
      "taskchainId": "example-string"
    }
  }
}