Compartilhar via


ServiceFabricManagedApplicationResource.UpdateAsync Método

Definição

Atualizações as marcas de um recurso de aplicativo de um determinado cluster gerenciado.

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

Parâmetros

patch
ServiceFabricManagedApplicationPatch

As marcas atualizadas do recurso de aplicativo.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a