Freigeben über


HostPoolResource.Update(HostPoolPatch, CancellationToken) Methode

Definition

Aktualisieren sie einen Hostpool.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}
  • Vorgang IdHostPools_Update
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)

Parameter

patch
HostPoolPatch

Objekt, das HostPool-Definitionen enthält.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: