UserDiskOperationsExtensions.MigrateAsync Method

Definition

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

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

Parameters

operations
IUserDiskOperations

Reference to the Microsoft.WindowsAzure.Management.RemoteApp.IUserDiskOperations.

collectionName
String

Required. The collection name.

targetAccountName
String

Required. The destination storage account name

targetAccountKey
String

Required. The destination storage account key

targetContainerName
String

Required. The destination container name

overwriteExistingUserDisk
Boolean

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

Returns

The response containing the operation tracking id.

Applies to