Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.Consumption to add versi…
Browse files Browse the repository at this point in the history
…on stable/2021-10-01 (Azure#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>
  • Loading branch information
2 people authored and LeiWang3 committed Mar 31, 2022
1 parent f59a631 commit 4224aed
Show file tree
Hide file tree
Showing 21 changed files with 104 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@
"$ref": "#/definitions/UsageDetailsListResult"
}
},
"204": {
"description": "No Content. The request has succeeded but returned no results."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
Expand Down Expand Up @@ -2128,6 +2131,16 @@
"format": "decimal",
"readOnly": true
},
"benefitId": {
"description": "Unique identifier for the applicable benefit.",
"type": "string",
"readOnly": true
},
"benefitName": {
"description": "Name of the applicable benefit.",
"type": "string",
"readOnly": true
},
"pricingModel": {
"description": "Identifier that indicates how the meter is priced.",
"type": "string",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"armSkuName": "Standard_DS1_v2",
"term": "P1Y",
"region": "westus",
"purchasingSubscriptionGuid": "11111111-1111-1111-1111-11111111111",
"purchasingSubscriptionGuid": "a838a8c3-a408-49e1-ac90-42cb95bff9b2",
"purchasingSubscriptionName": "Infrastructure Subscription",
"accountName": "Microsoft Infrastructure",
"accountOwnerEmail": "admin@microsoft.com",
Expand Down Expand Up @@ -57,7 +57,7 @@
"armSkuName": "Standard_DS1_v2",
"term": "P1Y",
"region": "westus",
"purchasingSubscriptionGuid": "11111111-1111-1111-1111-11111111111",
"purchasingSubscriptionGuid": "a838a8c3-a408-49e1-ac90-42cb95bff9b2",
"purchasingSubscriptionName": "Infrastructure Subscription",
"accountName": "Microsoft Infrastructure",
"accountOwnerEmail": "admin@microsoft.com",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,14 @@
"isAzureCreditEligible": false,
"chargeType": "Usage",
"frequency": "UsageBased",
"additionalInfo": "{\"MyType\":\"\",\"ServiceType\":\"\",\"VMName\":\"\",\"UsageType\":\"MyUsage\"}"
"additionalInfo": "{\"MyType\":\"\",\"ServiceType\":\"\",\"VMName\":\"\",\"UsageType\":\"MyUsage\"}",
"benefitId": "00000000-0000-0000-0000-000000000000",
"benefitName": "Reservation_purchase_03-09-2018_10-59"
}
}
]
}
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,14 @@
"offerId": "Offer Id 1",
"isAzureCreditEligible": false,
"chargeType": "Usage",
"frequency": "UsageBased"
"frequency": "UsageBased",
"benefitId": "00000000-0000-0000-0000-000000000000",
"benefitName": "Reservation_purchase_03-09-2018_10-59"
}
}
]
}
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,14 @@
"resourceGroup": "Resource Group 1",
"offerId": "Offer Id 1",
"isAzureCreditEligible": false,
"chargeType": "Usage"
"chargeType": "Usage",
"benefitId": "00000000-0000-0000-0000-000000000000",
"benefitName": "Reservation_purchase_03-09-2018_10-59"
}
}
]
}
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,14 @@
"resourceGroup": "Resource Group 1",
"offerId": "Offer Id 1",
"isAzureCreditEligible": false,
"chargeType": "Usage"
"chargeType": "Usage",
"benefitId": "00000000-0000-0000-0000-000000000000",
"benefitName": "Reservation_purchase_03-09-2018_10-59"
}
}
]
}
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,14 @@
"resourceGroup": "Resource Group 1",
"offerId": "Offer Id 1",
"isAzureCreditEligible": false,
"chargeType": "Usage"
"chargeType": "Usage",
"benefitId": "00000000-0000-0000-0000-000000000000",
"benefitName": "Reservation_purchase_03-09-2018_10-59"
}
}
]
}
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
}
]
}
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
}
]
}
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
}
]
}
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
}
]
}
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@
"resourceGroup": "Resource Group 1",
"offerId": "Offer Id 1",
"isAzureCreditEligible": false,
"chargeType": "Usage"
"chargeType": "Usage",
"benefitId": "00000000-0000-0000-0000-000000000000",
"benefitName": "Reservation_purchase_03-09-2018_10-59"
}
},
{
Expand Down Expand Up @@ -88,11 +90,14 @@
"resourceGroup": "Resource Group 2",
"offerId": "Offer Id 2",
"isAzureCreditEligible": false,
"chargeType": "Usage"
"chargeType": "Usage",
"benefitId": "00000000-0000-0000-0000-000000000000",
"benefitName": "Reservation_purchase_03-09-2018_10-59"
}
}
]
}
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,14 @@
"resourceGroup": "Resource-Group-westus",
"offerId": "Offer Id 1",
"isAzureCreditEligible": false,
"chargeType": "Usage"
"chargeType": "Usage",
"benefitId": "00000000-0000-0000-0000-000000000000",
"benefitName": "Reservation_purchase_03-09-2018_10-59"
}
}
]
}
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,14 @@
"offerId": "Offer Id 1",
"isAzureCreditEligible": false,
"chargeType": "Usage",
"frequency": "UsageBased"
"frequency": "UsageBased",
"benefitId": "00000000-0000-0000-0000-000000000000",
"benefitName": "Reservation_purchase_03-09-2018_10-59"
}
}
]
}
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,14 @@
"resourceGroup": "Resource-Group-westus",
"offerId": "Offer Id 1",
"isAzureCreditEligible": false,
"chargeType": "Usage"
"chargeType": "Usage",
"benefitId": "00000000-0000-0000-0000-000000000000",
"benefitName": "Reservation_purchase_03-09-2018_10-59"
}
}
]
}
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,14 @@
"resourceGroup": "Resource Group 1",
"offerId": "Offer Id 1",
"isAzureCreditEligible": false,
"chargeType": "Usage"
"chargeType": "Usage",
"benefitId": "00000000-0000-0000-0000-000000000000",
"benefitName": "Reservation_purchase_03-09-2018_10-59"
}
}
]
}
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,14 @@
"resourceGroup": "Resource Group 1",
"offerId": "Offer Id 1",
"isAzureCreditEligible": false,
"chargeType": "Usage"
"chargeType": "Usage",
"benefitId": "00000000-0000-0000-0000-000000000000",
"benefitName": "Reservation_purchase_03-09-2018_10-59"
}
}
]
}
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,14 @@
"resourceGroup": "Resource Group 1",
"offerId": "Offer Id 1",
"isAzureCreditEligible": false,
"chargeType": "Usage"
"chargeType": "Usage",
"benefitId": "00000000-0000-0000-0000-000000000000",
"benefitName": "Reservation_purchase_03-09-2018_10-59"
}
}
]
}
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,14 @@
"resourceGroup": "Resource Group 1",
"offerId": "Offer Id 1",
"isAzureCreditEligible": false,
"chargeType": "Usage"
"chargeType": "Usage",
"benefitId": "00000000-0000-0000-0000-000000000000",
"benefitName": "Reservation_purchase_03-09-2018_10-59"
}
}
]
}
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,14 @@
"resourceGroup": "Resource Group 1",
"offerId": "Offer Id 1",
"isAzureCreditEligible": false,
"chargeType": "Usage"
"chargeType": "Usage",
"benefitId": "00000000-0000-0000-0000-000000000000",
"benefitName": "Reservation_purchase_03-09-2018_10-59"
}
}
]
}
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@
"resourceGroup": "Resource Group 1",
"offerId": "Offer Id 1",
"isAzureCreditEligible": false,
"chargeType": "Usage"
"chargeType": "Usage",
"benefitId": "00000000-0000-0000-0000-000000000000",
"benefitName": "Reservation_purchase_03-09-2018_10-59"
}
},
{
Expand Down Expand Up @@ -88,11 +90,14 @@
"resourceGroup": "Resource Group 2",
"offerId": "Offer Id 2",
"isAzureCreditEligible": false,
"chargeType": "UnusedReservation"
"chargeType": "UnusedReservation",
"benefitId": "00000000-0000-0000-0000-000000000000",
"benefitName": "Reservation_purchase_03-09-2018_10-59"
}
}
]
}
}
},
"204": {}
}
}

0 comments on commit 4224aed

Please sign in to comment.