Compartilhar via


CapacityReservationsOperationsExtensions.UpdateAsync Método

Definição

A operação para atualizar uma reserva de capacidade.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.CapacityReservation> UpdateAsync (this Microsoft.Azure.Management.Compute.ICapacityReservationsOperations operations, string resourceGroupName, string capacityReservationGroupName, string capacityReservationName, Microsoft.Azure.Management.Compute.Models.CapacityReservationUpdate parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Compute.ICapacityReservationsOperations * string * string * string * Microsoft.Azure.Management.Compute.Models.CapacityReservationUpdate * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.CapacityReservation>
<Extension()>
Public Function UpdateAsync (operations As ICapacityReservationsOperations, resourceGroupName As String, capacityReservationGroupName As String, capacityReservationName As String, parameters As CapacityReservationUpdate, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CapacityReservation)

Parâmetros

operations
ICapacityReservationsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos.

capacityReservationGroupName
String

O nome do grupo de reserva de capacidade.

capacityReservationName
String

O nome da reserva de capacidade.

parameters
CapacityReservationUpdate

Parâmetros fornecidos para a operação de reserva de capacidade de atualização.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a