Partilhar via


ConnectedClusterResource.UpdateAsync Método

Definição

API para atualizar determinadas propriedades do recurso de cluster conectado

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}
  • Operação IdConnectedCluster_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Kubernetes.ConnectedClusterResource>> UpdateAsync (Azure.ResourceManager.Kubernetes.Models.ConnectedClusterPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Kubernetes.Models.ConnectedClusterPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Kubernetes.ConnectedClusterResource>>
override this.UpdateAsync : Azure.ResourceManager.Kubernetes.Models.ConnectedClusterPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Kubernetes.ConnectedClusterResource>>
Public Overridable Function UpdateAsync (patch As ConnectedClusterPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ConnectedClusterResource))

Parâmetros

patch
ConnectedClusterPatch

Parâmetros fornecidos para atualizar o Cluster Conectado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a