HostPoolResource.Update(HostPoolPatch, CancellationToken) Method

Definition

Update a host pool.

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

Parameters

patch
HostPoolPatch

Object containing HostPool definitions.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to