次の方法で共有


PoolOperations.Reboot メソッド

定義

指定したコンピューティング ノードを再起動します。

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

パラメーター

poolId
String

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

computeNodeId
String

再起動するコンピューティング ノードの ID。

rebootOption
Nullable<ComputeNodeRebootOption>

ノードを再起動するタイミングと、現在実行中のタスクの処理を指定します。 既定値は、Requeue です。

additionalBehaviors
IEnumerable<BatchClientBehavior>

の後の BatchClientBehavior Batch サービス要求に適用されるインスタンスの CustomBehaviorsコレクション。

注釈

コンピューティング ノードは、 または Running 状態のIdle場合にのみ再起動できます。

これはブロック操作です。 非ブロッキングに相当する場合は、「」を参照してください RebootAsync(String, String, Nullable<ComputeNodeRebootOption>, IEnumerable<BatchClientBehavior>, CancellationToken)

適用対象