Skip to content

Commit 0388821

Browse files
authored
[Hub Generated] Review request for Microsoft.CostManagement to add version preview/2022-10-05-preview (#20794)
* Adds base for updating Microsoft.CostManagement from version preview/2022-10-01-preview to version 2022-10-05-preview * Updates readme * Updates API version in new specs and examples * New API added for preview * Fixed type references for Proxy Resource and ApiVersion * Removed the duplicate * Fixed Avocado errors * Readme updated * version restore * Version upgrade * Missing definitions * versions fixed for examples
1 parent 262839a commit 0388821

File tree

94 files changed

+10281
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+10281
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"version": "2022-10-05-preview",
5+
"title": "Cost Management common types"
6+
},
7+
"paths": {},
8+
"definitions": {
9+
"ErrorResponse": {
10+
"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.",
11+
"type": "object",
12+
"properties": {
13+
"error": {
14+
"description": "The details of the error.",
15+
"$ref": "#/definitions/ErrorDetails"
16+
}
17+
}
18+
},
19+
"ErrorDetails": {
20+
"description": "The details of the error.",
21+
"type": "object",
22+
"properties": {
23+
"code": {
24+
"description": "Error code.",
25+
"type": "string",
26+
"readOnly": true
27+
},
28+
"message": {
29+
"description": "Error message indicating why the operation failed.",
30+
"type": "string",
31+
"readOnly": true
32+
}
33+
}
34+
},
35+
"ProxyResource": {
36+
"description": "The Resource model definition.",
37+
"type": "object",
38+
"properties": {
39+
"id": {
40+
"readOnly": true,
41+
"type": "string",
42+
"description": "Resource Id."
43+
},
44+
"name": {
45+
"readOnly": true,
46+
"type": "string",
47+
"description": "Resource name."
48+
},
49+
"type": {
50+
"readOnly": true,
51+
"type": "string",
52+
"description": "Resource type."
53+
},
54+
"eTag": {
55+
"type": "string",
56+
"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."
57+
}
58+
},
59+
"x-ms-azure-resource": true
60+
}
61+
},
62+
"parameters": {
63+
"apiVersionParameter": {
64+
"name": "api-version",
65+
"in": "query",
66+
"required": true,
67+
"type": "string",
68+
"description": "Version of the API to be used with the client request."
69+
}
70+
}
71+
}

0 commit comments

Comments
 (0)