共用方式為


IVirtualMachineScaleSet.RestartAsync(CancellationToken) Method

Definition

Restarts the virtual machines in the scale set asynchronously.

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