forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
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/2021-10-01 (Azure#18676) * Adding common-types u u u * Adding common-types u u u u:x * Fixing common-types ref in exports.json * Fixing references and remove Resource definition * Reverting changes to pricesheets * Adding Operations_List example * Adding example * Reverting breaking change * Reverting a breaking change and using ApiVersionParameter from types.json * Reverting api-version parameter change since that flagged as a breaking change
- Loading branch information
1 parent
d6e88f9
commit e17fc3c
Showing
5 changed files
with
255 additions
and
247 deletions.
There are no files selected for viewing
71 changes: 71 additions & 0 deletions
71
...-management/resource-manager/Microsoft.CostManagement/stable/2021-10-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": "2021-10-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." | ||
} | ||
} | ||
} |
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
Oops, something went wrong.