Condividi tramite


PoolOperationsExtensions.ListByBatchAccountAsync Metodo

Definizione

Elenca tutti i pool nell'account specificato.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Batch.Models.Pool>> ListByBatchAccountAsync(this Microsoft.Azure.Management.Batch.IPoolOperations operations, string resourceGroupName, string accountName, int? maxresults = default, string select = default, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByBatchAccountAsync : Microsoft.Azure.Management.Batch.IPoolOperations * string * string * Nullable<int> * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Batch.Models.Pool>>
<Extension()>
Public Function ListByBatchAccountAsync (operations As IPoolOperations, resourceGroupName As String, accountName As String, Optional maxresults As Nullable(Of Integer) = Nothing, Optional select As String = Nothing, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Pool))

Parametri

operations
IPoolOperations

Gruppo di operazioni per questo metodo di estensione.

resourceGroupName
String

Nome del gruppo di risorse contenente l'account Batch.

accountName
String

Nome dell'account Batch.

maxresults
Nullable<Int32>

Numero massimo di elementi da restituire nella risposta.

select
String

Elenco delimitato da virgole di proprietà che devono essere restituite. ad esempio "proprietà/provisioningState". Solo le proprietà di primo livello sotto le proprietà/ sono valide per la selezione.

filter
String

Espressione di filtro OData. Le proprietà valide per il filtro sono:

proprietà name/allocationState properties/allocationStateTransitionTime proprietà/creationTime proprietà/provisioningState proprietà/provisioningState proprietà/provisioningStateTransitionTime proprietà/lastModified properties/vmSize properties/interNodeCommunication properties/scaleSettings/autoScale properties/scaleScales/fixedScale

cancellationToken
CancellationToken

Token di annullamento.

Restituisce

Si applica a