Partilhar via


ServiceFabricManagedClusterResource.UpdateAsync Método

Definição

Atualize as marcas de um recurso de cluster gerenciado do Service Fabric com o nome especificado.

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

Parâmetros

patch
ServiceFabricManagedClusterPatch

As marcas atualizadas do recurso de cluster gerenciado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a