Skip to content

Commit

Permalink
Fixed LintDiff checks (#20847)
Browse files Browse the repository at this point in the history
* Fixed LintDiff checks

* Fixed LintDiff checks

* Fixed LintDiff checks

* Fixed LintDiff checks

* Updated examples

Co-authored-by: maulikjoshi <[email protected]>
  • Loading branch information
Maulik003 and maulikjoshi committed Oct 4, 2022
1 parent 3e66acd commit 19a0ac7
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"body": {
"properties": {},
"tags": {},
"location": "string",
"kind": "string",
"identity": {
"type": "UserAssigned",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"body": {
"properties": {},
"tags": {},
"location": "string",
"kind": "string",
"identity": {
"type": "UserAssigned",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,10 @@
"$ref": "./examples/Registry/CodeContainer/delete.json"
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
},
"get": {
"tags": [
Expand Down Expand Up @@ -278,7 +281,10 @@
"$ref": "./examples/Registry/CodeContainer/createOrUpdate.json"
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "original-uri"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}/versions": {
Expand Down Expand Up @@ -438,7 +444,10 @@
"$ref": "./examples/Registry/CodeVersion/delete.json"
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
},
"get": {
"tags": [
Expand Down Expand Up @@ -591,7 +600,10 @@
"$ref": "./examples/Registry/CodeVersion/createOrUpdate.json"
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "original-uri"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components": {
Expand Down Expand Up @@ -724,7 +736,10 @@
"$ref": "./examples/Registry/ComponentContainer/delete.json"
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
},
"get": {
"tags": [
Expand Down Expand Up @@ -863,7 +878,10 @@
"$ref": "./examples/Registry/ComponentContainer/createOrUpdate.json"
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "original-uri"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}/versions": {
Expand Down Expand Up @@ -1023,7 +1041,10 @@
"$ref": "./examples/Registry/ComponentVersion/delete.json"
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
},
"get": {
"tags": [
Expand Down Expand Up @@ -1176,7 +1197,10 @@
"$ref": "./examples/Registry/ComponentVersion/createOrUpdate.json"
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "original-uri"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments": {
Expand Down Expand Up @@ -1336,7 +1360,10 @@
"$ref": "./examples/Registry/EnvironmentContainer/delete.json"
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
},
"get": {
"tags": [
Expand Down Expand Up @@ -1475,7 +1502,10 @@
"$ref": "./examples/Registry/EnvironmentContainer/createOrUpdate.json"
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "original-uri"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}/versions": {
Expand Down Expand Up @@ -1662,7 +1692,10 @@
"$ref": "./examples/Registry/EnvironmentVersion/delete.json"
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
},
"get": {
"tags": [
Expand Down Expand Up @@ -1815,7 +1848,10 @@
"$ref": "./examples/Registry/EnvironmentVersion/createOrUpdate.json"
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "original-uri"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models": {
Expand Down Expand Up @@ -1975,7 +2011,10 @@
"$ref": "./examples/Registry/ModelContainer/delete.json"
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
},
"get": {
"tags": [
Expand Down Expand Up @@ -2114,7 +2153,10 @@
"$ref": "./examples/Registry/ModelContainer/createOrUpdate.json"
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "original-uri"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions": {
Expand Down Expand Up @@ -2325,7 +2367,10 @@
"$ref": "./examples/Registry/ModelVersion/delete.json"
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
},
"get": {
"tags": [
Expand Down Expand Up @@ -2478,7 +2523,10 @@
"$ref": "./examples/Registry/ModelVersion/createOrUpdate.json"
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "original-uri"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -386,10 +386,6 @@
"description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.",
"type": "string"
},
"location": {
"description": "The geo-location where the resource lives.",
"type": "string"
},
"properties": {
"description": "Additional attributes of the entity.",
"$ref": "#/definitions/PartialRegistry"
Expand Down

0 comments on commit 19a0ac7

Please sign in to comment.