WebSiteOperationsExtensions.Discover 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 static Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteRestoreDiscoverResponse Discover (this Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations operations, string webSpaceName, string webSiteName, Microsoft.WindowsAzure.Management.WebSites.Models.RestoreRequest restoreRequest);
static member Discover : Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations * string * string * Microsoft.WindowsAzure.Management.WebSites.Models.RestoreRequest -> Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteRestoreDiscoverResponse
<Extension()>
Public Function Discover (operations As IWebSiteOperations, webSpaceName As String, webSiteName As String, restoreRequest As RestoreRequest) As 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.

Applies to