Skip to content

Commit 87c0759

Browse files
mitagargMita Garg
andauthored
[Hub Generated] Review request for Microsoft.Consumption to add version stable/2021-10-01 (#17013)
* fixing s360 for these * fixing styling issue * Adding 204 to examples * Fixing the model val for reservation by adding proper guid Co-authored-by: Mita Garg <v-migarg@microsoft.com>
1 parent bbc623e commit 87c0759

21 files changed

+104
-38
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,9 @@
152152
"$ref": "#/definitions/UsageDetailsListResult"
153153
}
154154
},
155+
"204": {
156+
"description": "No Content. The request has succeeded but returned no results."
157+
},
155158
"default": {
156159
"description": "Error response describing why the operation failed.",
157160
"schema": {
@@ -2128,6 +2131,16 @@
21282131
"format": "decimal",
21292132
"readOnly": true
21302133
},
2134+
"benefitId": {
2135+
"description": "Unique identifier for the applicable benefit.",
2136+
"type": "string",
2137+
"readOnly": true
2138+
},
2139+
"benefitName": {
2140+
"description": "Name of the applicable benefit.",
2141+
"type": "string",
2142+
"readOnly": true
2143+
},
21312144
"pricingModel": {
21322145
"description": "Identifier that indicates how the meter is priced.",
21332146
"type": "string",

specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-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": "a838a8c3-a408-49e1-ac90-42cb95bff9b2",
3030
"purchasingSubscriptionName": "Infrastructure Subscription",
3131
"accountName": "Microsoft Infrastructure",
3232
"accountOwnerEmail": "admin@microsoft.com",
@@ -57,7 +57,7 @@
5757
"armSkuName": "Standard_DS1_v2",
5858
"term": "P1Y",
5959
"region": "westus",
60-
"purchasingSubscriptionGuid": "11111111-1111-1111-1111-11111111111",
60+
"purchasingSubscriptionGuid": "a838a8c3-a408-49e1-ac90-42cb95bff9b2",
6161
"purchasingSubscriptionName": "Infrastructure Subscription",
6262
"accountName": "Microsoft Infrastructure",
6363
"accountOwnerEmail": "admin@microsoft.com",

specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-10-01/examples/UsageDetailsExpand.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,14 @@
5757
"isAzureCreditEligible": false,
5858
"chargeType": "Usage",
5959
"frequency": "UsageBased",
60-
"additionalInfo": "{\"MyType\":\"\",\"ServiceType\":\"\",\"VMName\":\"\",\"UsageType\":\"MyUsage\"}"
60+
"additionalInfo": "{\"MyType\":\"\",\"ServiceType\":\"\",\"VMName\":\"\",\"UsageType\":\"MyUsage\"}",
61+
"benefitId": "00000000-0000-0000-0000-000000000000",
62+
"benefitName": "Reservation_purchase_03-09-2018_10-59"
6163
}
6264
}
6365
]
6466
}
65-
}
67+
},
68+
"204": {}
6669
}
6770
}

specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-10-01/examples/UsageDetailsList.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,14 @@
4747
"offerId": "Offer Id 1",
4848
"isAzureCreditEligible": false,
4949
"chargeType": "Usage",
50-
"frequency": "UsageBased"
50+
"frequency": "UsageBased",
51+
"benefitId": "00000000-0000-0000-0000-000000000000",
52+
"benefitName": "Reservation_purchase_03-09-2018_10-59"
5153
}
5254
}
5355
]
5456
}
55-
}
57+
},
58+
"204": {}
5659
}
5760
}

specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-10-01/examples/UsageDetailsListByBillingAccount.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,14 @@
4646
"resourceGroup": "Resource Group 1",
4747
"offerId": "Offer Id 1",
4848
"isAzureCreditEligible": false,
49-
"chargeType": "Usage"
49+
"chargeType": "Usage",
50+
"benefitId": "00000000-0000-0000-0000-000000000000",
51+
"benefitName": "Reservation_purchase_03-09-2018_10-59"
5052
}
5153
}
5254
]
5355
}
54-
}
56+
},
57+
"204": {}
5558
}
5659
}

specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-10-01/examples/UsageDetailsListByDepartment.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,14 @@
4646
"resourceGroup": "Resource Group 1",
4747
"offerId": "Offer Id 1",
4848
"isAzureCreditEligible": false,
49-
"chargeType": "Usage"
49+
"chargeType": "Usage",
50+
"benefitId": "00000000-0000-0000-0000-000000000000",
51+
"benefitName": "Reservation_purchase_03-09-2018_10-59"
5052
}
5153
}
5254
]
5355
}
54-
}
56+
},
57+
"204": {}
5558
}
5659
}

specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-10-01/examples/UsageDetailsListByEnrollmentAccount.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,14 @@
4646
"resourceGroup": "Resource Group 1",
4747
"offerId": "Offer Id 1",
4848
"isAzureCreditEligible": false,
49-
"chargeType": "Usage"
49+
"chargeType": "Usage",
50+
"benefitId": "00000000-0000-0000-0000-000000000000",
51+
"benefitName": "Reservation_purchase_03-09-2018_10-59"
5052
}
5153
}
5254
]
5355
}
54-
}
56+
},
57+
"204": {}
5558
}
5659
}

specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-10-01/examples/UsageDetailsListByMCABillingAccount.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
}
8383
]
8484
}
85-
}
85+
},
86+
"204": {}
8687
}
8788
}

specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-10-01/examples/UsageDetailsListByMCABillingProfile.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
}
8383
]
8484
}
85-
}
85+
},
86+
"204": {}
8687
}
8788
}

specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-10-01/examples/UsageDetailsListByMCACustomer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
}
8383
]
8484
}
85-
}
85+
},
86+
"204": {}
8687
}
8788
}

0 commit comments

Comments
 (0)