Compartir a través de


CapacityReservationsOperationsExtensions.UpdateAsync Método

Definición

Operación para actualizar una reserva de capacidad.

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

Grupo de operaciones para este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos.

capacityReservationGroupName
String

Nombre del grupo de reserva de capacidad.

capacityReservationName
String

Nombre de la reserva de capacidad.

parameters
CapacityReservationUpdate

Parámetros proporcionados a la operación Actualizar reserva de capacidad.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a