Compartilhar via


HostPoolResource.Update(HostPoolPatch, CancellationToken) Método

Definição

Atualizar um pool de hosts.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}
  • Operação 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)

Parâmetros

patch
HostPoolPatch

Objeto que contém definições de HostPool.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a