|
| 1 | +{ |
| 2 | + "parameters": { |
| 3 | + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", |
| 4 | + "resourceGroupName": "testrg123", |
| 5 | + "workspaceName": "workspaces123", |
| 6 | + "computeName": "compute123", |
| 7 | + "api-version": "2025-01-01-preview", |
| 8 | + "parameters": { |
| 9 | + "location": "eastus", |
| 10 | + "properties": { |
| 11 | + "computeType": "AmlCompute", |
| 12 | + "description": "some compute", |
| 13 | + "properties": { |
| 14 | + "scaleSettings": { |
| 15 | + "maxNodeCount": 4, |
| 16 | + "minNodeCount": 4, |
| 17 | + "nodeIdleTimeBeforeScaleDown": "PT5M" |
| 18 | + } |
| 19 | + } |
| 20 | + } |
| 21 | + } |
| 22 | + }, |
| 23 | + "responses": { |
| 24 | + "200": { |
| 25 | + "body": { |
| 26 | + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", |
| 27 | + "type": "Microsoft.MachineLearningServices/workspaces/computes", |
| 28 | + "name": "compute123", |
| 29 | + "location": "eastus2", |
| 30 | + "properties": { |
| 31 | + "description": "some compute", |
| 32 | + "createdOn": "2021-04-01T22:00:00.0000000+00:00", |
| 33 | + "modifiedOn": "2021-04-01T22:00:00.0000000+00:00", |
| 34 | + "computeType": "AmlCompute", |
| 35 | + "provisioningState": "Succeeded", |
| 36 | + "properties": { |
| 37 | + "vmSize": "STANDARD_NC6", |
| 38 | + "vmPriority": "Dedicated", |
| 39 | + "osType": "Windows", |
| 40 | + "virtualMachineImage": null, |
| 41 | + "isolatedNetwork": false, |
| 42 | + "subnet": { |
| 43 | + "id": "test-subnet-resource-id" |
| 44 | + }, |
| 45 | + "scaleSettings": { |
| 46 | + "maxNodeCount": 1, |
| 47 | + "minNodeCount": 0, |
| 48 | + "nodeIdleTimeBeforeScaleDown": "PT5M" |
| 49 | + }, |
| 50 | + "remoteLoginPortPublicAccess": "Enabled", |
| 51 | + "allocationState": "Resizing", |
| 52 | + "allocationStateTransitionTime": "2017-09-27T22:28:08.998Z", |
| 53 | + "errors": null, |
| 54 | + "currentNodeCount": 0, |
| 55 | + "targetNodeCount": 1, |
| 56 | + "nodeStateCounts": { |
| 57 | + "preparingNodeCount": 0, |
| 58 | + "runningNodeCount": 0, |
| 59 | + "idleNodeCount": 0, |
| 60 | + "unusableNodeCount": 0, |
| 61 | + "leavingNodeCount": 0, |
| 62 | + "preemptedNodeCount": 0 |
| 63 | + }, |
| 64 | + "enableNodePublicIp": true |
| 65 | + } |
| 66 | + } |
| 67 | + } |
| 68 | + }, |
| 69 | + "201": { |
| 70 | + "body": { |
| 71 | + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", |
| 72 | + "type": "Microsoft.MachineLearningServices/workspaces/computes", |
| 73 | + "name": "compute123", |
| 74 | + "location": "eastus2", |
| 75 | + "properties": { |
| 76 | + "description": "some compute", |
| 77 | + "computeType": "AmlCompute", |
| 78 | + "provisioningState": "Updating" |
| 79 | + } |
| 80 | + }, |
| 81 | + "headers": { |
| 82 | + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." |
| 83 | + } |
| 84 | + } |
| 85 | + } |
| 86 | +} |
0 commit comments