Dela via


IVirtualMachineScaleSets.Deallocate(String, String) Method

Definition

Shuts down the virtual machines in the scale set 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 scale set is in.

name
String

The name of the virtual machine scale set.

Applies to