IWebSiteOperations.DiscoverAsync Method

Definition

Scans a backup in a storage account and returns database information etc. Should be called before calling Restore to discover what parameters are needed for the restore operation.

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteRestoreDiscoverResponse> DiscoverAsync (string webSpaceName, string webSiteName, Microsoft.WindowsAzure.Management.WebSites.Models.RestoreRequest restoreRequest, System.Threading.CancellationToken cancellationToken);
abstract member DiscoverAsync : string * string * Microsoft.WindowsAzure.Management.WebSites.Models.RestoreRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteRestoreDiscoverResponse>
Public Function DiscoverAsync (webSpaceName As String, webSiteName As String, restoreRequest As RestoreRequest, cancellationToken As CancellationToken) As Task(Of WebSiteRestoreDiscoverResponse)

Parameters

webSpaceName
String

The name of the web space.

webSiteName
String

The name of the web site.

restoreRequest
RestoreRequest

A restore request.

cancellationToken
CancellationToken

Cancellation token.

Returns

The information gathered about a backup storaged in a storage account.

Applies to