WebAppsOperationsExtensions.MigrateStorageAsync(IWebAppsOperations, String, String, String, StorageMigrationOptions, CancellationToken) Method

Definition

Restores a web app.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.StorageMigrationResponse> MigrateStorageAsync (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string subscriptionName, string resourceGroupName, string name, Microsoft.Azure.Management.WebSites.Models.StorageMigrationOptions migrationOptions, System.Threading.CancellationToken cancellationToken = null);
static member MigrateStorageAsync : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * string * Microsoft.Azure.Management.WebSites.Models.StorageMigrationOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.StorageMigrationResponse>

Parameters

operations
IWebAppsOperations

The operations group for this extension method.

subscriptionName
System.String

Azure subscription.

resourceGroupName
System.String

Name of the resource group to which the resource belongs.

name
System.String

Name of web app.

migrationOptions
StorageMigrationOptions

Migration migrationOptions.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<StorageMigrationResponse>

Remarks

Restores a web app.

Applies to