Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hub Generated] Review request for Microsoft.Consumption to add version stable/2021-10-01 #18174

Merged
Original file line number Diff line number Diff line change
Expand Up @@ -1115,7 +1115,7 @@
"ReservedInstances"
],
"operationId": "GenerateReservationDetailsReport_ByBillingAccountId",
"description": "Generates the reservations details report for provided date range asynchronously based on enrollment id.",
"description": "Generates the reservations details report for provided date range asynchronously based on enrollment id. The Reservation usage details can be viewed by only certain enterprise roles by default(Enterprise Administrator, EA Purchaser and Partner). For more details on the roles see, https://docs.microsoft.com/en-us/azure/cost-management-billing/manage/understand-ea-roles#usage-and-costs-access-by-role",
thramu marked this conversation as resolved.
Show resolved Hide resolved
"externalDocs": {
"url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
},
Expand Down Expand Up @@ -1178,7 +1178,7 @@
"ReservedInstances"
],
"operationId": "GenerateReservationDetailsReport_ByBillingProfileId",
"description": "Generates the reservations details report for provided date range asynchronously by billing profile.",
"description": "Generates the reservations details report for provided date range asynchronously by billing profile. The Reservation usage details can be viewed by only certain enterprise roles by default(Enterprise Administrator, EA Purchaser and Partner). For more details on the roles see, https://docs.microsoft.com/en-us/azure/cost-management-billing/manage/understand-ea-roles#usage-and-costs-access-by-role",
thramu marked this conversation as resolved.
Show resolved Hide resolved
"externalDocs": {
"url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
},
Expand Down Expand Up @@ -2584,8 +2584,9 @@
"type": "object",
"properties": {
"reportUrl": {
"description": "The URL to download the generated report.",
"type": "string"
"description": "The CSV file from the reportUrl blob link is consists of reservation usage data with the following schema at daily granularity",
thramu marked this conversation as resolved.
Show resolved Hide resolved
thramu marked this conversation as resolved.
Show resolved Hide resolved
"type": "string",
"$ref": "#/definitions/ReservationReportSchema"
},
"validUntil": {
"description": "The time at which report URL becomes invalid.",
Expand Down Expand Up @@ -2727,6 +2728,27 @@
"operator",
"values"
]
},
"ReservationReportSchema": {
"description": "The CSV file from the reportUrl blob link is consists of reservation usage data with the following schema at daily granularity",
thramu marked this conversation as resolved.
Show resolved Hide resolved
"type": "string",
"enum": [
"InstanceFlexibilityGroup",
"InstanceFlexibilityRatio",
"InstanceId",
"Kind",
"ReservationId",
"ReservationOrderId",
"ReservedHours",
"SkuName",
"TotalReservedQuantity",
"UsageDate",
"UsedHours"
],
"x-ms-enum": {
"name": "ReservationReportSchema",
"modelAsString": true
}
}
},
"parameters": {
Expand Down