IComputeNodeOperations.DisableSchedulingAsync Method (String, String, ComputeNodeDisableSchedulingParameters, CancellationToken)

 

Disables task scheduling on the specified compute node.

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

Syntax

Task<ComputeNodeDisableSchedulingResponse> DisableSchedulingAsync(
    string poolId,
    string nodeId,
    ComputeNodeDisableSchedulingParameters parameters,
    CancellationToken cancellationToken
)
Task<ComputeNodeDisableSchedulingResponse^>^ DisableSchedulingAsync(
    String^ poolId,
    String^ nodeId,
    ComputeNodeDisableSchedulingParameters^ parameters,
    CancellationToken cancellationToken
)
abstract DisableSchedulingAsync : 
        poolId:string *
        nodeId:string *
        parameters:ComputeNodeDisableSchedulingParameters *
        cancellationToken:CancellationToken -> Task<ComputeNodeDisableSchedulingResponse>
Function DisableSchedulingAsync (
    poolId As String,
    nodeId As String,
    parameters As ComputeNodeDisableSchedulingParameters,
    cancellationToken As CancellationToken
) As Task(Of ComputeNodeDisableSchedulingResponse)

Parameters

  • poolId
    Type: System.String

    The id of the pool that contains the compute node.

  • nodeId
    Type: System.String

    The id of the compute node that you want to disable task scheduling.

Return Value

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

Response to a ComputeNodeOperations.DisableScheduling request.

See Also

IComputeNodeOperations Interface
Microsoft.Azure.Batch.Protocol Namespace

Return to top