Compartilhar via


BatchAccountPoolCollection.GetAllAsync Método

Definição

Listar todos os pools na conta especificada.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools
  • IdPool_ListByBatchAccount de operação
public virtual Azure.AsyncPageable<Azure.ResourceManager.Batch.BatchAccountPoolResource> GetAllAsync (int? maxresults = default, string select = default, string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Nullable<int> * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Batch.BatchAccountPoolResource>
override this.GetAllAsync : Nullable<int> * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Batch.BatchAccountPoolResource>
Public Overridable Function GetAllAsync (Optional maxresults As Nullable(Of Integer) = Nothing, Optional select As String = Nothing, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of BatchAccountPoolResource)

Parâmetros

maxresults
Nullable<Int32>

O número máximo de itens a serem retornados na resposta.

select
String

Lista separada por vírgulas de propriedades que devem ser retornadas. por exemplo, "properties/provisioningState". Somente propriedades de nível superior em propriedades/ são válidas para seleção.

filter
String

Expressão de filtro OData. As propriedades válidas para filtragem são:

propriedades name/allocationState properties/allocationStateTransitionTime properties/creationTime properties/provisioningState properties/provisioningStateTransitionTime properties/lastModified properties/vmSize properties/interNodeCommunication properties/scaleSettings/autoScale properties/scaleSettings/fixedScale

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de BatchAccountPoolResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a