compute-envs
Create compute environment
Creates a new compute environment. Append ?workspaceId to create the environment in a workspace context.
post/compute-envs
Query parameters
workspaceIdinteger
Workspace numeric identifier
Request body
Example request
{
"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"
}
}
}Response
OK