IVirtualMachines.MigrateToManagedAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts (migrates) the virtual machine with un-managed disks to use managed disk asynchronously.
public System.Threading.Tasks.Task MigrateToManagedAsync (string groupName, string name, System.Threading.CancellationToken cancellationToken = default);
abstract member MigrateToManagedAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function MigrateToManagedAsync (groupName As String, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- groupName
- String
The resource group name.
- name
- String
The virtual machine name.
- cancellationToken
- CancellationToken