Dela via


ReservationOrderResource.Update Method

Definition

Purchase ReservationOrder and create resource under the specified URI.

  • Request Path: /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}
  • Operation Id: ReservationOrder_Purchase
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Reservations.ReservationOrderResource> Update (Azure.WaitUntil waitUntil, Azure.ResourceManager.Reservations.Models.ReservationPurchaseContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.WaitUntil * Azure.ResourceManager.Reservations.Models.ReservationPurchaseContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Reservations.ReservationOrderResource>
override this.Update : Azure.WaitUntil * Azure.ResourceManager.Reservations.Models.ReservationPurchaseContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Reservations.ReservationOrderResource>
Public Overridable Function Update (waitUntil As WaitUntil, content As ReservationPurchaseContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of ReservationOrderResource)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
ReservationPurchaseContent

Information needed for calculate or purchase reservation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to