IVirtualMachines.MigrateToManagedAsync Method

Definition

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
System.String

The resource group name.

name
System.String

The virtual machine name.

cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task

Applies to