ITemplateImageOperations.MigrateAsync 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.
Migrate the template image of 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 overwriteExistingTemplateImage, 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, overwriteExistingTemplateImage 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
- overwriteExistingTemplateImage
- Boolean
A flag denoting if the request is to overwrite the existing template image in the destination storage account
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The response containing the operation tracking id.