Skip to content

Commit

Permalink
Add an Operations API for Commitment Plan RP (#5222)
Browse files Browse the repository at this point in the history
* Add an Operations API for Commitment Plan RP

* Add OperationEntityListResult related definitions

* Fix case typo

* Fix tab to spaces
  • Loading branch information
weedqian authored and praries880 committed Feb 20, 2019
1 parent 847850a commit 3099de0
Showing 1 changed file with 80 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,31 @@
"application/json"
],
"paths": {
"/providers/Microsoft.MachineLearning/operations": {
"get": {
"tags": [
"Operation"
],
"description": "Lists all of the available Azure Machine Learning Studio Commitment Plan RP REST API operations.",
"operationId": "Operations_List",
"parameters": [
{
"$ref": "#/parameters/APIVersionParameter"
}
],
"responses": {
"200": {
"description": "OK.",
"schema": {
"$ref": "#/definitions/OperationEntityListResult"
}
}
},
"x-ms-pageable": {
"nextLinkName": null
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearning/skus": {
"get": {
"tags": [
Expand Down Expand Up @@ -949,6 +974,61 @@
"description": "The date of usage, in ISO 8601 format."
}
}
},
"OperationEntityListResult": {
"description": "The list of REST API operations.",
"type": "object",
"properties": {
"value": {
"description": "The list of operations.",
"readOnly": true,
"type": "array",
"items": {
"$ref": "#/definitions/OperationEntity"
}
}
}
},
"OperationEntity": {
"description": "An API operation.",
"type": "object",
"properties": {
"name": {
"description": "Operation name: {provider}/{resource}/{operation}.",
"type": "string",
"readOnly": true
},
"display": {
"$ref": "#/definitions/OperationDisplayInfo",
"description": "The API operation info."
}
}
},
"OperationDisplayInfo": {
"description": "The API operation info.",
"type": "object",
"properties": {
"description": {
"description": "The description of the operation.",
"type": "string",
"readOnly": true
},
"operation": {
"description": "The action that users can perform, based on their permission level.",
"type": "string",
"readOnly": true
},
"provider": {
"description": "The service provider.",
"type": "string",
"readOnly": true
},
"resource": {
"description": "The resource on which the operation is performed.",
"type": "string",
"readOnly": true
}
}
}
},
"securityDefinitions": {
Expand Down

0 comments on commit 3099de0

Please sign in to comment.