Dela via


WebAppsOperationsExtensions.MigrateStorageAsync 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 = default);
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>
<Extension()>
Public Function MigrateStorageAsync (operations As IWebAppsOperations, subscriptionName As String, resourceGroupName As String, name As String, migrationOptions As StorageMigrationOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of StorageMigrationResponse)

Parameters

operations
IWebAppsOperations

The operations group for this extension method.

subscriptionName
String

Azure subscription.

resourceGroupName
String

Name of the resource group to which the resource belongs.

name
String

Name of web app.

migrationOptions
StorageMigrationOptions

Migration migrationOptions.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Restores a web app.

Applies to