v12

latestOpenAPI 3.0.1raw.githubusercontent.com2026-08-01252498556.8 KB
compute-envs

Describe compute environment

Retrieves the details of the compute environment identified by the given computeEnvId.

get/compute-envs/{computeEnvId}

Path parameters

computeEnvIdstring required

Compute environment string identifier

Query parameters

workspaceIdinteger

Workspace numeric identifier

attributesComputeEnvQueryAttribute[]

Additional attribute values to include in the response (labels). Returns an empty value (labels: null) if omitted.

Response

OK

Example response

{
  "computeEnv": {
    "config": {
      "forge": {
        "bootDiskSizeGB": 100,
        "headPool": {
          "bootDiskSizeGB": 100
        },
        "workerPool": {
          "bootDiskSizeGB": 100
        }
      },
      "headJobCpus": 1,
      "headJobMemoryMb": 4096,
      "jobMaxWallClockTime": "7d",
      "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRg/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
    }
  }
}