Share via


PoolOperations.GetPoolAsync Method (String, DetailLevel, IEnumerable<BatchClientBehavior>)

 

Gets the specified CloudPool.

Namespace:   Microsoft.Azure.Batch
Assembly:  Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)

Syntax

public Task<CloudPool> GetPoolAsync(
    string poolId,
    DetailLevel detailLevel = null,
    IEnumerable<BatchClientBehavior> additionalBehaviors = null
)
public:
Task<CloudPool^>^ GetPoolAsync(
    String^ poolId,
    DetailLevel^ detailLevel = null,
    IEnumerable<BatchClientBehavior^>^ additionalBehaviors = null
)
member GetPoolAsync : 
        poolId:string *
        detailLevel:DetailLevel = null *
        additionalBehaviors:IEnumerable<BatchClientBehavior> = null -> Task<CloudPool>
Public Function GetPoolAsync (
    poolId As String,
    detailLevel As DetailLevel,
    additionalBehaviors As IEnumerable(Of BatchClientBehavior)
) As Task(Of CloudPool)

Parameters

Return Value

Type: System.Threading.Tasks.Task<CloudPool>

A CloudPool containing information about the specified Azure Batch pool.

Remarks

The get pool operation runs asynchronously.

See Also

PoolOperations Class
Microsoft.Azure.Batch Namespace

Return to top