Skip to content

Commit

Permalink
Microsoft.CostManagement - Add supression command into readme (#4334)
Browse files Browse the repository at this point in the history
* Update specification/cost-management/resource-manager/readme.md

add supression command into readme

* Update specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/costmanagement.json

remove x-ms-mutability from collection property

* Update specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/costmanagement.json

fix Automation for azure-sdk-for-go by adding operations method def

* Update specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/costmanagement.json

add missing parameters

* Update specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/costmanagement.json

fix typo
  • Loading branch information
kentzhang authored and anuchandy committed Oct 27, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 01eb8f2 commit 7ae7189
Showing 2 changed files with 89 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1946,9 +1946,89 @@
}
}
}
},
"/providers/Microsoft.CostManagement/operations": {
"get": {
"tags": [
"Operations"
],
"operationId": "Operations_List",
"description": "Lists all of the available cost management REST API operations.",
"parameters": [
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK. The request has succeeded.",
"schema": {
"$ref": "#/definitions/OperationListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
}
},
"definitions": {
"Operation": {
"description": "A Cost Management REST API operation.",
"type": "object",
"properties": {
"name": {
"description": "Operation name: {provider}/{resource}/{operation}.",
"type": "string",
"readOnly": true
},
"display": {
"description": "The object that represents the operation.",
"properties": {
"provider": {
"description": "Service provider: Microsoft.CostManagement.",
"type": "string",
"readOnly": true
},
"resource": {
"description": "Resource on which the operation is performed: UsageDetail, etc.",
"type": "string",
"readOnly": true
},
"operation": {
"description": "Operation type: Read, write, delete, etc.",
"type": "string",
"readOnly": true
}
}
}
}
},
"OperationListResult": {
"description": "Result of listing CostManagement operations. It contains a list of operations and a URL link to get the next set of results.",
"properties": {
"value": {
"description": "List of CostManagement operations supported by the Microsoft.CostManagement resource provider.",
"type": "array",
"readOnly": true,
"items": {
"$ref": "#/definitions/Operation"
}
},
"nextLink": {
"description": "URL to get the next set of operation list results if there are any.",
"type": "string",
"readOnly": true
}
}
},
"ErrorBase": {
"description": "The details of the error.",
"properties": {
@@ -2784,9 +2864,6 @@
},
"collection": {
"$ref": "#/definitions/ConnectorCollectionInfo",
"x-ms-mutability": [
"read"
],
"description": "Collection information",
"readOnly": true
}
9 changes: 9 additions & 0 deletions specification/cost-management/resource-manager/readme.md
Original file line number Diff line number Diff line change
@@ -23,6 +23,7 @@ These are the global settings for the Cost Management API.
``` yaml
openapi-type: arm
tag: package-2018-05
azure-validator: true
```
---
@@ -35,6 +36,14 @@ input-file:
- Microsoft.CostManagement/stable/2018-05-31/costmanagement.json
```

## Suppression
``` yaml
directive:
- suppress: R2059
from: costmanagement.json
where: $.paths
reason: We are extending Microsoft.Billing RP in some scenarios
```

### Tag: package-2018-08-preview

0 comments on commit 7ae7189

Please sign in to comment.