Skip to content

Commit

Permalink
Fix ARMViolations for Microsoft.Solutions (#3914)
Browse files Browse the repository at this point in the history
  • Loading branch information
zjpjack authored and marstr committed Sep 20, 2018
1 parent 1a88657 commit 3b01760
Showing 1 changed file with 68 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,31 @@
}
},
"paths": {
"/providers/Microsoft.Solutions/operations": {
"get": {
"tags": [
"Operations"
],
"operationId": "ListOperations",
"description": "Lists all of the available Microsoft.Solutions REST API operations.",
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK. The request has succeeded.",
"schema": {
"$ref": "#/definitions/OperationListResult"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/appliances/{applianceName}": {
"get": {
"tags": [
Expand Down Expand Up @@ -889,10 +914,6 @@
"pattern": "^[-\\w\\._,\\(\\)]+$"
}
},
"required": [
"properties",
"kind"
],
"allOf": [
{
"$ref": "#/definitions/GenericResource"
Expand Down Expand Up @@ -1346,6 +1367,49 @@
"type": "string"
}
}
},
"Operation": {
"description": "Microsoft.Solutions operation",
"type": "object",
"properties": {
"name": {
"description": "Operation name: {provider}/{resource}/{operation}",
"type": "string"
},
"display": {
"description": "The object that represents the operation.",
"properties": {
"provider": {
"description": "Service provider: Microsoft.Solutions",
"type": "string"
},
"resource": {
"description": "Resource on which the operation is performed: Profile, endpoint, etc.",
"type": "string"
},
"operation": {
"description": "Operation type: Read, write, delete, etc.",
"type": "string"
}
}
}
}
},
"OperationListResult": {
"description": "Result of the request to list Microsoft.Solutions operations. It contains a list of operations and a URL link to get the next set of results.",
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/Operation"
},
"description": "List of Microsoft.Solutions operations."
},
"nextLink": {
"type": "string",
"description": "URL to get the next set of operation list results if there are any."
}
}
}
},
"parameters": {
Expand Down

0 comments on commit 3b01760

Please sign in to comment.