Partilhar via


VirtualApplicationResource.UpdateAsync Método

Definição

Atualizar um aplicativo.

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

Parâmetros

patch
VirtualApplicationPatch

Objeto que contém definições de aplicativo.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a