Megosztás a következőn keresztül:


Reservations Class

Definition

Low-level API implementation for the Reservations service. This API describe Azure Reservation

public class Reservations
type Reservations = class
Public Class Reservations
Inheritance
Reservations

Constructors

Reservations()

Methods

CalculateExchangePost(ICalculateExchangeRequest, Func<HttpResponseMessage, Task<ICalculateExchangeOperationResultResponse>,Task>, Func<HttpResponseMessage, Task<IError>,Task>, IEventListener, ISendAsync)

Calculates price for exchanging Reservations if there are no policy errors.

CalculateExchangePostViaIdentity(String, ICalculateExchangeRequest, Func<HttpResponseMessage,Task<ICalculateExchangeOperationResultResponse>, Task>, Func<HttpResponseMessage,Task<IError>,Task>, IEventListener, ISendAsync)

Calculates price for exchanging Reservations if there are no policy errors.

CalculateRefundPost(String, ICalculateRefundRequest, Func<HttpResponseMessage, Task<ICalculateRefundResponse>,Task>, Func<HttpResponseMessage, Task<IError>,Task>, IEventListener, ISendAsync)

Calculate price for returning Reservations if there are no policy errors.

CalculateRefundPostViaIdentity(String, ICalculateRefundRequest, Func<HttpResponseMessage,Task<ICalculateRefundResponse>,Task>, Func<HttpResponseMessage,Task<IError>,Task>, IEventListener, ISendAsync)

Calculate price for returning Reservations if there are no policy errors.

ExchangePost(IExchangeRequest, Func<HttpResponseMessage,Task<IExchangeOperationResultResponse>, Task>, Func<HttpResponseMessage,Task<IError>,Task>, IEventListener, ISendAsync)

Returns one or more Reservations in exchange for one or more Reservation purchases.

ExchangePostViaIdentity(String, IExchangeRequest, Func<HttpResponseMessage, Task<IExchangeOperationResultResponse>,Task>, Func<HttpResponseMessage, Task<IError>,Task>, IEventListener, ISendAsync)

Returns one or more Reservations in exchange for one or more Reservation purchases.

GetAppliedReservationList(String, Func<HttpResponseMessage,Task<IAppliedReservations>, Task>, Func<HttpResponseMessage,Task<IError>,Task>, IEventListener, ISendAsync)

Get applicable Reservations that are applied to this subscription or a resource group under this subscription.

GetAppliedReservationListViaIdentity(String, Func<HttpResponseMessage, Task<IAppliedReservations>,Task>, Func<HttpResponseMessage,Task<IError>, Task>, IEventListener, ISendAsync)

Get applicable Reservations that are applied to this subscription or a resource group under this subscription.

GetCatalog(String, String, String, String, String, String, String, Nullable<Single>, Nullable<Single>, Func<HttpResponseMessage, Task<ICatalogsResult>,Task>, Func<HttpResponseMessage,Task<IError>, Task>, IEventListener, ISendAsync)

Get the regions and skus that are available for RI purchase for the specified Azure subscription.

GetCatalogViaIdentity(String, String, String, String, String, String, String, Nullable<Single>, Nullable<Single>, Func<HttpResponseMessage, Task<ICatalogsResult>,Task>, Func<HttpResponseMessage,Task<IError>, Task>, IEventListener, ISendAsync)

Get the regions and skus that are available for RI purchase for the specified Azure subscription.

OperationList(Func<HttpResponseMessage,Task<IOperationList>,Task>, Func<HttpResponseMessage,Task<IError>,Task>, IEventListener, ISendAsync)

List all the operations.

OperationListViaIdentity(String, Func<HttpResponseMessage,Task<IOperationList>, Task>, Func<HttpResponseMessage,Task<IError>,Task>, IEventListener, ISendAsync)

List all the operations.

ReservationArchive(String, String, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task<IError>,Task>, IEventListener, ISendAsync)

Archiving a Reservation moves it to Archived state.

ReservationArchiveViaIdentity(String, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task<IError>,Task>, IEventListener, ISendAsync)

Archiving a Reservation moves it to Archived state.

