Udostępnij za pośrednictwem


ReservationOperationsExtensions.UpdateAsync Method

Definition

Updates a Reservation.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Reservations.Models.ReservationResponse> UpdateAsync (this Microsoft.Azure.Management.Reservations.IReservationOperations operations, string reservationOrderId, string reservationId, Microsoft.Azure.Management.Reservations.Models.Patch parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Reservations.IReservationOperations * string * string * Microsoft.Azure.Management.Reservations.Models.Patch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Reservations.Models.ReservationResponse>
<Extension()>
Public Function UpdateAsync (operations As IReservationOperations, reservationOrderId As String, reservationId As String, parameters As Patch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ReservationResponse)

Parameters

operations
IReservationOperations

The operations group for this extension method.

reservationOrderId
String

Order Id of the reservation

reservationId
String

Id of the Reservation Item

parameters
Patch

Information needed to patch a reservation item

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Updates the applied scopes of the Reservation.

Applies to