共用方式為


VirtualApplicationResource.Update Method

Definition

Update an application.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}
  • Operation Id: Applications_Update
  • Default Api Version: 2024-04-03
  • Resource: VirtualApplicationResource
public virtual Azure.Response<Azure.ResourceManager.DesktopVirtualization.VirtualApplicationResource> Update (Azure.ResourceManager.DesktopVirtualization.Models.VirtualApplicationPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.DesktopVirtualization.Models.VirtualApplicationPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DesktopVirtualization.VirtualApplicationResource>
override this.Update : Azure.ResourceManager.DesktopVirtualization.Models.VirtualApplicationPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DesktopVirtualization.VirtualApplicationResource>
Public Overridable Function Update (patch As VirtualApplicationPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of VirtualApplicationResource)

Parameters

patch
VirtualApplicationPatch

Object containing Application definitions.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to