Partilhar via


ContainerServiceManagedClusterResource.UpdateAsync Método

Definição

Atualizações marcas em um cluster gerenciado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}
  • Operação IdManagedClusters_UpdateTags
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ContainerService.ContainerServiceManagedClusterResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.ContainerService.Models.ContainerServiceTagsObject containerServiceTagsObject, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.ContainerService.Models.ContainerServiceTagsObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ContainerService.ContainerServiceManagedClusterResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.ContainerService.Models.ContainerServiceTagsObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ContainerService.ContainerServiceManagedClusterResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, containerServiceTagsObject As ContainerServiceTagsObject, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ContainerServiceManagedClusterResource))

Parâmetros

waitUntil
WaitUntil

Completed se o método deve aguardar para retornar até que a operação de execução prolongada seja concluída no serviço; Started se ele deve retornar depois de iniciar a operação. Para obter mais informações sobre operações de execução prolongada, consulte Exemplos de operação de Long-Running do Azure.Core.

containerServiceTagsObject
ContainerServiceTagsObject

Parâmetros fornecidos para a operação Atualizar Marcas de Cluster Gerenciado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

containerServiceTagsObject é nulo.

Aplica-se a