Compartilhar via


HostPoolCollection.GetAll Método

Definição

Listar hostPools.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools
  • Operação IdHostPools_ListByResourceGroup
public virtual Azure.Pageable<Azure.ResourceManager.DesktopVirtualization.HostPoolResource> GetAll (int? pageSize = default, bool? isDescending = default, int? initialSkip = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : Nullable<int> * Nullable<bool> * Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DesktopVirtualization.HostPoolResource>
override this.GetAll : Nullable<int> * Nullable<bool> * Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DesktopVirtualization.HostPoolResource>
Public Overridable Function GetAll (Optional pageSize As Nullable(Of Integer) = Nothing, Optional isDescending As Nullable(Of Boolean) = Nothing, Optional initialSkip As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of HostPoolResource)

Parâmetros

pageSize
Nullable<Int32>

Número de itens por página.

isDescending
Nullable<Boolean>

Indica se a coleção está decrescente.

initialSkip
Nullable<Int32>

Número inicial de itens a serem ignoradas.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção de HostPoolResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a