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 Inference Endpoints and Deployments #10420

Closed
Show file tree
Hide file tree
Changes from 46 commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
8ea0ed4
copied 2020-05-15-preview and made as 2020-09-01-preview
msft-edguevar Aug 11, 2020
bf9cf5a
updated readme.md for 2020-09-01-preview
msft-edguevar Aug 11, 2020
abc60de
added new sub resources and examples - inferenceEndpoints and its sub…
msft-edguevar Aug 11, 2020
0e3a444
added inference.json ref in readme.md
msft-edguevar Aug 11, 2020
b8155f4
changed Sku to InferenceSku to avoid conflict with machineLearningSer…
msft-edguevar Aug 11, 2020
0ad00d4
changed x-ms-enum for sku tier to avoid conflict
msft-edguevar Aug 11, 2020
752645a
testing 2020-05-15-preview file
msft-edguevar Aug 11, 2020
57116f3
added operations in inference.json, corrected previous test, deleted …
msft-edguevar Aug 11, 2020
e3f1bfc
deleted operations
msft-edguevar Aug 11, 2020
99bca51
added systemData, not an issue to add here
msft-edguevar Aug 11, 2020
8c194d0
deleted SystemData field, fixed LinkedWorkspace list operation
msft-edguevar Aug 11, 2020
6e6ca4b
listLinkedWorkspaces example updated
msft-edguevar Aug 11, 2020
44c6543
adding systemData
msft-edguevar Aug 11, 2020
cdc044c
referenced common-types instead of declaring in inference.json
msft-edguevar Aug 12, 2020
0f2911d
Apply suggestions from code review
fullmetalcloud Aug 12, 2020
086109b
changed parameters to reference in machineLearningServices.json rathe…
msft-edguevar Aug 12, 2020
a7ccb5c
Merge branch 'master' of https://github.com/Azure/azure-rest-api-spec…
msft-edguevar Aug 12, 2020
39005c3
Merge branch '2020-09-01-preview-inference-specs' of https://github.c…
msft-edguevar Aug 12, 2020
c02bf3e
changed references and names to avoid naming conflicts
msft-edguevar Aug 12, 2020
28a2bf6
fix on deployment properties and listWorkspaces example
msft-edguevar Aug 12, 2020
e0b6aa0
linter and prettier fixes
msft-edguevar Aug 12, 2020
eff99f3
changed ErrorResponse to MachineLearningServiceError to meet ARM stan…
msft-edguevar Aug 12, 2020
84c3c62
added tags to update for deployments
msft-edguevar Aug 12, 2020
3b5f2db
added patch for inferenceEndpoints to update tags
msft-edguevar Aug 12, 2020
971bd8e
Update specification/machinelearningservices/resource-manager/Microso…
fullmetalcloud Aug 12, 2020
a924eb6
changed authMode enum to AMLTokenAuth
msft-edguevar Aug 12, 2020
515e712
fixed endpoint examples for authMode change
msft-edguevar Aug 12, 2020
21ddcbc
added new mutable properties for deployment update
msft-edguevar Aug 13, 2020
b7b1820
fixed examples
msft-edguevar Aug 13, 2020
8792900
example corrections
msft-edguevar Aug 13, 2020
86fc0e6
fixed examples
msft-edguevar Aug 13, 2020
2ca3029
deleted nextLink required field
msft-edguevar Aug 13, 2020
8022671
Update specification/machinelearningservices/resource-manager/Microso…
fullmetalcloud Aug 13, 2020
475aebf
Merge branch 'master' of https://github.com/Azure/azure-rest-api-spec…
msft-edguevar Aug 13, 2020
142108c
Merge branch '2020-09-01-preview-inference-specs' of https://github.c…
msft-edguevar Aug 13, 2020
9acdd58
moved identity as Endpoint exclusive and fixed examples
msft-edguevar Aug 13, 2020
0bc23b4
nit from codeAssetId to codeAssetIds
msft-edguevar Aug 14, 2020
8ff97e4
added properties to request and fixed examples
msft-edguevar Aug 14, 2020
64d5a1c
deleted readOnly in properties field in request
msft-edguevar Aug 14, 2020
7b905a3
Merge branch 'master' of https://github.com/Azure/azure-rest-api-spec…
msft-edguevar Aug 17, 2020
129fda3
save all
msft-edguevar Aug 17, 2020
c8bc569
changed sku naming
msft-edguevar Aug 17, 2020
0cc095c
deleted unnecessary /skus and added polling headers for delete
msft-edguevar Aug 20, 2020
7a6d38c
added deploymentWeights to endpoint and adjusted examples
msft-edguevar Aug 20, 2020
faa6261
deleted patch for endpoints
msft-edguevar Aug 20, 2020
320b223
Merge branch 'master' of https://github.com/Azure/azure-rest-api-spec…
msft-edguevar Aug 20, 2020
43ac0c4
deleted patch, readjusted examples due to new changes, made endpoint …
msft-edguevar Aug 25, 2020
387af23
validation fixes
msft-edguevar Aug 25, 2020
ccf20c8
deleted properties from examples
msft-edguevar Aug 25, 2020
9df1731
changed Sku definition in machinelearningservices to amlSku to fix co…
msft-edguevar Aug 25, 2020
5bfe883
changed amlSku to Sku and Reosurce to amlResource to avoid conflicts
msft-edguevar Aug 25, 2020
b6fbcfc
fixed createorupdatedeployment example
msft-edguevar Aug 25, 2020
72b403b
added patch and fixed examples
msft-edguevar Aug 27, 2020
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"resourceGroupName": "testrg123",
"workspaceName": "workspaces123",
"inferenceEndpointName": "testendpoint",
"locationName": "eastus2euap",
"api-version": "2020-09-01-preview",
"properties": {
"name": "testendpointdeployment"
}
},
"responses": {
"200": {
"body": {
"nameAvailable": true,
"reason": "None",
"message": ""
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"resourceGroupName": "testrg123",
"workspaceName": "workspaces123",
"locationName": "eastus2euap",
"api-version": "2020-09-01-preview",
"properties": {
"name": "testendpoint"
}
},
"responses": {
"200": {
"body": {
"nameAvailable": true,
"reason": "None",
"message": ""
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"parameters": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"resourceGroupName": "testrg123",
"workspaceName": "workspaces123",
"inferenceEndpointName": "testendpoint",
"deploymentName": "testdeployment",
"api-version": "2020-09-01-preview",
"properties": {
"modelIds": [
"modelURL"
],
"sku": "ML_Standard_D3_v2",
"weight": 100,
"scaleSettings": {
"minimum": 1,
"maximum": 5,
"default": 2
},
"environmentConfigId": "EnvConfigURL",
"codeAssetIds": [
"CodeAssetURL"
]
}
},
"responses": {
"200": {
"body": {
"id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/inferenceEndpoints/testendpoint/deployments/testdeployment",
"name": "testdeployment",
"location": "westus2euap",
"type": "Microsoft.MachineLearningServices/workspaces/inferenceEndpoints/deployments",
"sku": {
"name": "ML_Standard_D3_v2",
"tier": "Basic",
"capacity": 5
},
"properties": {
"modelIds": [
"modelURL"
],
"scaleSettings": {
"minimum": 1,
"maximum": 5,
"default": 2
},
"weight": 100,
"provisioningState": "Succeeded",
"environmentConfigId": "EnvConfigURL",
"codeAssetIds": [
"CodeAssetURL"
]
}
}
},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
}
}
}
}
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",
"inferenceEndpointName": "testendpoint",
"api-version": "2020-09-01-preview",
"properties": {
"description": "This is a test endpoint",
"tags": {},
"properties": {}
}
},
"responses": {
"200": {
"body": {
"id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/inferenceEndpoints/testendpoint",
"type": "Microsoft.MachineLearningServices/workspaces/inferenceEndpoints",
"name": "testendpoint",
"identity": {},
"location": "westus2euap",
"tags": {},
"properties": {
"description": "This is a test endpoint",
"properties": {},
"provisioningState": "Succeeded",
"error": null,
"authMode": "AMLTokenAuth",
"uri": "",
"deploymentWeights": {}
}
}
},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parameters": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"resourceGroupName": "testrg123",
"workspaceName": "workspaces123",
"inferenceEndpointName": "testendpoint",
"deploymentName": "testdeployment",
"api-version": "2020-09-01-preview"
},
"responses": {
"200": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...",
"Location": "https://management.azure.com/subscriptions/...pathToOperationResult..."
}
},
"204": {}
}
}
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",
"inferenceEndpointName": "testendpoint",
"api-version": "2020-09-01-preview"
},
"responses": {
"200": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...",
"Location": "https://management.azure.com/subscriptions/...pathToOperationResult..."
}
},
"204": {}
}
}
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",
"inferenceEndpointName": "testendpoint",
"deploymentName": "testdeployment",
"api-version": "2020-09-01-preview"
},
"responses": {
"200": {
"body": {
"id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/inferenceEndpoints/testendpoint/deployments/testdeployment",
"name": "testdeployment",
"location": "westus2euap",
"type": "Microsoft.MachineLearningServices/workspaces/inferenceEndpoints/deployments",
"sku": {
"name": "ML_Standard_D3_v2",
"tier": "Basic",
"capacity": 5
},
"properties": {
"modelIds": [
"modelURL"
],
"scaleSettings": {
"minimum": 1,
"maximum": 5,
"default": 2
},
"weight": 100,
"provisioningState": "Succeeded",
"environmentConfigId": "EnvConfigURL",
"codeAssetIds": [
"CodeAssetURL"
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"resourceGroupName": "testrg123",
"workspaceName": "workspaces123",
"inferenceEndpointName": "testendpoint",
"deploymentName": "testdeployment",
"api-version": "2020-09-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"sku": {
"name": "ML_Standard_D3_v2",
"tier": "Basic"
},
"capacity": {
"minimum": 1,
"maximum": 5,
"default": 2,
"scaleType": "automatic"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"parameters": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"resourceGroupName": "testrg123",
"workspaceName": "workspaces123",
"inferenceEndpointName": "testendpoint",
"api-version": "2020-09-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/inferenceEndpoints/testendpoint/deployments/testdeployment",
"name": "testdeployment",
"location": "westus2euap",
"type": "Microsoft.MachineLearningServices/workspaces/inferenceEndpoints/deployments",
"sku": {
"name": "Standard_DS3_V2",
"tier": "Basic",
"capacity": 5
},
"properties": {
"modelIds": [
"modelURL"
],
"scaleSettings": {
"minimum": 1,
"maximum": 5,
"default": 2
},
"weight": 50,
"provisioningState": "Succeeded",
"environmentConfigId": "EnvConfigURL",
"codeAssetIds": [
"CodeAssetURL"
]
}
},
{
"id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/inferenceEndpoints/testendpoint/deployments/testdeployment2",
"name": "testdeployment2",
"location": "westus2euap",
"type": "Microsoft.MachineLearningServices/workspaces/inferenceEndpoints/deployments",
"sku": {
"name": "ML_Standard_D3_v2",
"tier": "Basic",
"capacity": 2
},
"properties": {
"modelIds": [
"modelURL"
],
"scaleSettings": {
"minimum": 1,
"maximum": 4,
"default": 2
},
"weight": 50,
"provisioningState": "Succeeded",
"environmentConfigId": "EnvConfigURL",
"codeAssetIds": [
"CodeAssetURL"
]
}
}
],
"nextLink": "nextLink"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"resourceGroupName": "testrg123",
"workspaceName": "workspaces123",
"inferenceEndpointName": "testendpoint",
"api-version": "2020-09-01-preview"
},
"responses": {
"200": {
"body": {
"id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/inferenceEndpoints/testendpoint",
"name": "testendpoint",
"identity": "",
"location": "westus2euap",
"type": "Microsoft.MachineLearningServices/workspaces/inferenceEndpoints",
"tags": {},
"properties": {
"description": "This is a test endpoint",
"properties": {},

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do need this? can we remove in first iteration?

"provisioningState": "Succeeded",
"error": null,
"authMode": "AMLTokenAuth",
"uri": "",
"deploymentWeights": {}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can add an example of the content of this map?

}
}
}
}
}
Loading