WebSiteOperationsExtensions.Backup Method (IWebSiteOperations, String, String, BackupRequest)
Backups a site on-demand.
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
<ExtensionAttribute> Public Shared Function Backup ( operations As IWebSiteOperations, webSpaceName As String, webSiteName As String, backupRequest As BackupRequest ) As WebSiteBackupResponse
Parameters
- operations
-
Type:
Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations
Reference to the Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations.
- webSpaceName
-
Type:
System.String
Required. The name of the web space.
- webSiteName
-
Type:
System.String
Required. The name of the web site.
- backupRequest
-
Type:
Microsoft.WindowsAzure.Management.WebSites.Models.BackupRequest
Required. A backup specification.
Return Value
Type: Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteBackupResponseThe backup record created based on the backup request.
Show: