IComputeNodeOperations.GetAsync Method (String, String, ComputeNodeGetParameters, CancellationToken)
Gets information about the specified compute node.
Namespace: Microsoft.Azure.Batch.Protocol
Assembly: Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)
Syntax
Task<ComputeNodeGetResponse> GetAsync(
string poolId,
string nodeId,
ComputeNodeGetParameters parameters,
CancellationToken cancellationToken
)
Task<ComputeNodeGetResponse^>^ GetAsync(
String^ poolId,
String^ nodeId,
ComputeNodeGetParameters^ parameters,
CancellationToken cancellationToken
)
abstract GetAsync :
poolId:string *
nodeId:string *
parameters:ComputeNodeGetParameters *
cancellationToken:CancellationToken -> Task<ComputeNodeGetResponse>
Function GetAsync (
poolId As String,
nodeId As String,
parameters As ComputeNodeGetParameters,
cancellationToken As CancellationToken
) As Task(Of ComputeNodeGetResponse)
Parameters
poolId
Type: System.StringThe id of the pool that contains the compute node.
nodeId
Type: System.StringThe id of the compute node that you want to get information about.
parameters
Type: Microsoft.Azure.Batch.Protocol.Models.ComputeNodeGetParametersThe parameters for the request.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<ComputeNodeGetResponse>
Response to a ComputeNodeOperations.Get request.
See Also
IComputeNodeOperations Interface
Microsoft.Azure.Batch.Protocol Namespace
Return to top