Dela via


IVirtualMachines.Deallocate(String, String) Method

Definition

Shuts down the virtual machine and releases the compute resources.

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