Compartilhar via


CapacityReservationGroupsOperationsExtensions.UpdateAsync Método

Definição

A operação para atualizar um grupo de reserva de capacidade. Ao atualizar um grupo de reserva de capacidade, somente as marcas podem ser modificadas.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.CapacityReservationGroup> UpdateAsync (this Microsoft.Azure.Management.Compute.ICapacityReservationGroupsOperations operations, string resourceGroupName, string capacityReservationGroupName, System.Collections.Generic.IDictionary<string,string> tags = default, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Compute.ICapacityReservationGroupsOperations * string * string * System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.CapacityReservationGroup>
<Extension()>
Public Function UpdateAsync (operations As ICapacityReservationGroupsOperations, resourceGroupName As String, capacityReservationGroupName As String, Optional tags As IDictionary(Of String, String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CapacityReservationGroup)

Parâmetros

operations
ICapacityReservationGroupsOperations

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.

tags
IDictionary<String,String>

Marcações de recursos

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a