Skip to content

Commit 5da6078

Browse files
authored
Remove x-ms-long-running-operation-options from MFE spec (#17823)
* 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
1 parent 4d0adaa commit 5da6078

File tree

13 files changed

+34
-58
lines changed

13 files changed

+34
-58
lines changed

specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/BatchDeployment/createOrUpdate.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"errorThreshold": 0,
4040
"retrySettings": {
4141
"maxRetries": 0,
42-
"timeout": "string"
42+
"timeout": "PT1M"
4343
},
4444
"partitionKeys": [
4545
"string"
@@ -110,7 +110,7 @@
110110
"errorThreshold": 0,
111111
"retrySettings": {
112112
"maxRetries": 0,
113-
"timeout": "string"
113+
"timeout": "PT1M"
114114
},
115115
"partitionKeys": [
116116
"string"
@@ -188,7 +188,7 @@
188188
"errorThreshold": 0,
189189
"retrySettings": {
190190
"maxRetries": 0,
191-
"timeout": "string"
191+
"timeout": "PT1M"
192192
},
193193
"partitionKeys": [
194194
"string"

specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/BatchDeployment/get.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"errorThreshold": 0,
4545
"retrySettings": {
4646
"maxRetries": 0,
47-
"timeout": "string"
47+
"timeout": "PT1M"
4848
},
4949
"partitionKeys": [
5050
"string"

specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/BatchDeployment/list.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"errorThreshold": 0,
4646
"retrySettings": {
4747
"maxRetries": 0,
48-
"timeout": "string"
48+
"timeout": "PT1M"
4949
},
5050
"partitionKeys": [
5151
"string"

specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/BatchDeployment/update.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"errorThreshold": 0,
5252
"retrySettings": {
5353
"maxRetries": 0,
54-
"timeout": "string"
54+
"timeout": "PT1M"
5555
},
5656
"partitionKeys": [
5757
"string"

specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/BatchEndpoint/createOrUpdate.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@
7474
"myDeployment1": 0,
7575
"myDeployment2": 1
7676
},
77-
"scoringUri": "string",
78-
"swaggerUri": "string"
77+
"scoringUri": "http://example.com",
78+
"swaggerUri": "http://example.com"
7979
},
8080
"systemData": {
8181
"createdAt": "2021-03-25T20:46:47.062Z",
@@ -119,8 +119,8 @@
119119
"myDeployment1": 0,
120120
"myDeployment2": 1
121121
},
122-
"scoringUri": "string",
123-
"swaggerUri": "string"
122+
"scoringUri": "http://example.com",
123+
"swaggerUri": "http://example.com"
124124
},
125125
"systemData": {
126126
"createdAt": "2021-03-25T20:46:47.062Z",

specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/BatchEndpoint/get.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
"myDeployment1": 0,
4040
"myDeployment2": 1
4141
},
42-
"scoringUri": "string",
43-
"swaggerUri": "string"
42+
"scoringUri": "http://example.com",
43+
"swaggerUri": "http://example.com"
4444
},
4545
"systemData": {
4646
"createdAt": "2021-03-25T20:46:47.062Z",

specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/BatchEndpoint/list.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
"myDeployment1": 0,
4242
"myDeployment2": 1
4343
},
44-
"scoringUri": "string",
45-
"swaggerUri": "string"
44+
"scoringUri": "http://example.com",
45+
"swaggerUri": "http://example.com"
4646
},
4747
"systemData": {
4848
"createdAt": "2021-03-25T20:46:47.062Z",

specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/BatchEndpoint/update.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
"myDeployment1": 0,
4747
"myDeployment2": 1
4848
},
49-
"scoringUri": "string",
50-
"swaggerUri": "string"
49+
"scoringUri": "http://example.com",
50+
"swaggerUri": "http://example.com"
5151
},
5252
"systemData": {
5353
"createdAt": "2021-03-25T20:46:47.062Z",

specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/OnlineEndpoint/createOrUpdate.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@
7575
"myDeployment1": 0,
7676
"myDeployment2": 1
7777
},
78-
"scoringUri": "string",
79-
"swaggerUri": "string",
78+
"scoringUri": "http://example.com",
79+
"swaggerUri": "http://example.com",
8080
"target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123",
8181
"authMode": "AMLToken"
8282
}
@@ -114,8 +114,8 @@
114114
"myDeployment1": 0,
115115
"myDeployment2": 1
116116
},
117-
"scoringUri": "string",
118-
"swaggerUri": "string",
117+
"scoringUri": "http://example.com",
118+
"swaggerUri": "http://example.com",
119119
"target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123",
120120
"authMode": "AMLToken"
121121
}

specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/OnlineEndpoint/get.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
"myDeployment1": 0,
4040
"myDeployment2": 1
4141
},
42-
"scoringUri": "string",
43-
"swaggerUri": "string",
42+
"scoringUri": "http://example.com",
43+
"swaggerUri": "http://example.com",
4444
"target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123",
4545
"authMode": "AMLToken"
4646
}

0 commit comments

Comments
 (0)