IComputeNodeOperations.EnableSchedulingAsync Method (String, String, ComputeNodeEnableSchedulingParameters, CancellationToken)
Enables task scheduling on the specified compute node.
Namespace: Microsoft.Azure.Batch.Protocol
Assembly: Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)
Syntax
Task<ComputeNodeEnableSchedulingResponse> EnableSchedulingAsync(
string poolId,
string nodeId,
ComputeNodeEnableSchedulingParameters parameters,
CancellationToken cancellationToken
)
Task<ComputeNodeEnableSchedulingResponse^>^ EnableSchedulingAsync(
String^ poolId,
String^ nodeId,
ComputeNodeEnableSchedulingParameters^ parameters,
CancellationToken cancellationToken
)
abstract EnableSchedulingAsync :
poolId:string *
nodeId:string *
parameters:ComputeNodeEnableSchedulingParameters *
cancellationToken:CancellationToken -> Task<ComputeNodeEnableSchedulingResponse>
Function EnableSchedulingAsync (
poolId As String,
nodeId As String,
parameters As ComputeNodeEnableSchedulingParameters,
cancellationToken As CancellationToken
) As Task(Of ComputeNodeEnableSchedulingResponse)
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 enable task scheduling.
parameters
Type: Microsoft.Azure.Batch.Protocol.Models.ComputeNodeEnableSchedulingParametersThe parameters for the request.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<ComputeNodeEnableSchedulingResponse>
Response to a ComputeNodeOperations.EnableScheduling request.
See Also
IComputeNodeOperations Interface
Microsoft.Azure.Batch.Protocol Namespace
Return to top