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
System.String

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

name
System.String

The virtual machine name.

Applies to