WebSiteOperationsExtensions.BackupAsync 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.
Backups a site on-demand.
public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteBackupResponse> BackupAsync (this Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations operations, string webSpaceName, string webSiteName, Microsoft.WindowsAzure.Management.WebSites.Models.BackupRequest backupRequest);
static member BackupAsync : Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations * string * string * Microsoft.WindowsAzure.Management.WebSites.Models.BackupRequest -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteBackupResponse>
<Extension()>
Public Function BackupAsync (operations As IWebSiteOperations, webSpaceName As String, webSiteName As String, backupRequest As BackupRequest) As Task(Of WebSiteBackupResponse)
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.
- backupRequest
- BackupRequest
Required. A backup specification.
Returns
The backup record created based on the backup request.