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. 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",
"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. 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",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The link is taking to EA roles - do we have one for GTM roles

Copy link
Contributor Author

@thramu thramu Mar 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"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 consists of reservation usage data with the following schema at daily granularity",
"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 consists of reservation usage data with the following schema at daily granularity",
"type": "string",
"enum": [
"InstanceFlexibilityGroup",
"InstanceFlexibilityRatio",
"InstanceId",
"Kind",
"ReservationId",
"ReservationOrderId",
"ReservedHours",
"SkuName",
"TotalReservedQuantity",
"UsageDate",
"UsedHours"
],
"x-ms-enum": {
"name": "ReservationReportSchema",
"modelAsString": true
}
}
},
"parameters": {
Expand Down