Partager via


ContainerServiceManagedClusterResource.UpdateAsync Méthode

Définition

Mises à jour balises sur un cluster managé.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}
  • IdManagedClusters_UpdateTags d’opération
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))

Paramètres

waitUntil
WaitUntil

Completed si la méthode doit attendre pour retourner jusqu’à ce que l’opération de longue durée soit terminée sur le service ; Started si elle doit être retournée après le démarrage de l’opération. Pour plus d’informations sur les opérations de longue durée, consultez Exemples d’opérations de Long-Running Azure.Core.

containerServiceTagsObject
ContainerServiceTagsObject

Paramètres fournis à l’opération Mettre à jour les étiquettes de cluster managé.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

containerServiceTagsObject a la valeur null.

S’applique à