VirtualMachineScaleSet.powerOffAsync 方法

定义

重载

powerOffAsync()

Powers off (stops) the virtual machines in the scale set asynchronously.

powerOffAsync(ServiceCallback<Void> callback)

Powers off (stops) the virtual machines in the scale set asynchronously.

powerOffAsync()

Powers off (stops) the virtual machines in the scale set asynchronously.

public Completable powerOffAsync()

返回

Completable

a representation of the deferred computation of this call

powerOffAsync(ServiceCallback<Void> callback)

Powers off (stops) the virtual machines in the scale set asynchronously.

public ServiceFuture<Void> powerOffAsync(ServiceCallback<Void> callback)

参数

callback
ServiceCallback<Void>

the callback to call on success or failure

返回

ServiceFuture<Void>

a handle to cancel the request

适用于