VirtualMachinesClient.beginDeallocate Method

Definition

Overloads

beginDeallocate(String resourceGroupName, String vmName)

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

beginDeallocate(String resourceGroupName, String vmName, Context context)

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

beginDeallocate(String resourceGroupName, String vmName)

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

public abstract SyncPoller<PollResult<Void>,Void> beginDeallocate(String resourceGroupName, String vmName)

Parameters

resourceGroupName
java.lang.String

The name of the resource group.

vmName
java.lang.String

The name of the virtual machine.

Returns

SyncPoller<PollResult<java.lang.Void>,java.lang.Void>

the completion.

beginDeallocate(String resourceGroupName, String vmName, Context context)

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

public abstract SyncPoller<PollResult<Void>,Void> beginDeallocate(String resourceGroupName, String vmName, Context context)

Parameters

resourceGroupName
java.lang.String

The name of the resource group.

vmName
java.lang.String

The name of the virtual machine.

context
Context

The context to associate with this operation.

Returns

SyncPoller<PollResult<java.lang.Void>,java.lang.Void>

the completion.

Applies to