共用方式為


IVirtualMachineScaleSetVM.RestartAsync(CancellationToken) Method

Definition

Restarts the virtual machine instance.

public System.Threading.Tasks.Task RestartAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member RestartAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function RestartAsync (Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

cancellationToken
CancellationToken

Returns

Applies to