Partager via


HybridContainerServiceAgentPoolResource.UpdateAsync Méthode

Définition

Mises à jour le pool d’agents dans le cluster provisionné AKS hybride

  • Chemin de requête/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridContainerService/provisionedClusters/{resourceName}/agentPools/{agentPoolName}
  • IdagentPool_Update d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridContainerService.HybridContainerServiceAgentPoolResource>> UpdateAsync (Azure.ResourceManager.HybridContainerService.HybridContainerServiceAgentPoolData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.HybridContainerService.HybridContainerServiceAgentPoolData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridContainerService.HybridContainerServiceAgentPoolResource>>
override this.UpdateAsync : Azure.ResourceManager.HybridContainerService.HybridContainerServiceAgentPoolData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridContainerService.HybridContainerServiceAgentPoolResource>>
Public Overridable Function UpdateAsync (data As HybridContainerServiceAgentPoolData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HybridContainerServiceAgentPoolResource))

Paramètres

data
HybridContainerServiceAgentPoolData

HybridContainerServiceAgentPool à utiliser.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

data a la valeur null.

S’applique à