Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2020-09-01-preview Batch endpoints and deployments #11028

Merged
merged 9 commits into from
Oct 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "resourceGroup-1234",
"workspaceName": "testworkspace",
"api-version": "2020-09-01-preview",
"endpointName": "testEndpointName",
"deploymentId": "testBatchDeployment",
"properties": {
"location": "westus2euap",
"tags": {},
"properties": {
"scaleSettings": {
"nodeCount": 1
},
"batchSettings": {
"computeId": "cluster-name",
"partitioningScheme": {
"miniBatchSize": 20
},
"outputConfiguration": {
"outputAction": "AppendRow"
},
"errorThreshold": 5,
"retrySettings": {
"timeoutInSeconds": 30
}
},
"codeConfiguration": {
"command": [
"batch_scoring.py"
]
},
"environmentId": "some environment",
"properties": {
"description": "string"
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testEndpointName/deployments/testBatchDeployment",
"name": "testBatchDeployment",
"type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments",
"location": "westus2euap",
"tags": {},
"properties": {
"scaleSettings": {
"nodeCount": 1
},
"batchSettings": {
"computeId": "some compute",
"errorThreshold": 5,
"retrySettings": {
"maximumRetries": 0,
"timeoutInSeconds": 30
},
"partitioningScheme": {
"partitioningKey": null,
"miniBatchSize": 20
},
"loggingLevel": "Info",
"outputConfiguration": {
"outputAction": "AppendRow",
"appendRowFileName": null
}
},
"description": "Testing deployment creation",
"properties": {
"description": "string"
},
"modelId": "some model",
"codeConfiguration": {
"commandType": "Command",
"codeArtifactId": "some code artifact",
"command": [
"batch_scoring.py"
]
},
"environmentId": "some environment",
"provisioningState": "Succeeded"
}
}
},
"201": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testEndpointName/deployments/testBatchDeployment",
"name": "testBatchDeployment",
"type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments",
"location": "westus2euap",
"tags": {},
"properties": {
"scaleSettings": {
"nodeCount": 1
},
"batchSettings": {
"computeId": "some compute",
"errorThreshold": 5,
"retrySettings": {
"maximumRetries": 0,
"timeoutInSeconds": 30
},
"partitioningScheme": {
"partitioningKey": null,
"miniBatchSize": 20
},
"loggingLevel": "Info",
"outputConfiguration": {
"outputAction": "AppendRow",
"appendRowFileName": null
}
},
"description": "Testing deployment creation",
"properties": {
"description": "string"
},
"modelId": "some model",
"codeConfiguration": {
"commandType": "Command",
"codeArtifactId": "some code artifact",
"command": [
"batch_scoring.py"
]
},
"environmentId": "some environment",
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "resourceGroup-1234",
"workspaceName": "testworkspace",
"api-version": "2020-09-01-preview",
"endpointName": "testBatchEndpoint",
"properties": {
"location": "westus2euap",
"tags": {},
"properties": {
"name": "test9301",
"description": "Testing pipeline endpoint creation",
"authMode": "AMLTokenAuth",
"trafficRules": "{'testDeployment1': 100, 'testDeployment2': 0}",
"computeConfiguration": {
"computeType": "AMLCompute"
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testEndpointName",
"name": "testBatchEndpoint",
"type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints",
"location": "westus2euap",
"tags": {},
"properties": {
"authMode": "AMLTokenAuth",
"provisioningState": "Succeeded",
"trafficRules": {
"testDeployment1": 100,
"testDeployment2": 0
},
"computeConfiguration": {
"computeType": "AMLCompute"
},
"properties": {
"description": "Testing pipeline endpoint creation"
}
}
}
},
"201": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testEndpointName",
"name": "testBatchEndpoint",
"type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints",
"location": "westus2euap",
"tags": {},
"properties": {
"authMode": "AMLTokenAuth",
"provisioningState": "Succeeded",
"trafficRules": {
"testDeployment1": 100,
"testDeployment2": 0
},
"computeConfiguration": {
"computeType": "AMLCompute"
},
"properties": {
"description": "Testing pipeline endpoint creation"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "resourceGroup-1234",
"workspaceName": "testworkspace",
"endpointName": "testBatchEndpoint",
"deploymentId": "testBatchDeployment",
"api-version": "2020-12-01-preview"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "resourceGroup-1234",
"workspaceName": "testworkspace",
"endpointName": "testBatchEndpoint",
"api-version": "2020-12-01-preview"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "resourceGroup-1234",
"workspaceName": "testworkspace",
"endpointName": "testBatchEndpoint",
"deploymentId": "testBatchDeployment",
"api-version": "2020-12-01-preview"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testEndpointName/deployments/testBatchDeployment",
"name": "testBatchDeployment",
"type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments",
"location": "westus2euap",
"tags": {},
"properties": {
"scaleSettings": {
"nodeCount": 1
},
"batchSettings": {
"computeId": "some compute",
"errorThreshold": 5,
"retrySettings": {
"maximumRetries": 0,
"timeoutInSeconds": 30
},
"partitioningScheme": {
"partitioningKey": null,
"miniBatchSize": 20
},
"loggingLevel": "Info",
"outputConfiguration": {
"outputAction": "AppendRow",
"appendRowFileName": null
}
},
"description": "Testing deployment creation",
"properties": {
"description": "string"
},
"modelId": "some model",
"codeConfiguration": {
"commandType": "Command",
"codeArtifactId": "some code artifact",
"command": [
"batch_scoring.py"
]
},
"environmentId": "some environment",
"provisioningState": "Succeeded"
}
}
}
}
}
Loading