-
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.
[Ready To Merge] SSH and Quota changes (#6432)
* Version change * Adding properties for SSH Improvements * Correcting naming mistake * Removing null value * Making the property writable by requester
- Loading branch information
Showing
25 changed files
with
3,878 additions
and
1 deletion.
There are no files selected for viewing
400 changes: 400 additions & 0 deletions
400
...urce-manager/Microsoft.MachineLearningServices/stable/2019-06-01/examples/ListUsages.json
Large diffs are not rendered by default.
Oops, something went wrong.
455 changes: 455 additions & 0 deletions
455
...nager/Microsoft.MachineLearningServices/stable/2019-06-01/examples/ListVMSizesResult.json
Large diffs are not rendered by default.
Oops, something went wrong.
34 changes: 34 additions & 0 deletions
34
...ger/Microsoft.MachineLearningServices/stable/2019-06-01/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,34 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "testrg123", | ||
"workspaceName": "workspaces123", | ||
"computeName": "compute123", | ||
"api-version": "2019-06-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"computeType": "AmlCompute", | ||
"nodes": [ | ||
{ | ||
"nodeId": "tvm-3601533753_1-20170719t162906z", | ||
"privateIpAddress": "13.84.190.124", | ||
"publicIpAddress": "13.84.190.134", | ||
"port": 50000, | ||
"nodeState": "running", | ||
"runId": "2f378a44-38f2-443a-9f0d-9909d0b47890" | ||
}, | ||
{ | ||
"nodeId": "tvm-3601533753_2-20170719t162906z", | ||
"privateIpAddress": "13.84.190.124", | ||
"publicIpAddress": "13.84.190.134", | ||
"port": 50001, | ||
"nodeState": "idle" | ||
} | ||
], | ||
"nextLink": "nextLink" | ||
} | ||
} | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
...r/Microsoft.MachineLearningServices/stable/2019-06-01/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": "2019-06-01", | ||
"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..." | ||
} | ||
} | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
...r/Microsoft.MachineLearningServices/stable/2019-06-01/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,54 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "testrg123", | ||
"workspaceName": "workspaces123", | ||
"computeName": "compute123", | ||
"api-version": "2019-06-01", | ||
"parameters": { | ||
"location": "eastus", | ||
"properties": { | ||
"computeType": "AmlCompute", | ||
"properties": { | ||
"vmSize": "STANDARD_NC6", | ||
"vmPriority": "Dedicated", | ||
"scaleSettings": { | ||
"maxNodeCount": 1, | ||
"minNodeCount": 0, | ||
"nodeIdleTimeBeforeScaleDown": "PT5M" | ||
}, | ||
"remoteLoginPortPublicAccess": "NotSpecified" | ||
} | ||
} | ||
} | ||
}, | ||
"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/2019-06-01/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": "2019-06-01", | ||
"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..." | ||
} | ||
} | ||
} | ||
} |
57 changes: 57 additions & 0 deletions
57
...manager/Microsoft.MachineLearningServices/stable/2019-06-01/examples/createWorkspace.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,57 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "workspace-1234", | ||
"workspaceName": "testworkspace", | ||
"api-version": "2019-06-01", | ||
"parameters": { | ||
"location": "eastus2euap", | ||
"properties": { | ||
"friendlyName": "HelloName", | ||
"description": "test description", | ||
"containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", | ||
"keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", | ||
"applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", | ||
"storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", | ||
"name": "testworkspace", | ||
"type": "Microsoft.MachineLearningServices/workspaces", | ||
"location": "eastus2euap", | ||
"properties": { | ||
"containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", | ||
"keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", | ||
"applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", | ||
"storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", | ||
"discoveryUrl": "http://example.com", | ||
"creationTime": "2017-03-01T23:14:37.0707808Z", | ||
"friendlyName": "HelloName", | ||
"description": "test description" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", | ||
"name": "testworkspace", | ||
"type": "Microsoft.MachineLearningServices/workspaces", | ||
"location": "eastus2euap", | ||
"properties": { | ||
"containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", | ||
"keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", | ||
"applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", | ||
"storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", | ||
"discoveryUrl": "http://example.com", | ||
"creationTime": "2017-03-01T23:14:37.0707808Z", | ||
"friendlyName": "HelloName", | ||
"description": "test description" | ||
} | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...e-manager/Microsoft.MachineLearningServices/stable/2019-06-01/examples/deleteCompute.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,19 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "testrg123", | ||
"workspaceName": "workspaces123", | ||
"computeName": "compute123", | ||
"api-version": "2019-06-01", | ||
"underlyingResourceAction": "Delete" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...", | ||
"Location": "https://management.azure.com/subscriptions/...pathToOperationResult..." | ||
} | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...manager/Microsoft.MachineLearningServices/stable/2019-06-01/examples/deleteWorkspace.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,12 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "workspace-1234", | ||
"workspaceName": "testworkspace", | ||
"api-version": "2019-06-01" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...e-manager/Microsoft.MachineLearningServices/stable/2019-06-01/examples/getAKSCompute.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,25 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "testrg123", | ||
"workspaceName": "workspaces123", | ||
"computeName": "compute123", | ||
"api-version": "2019-06-01" | ||
}, | ||
"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": { | ||
"description": "some compute", | ||
"resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", | ||
"computeType": "AKS", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
...e-manager/Microsoft.MachineLearningServices/stable/2019-06-01/examples/getAmlCompute.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,49 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "testrg123", | ||
"workspaceName": "workspaces123", | ||
"computeName": "compute123", | ||
"api-version": "2019-06-01" | ||
}, | ||
"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": "eastus2", | ||
"properties": { | ||
"description": "some compute", | ||
"computeType": "AmlCompute", | ||
"createdOn": "2017-09-26T22:28:08.327Z", | ||
"provisioningState": "Succeeded", | ||
"properties": { | ||
"vmSize": "STANDARD_NC6", | ||
"vmPriority": "Dedicated", | ||
"subnet": "test-subnet-resource-id", | ||
"scaleSettings": { | ||
"maxNodeCount": 1, | ||
"minNodeCount": 0, | ||
"nodeIdleTimeBeforeScaleDown": "PT5M" | ||
}, | ||
"remoteLoginPortPublicAccess": "Enabled", | ||
"allocationState": "Resizing", | ||
"allocationStateTransitionTime": "2017-09-27T22:28:08.998Z", | ||
"errors": null, | ||
"currentNodeCount": 0, | ||
"targetNodeCount": 1, | ||
"nodeStateCounts": { | ||
"preparingNodeCount": 0, | ||
"runningNodeCount": 0, | ||
"idleNodeCount": 0, | ||
"unusableNodeCount": 0, | ||
"leavingNodeCount": 0, | ||
"preemptedNodeCount": 0 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
...rce-manager/Microsoft.MachineLearningServices/stable/2019-06-01/examples/getComputes.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,41 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "testrg123", | ||
"workspaceName": "workspaces123", | ||
"api-version": "2019-06-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"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": { | ||
"description": "some compute", | ||
"resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", | ||
"computeType": "AKS", | ||
"provisioningState": "Succeeded" | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute1234", | ||
"type": "Microsoft.MachineLearningServices/workspaces/computes", | ||
"name": "compute1234", | ||
"location": "eastus", | ||
"properties": { | ||
"description": "some compute", | ||
"resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute1234-56826-c9b00420020b2", | ||
"computeType": "AKS", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
], | ||
"nextLink": "nextLink" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.