共用方式為


IVirtualMachines.PowerOff(String, String) Method

Definition

Powers off (stops) a virtual machine.

public void PowerOff (string groupName, string name);
abstract member PowerOff : string * string -> unit
Public Sub PowerOff (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