Skip to content

Commit

Permalink
Remove x-ms-long-running-operation-options from MFE spec (#17823)
Browse files Browse the repository at this point in the history
* Removed x-ms-long-running-operation-options from MFE spec

Removed from 2021-03-01-preview api version for non-POST LRO operations.
Non-breaking change to fix autogenerated REST clients.

* Fixed validation errors in examples for MFE 2021-03-01-preview api version
  • Loading branch information
erjms authored Feb 15, 2022
1 parent 4d0adaa commit 5da6078
Show file tree
Hide file tree
Showing 13 changed files with 34 additions and 58 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"errorThreshold": 0,
"retrySettings": {
"maxRetries": 0,
"timeout": "string"
"timeout": "PT1M"
},
"partitionKeys": [
"string"
Expand Down Expand Up @@ -110,7 +110,7 @@
"errorThreshold": 0,
"retrySettings": {
"maxRetries": 0,
"timeout": "string"
"timeout": "PT1M"
},
"partitionKeys": [
"string"
Expand Down Expand Up @@ -188,7 +188,7 @@
"errorThreshold": 0,
"retrySettings": {
"maxRetries": 0,
"timeout": "string"
"timeout": "PT1M"
},
"partitionKeys": [
"string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"errorThreshold": 0,
"retrySettings": {
"maxRetries": 0,
"timeout": "string"
"timeout": "PT1M"
},
"partitionKeys": [
"string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"errorThreshold": 0,
"retrySettings": {
"maxRetries": 0,
"timeout": "string"
"timeout": "PT1M"
},
"partitionKeys": [
"string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"errorThreshold": 0,
"retrySettings": {
"maxRetries": 0,
"timeout": "string"
"timeout": "PT1M"
},
"partitionKeys": [
"string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@
"myDeployment1": 0,
"myDeployment2": 1
},
"scoringUri": "string",
"swaggerUri": "string"
"scoringUri": "http://example.com",
"swaggerUri": "http://example.com"
},
"systemData": {
"createdAt": "2021-03-25T20:46:47.062Z",
Expand Down Expand Up @@ -119,8 +119,8 @@
"myDeployment1": 0,
"myDeployment2": 1
},
"scoringUri": "string",
"swaggerUri": "string"
"scoringUri": "http://example.com",
"swaggerUri": "http://example.com"
},
"systemData": {
"createdAt": "2021-03-25T20:46:47.062Z",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"myDeployment1": 0,
"myDeployment2": 1
},
"scoringUri": "string",
"swaggerUri": "string"
"scoringUri": "http://example.com",
"swaggerUri": "http://example.com"
},
"systemData": {
"createdAt": "2021-03-25T20:46:47.062Z",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"myDeployment1": 0,
"myDeployment2": 1
},
"scoringUri": "string",
"swaggerUri": "string"
"scoringUri": "http://example.com",
"swaggerUri": "http://example.com"
},
"systemData": {
"createdAt": "2021-03-25T20:46:47.062Z",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
"myDeployment1": 0,
"myDeployment2": 1
},
"scoringUri": "string",
"swaggerUri": "string"
"scoringUri": "http://example.com",
"swaggerUri": "http://example.com"
},
"systemData": {
"createdAt": "2021-03-25T20:46:47.062Z",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@
"myDeployment1": 0,
"myDeployment2": 1
},
"scoringUri": "string",
"swaggerUri": "string",
"scoringUri": "http://example.com",
"swaggerUri": "http://example.com",
"target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123",
"authMode": "AMLToken"
}
Expand Down Expand Up @@ -114,8 +114,8 @@
"myDeployment1": 0,
"myDeployment2": 1
},
"scoringUri": "string",
"swaggerUri": "string",
"scoringUri": "http://example.com",
"swaggerUri": "http://example.com",
"target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123",
"authMode": "AMLToken"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"myDeployment1": 0,
"myDeployment2": 1
},
"scoringUri": "string",
"swaggerUri": "string",
"scoringUri": "http://example.com",
"swaggerUri": "http://example.com",
"target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123",
"authMode": "AMLToken"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"myDeployment1": 0,
"myDeployment2": 1
},
"scoringUri": "string",
"swaggerUri": "string",
"scoringUri": "http://example.com",
"swaggerUri": "http://example.com",
"target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123",
"authMode": "AMLToken"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
"myDeployment1": 0,
"myDeployment2": 1
},
"scoringUri": "string",
"swaggerUri": "string",
"scoringUri": "http://example.com",
"swaggerUri": "http://example.com",
"target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123",
"authMode": "AMLToken"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2631,10 +2631,7 @@
"$ref": "./examples/Job/delete.json"
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
"x-ms-long-running-operation": true
},
"get": {
"tags": [
Expand Down Expand Up @@ -3061,10 +3058,7 @@
"$ref": "./examples/LabelingJob/createOrUpdate.json"
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "azure-async-operation"
}
"x-ms-long-running-operation": true
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}/exportLabels": {
Expand Down Expand Up @@ -3970,10 +3964,7 @@
"$ref": "./examples/OnlineEndpoint/delete.json"
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
"x-ms-long-running-operation": true
},
"get": {
"tags": [
Expand Down Expand Up @@ -4107,10 +4098,7 @@
"$ref": "./examples/OnlineEndpoint/update.json"
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
"x-ms-long-running-operation": true
},
"put": {
"tags": [
Expand Down Expand Up @@ -4191,10 +4179,7 @@
"$ref": "./examples/OnlineEndpoint/createOrUpdate.json"
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "azure-async-operation"
}
"x-ms-long-running-operation": true
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments": {
Expand Down Expand Up @@ -4346,10 +4331,7 @@
"$ref": "./examples/OnlineDeployment/delete.json"
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
"x-ms-long-running-operation": true
},
"get": {
"tags": [
Expand Down Expand Up @@ -4505,10 +4487,7 @@
"$ref": "./examples/OnlineDeployment/K8sOnlineDeployment/update.json"
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
"x-ms-long-running-operation": true
},
"put": {
"tags": [
Expand Down Expand Up @@ -4600,10 +4579,7 @@
"$ref": "./examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json"
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "azure-async-operation"
}
"x-ms-long-running-operation": true
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}/getLogs": {
Expand Down

0 comments on commit 5da6078

Please sign in to comment.