IWebSiteOperations.DiscoverAsync Method (String, String, RestoreRequest, CancellationToken)
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.
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Task<WebSiteRestoreDiscoverResponse> DiscoverAsync( string webSpaceName, string webSiteName, RestoreRequest restoreRequest, CancellationToken cancellationToken )
Parameters
- webSpaceName
-
Type:
System.String
The name of the web space.
- webSiteName
-
Type:
System.String
The name of the web site.
- restoreRequest
-
Type:
Microsoft.WindowsAzure.Management.WebSites.Models.RestoreRequest
A restore request.
- cancellationToken
-
Type:
System.Threading.CancellationToken
Cancellation token.
Return Value
Type: System.Threading.Tasks.Task<WebSiteRestoreDiscoverResponse>The information gathered about a backup storaged in a storage account.
Show: