IUserDiskOperations.MigrateAsync Method

Definition

Migrate user disks of all the users from a collection to the specified azure storage account

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.OperationResultWithTrackingId> MigrateAsync (string collectionName, string targetAccountName, string targetAccountKey, string targetContainerName, bool overwriteExistingUserDisk, System.Threading.CancellationToken cancellationToken);
abstract member MigrateAsync : string * string * string * string * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.OperationResultWithTrackingId>
Public Function MigrateAsync (collectionName As String, targetAccountName As String, targetAccountKey As String, targetContainerName As String, overwriteExistingUserDisk As Boolean, cancellationToken As CancellationToken) As Task(Of OperationResultWithTrackingId)

Parameters

collectionName
String

The collection name.

targetAccountName
String

The destination storage account name

targetAccountKey
String

The destination storage account key

targetContainerName
String

The destination container name

overwriteExistingUserDisk
Boolean

A flag denoting if the request is to overwrite the existing user disk in the destination storage account

cancellationToken
CancellationToken

Cancellation token.

Returns

The response containing the operation tracking id.

Applies to