Skip to content

Commit b43b95c

Browse files
sri-markcowl
andauthored
S360 issue: Adding missing properties in Recommendations API (#21231)
* Add blockchain to latest profile * Add additional types * Adding missing properties in Recommendations API * updating previous versions * fixing examples * addressing validation errors * addressing validation errors * fixing validation errors * fixing examples * fixing example Co-authored-by: Mark Cowlishaw <[email protected]>
1 parent 574be7a commit b43b95c

File tree

35 files changed

+1413
-271
lines changed

35 files changed

+1413
-271
lines changed

specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1481,6 +1481,11 @@
14811481
],
14821482
"operationId": "Operations_List",
14831483
"description": "Lists all of the available consumption REST API operations.",
1484+
"x-ms-examples": {
1485+
"OperationsList": {
1486+
"$ref": "./examples/OperationList.json"
1487+
}
1488+
},
14841489
"parameters": [
14851490
{
14861491
"$ref": "#/parameters/apiVersionParameter"
@@ -3493,6 +3498,11 @@
34933498
"format": "date-time",
34943499
"readOnly": true
34953500
},
3501+
"resourceType": {
3502+
"description": "Resource type.",
3503+
"type": "string",
3504+
"readOnly": true
3505+
},
34963506
"scope": {
34973507
"description": "Shared (corresponds to integer 2) or single (corresponds to integer 1) recommendation.",
34983508
"type": "integer",
@@ -3512,14 +3522,10 @@
35123522
"type": "string",
35133523
"readOnly": true
35143524
},
3515-
"resourceType": {
3516-
"description": "The Azure resource type.",
3517-
"type": "string",
3518-
"readOnly": true
3519-
},
35203525
"subscriptionId": {
3521-
"description": "The Azure subscription ID.",
3526+
"description": "Subscription ID",
35223527
"type": "string",
3528+
"format": "uuid",
35233529
"readOnly": true
35243530
}
35253531
}
Lines changed: 293 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,293 @@
1+
{
2+
"parameters": {
3+
"api-version": "2019-10-01"
4+
},
5+
"responses": {
6+
"200": {
7+
"body": {
8+
"value": [
9+
{
10+
"id": "Microsoft.Consumption/usageDetails/read",
11+
"name": "Microsoft.Consumption/usageDetails/read",
12+
"display": {
13+
"provider": "Microsoft.Consumption",
14+
"resource": "UsageDetails",
15+
"operation": "List Usage Details",
16+
"description": "List the usage details for a scope for EA and WebDirect subscriptions."
17+
}
18+
},
19+
{
20+
"id": "Microsoft.Consumption/reservationSummaries/read",
21+
"name": "Microsoft.Consumption/reservationSummaries/read",
22+
"display": {
23+
"provider": "Microsoft.Consumption",
24+
"resource": "ReservationSummaries",
25+
"operation": "List Reservation Utilization Summaries",
26+
"description": "List the utilization summary for reserved instances by reservation order or managment groups. The summary data is either at monthly or daily level."
27+
}
28+
},
29+
{
30+
"id": "Microsoft.Consumption/reservationDetails/read",
31+
"name": "Microsoft.Consumption/reservationDetails/read",
32+
"display": {
33+
"provider": "Microsoft.Consumption",
34+
"resource": "ReservationDetails",
35+
"operation": "List Reservation Utilization Details",
36+
"description": "List the utilization details for reserved instances by reservation order or managment groups. The details data is per instance per day level."
37+
}
38+
},
39+
{
40+
"id": "Microsoft.Consumption/reservationTransactions/read",
41+
"name": "Microsoft.Consumption/reservationTransactions/read",
42+
"display": {
43+
"provider": "Microsoft.Consumption",
44+
"resource": "ReservationTransactions",
45+
"operation": "List Reservation Transactions history",
46+
"description": "List the transaction history for reserved instances by management groups."
47+
}
48+
},
49+
{
50+
"id": "Microsoft.Consumption/balances/read",
51+
"name": "Microsoft.Consumption/balances/read",
52+
"display": {
53+
"provider": "Microsoft.Consumption",
54+
"resource": "Balances",
55+
"operation": "List utlization summary",
56+
"description": "List the utilization summary for a billing period for a management group."
57+
}
58+
},
59+
{
60+
"id": "Microsoft.Consumption/pricesheets/read",
61+
"name": "Microsoft.Consumption/pricesheets/read",
62+
"display": {
63+
"provider": "Microsoft.Consumption",
64+
"resource": "Pricesheets",
65+
"operation": "List Price sheets",
66+
"description": "List the Pricesheets data for a subscription or a management group."
67+
}
68+
},
69+
{
70+
"id": "Microsoft.Consumption/marketplaces/read",
71+
"name": "Microsoft.Consumption/marketplaces/read",
72+
"display": {
73+
"provider": "Microsoft.Consumption",
74+
"resource": "Marketplaces",
75+
"operation": "List Marketplace resource usage",
76+
"description": "List the marketplace resource usage details for a scope for EA and WebDirect subscriptions."
77+
}
78+
},
79+
{
80+
"id": "Microsoft.Consumption/budgets/read",
81+
"name": "Microsoft.Consumption/budgets/read",
82+
"display": {
83+
"provider": "Microsoft.Consumption",
84+
"resource": "Budgets",
85+
"operation": "List budgets",
86+
"description": "List the budgets by a subscription or a management group."
87+
}
88+
},
89+
{
90+
"id": "Microsoft.Consumption/budgets/write",
91+
"name": "Microsoft.Consumption/budgets/write",
92+
"display": {
93+
"provider": "Microsoft.Consumption",
94+
"resource": "Budgets",
95+
"operation": "Create and update budgets",
96+
"description": "Creates and update the budgets by a subscription or a management group."
97+
}
98+
},
99+
{
100+
"id": "Microsoft.Consumption/budgets/delete",
101+
"name": "Microsoft.Consumption/budgets/delete",
102+
"display": {
103+
"provider": "Microsoft.Consumption",
104+
"resource": "Budgets",
105+
"operation": "Delete budgets",
106+
"description": "Delete the budgets by a subscription or a management group."
107+
}
108+
},
109+
{
110+
"id": "Microsoft.Consumption/charges/read",
111+
"name": "Microsoft.Consumption/charges/read",
112+
"display": {
113+
"provider": "Microsoft.Consumption",
114+
"resource": "Charges",
115+
"operation": "List charges",
116+
"description": "List charges"
117+
}
118+
},
119+
{
120+
"id": "Microsoft.Consumption/credits/read",
121+
"name": "Microsoft.Consumption/credits/read",
122+
"display": {
123+
"provider": "Microsoft.Consumption",
124+
"resource": "Credits",
125+
"operation": "List credits",
126+
"description": "List credits"
127+
}
128+
},
129+
{
130+
"id": "Microsoft.Consumption/events/read",
131+
"name": "Microsoft.Consumption/events/read",
132+
"display": {
133+
"provider": "Microsoft.Consumption",
134+
"resource": "Events",
135+
"operation": "List events",
136+
"description": "List events"
137+
}
138+
},
139+
{
140+
"id": "Microsoft.Consumption/forecasts/read",
141+
"name": "Microsoft.Consumption/forecasts/read",
142+
"display": {
143+
"provider": "Microsoft.Consumption",
144+
"resource": "Forecasts",
145+
"operation": "List forecasts",
146+
"description": "List forecasts"
147+
}
148+
},
149+
{
150+
"id": "Microsoft.Consumption/lots/read",
151+
"name": "Microsoft.Consumption/lots/read",
152+
"display": {
153+
"provider": "Microsoft.Consumption",
154+
"resource": "Lots",
155+
"operation": "List lots",
156+
"description": "List lots"
157+
}
158+
},
159+
{
160+
"id": "Microsoft.Consumption/operationstatus/read",
161+
"name": "Microsoft.Consumption/operationstatus/read",
162+
"display": {
163+
"provider": "Microsoft.Consumption",
164+
"resource": "Operationstatus",
165+
"operation": "List operationstatus",
166+
"description": "List operationstatus"
167+
}
168+
},
169+
{
170+
"id": "Microsoft.Consumption/operationresults/read",
171+
"name": "Microsoft.Consumption/operationresults/read",
172+
"display": {
173+
"provider": "Microsoft.Consumption",
174+
"resource": "Operationresults",
175+
"operation": "List operationresults",
176+
"description": "List operationresults"
177+
}
178+
},
179+
{
180+
"id": "Microsoft.Consumption/register/action",
181+
"name": "Microsoft.Consumption/register/action",
182+
"display": {
183+
"provider": "Microsoft.Consumption",
184+
"resource": "Register",
185+
"operation": "Register to Consumption RP",
186+
"description": "Register to Consumption RP"
187+
}
188+
},
189+
{
190+
"id": "Microsoft.Consumption/tags/read",
191+
"name": "Microsoft.Consumption/tags/read",
192+
"display": {
193+
"provider": "Microsoft.Consumption",
194+
"resource": "Tags",
195+
"operation": "List tags",
196+
"description": "List tags for EA and subscriptions."
197+
}
198+
},
199+
{
200+
"id": "Microsoft.Consumption/tenants/register/action",
201+
"name": "Microsoft.Consumption/tenants/register/action",
202+
"display": {
203+
"provider": "Microsoft.Consumption",
204+
"resource": "tenants/register",
205+
"operation": "register tenants",
206+
"description": "Register action for scope of Microsoft.Consumption by a tenant."
207+
}
208+
},
209+
{
210+
"id": "Microsoft.Consumption/terms/read",
211+
"name": "Microsoft.Consumption/terms/read",
212+
"display": {
213+
"provider": "Microsoft.Consumption",
214+
"resource": "Terms",
215+
"operation": "List Terms",
216+
"description": "List the terms for a subscription or a management group."
217+
}
218+
},
219+
{
220+
"id": "Microsoft.Consumption/reservationRecommendations/read",
221+
"name": "Microsoft.Consumption/reservationRecommendations/read",
222+
"display": {
223+
"provider": "Microsoft.Consumption",
224+
"resource": "ReservationRecommendations",
225+
"operation": "List reserved instances recommendations",
226+
"description": "List single or shared recommendations for Reserved instances for a subscription."
227+
}
228+
},
229+
{
230+
"id": "Microsoft.Consumption/operations/read",
231+
"name": "Microsoft.Consumption/operations/read",
232+
"display": {
233+
"provider": "Microsoft.Consumption",
234+
"resource": "Operations",
235+
"operation": "List supported operations",
236+
"description": "List all supported operations by Microsoft.Consumption resource provider."
237+
}
238+
},
239+
{
240+
"id": "Microsoft.Consumption/tenants/read",
241+
"name": "Microsoft.Consumption/tenants/read",
242+
"display": {
243+
"provider": "Microsoft.Consumption",
244+
"resource": "Tenants",
245+
"operation": "List tenants",
246+
"description": "List tenants"
247+
}
248+
},
249+
{
250+
"id": "Microsoft.Consumption/externalBillingAccounts/tags/read",
251+
"name": "Microsoft.Consumption/externalBillingAccounts/tags/read",
252+
"display": {
253+
"provider": "Microsoft.Consumption",
254+
"resource": "externalBillingAccounts/Tags",
255+
"operation": "List tags",
256+
"description": "List tags for EA and subscriptions."
257+
}
258+
},
259+
{
260+
"id": "Microsoft.Consumption/externalSubscriptions/tags/read",
261+
"name": "Microsoft.Consumption/externalSubscriptions/tags/read",
262+
"display": {
263+
"provider": "Microsoft.Consumption",
264+
"resource": "externalSubscriptions/Tags",
265+
"operation": "List tags",
266+
"description": "List tags for EA and subscriptions."
267+
}
268+
},
269+
{
270+
"id": "Microsoft.Consumption/aggregatedcost/read",
271+
"name": "Microsoft.Consumption/aggregatedcost/read",
272+
"display": {
273+
"provider": "Microsoft.Consumption",
274+
"resource": "AggregatedCost",
275+
"operation": "List AggregatedCost",
276+
"description": "List AggregatedCost for management group."
277+
}
278+
},
279+
{
280+
"id": "Microsoft.Consumption/reservationRecommendationDetails/read",
281+
"name": "Microsoft.Consumption/reservationRecommendationDetails/read",
282+
"display": {
283+
"provider": "Microsoft.Consumption",
284+
"resource": "ReservationRecommendationDetails",
285+
"operation": "List Reservation Recommendation Details",
286+
"description": "List Reservation Recommendation Details"
287+
}
288+
}
289+
]
290+
}
291+
}
292+
}
293+
}

0 commit comments

Comments
 (0)