Dela via


PoolOperations.EnableComputeNodeScheduling Method

Definition

Enables task scheduling on the specified compute node.

public void EnableComputeNodeScheduling (string poolId, string computeNodeId, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default);
member this.EnableComputeNodeScheduling : string * string * seq<Microsoft.Azure.Batch.BatchClientBehavior> -> unit
Public Sub EnableComputeNodeScheduling (poolId As String, computeNodeId As String, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing)

Parameters

poolId
String

The id of the pool.

computeNodeId
String

The id of the compute node.

additionalBehaviors
IEnumerable<BatchClientBehavior>

A collection of BatchClientBehavior instances that are applied to the Batch service request after the CustomBehaviors.

Remarks

This is a blocking operation. For a non-blocking equivalent, see EnableComputeNodeScheduling(String, String, IEnumerable<BatchClientBehavior>).

Applies to