VirtualMachinesOperationsExtensions.Deallocate(IVirtualMachinesOperations, String, String) Method

Definition

Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses.

public static Microsoft.Azure.Management.Compute.Models.OperationStatusResponse Deallocate (this Microsoft.Azure.Management.Compute.IVirtualMachinesOperations operations, string resourceGroupName, string vmName);
static member Deallocate : Microsoft.Azure.Management.Compute.IVirtualMachinesOperations * string * string -> Microsoft.Azure.Management.Compute.Models.OperationStatusResponse
<Extension()>
Public Function Deallocate (operations As IVirtualMachinesOperations, resourceGroupName As String, vmName As String) As OperationStatusResponse

Parameters

operations
IVirtualMachinesOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group.

vmName
System.String

The name of the virtual machine.

Returns

Microsoft.Azure.Management.Compute.Models.OperationStatusResponse

Applies to