共用方式為


IVirtualMachines.Restart(String, String) Method

Definition

Restarts a virtual machine.

public void Restart (string groupName, string name);
abstract member Restart : string * string -> unit
Public Sub Restart (groupName As String, name As String)

Parameters

groupName
String

The name of the resource group the virtual machine is in.

name
String

The virtual machine name.

Applies to