reservation_details_reports
Creates, updates, deletes, gets or lists a reservation_details_reports
resource.
Overview
Name | reservation_details_reports |
Type | Resource |
Id | azure.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:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
by_billing_account_id | exec | billingAccountId , startDate , endDate | 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 | |
by_billing_profile_id | exec | billingAccountId , billingProfileId , startDate , endDate | 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/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.
Name | Datatype | Description |
---|---|---|
billingAccountId | string | BillingAccount ID |
billingProfileId | string | Billing profile ID. |
endDate | string | End Date |
startDate | string | Start Date |
Lifecycle Methods
- by_billing_account_id
- by_billing_profile_id
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
;
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/reservations/reservation-utilization#view-utilization-in-the-azure-portal-with-azure-rbac-access
EXEC azure.cost_management.reservation_details_reports.by_billing_profile_id
@billingAccountId='{{ billingAccountId }}' --required,
@billingProfileId='{{ billingProfileId }}' --required,
@startDate='{{ startDate }}' --required,
@endDate='{{ endDate }}' --required
;