VirtualMachines.deallocateAsync 方法

定义

重载

deallocateAsync(String groupName, String name)

Shuts down the virtual machine and releases the compute resources asynchronously.

deallocateAsync(String groupName, String name, ServiceCallback<Void> callback)

Shuts down the virtual machine and releases the compute resources asynchronously.

deallocateAsync(String groupName, String name)

Shuts down the virtual machine and releases the compute resources asynchronously.

public Completable deallocateAsync(String groupName, String name)

参数

groupName
String

the name of the resource group the virtual machine is in

name
String

the virtual machine name

返回

Completable

a representation of the deferred computation of this call

deallocateAsync(String groupName, String name, ServiceCallback<Void> callback)

Shuts down the virtual machine and releases the compute resources asynchronously.

public ServiceFuture<Void> deallocateAsync(String groupName, String name, ServiceCallback<Void> callback)

参数

groupName
String

the name of the resource group the virtual machine is in

name
String

the virtual machine name

callback
ServiceCallback<Void>

the callback to call on success or failure

返回

ServiceFuture<Void>

a handle to cancel the request

适用于