ReservationAvailableScopes(String, String, IAvailableScopeRequest, Func<HttpResponseMessage,Task<IAvailableScopeProperties>,Task>, Func<HttpResponseMessage,Task<IError>,Task>, IEventListener, ISendAsync)

Check whether the scopes from request is valid for Reservation.

ReservationAvailableScopesViaIdentity(String, IAvailableScopeRequest, Func<HttpResponseMessage,Task<IAvailableScopeProperties>,Task>, Func<HttpResponseMessage,Task<IError>,Task>, IEventListener, ISendAsync)

Check whether the scopes from request is valid for Reservation.

ReservationGet(String, String, String, Func<HttpResponseMessage, Task<IReservationResponse>,Task>, Func<HttpResponseMessage,Task<IError>, Task>, IEventListener, ISendAsync)

Get specific Reservation details.

ReservationGetViaIdentity(String, String, Func<HttpResponseMessage, Task<IReservationResponse>,Task>, Func<HttpResponseMessage,Task<IError>, Task>, IEventListener, ISendAsync)

Get specific Reservation details.

ReservationList(String, Func<HttpResponseMessage,Task<IReservationList>, Task>, Func<HttpResponseMessage,Task<IError>,Task>, IEventListener, ISendAsync)

List Reservations within a single ReservationOrder.

