GenerateReservationDetailsReport interface
Interface representing a GenerateReservationDetailsReport.
Methods
Method Details
beginByBillingAccountId(string, string, string, GenerateReservationDetailsReportByBillingAccountIdOptionalParams)
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/azure/cost-management-billing/manage/understand-ea-roles#usage-and-costs-access-by-role
function beginByBillingAccountId(billingAccountId: string, startDate: string, endDate: string, options?: GenerateReservationDetailsReportByBillingAccountIdOptionalParams): Promise<SimplePollerLike<OperationState<OperationStatus>, OperationStatus>>
Parameters
- billingAccountId
-
string
Enrollment ID (Legacy BillingAccount ID)
- startDate
-
string
Start Date
- endDate
-
string
End Date
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<OperationStatus>, OperationStatus>>
beginByBillingAccountIdAndWait(string, string, string, GenerateReservationDetailsReportByBillingAccountIdOptionalParams)
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/azure/cost-management-billing/manage/understand-ea-roles#usage-and-costs-access-by-role
function beginByBillingAccountIdAndWait(billingAccountId: string, startDate: string, endDate: string, options?: GenerateReservationDetailsReportByBillingAccountIdOptionalParams): Promise<OperationStatus>
Parameters
- billingAccountId
-
string
Enrollment ID (Legacy BillingAccount ID)
- startDate
-
string
Start Date
- endDate
-
string
End Date
The options parameters.
Returns
Promise<OperationStatus>
beginByBillingProfileId(string, string, string, string, GenerateReservationDetailsReportByBillingProfileIdOptionalParams)
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/azure/cost-management-billing/reservations/reservation-utilization#view-utilization-in-the-azure-portal-with-azure-rbac-access
function beginByBillingProfileId(billingAccountId: string, billingProfileId: string, startDate: string, endDate: string, options?: GenerateReservationDetailsReportByBillingProfileIdOptionalParams): Promise<SimplePollerLike<OperationState<OperationStatus>, OperationStatus>>
Parameters
- billingAccountId
-
string
Billing account ID
- billingProfileId
-
string
Billing profile ID.
- startDate
-
string
Start Date
- endDate
-
string
End Date
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<OperationStatus>, OperationStatus>>
beginByBillingProfileIdAndWait(string, string, string, string, GenerateReservationDetailsReportByBillingProfileIdOptionalParams)
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/azure/cost-management-billing/reservations/reservation-utilization#view-utilization-in-the-azure-portal-with-azure-rbac-access
function beginByBillingProfileIdAndWait(billingAccountId: string, billingProfileId: string, startDate: string, endDate: string, options?: GenerateReservationDetailsReportByBillingProfileIdOptionalParams): Promise<OperationStatus>
Parameters
- billingAccountId
-
string
Billing account ID
- billingProfileId
-
string
Billing profile ID.
- startDate
-
string
Start Date
- endDate
-
string
End Date
The options parameters.
Returns
Promise<OperationStatus>
Azure SDK for JavaScript