Compartilhar via


ComputeNode.RebootAsync Método

Definição

Inicia uma chamada assíncrona para reinicializar o nó de computação.

public System.Threading.Tasks.Task RebootAsync (Microsoft.Azure.Batch.Common.ComputeNodeRebootOption? rebootOption = default, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default, System.Threading.CancellationToken cancellationToken = default);
member this.RebootAsync : Nullable<Microsoft.Azure.Batch.Common.ComputeNodeRebootOption> * seq<Microsoft.Azure.Batch.BatchClientBehavior> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function RebootAsync (Optional rebootOption As Nullable(Of ComputeNodeRebootOption) = Nothing, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task

Parâmetros

rebootOption
Nullable<ComputeNodeRebootOption>

A opção de reinicialização associada à reinicialização.

additionalBehaviors
IEnumerable<BatchClientBehavior>

Uma coleção de instâncias BatchClientBehavior que são aplicadas após CustomBehaviors no objeto atual.

cancellationToken
CancellationToken

Um CancellationToken para controlar o tempo de vida da operação assíncrona.

Retornos

Um objeto Task que representa a operação assíncrona.

Aplica-se a