VirtualMachines.migrateToManagedAsync 方法

定义

重载

migrateToManagedAsync(String groupName, String name)

Converts (migrates) the virtual machine with un-managed disks to use managed disk asynchronously.

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

Converts (migrates) the virtual machine with un-managed disks to use managed disk asynchronously.

migrateToManagedAsync(String groupName, String name)

Converts (migrates) the virtual machine with un-managed disks to use managed disk asynchronously.

public Completable migrateToManagedAsync(String groupName, String name)

参数

groupName
String

the resource group name

name
String

the virtual machine name

返回

Completable

a representation of the deferred computation of this call

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

Converts (migrates) the virtual machine with un-managed disks to use managed disk asynchronously.

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

参数

groupName
String

the resource group name

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

适用于