Skip to content

Commit 731678a

Browse files
authored
[Hub Generated] Review request for Microsoft.Consumption to add version stable/2021-10-01 (#18174)
* Adding details about access and Report Schema for reservation report * MISC * Missing errors * fixing model error * MISC * MISC * MISC * MSIC * MISC * Removing Etag to fix the S360 item * Fixing Routing issue * MISC * MISC * MISC * MISC
1 parent a5cd8e4 commit 731678a

File tree

40 files changed

+85
-75
lines changed

40 files changed

+85
-75
lines changed

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3013,10 +3013,6 @@
30133013
"type": "string",
30143014
"description": "Resource sku"
30153015
},
3016-
"eTag": {
3017-
"type": "string",
3018-
"description": "Resource eTag."
3019-
},
30203016
"properties": {
30213017
"x-ms-client-flatten": true,
30223018
"$ref": "#/definitions/ReservationRecommendationDetailsProperties",
@@ -3398,11 +3394,6 @@
33983394
"description": "Properties for modern reservation recommendation",
33993395
"$ref": "#/definitions/ModernReservationRecommendationProperties",
34003396
"x-ms-client-flatten": true
3401-
},
3402-
"eTag": {
3403-
"description": "Resource eTag.",
3404-
"type": "string",
3405-
"readOnly": true
34063397
}
34073398
},
34083399
"allOf": [
@@ -3628,7 +3619,6 @@
36283619
"ModernReservationTransaction": {
36293620
"description": "Modern Reservation transaction resource.",
36303621
"type": "object",
3631-
"x-ms-discriminator-value": "Modern",
36323622
"allOf": [
36333623
{
36343624
"$ref": "#/definitions/ReservationTransactionResource"

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"armSkuName": "Standard_DS1_v2",
2727
"term": "P1Y",
2828
"region": "westus",
29-
"purchasingSubscriptionGuid": "11111111-1111-1111-1111-11111111111",
29+
"purchasingSubscriptionGuid": "11111111-1111-1111-1111-111111111111",
3030
"purchasingSubscriptionName": "Infrastructure Subscription",
3131
"accountName": "Microsoft Infrastructure",
3232
"accountOwnerEmail": "[email protected]",
@@ -54,7 +54,7 @@
5454
"armSkuName": "Standard_DS1_v2",
5555
"term": "P1Y",
5656
"region": "westus",
57-
"purchasingSubscriptionGuid": "11111111-1111-1111-1111-11111111111",
57+
"purchasingSubscriptionGuid": "11111111-1111-1111-1111-111111111111",
5858
"purchasingSubscriptionName": "Infrastructure Subscription",
5959
"accountName": "Microsoft Infrastructure",
6060
"accountOwnerEmail": "[email protected]",

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

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@
775775
}
776776
}
777777
},
778-
"/{scope}/providers/Microsoft.Consumption/reservationSummaries": {
778+
"/{resourceScope}/providers/Microsoft.Consumption/reservationSummaries": {
779779
"get": {
780780
"tags": [
781781
"ReservationSummaries"
@@ -972,7 +972,7 @@
972972
}
973973
}
974974
},
975-
"/{scope}/providers/Microsoft.Consumption/reservationDetails": {
975+
"/{resourceScope}/providers/Microsoft.Consumption/reservationDetails": {
976976
"get": {
977977
"tags": [
978978
"ReservationDetails"
@@ -1059,7 +1059,7 @@
10591059
}
10601060
}
10611061
},
1062-
"/{scope}/providers/Microsoft.Consumption/reservationRecommendations": {
1062+
"/{resourceScope}/providers/Microsoft.Consumption/reservationRecommendations": {
10631063
"get": {
10641064
"tags": [
10651065
"ReservationRecommendations"
@@ -1119,7 +1119,7 @@
11191119
}
11201120
}
11211121
},
1122-
"/{scope}/providers/Microsoft.Consumption/reservationRecommendationDetails": {
1122+
"/{resourceScope}/providers/Microsoft.Consumption/reservationRecommendationDetails": {
11231123
"get": {
11241124
"tags": [
11251125
"ReservationRecommendationDetails"
@@ -3631,7 +3631,6 @@
36313631
"ModernReservationTransaction": {
36323632
"description": "Modern Reservation transaction resource.",
36333633
"type": "object",
3634-
"x-ms-discriminator-value": "Modern",
36353634
"allOf": [
36363635
{
36373636
"$ref": "#/definitions/ReservationTransactionResource"
@@ -5204,7 +5203,7 @@
52045203
"x-ms-skip-url-encoding": true
52055204
},
52065205
"scopeReservationsSummariesParameter": {
5207-
"name": "scope",
5206+
"name": "resourceScope",
52085207
"in": "path",
52095208
"required": true,
52105209
"type": "string",
@@ -5213,7 +5212,7 @@
52135212
"x-ms-skip-url-encoding": true
52145213
},
52155214
"scopeReservationDetailsParameter": {
5216-
"name": "scope",
5215+
"name": "resourceScope",
52175216
"in": "path",
52185217
"required": true,
52195218
"type": "string",
@@ -5222,7 +5221,7 @@
52225221
"x-ms-skip-url-encoding": true
52235222
},
52245223
"scopeReservationRecommendationsParameter": {
5225-
"name": "scope",
5224+
"name": "resourceScope",
52265225
"in": "path",
52275226
"required": true,
52285227
"type": "string",
@@ -5231,7 +5230,7 @@
52315230
"x-ms-skip-url-encoding": true
52325231
},
52335232
"scopeReservationRecommendationDetailsParameter": {
5234-
"name": "scope",
5233+
"name": "resourceScope",
52355234
"in": "path",
52365235
"required": true,
52375236
"type": "string",
@@ -5240,7 +5239,7 @@
52405239
"x-ms-skip-url-encoding": true
52415240
},
52425241
"scopeReservationTransactionsParameter": {
5243-
"name": "scope",
5242+
"name": "resourceScope",
52445243
"in": "path",
52455244
"required": true,
52465245
"type": "string",

specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-11-01/examples/ReservationDetailsByBillingAccountId.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"parameters": {
33
"api-version": "2019-11-01",
4-
"scope": "providers/Microsoft.Billing/billingAccounts/12345",
4+
"resourceScope": "providers/Microsoft.Billing/billingAccounts/12345",
55
"$filter": "properties/usageDate ge 2017-10-01 AND properties/usageDate le 2017-12-05"
66
},
77
"responses": {

specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-11-01/examples/ReservationDetailsByBillingProfileId.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"parameters": {
33
"api-version": "2019-11-01",
4-
"scope": "providers/Microsoft.Billing/billingAccounts/12345:2468/billingProfiles/13579",
4+
"resourceScope": "providers/Microsoft.Billing/billingAccounts/12345:2468/billingProfiles/13579",
55
"startDate": "2019-09-01",
66
"endDate": "2019-10-31"
77
},

specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-11-01/examples/ReservationDetailsByBillingProfileIdReservationId.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"parameters": {
33
"api-version": "2019-11-01",
4-
"scope": "providers/Microsoft.Billing/billingAccounts/12345:2468/billingProfiles/13579",
4+
"resourceScope": "providers/Microsoft.Billing/billingAccounts/12345:2468/billingProfiles/13579",
55
"startDate": "2019-09-01",
66
"endDate": "2019-10-31",
77
"reservationId": "1c6b6358-709f-484c-85f1-72e862a0cf3b",

specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-11-01/examples/ReservationRecommendationDetailsByBillingAccount.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"parameters": {
33
"api-version": "2019-11-01",
4-
"billingScope": "providers/Microsoft.Billing/billingAccounts/000000",
4+
"resourceScope": "providers/Microsoft.Billing/billingAccounts/000000",
55
"lookBackPeriod": "Last60Days",
66
"product": "Standard_DS14_v2",
77
"region": "eastus",

specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-11-01/examples/ReservationRecommendationDetailsByBillingProfile.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"parameters": {
33
"api-version": "2019-11-01",
4-
"billingScope": "providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-00000000:00000000-0000-0000-0000-00000000/billingProfiles/00000000-0000-0000-0000-00000000",
4+
"resourceScope": "providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-00000000:00000000-0000-0000-0000-00000000/billingProfiles/00000000-0000-0000-0000-00000000",
55
"lookBackPeriod": "Last7Days",
66
"product": "Standard_B2s",
77
"region": "australiaeast",

specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-11-01/examples/ReservationRecommendationDetailsByResourceGroup.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"parameters": {
33
"api-version": "2019-11-01",
4-
"billingScope": "subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/testGroup",
4+
"resourceScope": "subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/testGroup",
55
"lookBackPeriod": "Last30Days",
66
"product": "Standard_DS13_v2",
77
"region": "westus",

specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-11-01/examples/ReservationRecommendationDetailsBySubscription.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"parameters": {
33
"api-version": "2019-11-01",
4-
"billingScope": "subscriptions/00000000-0000-0000-0000-00000000",
4+
"resourceScope": "subscriptions/00000000-0000-0000-0000-00000000",
55
"lookBackPeriod": "Last30Days",
66
"product": "Standard_DS13_v2",
77
"region": "westus",

0 commit comments

Comments
 (0)