Share via


AppAttachPackageResource.UpdateAsync Method

Definition

Update an App Attach Package

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/appAttachPackages/{appAttachPackageName}
  • Operation Id: AppAttachPackage_Update
  • Default Api Version: 2024-04-03
  • Resource: AppAttachPackageResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.AppAttachPackageResource>> UpdateAsync (Azure.ResourceManager.DesktopVirtualization.Models.AppAttachPackagePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.DesktopVirtualization.Models.AppAttachPackagePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.AppAttachPackageResource>>
override this.UpdateAsync : Azure.ResourceManager.DesktopVirtualization.Models.AppAttachPackagePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.AppAttachPackageResource>>
Public Overridable Function UpdateAsync (patch As AppAttachPackagePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppAttachPackageResource))

Parameters

patch
AppAttachPackagePatch

Object containing App Attach Package definition.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to