VirtualMachineScaleSets.restartAsync 方法
定义
重载
restartAsync(String groupName, String name) |
Restarts the virtual machines in the scale set asynchronously.
|
restartAsync(String groupName, String name, ServiceCallback<Void> callback) |
Restarts the virtual machines in the scale set asynchronously.
|
restartAsync(String groupName, String name)
Restarts the virtual machines in the scale set asynchronously.
public Completable restartAsync(String groupName, String name)
参数
- groupName
- String
the name of the resource group the virtual machine scale set is in
- name
- String
the virtual machine scale set name
返回
Completable
a representation of the deferred computation of this call
restartAsync(String groupName, String name, ServiceCallback<Void> callback)
Restarts the virtual machines in the scale set asynchronously.
public ServiceFuture<Void> restartAsync(String groupName, String name, ServiceCallback<Void> callback)
参数
- groupName
- String
the name of the resource group the virtual machine scale set is in
- name
- String
the virtual machine scale set name
- callback
- ServiceCallback<Void>
the callback to call on success or failure
返回
ServiceFuture<Void>
a handle to cancel the request