ReservationListAll(String, String, String, Nullable<Single>, String, Nullable<Single>, Func<HttpResponseMessage,Task<IReservationsListResult>, Task>, Func<HttpResponseMessage,Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

List the reservations and the roll up counts of reservations group by provisioning states that the user has access to in the current tenant.

ReservationListAllViaIdentity(String, String, String, String, Nullable<Single>, String, Nullable<Single>, Func<HttpResponseMessage, Task<IReservationsListResult>,Task>, Func<HttpResponseMessage, Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

List the reservations and the roll up counts of reservations group by provisioning states that the user has access to in the current tenant.

ReservationListRevisions(String, String, Func<HttpResponseMessage, Task<IReservationList>,Task>, Func<HttpResponseMessage,Task<IError>, Task>, IEventListener, ISendAsync)

List of all the revisions for the Reservation.

ReservationListRevisionsViaIdentity(String, Func<HttpResponseMessage, Task<IReservationList>,Task>, Func<HttpResponseMessage,Task<IError>, Task>, IEventListener, ISendAsync)

List of all the revisions for the Reservation.

ReservationListViaIdentity(String, Func<HttpResponseMessage,Task<IReservationList>, Task>, Func<HttpResponseMessage,Task<IError>,Task>, IEventListener, ISendAsync)

List Reservations within a single ReservationOrder.

ReservationMerge(String, IMergeRequest, Func<HttpResponseMessage, Task<IReservationResponse[]>,Task>, Func<HttpResponseMessage, Task<IError>,Task>, IEventListener, ISendAsync)

Merge the specified Reservations into a new Reservation. The two Reservations being merged must have same properties.

ReservationMergeViaIdentity(String, IMergeRequest, Func<HttpResponseMessage, Task<IReservationResponse[]>,Task>, Func<HttpResponseMessage, Task<IError>,Task>, IEventListener, ISendAsync)

Merge the specified Reservations into a new Reservation. The two Reservations being merged must have same properties.

ReservationOrderCalculate(IPurchaseRequest, Func<HttpResponseMessage, Task<ICalculatePriceResponse>,Task>, Func<HttpResponseMessage, Task<IError>,Task>, IEventListener, ISendAsync)

Calculate price for placing a ReservationOrder.

ReservationOrderCalculateViaIdentity(String, IPurchaseRequest, Func<HttpResponseMessage,Task<ICalculatePriceResponse>,Task>, Func<HttpResponseMessage,Task<IError>,Task>, IEventListener, ISendAsync)

Calculate price for placing a ReservationOrder.

ReservationOrderChangeDirectory(String, IChangeDirectoryRequest, Func<HttpResponseMessage,Task<IChangeDirectoryResponse>,Task>, Func<HttpResponseMessage,Task<IError>,Task>, IEventListener, ISendAsync)

Change directory (tenant) of ReservationOrder and all Reservation under it to specified tenant id

ReservationOrderChangeDirectoryViaIdentity(String, IChangeDirectoryRequest, Func<HttpResponseMessage,Task<IChangeDirectoryResponse>,Task>, Func<HttpResponseMessage,Task<IError>,Task>, IEventListener, ISendAsync)

Change directory (tenant) of ReservationOrder and all Reservation under it to specified tenant id

ReservationOrderGet(String, String, Func<HttpResponseMessage, Task<IReservationOrderResponse>,Task>, Func<HttpResponseMessage, Task<IError>,Task>, IEventListener, ISendAsync)

Get the details of the ReservationOrder.

ReservationOrderGetViaIdentity(String, String, Func<HttpResponseMessage, Task<IReservationOrderResponse>,Task>, Func<HttpResponseMessage, Task<IError>,Task>, IEventListener, ISendAsync)

Get the details of the ReservationOrder.

ReservationOrderList(Func<HttpResponseMessage,Task<IReservationOrderList>, Task>, Func<HttpResponseMessage,Task<IError>,Task>, IEventListener, ISendAsync)

List of all the ReservationOrders that the user has access to in the current tenant.

ReservationOrderListViaIdentity(String, Func<HttpResponseMessage, Task<IReservationOrderList>,Task>, Func<HttpResponseMessage,Task<IError>, Task>, IEventListener, ISendAsync)

List of all the ReservationOrders that the user has access to in the current tenant.

ReservationOrderPurchase(String, IPurchaseRequest, Func<HttpResponseMessage, Task<IReservationOrderResponse>,Task>, Func<HttpResponseMessage, Task<IError>,Task>, IEventListener, ISendAsync)

Purchase ReservationOrder and create resource under the specified URI.

ReservationOrderPurchaseViaIdentity(String, IPurchaseRequest, Func<HttpResponseMessage,Task<IReservationOrderResponse>,Task>, Func<HttpResponseMessage,Task<IError>,Task>, IEventListener, ISendAsync)

Purchase ReservationOrder and create resource under the specified URI.

ReservationSplit(String, ISplitRequest, Func<HttpResponseMessage, Task<IReservationResponse[]>,Task>, Func<HttpResponseMessage, Task<IError>,Task>, IEventListener, ISendAsync)

Split a Reservation into two Reservations with specified quantity distribution.

ReservationSplitViaIdentity(String, ISplitRequest, Func<HttpResponseMessage, Task<IReservationResponse[]>,Task>, Func<HttpResponseMessage, Task<IError>,Task>, IEventListener, ISendAsync)

Split a Reservation into two Reservations with specified quantity distribution.

ReservationUnarchive(String, String, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task<IError>,Task>, IEventListener, ISendAsync)

Restores a Reservation to the state it was before archiving.

ReservationUnarchiveViaIdentity(String, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task<IError>,Task>, IEventListener, ISendAsync)

Restores a Reservation to the state it was before archiving.

ReservationUpdate(String, String, IPatch, Func<HttpResponseMessage, Task<IReservationResponse>,Task>, Func<HttpResponseMessage,Task<IError>, Task>, IEventListener, ISendAsync)

Updates the applied scopes of the Reservation.

ReservationUpdateViaIdentity(String, IPatch, Func<HttpResponseMessage, Task<IReservationResponse>,Task>, Func<HttpResponseMessage,Task<IError>, Task>, IEventListener, ISendAsync)

Updates the applied scopes of the Reservation.

ReturnPost(String, IRefundRequest, Func<HttpResponseMessage,Task<IReservationOrderResponse>, Task>, Func<HttpResponseMessage,Task<IError>,Task>, IEventListener, ISendAsync)

Return a reservation and get refund information.

ReturnPostViaIdentity(String, IRefundRequest, Func<HttpResponseMessage, Task<IReservationOrderResponse>,Task>, Func<HttpResponseMessage, Task<IError>,Task>, IEventListener, ISendAsync)

Return a reservation and get refund information.

Applies to