TemplateImageOperationsExtensions.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 static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.OperationResultWithTrackingId> MigrateAsync (this Microsoft.WindowsAzure.Management.RemoteApp.ITemplateImageOperations operations, string collectionName, string targetAccountName, string targetAccountKey, string targetContainerName, bool overwriteExistingTemplateImage);
static member MigrateAsync : Microsoft.WindowsAzure.Management.RemoteApp.ITemplateImageOperations * string * string * string * string * bool -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.OperationResultWithTrackingId>
<Extension()>
Public Function MigrateAsync (operations As ITemplateImageOperations, collectionName As String, targetAccountName As String, targetAccountKey As String, targetContainerName As String, overwriteExistingTemplateImage As Boolean) As Task(Of OperationResultWithTrackingId)
Parameters
- operations
- ITemplateImageOperations
Reference to the Microsoft.WindowsAzure.Management.RemoteApp.ITemplateImageOperations.
- 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
- overwriteExistingTemplateImage
- Boolean
Required. A flag denoting if the request is to overwrite the existing template image in the destination storage account
Returns
The response containing the operation tracking id.
Applies to
Azure SDK for .NET