AzureReservationAPI class
Properties
| calculate |
The operation groups for calculateExchange |
| calculate |
The operation groups for calculateRefund |
| exchange | The operation groups for exchange |
| operation | The operation groups for operation |
| pipeline | The pipeline used by this client to make requests |
| quota | The operation groups for quota |
| quota |
The operation groups for quotaRequestStatus |
| reservation | The operation groups for reservation |
| reservation |
The operation groups for reservationOrder |
| return | The operation groups for return |
Methods
| get |
Get applicable |
| get |
Get the regions and skus that are available for RI purchase for the specified Azure subscription. |
Constructor Details
AzureReservationAPI(TokenCredential, AzureReservationAPIOptionalParams)
new AzureReservationAPI(credential: TokenCredential, options?: AzureReservationAPIOptionalParams)
Parameters
- credential
- TokenCredential
Property Details
calculateExchange
The operation groups for calculateExchange
calculateExchange: CalculateExchangeOperations
Property Value
calculateRefund
The operation groups for calculateRefund
calculateRefund: CalculateRefundOperations
Property Value
exchange
operation
The operation groups for operation
operation: OperationOperations
Property Value
pipeline
quota
quotaRequestStatus
The operation groups for quotaRequestStatus
quotaRequestStatus: QuotaRequestStatusOperations
Property Value
reservation
The operation groups for reservation
reservation: ReservationOperations
Property Value
reservationOrder
The operation groups for reservationOrder
reservationOrder: ReservationOrderOperations
Property Value
return
Method Details
getAppliedReservationList(string, GetAppliedReservationListOptionalParams)
Get applicable Reservations that are applied to this subscription or a resource group under this subscription.
function getAppliedReservationList(subscriptionId: string, options?: GetAppliedReservationListOptionalParams): Promise<AppliedReservations>
Parameters
- subscriptionId
-
string
Returns
Promise<AppliedReservations>
getCatalog(string, GetCatalogOptionalParams)
Get the regions and skus that are available for RI purchase for the specified Azure subscription.
function getCatalog(subscriptionId: string, options?: GetCatalogOptionalParams): PagedAsyncIterableIterator<Catalog, Catalog[], PageSettings>
Parameters
- subscriptionId
-
string
- options
- GetCatalogOptionalParams