共用方式為


VirtualApplicationGroupResource.UpdateAsync Method

Definition

Update an applicationGroup.

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

Parameters

patch
VirtualApplicationGroupPatch

Object containing ApplicationGroup definitions.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to