WebSiteOperationsExtensions.DiscoverAsync 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.
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 static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteRestoreDiscoverResponse> DiscoverAsync (this Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations operations, string webSpaceName, string webSiteName, Microsoft.WindowsAzure.Management.WebSites.Models.RestoreRequest restoreRequest);
static member DiscoverAsync : Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations * string * string * Microsoft.WindowsAzure.Management.WebSites.Models.RestoreRequest -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteRestoreDiscoverResponse>
<Extension()>
Public Function DiscoverAsync (operations As IWebSiteOperations, webSpaceName As String, webSiteName As String, restoreRequest As RestoreRequest) As Task(Of WebSiteRestoreDiscoverResponse)
Parameters
- operations
- IWebSiteOperations
Reference to the Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations.
- webSpaceName
- String
Required. The name of the web space.
- webSiteName
- String
Required. The name of the web site.
- restoreRequest
- RestoreRequest
Required. A restore request.
Returns
The information gathered about a backup storaged in a storage account.