Skip to content

Commit 19a0ac7

Browse files
Maulik003maulikjoshi
andcommitted
Fixed LintDiff checks (#20847)
* Fixed LintDiff checks * Fixed LintDiff checks * Fixed LintDiff checks * Fixed LintDiff checks * Updated examples Co-authored-by: maulikjoshi <[email protected]>
1 parent 3e66acd commit 19a0ac7

File tree

4 files changed

+64
-22
lines changed

4 files changed

+64
-22
lines changed

specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2022-10-01-preview/examples/Registries/update-SystemCreated.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"body": {
88
"properties": {},
99
"tags": {},
10-
"location": "string",
1110
"kind": "string",
1211
"identity": {
1312
"type": "UserAssigned",

specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2022-10-01-preview/examples/Registries/update-UserCreated.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"body": {
88
"properties": {},
99
"tags": {},
10-
"location": "string",
1110
"kind": "string",
1211
"identity": {
1312
"type": "UserAssigned",

specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2022-10-01-preview/mfe.json

Lines changed: 64 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,10 @@
139139
"$ref": "./examples/Registry/CodeContainer/delete.json"
140140
}
141141
},
142-
"x-ms-long-running-operation": true
142+
"x-ms-long-running-operation": true,
143+
"x-ms-long-running-operation-options": {
144+
"final-state-via": "location"
145+
}
143146
},
144147
"get": {
145148
"tags": [
@@ -278,7 +281,10 @@
278281
"$ref": "./examples/Registry/CodeContainer/createOrUpdate.json"
279282
}
280283
},
281-
"x-ms-long-running-operation": true
284+
"x-ms-long-running-operation": true,
285+
"x-ms-long-running-operation-options": {
286+
"final-state-via": "original-uri"
287+
}
282288
}
283289
},
284290
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}/versions": {
@@ -438,7 +444,10 @@
438444
"$ref": "./examples/Registry/CodeVersion/delete.json"
439445
}
440446
},
441-
"x-ms-long-running-operation": true
447+
"x-ms-long-running-operation": true,
448+
"x-ms-long-running-operation-options": {
449+
"final-state-via": "location"
450+
}
442451
},
443452
"get": {
444453
"tags": [
@@ -591,7 +600,10 @@
591600
"$ref": "./examples/Registry/CodeVersion/createOrUpdate.json"
592601
}
593602
},
594-
"x-ms-long-running-operation": true
603+
"x-ms-long-running-operation": true,
604+
"x-ms-long-running-operation-options": {
605+
"final-state-via": "original-uri"
606+
}
595607
}
596608
},
597609
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components": {
@@ -724,7 +736,10 @@
724736
"$ref": "./examples/Registry/ComponentContainer/delete.json"
725737
}
726738
},
727-
"x-ms-long-running-operation": true
739+
"x-ms-long-running-operation": true,
740+
"x-ms-long-running-operation-options": {
741+
"final-state-via": "location"
742+
}
728743
},
729744
"get": {
730745
"tags": [
@@ -863,7 +878,10 @@
863878
"$ref": "./examples/Registry/ComponentContainer/createOrUpdate.json"
864879
}
865880
},
866-
"x-ms-long-running-operation": true
881+
"x-ms-long-running-operation": true,
882+
"x-ms-long-running-operation-options": {
883+
"final-state-via": "original-uri"
884+
}
867885
}
868886
},
869887
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}/versions": {
@@ -1023,7 +1041,10 @@
10231041
"$ref": "./examples/Registry/ComponentVersion/delete.json"
10241042
}
10251043
},
1026-
"x-ms-long-running-operation": true
1044+
"x-ms-long-running-operation": true,
1045+
"x-ms-long-running-operation-options": {
1046+
"final-state-via": "location"
1047+
}
10271048
},
10281049
"get": {
10291050
"tags": [
@@ -1176,7 +1197,10 @@
11761197
"$ref": "./examples/Registry/ComponentVersion/createOrUpdate.json"
11771198
}
11781199
},
1179-
"x-ms-long-running-operation": true
1200+
"x-ms-long-running-operation": true,
1201+
"x-ms-long-running-operation-options": {
1202+
"final-state-via": "original-uri"
1203+
}
11801204
}
11811205
},
11821206
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments": {
@@ -1336,7 +1360,10 @@
13361360
"$ref": "./examples/Registry/EnvironmentContainer/delete.json"
13371361
}
13381362
},
1339-
"x-ms-long-running-operation": true
1363+
"x-ms-long-running-operation": true,
1364+
"x-ms-long-running-operation-options": {
1365+
"final-state-via": "location"
1366+
}
13401367
},
13411368
"get": {
13421369
"tags": [
@@ -1475,7 +1502,10 @@
14751502
"$ref": "./examples/Registry/EnvironmentContainer/createOrUpdate.json"
14761503
}
14771504
},
1478-
"x-ms-long-running-operation": true
1505+
"x-ms-long-running-operation": true,
1506+
"x-ms-long-running-operation-options": {
1507+
"final-state-via": "original-uri"
1508+
}
14791509
}
14801510
},
14811511
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}/versions": {
@@ -1662,7 +1692,10 @@
16621692
"$ref": "./examples/Registry/EnvironmentVersion/delete.json"
16631693
}
16641694
},
1665-
"x-ms-long-running-operation": true
1695+
"x-ms-long-running-operation": true,
1696+
"x-ms-long-running-operation-options": {
1697+
"final-state-via": "location"
1698+
}
16661699
},
16671700
"get": {
16681701
"tags": [
@@ -1815,7 +1848,10 @@
18151848
"$ref": "./examples/Registry/EnvironmentVersion/createOrUpdate.json"
18161849
}
18171850
},
1818-
"x-ms-long-running-operation": true
1851+
"x-ms-long-running-operation": true,
1852+
"x-ms-long-running-operation-options": {
1853+
"final-state-via": "original-uri"
1854+
}
18191855
}
18201856
},
18211857
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models": {
@@ -1975,7 +2011,10 @@
19752011
"$ref": "./examples/Registry/ModelContainer/delete.json"
19762012
}
19772013
},
1978-
"x-ms-long-running-operation": true
2014+
"x-ms-long-running-operation": true,
2015+
"x-ms-long-running-operation-options": {
2016+
"final-state-via": "location"
2017+
}
19792018
},
19802019
"get": {
19812020
"tags": [
@@ -2114,7 +2153,10 @@
21142153
"$ref": "./examples/Registry/ModelContainer/createOrUpdate.json"
21152154
}
21162155
},
2117-
"x-ms-long-running-operation": true
2156+
"x-ms-long-running-operation": true,
2157+
"x-ms-long-running-operation-options": {
2158+
"final-state-via": "original-uri"
2159+
}
21182160
}
21192161
},
21202162
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions": {
@@ -2325,7 +2367,10 @@
23252367
"$ref": "./examples/Registry/ModelVersion/delete.json"
23262368
}
23272369
},
2328-
"x-ms-long-running-operation": true
2370+
"x-ms-long-running-operation": true,
2371+
"x-ms-long-running-operation-options": {
2372+
"final-state-via": "location"
2373+
}
23292374
},
23302375
"get": {
23312376
"tags": [
@@ -2478,7 +2523,10 @@
24782523
"$ref": "./examples/Registry/ModelVersion/createOrUpdate.json"
24792524
}
24802525
},
2481-
"x-ms-long-running-operation": true
2526+
"x-ms-long-running-operation": true,
2527+
"x-ms-long-running-operation-options": {
2528+
"final-state-via": "original-uri"
2529+
}
24822530
}
24832531
},
24842532
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints": {

specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2022-10-01-preview/registries.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -386,10 +386,6 @@
386386
"description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.",
387387
"type": "string"
388388
},
389-
"location": {
390-
"description": "The geo-location where the resource lives.",
391-
"type": "string"
392-
},
393389
"properties": {
394390
"description": "Additional attributes of the entity.",
395391
"$ref": "#/definitions/PartialRegistry"

0 commit comments

Comments
 (0)