次の方法で共有


ComputeNodeOperationsExtensions.EnableScheduling メソッド

定義

指定したコンピューティング ノードでタスク スケジュールを有効にします。

public static Microsoft.Azure.Batch.Protocol.Models.ComputeNodeEnableSchedulingHeaders EnableScheduling (this Microsoft.Azure.Batch.Protocol.IComputeNodeOperations operations, string poolId, string nodeId, Microsoft.Azure.Batch.Protocol.Models.ComputeNodeEnableSchedulingOptions computeNodeEnableSchedulingOptions = default);
static member EnableScheduling : Microsoft.Azure.Batch.Protocol.IComputeNodeOperations * string * string * Microsoft.Azure.Batch.Protocol.Models.ComputeNodeEnableSchedulingOptions -> Microsoft.Azure.Batch.Protocol.Models.ComputeNodeEnableSchedulingHeaders
<Extension()>
Public Function EnableScheduling (operations As IComputeNodeOperations, poolId As String, nodeId As String, Optional computeNodeEnableSchedulingOptions As ComputeNodeEnableSchedulingOptions = Nothing) As ComputeNodeEnableSchedulingHeaders

パラメーター

operations
IComputeNodeOperations

この拡張メソッドの操作グループ。

poolId
String

コンピューティング ノードを含むプールの ID。

nodeId
String

タスクのスケジュール設定を有効にするコンピューティング ノードの ID。

computeNodeEnableSchedulingOptions
ComputeNodeEnableSchedulingOptions

操作の追加パラメーター

戻り値

注釈

コンピューティング ノードでタスク スケジューリングを有効にできるのは、現在のスケジュール状態が無効になっている場合のみです

適用対象