你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ComputeNode.Reboot Method

Definition

Blocking call to reboot the compute node.

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

Parameters

rebootOption
Nullable<ComputeNodeRebootOption>

The reboot option associated with the reboot.

additionalBehaviors
IEnumerable<BatchClientBehavior>

A collection of BatchClientBehavior instances that are applied after the CustomBehaviors on the current object.

Applies to