ICloudPoolOperations.GetAsync Method (String, CloudPoolGetParameters, CancellationToken)
Gets information about the specified pool.
Namespace: Microsoft.Azure.Batch.Protocol
Assembly: Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)
Syntax
Task<CloudPoolGetResponse> GetAsync(
string poolId,
CloudPoolGetParameters parameters,
CancellationToken cancellationToken
)
Task<CloudPoolGetResponse^>^ GetAsync(
String^ poolId,
CloudPoolGetParameters^ parameters,
CancellationToken cancellationToken
)
abstract GetAsync :
poolId:string *
parameters:CloudPoolGetParameters *
cancellationToken:CancellationToken -> Task<CloudPoolGetResponse>
Function GetAsync (
poolId As String,
parameters As CloudPoolGetParameters,
cancellationToken As CancellationToken
) As Task(Of CloudPoolGetResponse)
Parameters
poolId
Type: System.StringThe id of the pool to get.
parameters
Type: Microsoft.Azure.Batch.Protocol.Models.CloudPoolGetParametersThe parameters for the request.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<CloudPoolGetResponse>
Response to a CloudPoolOperations.Get request.
See Also
ICloudPoolOperations Interface
Microsoft.Azure.Batch.Protocol Namespace
Return to top