-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed machinelearning swagger for new AMLCompute type (#4344)
* Adding new GA version 2018-12-01 * Changed machinelearning swagger for new AMLCompute for 1RP changes * Added Supported VMSize List API * replacing tabs with spaces * removing batchai reference from examples * renaming example files from batchai to amlcompute * missed adding renamed files in previous commit * Added remaining examples * removed tabs * adding more swagger improvements * removing resource id * added usage api swagger changes * CR feedbacks * CR feedbacks, examples corrected * autorest fixes * Adding patchAMLCompute.json * build fix for patch operation * AML GA Swagger updates: Changed machinelearning swagger for new AMLCompute type for GA version * updated api version to 2018-11-19 * CR feedbacks readonly * adding missing computes * removing deprecated api * version change * changing version * make patch compute long running operation * Add underlyingResourceAction and isAttachedCompute in machineLearningServices.json * Update deleteCompute.json sample * add enum and x-ms-enum for UnderlyingResourceAction * Update Delete/Detach casing just to be safe (although case doesn't matter) * Fixing AmlCompute * renaming files * renaming * adding properties for aks vnet support * patch swagger update * Added useraccount settings and list remote login info API for aml compute * remove unused param * list nodes * swagger build fixes * updated swagger for listnodes response simplification * rename to user account credentials * Changing vmPriority and allocationState to match MLC and other conventions
- Loading branch information
Showing
25 changed files
with
3,180 additions
and
0 deletions.
There are no files selected for viewing
168 changes: 168 additions & 0 deletions
168
...urce-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/ListUsages.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,168 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"location": "eastus", | ||
"api-version": "2018-11-19" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"currentValue": 5, | ||
"limit": 20, | ||
"name": { | ||
"localizedValue": "Clusters", | ||
"value": "Clusters" | ||
}, | ||
"unit": "Count" | ||
}, | ||
{ | ||
"currentValue": 49, | ||
"limit": 600, | ||
"name": { | ||
"localizedValue": "Total Cluster Dedicated Regional vCPUs", | ||
"value": "Total Cluster Dedicated Regional vCPUs" | ||
}, | ||
"unit": "Count" | ||
}, | ||
{ | ||
"currentValue": 1, | ||
"limit": 600, | ||
"name": { | ||
"localizedValue": "Standard D Family Cluster Dedicated vCPUs", | ||
"value": "Standard D Family Cluster Dedicated vCPUs" | ||
}, | ||
"unit": "Count" | ||
}, | ||
{ | ||
"currentValue": 0, | ||
"limit": 600, | ||
"name": { | ||
"localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs", | ||
"value": "Standard Dv2 Family Cluster Dedicated vCPUs" | ||
}, | ||
"unit": "Count" | ||
}, | ||
{ | ||
"currentValue": 48, | ||
"limit": 600, | ||
"name": { | ||
"localizedValue": "Standard NC Family Cluster Dedicated vCPUs", | ||
"value": "Standard NC Family Cluster Dedicated vCPUs" | ||
}, | ||
"unit": "Count" | ||
}, | ||
{ | ||
"currentValue": 0, | ||
"limit": 0, | ||
"name": { | ||
"localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs", | ||
"value": "Standard NCv2 Family Cluster Dedicated vCPUs" | ||
}, | ||
"unit": "Count" | ||
}, | ||
{ | ||
"currentValue": 0, | ||
"limit": 0, | ||
"name": { | ||
"localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs", | ||
"value": "Standard NCv3 Family Cluster Dedicated vCPUs" | ||
}, | ||
"unit": "Count" | ||
}, | ||
{ | ||
"currentValue": 0, | ||
"limit": 0, | ||
"name": { | ||
"localizedValue": "Standard ND Family Cluster Dedicated vCPUs", | ||
"value": "Standard ND Family Cluster Dedicated vCPUs" | ||
}, | ||
"unit": "Count" | ||
}, | ||
{ | ||
"currentValue": 0, | ||
"limit": 600, | ||
"name": { | ||
"localizedValue": "Standard NV Family Cluster Dedicated vCPUs", | ||
"value": "Standard NV Family Cluster Dedicated vCPUs" | ||
}, | ||
"unit": "Count" | ||
}, | ||
{ | ||
"currentValue": 0, | ||
"limit": 150, | ||
"name": { | ||
"localizedValue": "Total Cluster Low Priority Regional vCPUs", | ||
"value": "Total Cluster LowPriority Regional vCPUs" | ||
}, | ||
"unit": "Count" | ||
}, | ||
{ | ||
"currentValue": 0, | ||
"limit": 150, | ||
"name": { | ||
"localizedValue": "Standard D Family Cluster Low Priority vCPUs", | ||
"value": "Standard D Family Cluster LowPriority vCPUs" | ||
}, | ||
"unit": "Count" | ||
}, | ||
{ | ||
"currentValue": 0, | ||
"limit": 150, | ||
"name": { | ||
"localizedValue": "Standard Dv2 Family Cluster Low Priority vCPUs", | ||
"value": "Standard Dv2 Family Cluster LowPriority vCPUs" | ||
}, | ||
"unit": "Count" | ||
}, | ||
{ | ||
"currentValue": 0, | ||
"limit": 150, | ||
"name": { | ||
"localizedValue": "Standard NC Family Cluster Low Priority vCPUs", | ||
"value": "Standard NC Family Cluster LowPriority vCPUs" | ||
}, | ||
"unit": "Count" | ||
}, | ||
{ | ||
"currentValue": 0, | ||
"limit": 0, | ||
"name": { | ||
"localizedValue": "Standard NCv2 Family Cluster Low Priority vCPUs", | ||
"value": "Standard NCv2 Family Cluster LowPriority vCPUs" | ||
}, | ||
"unit": "Count" | ||
}, | ||
{ | ||
"currentValue": 0, | ||
"limit": 0, | ||
"name": { | ||
"localizedValue": "Standard NCv3 Family Cluster Low Priority vCPUs", | ||
"value": "Standard NCv3 Family Cluster LowPriority vCPUs" | ||
}, | ||
"unit": "Count" | ||
}, | ||
{ | ||
"currentValue": 0, | ||
"limit": 0, | ||
"name": { | ||
"localizedValue": "Standard ND Family Cluster Low Priority vCPUs", | ||
"value": "Standard ND Family Cluster LowPriority vCPUs" | ||
}, | ||
"unit": "Count" | ||
}, | ||
{ | ||
"currentValue": 0, | ||
"limit": 150, | ||
"name": { | ||
"localizedValue": "Standard NV Family Cluster Low Priority vCPUs", | ||
"value": "Standard NV Family Cluster LowPriority vCPUs" | ||
}, | ||
"unit": "Count" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
...ger/Microsoft.MachineLearningServices/stable/2018-11-19/examples/amlComputeListNodes.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "testrg123", | ||
"workspaceName": "workspaces123", | ||
"computeName": "compute123", | ||
"api-version": "2018-11-19" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"computeType": "AmlCompute", | ||
"nodes": [ | ||
{ | ||
"nodeId": "tvm-3601533753_1-20170719t162906z", | ||
"ipAddress": "13.84.190.124", | ||
"port": 50000 | ||
}, | ||
{ | ||
"nodeId": "tvm-3601533753_2-20170719t162906z", | ||
"ipAddress": "13.84.190.124", | ||
"port": 50001 | ||
} | ||
], | ||
"nextLink": "nextLink", | ||
} | ||
} | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
...r/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createBasicAKSCompute.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "testrg123", | ||
"workspaceName": "workspaces123", | ||
"computeName": "compute123", | ||
"api-version": "2018-11-19", | ||
"parameters": { | ||
"location": "eastus", | ||
"properties": { | ||
"computeType": "AKS" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", | ||
"type": "Microsoft.MachineLearningServices/workspaces/computes", | ||
"name": "compute123", | ||
"location": "eastus", | ||
"properties": { | ||
"computeType": "AKS", | ||
"provisioningState": "Creating" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", | ||
"type": "Microsoft.MachineLearningServices/workspaces/computes", | ||
"name": "compute123", | ||
"location": "eastus", | ||
"properties": { | ||
"computeType": "AKS", | ||
"provisioningState": "Creating" | ||
} | ||
}, | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." | ||
} | ||
} | ||
} | ||
} |
53 changes: 53 additions & 0 deletions
53
...r/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createBasicAmlCompute.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "testrg123", | ||
"workspaceName": "workspaces123", | ||
"computeName": "compute123", | ||
"api-version": "2018-11-19", | ||
"parameters": { | ||
"location": "eastus", | ||
"properties": { | ||
"computeType": "AmlCompute", | ||
"properties": { | ||
"vmSize": "STANDARD_NC6", | ||
"vmPriority": "Dedicated", | ||
"scaleSettings": { | ||
"maxNodeCount": 1, | ||
"minNodeCount": 0, | ||
"nodeIdleTimeBeforeScaleDown": "PT5M" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", | ||
"type": "Microsoft.MachineLearningServices/workspaces/computes", | ||
"name": "compute123", | ||
"location": "eastus", | ||
"properties": { | ||
"computeType": "AmlCompute", | ||
"provisioningState": "Creating" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", | ||
"type": "Microsoft.MachineLearningServices/workspaces/computes", | ||
"name": "compute123", | ||
"location": "eastus", | ||
"properties": { | ||
"computeType": "AmlCompute", | ||
"provisioningState": "Creating" | ||
} | ||
}, | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." | ||
} | ||
} | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
...oft.MachineLearningServices/stable/2018-11-19/examples/createBasicDataFactoryCompute.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "testrg123", | ||
"workspaceName": "workspaces123", | ||
"computeName": "compute123", | ||
"api-version": "2018-11-19", | ||
"parameters": { | ||
"location": "eastus", | ||
"properties": { | ||
"computeType": "DataFactory" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", | ||
"type": "Microsoft.MachineLearningServices/workspaces/computes", | ||
"name": "compute123", | ||
"location": "eastus", | ||
"properties": { | ||
"computeType": "DataFactory", | ||
"provisioningState": "Creating" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", | ||
"type": "Microsoft.MachineLearningServices/workspaces/computes", | ||
"name": "compute123", | ||
"location": "eastus", | ||
"properties": { | ||
"computeType": "DataFactory", | ||
"provisioningState": "Creating" | ||
} | ||
}, | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.