Create compute environment
Changed onCreates a new compute environment. Append ?workspaceId to create the environment in a workspace context.
Request
- The document declares no server URL.
- AuthHTTP bearer
Query parameters
Workspace numeric identifier
Request body
Example request
{
"computeEnv": {
"config": {
"forge": {
"bootDiskSizeGB": 100,
"containerRegIds": [
"2dzgMSW1UqQHFhZqGQZ99X"
],
"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
Changes
- info
added the new optional request property
/// - info
added the new optional request property
/// - info
added the new optional request property
/// - info
added the new optional request property
/// - info
added the new optional request property
/// - info
added the new optional request property
/// - info
added the new optional request property
/// - info
added the new optional request property
/// - info
added the new optional request property
/// - info
added the new optional request property
/// - info
added the new optional request property
/// - info
added the new optional request property
/// - info
added the new optional request property
/// - info
added the new optional request property
/// - info
added the new optional request property
/// - info
added the new optional request property
/// - info
added the new optional request property
/// - info
added the new optional request property
/// - info
added the new optional request property
/// - info
added the new optional request property
///
- info
- breaking
added the pattern
^[0-9A-Za-z]{1,22}$to the request property///// - info
added the new optional request property
/// - info
added the new optional request property
/// - info
the request property
////became nullable
- breaking