Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an Operations API for Commitment Plan RP #5222

Merged
merged 4 commits into from
Feb 20, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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