Class ReservationsManager
java.lang.Object
com.azure.resourcemanager.reservations.ReservationsManager
Entry point to ReservationsManager.
This API describe Azure Reservation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
The Configurable allowing configurations to be set. -
Method Summary
Modifier and TypeMethodDescriptionstatic ReservationsManager
authenticate
(com.azure.core.credential.TokenCredential credential, com.azure.core.management.profile.AzureProfile profile) Creates an instance of reservations service API entry point.static ReservationsManager
authenticate
(com.azure.core.http.HttpPipeline httpPipeline, com.azure.core.management.profile.AzureProfile profile) Creates an instance of reservations service API entry point.Gets the resource collection API of CalculateExchanges.Gets the resource collection API of CalculateRefunds.Gets a Configurable instance that can be used to create ReservationsManager with optional configuration.Gets the resource collection API of Exchanges.Gets the resource collection API of Operations.Gets the resource collection API of QuotaRequestStatus.quotas()
Gets the resource collection API of Quotas.Gets the resource collection API of ReservationOrders.Gets the resource collection API of Reservations.Gets the resource collection API of ResourceProviders.returns()
Gets the resource collection API of Returns.Gets wrapped service client AzureReservationApi providing direct access to the underlying auto-generated API implementation, based on Azure REST API.
-
Method Details
-
authenticate
public static ReservationsManager authenticate(com.azure.core.credential.TokenCredential credential, com.azure.core.management.profile.AzureProfile profile) Creates an instance of reservations service API entry point.- Parameters:
credential
- the credential to use.profile
- the Azure profile for client.- Returns:
- the reservations service API instance.
-
authenticate
public static ReservationsManager authenticate(com.azure.core.http.HttpPipeline httpPipeline, com.azure.core.management.profile.AzureProfile profile) Creates an instance of reservations service API entry point.- Parameters:
httpPipeline
- theHttpPipeline
configured with Azure authentication credential.profile
- the Azure profile for client.- Returns:
- the reservations service API instance.
-
configure
Gets a Configurable instance that can be used to create ReservationsManager with optional configuration.- Returns:
- the Configurable instance allowing configurations.
-
reservations
Gets the resource collection API of Reservations.- Returns:
- Resource collection API of Reservations.
-
resourceProviders
Gets the resource collection API of ResourceProviders.- Returns:
- Resource collection API of ResourceProviders.
-
reservationOrders
Gets the resource collection API of ReservationOrders.- Returns:
- Resource collection API of ReservationOrders.
-
operations
Gets the resource collection API of Operations.- Returns:
- Resource collection API of Operations.
-
calculateRefunds
Gets the resource collection API of CalculateRefunds.- Returns:
- Resource collection API of CalculateRefunds.
-
returns
Gets the resource collection API of Returns.- Returns:
- Resource collection API of Returns.
-
calculateExchanges
Gets the resource collection API of CalculateExchanges.- Returns:
- Resource collection API of CalculateExchanges.
-
exchanges
Gets the resource collection API of Exchanges.- Returns:
- Resource collection API of Exchanges.
-
quotas
Gets the resource collection API of Quotas. It manages CurrentQuotaLimitBase.- Returns:
- Resource collection API of Quotas.
-
quotaRequestStatus
Gets the resource collection API of QuotaRequestStatus.- Returns:
- Resource collection API of QuotaRequestStatus.
-
serviceClient
Gets wrapped service client AzureReservationApi providing direct access to the underlying auto-generated API implementation, based on Azure REST API.- Returns:
- Wrapped service client AzureReservationApi.
-