ReservationsSummaries interface

Interface representing a ReservationsSummaries.

Methods

list(string, string, ReservationsSummariesListOptionalParams)

Lists the reservations summaries for the defined scope daily or monthly grain.

listByReservationOrder(string, string, ReservationsSummariesListByReservationOrderOptionalParams)

Lists the reservations summaries for daily or monthly grain.

listByReservationOrderAndReservation(string, string, string, ReservationsSummariesListByReservationOrderAndReservationOptionalParams)

Lists the reservations summaries for daily or monthly grain.

Method Details

list(string, string, ReservationsSummariesListOptionalParams)

Lists the reservations summaries for the defined scope daily or monthly grain.

function list(scope: string, grain: string, options?: ReservationsSummariesListOptionalParams): PagedAsyncIterableIterator<ReservationSummary, ReservationSummary[], PageSettings>

Parameters

scope

string

The scope associated with reservations summaries operations. This includes '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for BillingAccount scope (legacy), and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope (modern).

grain

string

Can be daily or monthly

options
ReservationsSummariesListOptionalParams

The options parameters.

Returns

listByReservationOrder(string, string, ReservationsSummariesListByReservationOrderOptionalParams)

Lists the reservations summaries for daily or monthly grain.

function listByReservationOrder(reservationOrderId: string, grain: string, options?: ReservationsSummariesListByReservationOrderOptionalParams): PagedAsyncIterableIterator<ReservationSummary, ReservationSummary[], PageSettings>

Parameters

reservationOrderId

string

Order Id of the reservation

grain

string

Can be daily or monthly

Returns

listByReservationOrderAndReservation(string, string, string, ReservationsSummariesListByReservationOrderAndReservationOptionalParams)

Lists the reservations summaries for daily or monthly grain.

function listByReservationOrderAndReservation(reservationOrderId: string, reservationId: string, grain: string, options?: ReservationsSummariesListByReservationOrderAndReservationOptionalParams): PagedAsyncIterableIterator<ReservationSummary, ReservationSummary[], PageSettings>

Parameters

reservationOrderId

string

Order Id of the reservation

reservationId

string

Id of the reservation

grain

string

Can be daily or monthly

Returns