VirtualMachines.powerOffAsync 方法

定义

重载

powerOffAsync(String groupName, String name)

Powers off (stops) the virtual machine asynchronously.

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

Powers off (stop) the virtual machine asynchronously.

powerOffAsync(String groupName, String name)

Powers off (stops) the virtual machine asynchronously.

public Completable powerOffAsync(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

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

Powers off (stop) the virtual machine asynchronously.

public ServiceFuture<Void> powerOffAsync(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

适用于