Skip to main content

reservation_details_reports

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

Overview

Namereservation_details_reports
TypeResource
Idazure.cost_management.reservation_details_reports

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_idexecbillingAccountId, 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_idexecbillingAccountId, billingProfileId, 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
billingAccountIdstringBillingAccount ID
billingProfileIdstringBilling profile ID.
endDatestringEnd Date
startDatestringStart Date

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.reservation_details_reports.by_billing_account_id 
@billingAccountId='{{ billingAccountId }}' --required,
@startDate='{{ startDate }}' --required,
@endDate='{{ endDate }}' --required
;