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
poolId
Type: System.StringThe id of the pool to get.
detailLevel
Type: Microsoft.Azure.Batch.DetailLevelA DetailLevel used for controlling which properties are retrieved from the service.
additionalBehaviors
Type: System.Collections.Generic.IEnumerable<BatchClientBehavior>A collection of BatchClientBehavior instances that are applied to the Batch service request after the CustomBehaviors and detailLevel.
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