-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.CostManagement to add ve…
…rsion stable/2022-05-01 (#19143) * Adds base for updating Microsoft.CostManagement from version stable/2021-10-01 to version 2022-05-01 * Updates readme * Updates API version in new specs and examples * Add the new Cost Details Api * fix model * Update operation name and fix description * Fix based on linter check * Fix lint diff errors * Fix Swagger SemanticValidation * Fix prettier * Fix based on comments * Change API name from CostDetails to GenerateCostDetailsReport * Add missing space * Add description * Add description to API * Chnage 200 response * Add 200 response
- Loading branch information
Showing
11 changed files
with
880 additions
and
2 deletions.
There are no files selected for viewing
71 changes: 71 additions & 0 deletions
71
...-management/resource-manager/Microsoft.CostManagement/stable/2022-05-01/common-types.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"version": "2022-05-01", | ||
"title": "Cost Management common types" | ||
}, | ||
"paths": {}, | ||
"definitions": { | ||
"ErrorResponse": { | ||
"description": "Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message. \n\nSome Error responses: \n\n * 429 TooManyRequests - Request is throttled. Retry after waiting for the time specified in the \"x-ms-ratelimit-microsoft.consumption-retry-after\" header. \n\n * 503 ServiceUnavailable - Service is temporarily unavailable. Retry after waiting for the time specified in the \"Retry-After\" header.", | ||
"type": "object", | ||
"properties": { | ||
"error": { | ||
"description": "The details of the error.", | ||
"$ref": "#/definitions/ErrorDetails" | ||
} | ||
} | ||
}, | ||
"ErrorDetails": { | ||
"description": "The details of the error.", | ||
"type": "object", | ||
"properties": { | ||
"code": { | ||
"description": "Error code.", | ||
"type": "string", | ||
"readOnly": true | ||
}, | ||
"message": { | ||
"description": "Error message indicating why the operation failed.", | ||
"type": "string", | ||
"readOnly": true | ||
} | ||
} | ||
}, | ||
"ProxyResource": { | ||
"description": "The Resource model definition.", | ||
"type": "object", | ||
"properties": { | ||
"id": { | ||
"readOnly": true, | ||
"type": "string", | ||
"description": "Resource Id." | ||
}, | ||
"name": { | ||
"readOnly": true, | ||
"type": "string", | ||
"description": "Resource name." | ||
}, | ||
"type": { | ||
"readOnly": true, | ||
"type": "string", | ||
"description": "Resource type." | ||
}, | ||
"eTag": { | ||
"type": "string", | ||
"description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not." | ||
} | ||
}, | ||
"x-ms-azure-resource": true | ||
} | ||
}, | ||
"parameters": { | ||
"apiVersionParameter": { | ||
"name": "api-version", | ||
"in": "query", | ||
"required": true, | ||
"type": "string", | ||
"description": "Version of the API to be used with the client request." | ||
} | ||
} | ||
} |
Oops, something went wrong.