Compartir a través de


PoolOperations.Reboot Método

Definición

Reinicia el nodo de proceso especificado.

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)

Parámetros

poolId
String

Identificador del grupo que contiene el nodo de proceso.

computeNodeId
String

Identificador del nodo de proceso que se va a reiniciar.

rebootOption
Nullable<ComputeNodeRebootOption>

Especifica cuándo reiniciar el nodo y qué hacer con las tareas que se están ejecutando actualmente. El valor predeterminado es Requeue.

additionalBehaviors
IEnumerable<BatchClientBehavior>

Colección de BatchClientBehavior instancias que se aplican a la solicitud de servicio de Batch después de CustomBehaviors.

Comentarios

Solo puede reiniciar un nodo de proceso cuando esté en estado Idle o Running .

Se trata de una operación de bloqueo. Para obtener un equivalente sin bloqueo, vea RebootAsync(String, String, Nullable<ComputeNodeRebootOption>, IEnumerable<BatchClientBehavior>, CancellationToken).

Se aplica a