-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add specs for machine learning services provider (#3135)
* Add specs for machine learning services provider * Added python config to readme * Added repo generation for Python * Addressed feedback * Address more comments
- Loading branch information
Showing
22 changed files
with
2,388 additions
and
0 deletions.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
...ft.MachineLearningServices/preview/2018-03-01-preview/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-03-01-preview", | ||
"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": "Succeeded" | ||
} | ||
} | ||
}, | ||
"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..." | ||
} | ||
} | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
...achineLearningServices/preview/2018-03-01-preview/examples/createBasicBatchAICompute.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-03-01-preview", | ||
"parameters": { | ||
"location": "eastus", | ||
"properties": { | ||
"computeType": "BatchAI" | ||
} | ||
} | ||
}, | ||
"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": "BatchAI", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
}, | ||
"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": "BatchAI", | ||
"provisioningState": "Creating" | ||
} | ||
}, | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." | ||
} | ||
} | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
...neLearningServices/preview/2018-03-01-preview/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-03-01-preview", | ||
"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": "Succeeded" | ||
} | ||
} | ||
}, | ||
"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
...icrosoft.MachineLearningServices/preview/2018-03-01-preview/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": "2018-03-01-preview", | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
.../Microsoft.MachineLearningServices/preview/2018-03-01-preview/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,18 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "testrg123", | ||
"workspaceName": "workspaces123", | ||
"computeName": "compute123", | ||
"api-version": "2018-03-01-preview" | ||
}, | ||
"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
...icrosoft.MachineLearningServices/preview/2018-03-01-preview/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": "2018-03-01-preview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
.../Microsoft.MachineLearningServices/preview/2018-03-01-preview/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,40 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "testrg123", | ||
"workspaceName": "workspaces123", | ||
"computeName": "compute123", | ||
"api-version": "2018-03-01-preview" | ||
}, | ||
"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", | ||
"properties": { | ||
"clusterFqdn": "compute123-56826-c9b00420020b2-6a3f9fd6.hcp.eastus.azmk8s.io", | ||
"systemServices": [ | ||
{ | ||
"systemServiceType": "ScoringFrontEnd", | ||
"publicIpAddress": "1.1.1.1", | ||
"version": "prod/1.20180420.3/v1.0.preview/c8aeb0be7644c2107855662bcc5471ab2b2d5521" | ||
} | ||
], | ||
"agentCount": 4, | ||
"agentVmSize": "Standard_D3_v2", | ||
"sslConfiguration": { | ||
"status": "Disabled" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...rosoft.MachineLearningServices/preview/2018-03-01-preview/examples/getBatchAICompute.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": "2018-03-01-preview" | ||
}, | ||
"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", | ||
"resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.BatchAI/clusters/compute123-ccb488844dcc2", | ||
"computeType": "BatchAI", | ||
"provisioningState": "Succeeded", | ||
"properties": { | ||
"vmSize": "STANDARD_NC6", | ||
"vmPriority": "dedicated", | ||
"scaleSettings": { | ||
"maxNodeCount": 4, | ||
"minNodeCount": 4, | ||
"autoScaleEnabled": false | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
70 changes: 70 additions & 0 deletions
70
...er/Microsoft.MachineLearningServices/preview/2018-03-01-preview/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,70 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "testrg123", | ||
"workspaceName": "workspaces123", | ||
"api-version": "2018-03-01-preview" | ||
}, | ||
"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", | ||
"properties": { | ||
"clusterFqdn": "compute123-56826-c9b00420020b2-6a3f9fd6.hcp.eastus.azmk8s.io", | ||
"systemServices": [ | ||
{ | ||
"systemServiceType": "ScoringFrontEnd", | ||
"publicIpAddress": "1.1.1.1", | ||
"version": "prod/1.20180420.3/v1.0.preview/c8aeb0be7644c2107855662bcc5471ab2b2d5521" | ||
} | ||
], | ||
"agentCount": 4, | ||
"agentVmSize": "Standard_D3_v2", | ||
"sslConfiguration": { | ||
"status": "Disabled" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"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", | ||
"properties": { | ||
"clusterFqdn": "compute123-56826-c9b00420020b2-6a3f9fd6.hcp.eastus.azmk8s.io", | ||
"systemServices": [ | ||
{ | ||
"systemServiceType": "ScoringFrontEnd", | ||
"publicIpAddress": "1.1.1.1", | ||
"version": "prod/1.20180420.3/v1.0.preview/c8aeb0be7644c2107855662bcc5471ab2b2d5521" | ||
} | ||
], | ||
"agentCount": 4, | ||
"agentVmSize": "Standard_D3_v2", | ||
"sslConfiguration": { | ||
"status": "Disabled" | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.