WebSiteOperationsExtensions.BackupAsync Method (IWebSiteOperations, String, String, BackupRequest)
Backups a site on-demand.
Namespace: Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Syntax
public static Task<WebSiteBackupResponse> BackupAsync(
this IWebSiteOperations operations,
string webSpaceName,
string webSiteName,
BackupRequest backupRequest
)
public:
[ExtensionAttribute]
static Task<WebSiteBackupResponse^>^ BackupAsync(
IWebSiteOperations^ operations,
String^ webSpaceName,
String^ webSiteName,
BackupRequest^ backupRequest
)
static member BackupAsync :
operations:IWebSiteOperations *
webSpaceName:string *
webSiteName:string *
backupRequest:BackupRequest -> Task<WebSiteBackupResponse>
<ExtensionAttribute>
Public Shared Function BackupAsync (
operations As IWebSiteOperations,
webSpaceName As String,
webSiteName As String,
backupRequest As BackupRequest
) As Task(Of WebSiteBackupResponse)
Parameters
operations
Type: Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperationsReference to the Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations.
webSpaceName
Type: System.StringRequired. The name of the web space.
webSiteName
Type: System.StringRequired. The name of the web site.
backupRequest
Type: Microsoft.WindowsAzure.Management.WebSites.Models.BackupRequestRequired. A backup specification.
Return Value
Type: System.Threading.Tasks.Task<WebSiteBackupResponse>
The backup record created based on the backup request.
See Also
WebSiteOperationsExtensions Class
Microsoft.WindowsAzure Namespace
Return to top