Skip to main content

generate_reservation_details_report

Creates, updates, deletes, gets or lists a generate_reservation_details_report resource.

Overview

Namegenerate_reservation_details_report
TypeResource
Idazure.cost_management.generate_reservation_details_report

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
by_billing_account_idexecbilling_account_id, startDate, endDateGenerates the reservations details report for provided date range asynchronously based on enrollment id. The Reservation usage details can be viewed only by certain enterprise roles. 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 _.
by_billing_profile_idexecbilling_account_id, billing_profile_id, startDate, endDateGenerates 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/reservations/reservation-utilization#view-utilization-in-the-azure-portal-with-azure-rbac-access _.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
billing_account_idstringBillingAccount ID. Required.
billing_profile_idstringBilling Profile ID. Required.
endDatestringEnd Date. Required.
startDatestringStart Date. Required.

Lifecycle Methods

Generates the reservations details report for provided date range asynchronously based on enrollment id. The Reservation usage details can be viewed only by certain enterprise roles. 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 _.

EXEC azure.cost_management.generate_reservation_details_report.by_billing_account_id 
@billing_account_id='{{ billing_account_id }}' --required,
@startDate='{{ startDate }}' --required,
@endDate='{{ endDate }}' --required
;