IWebSiteOperations.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 System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteBackupResponse> BackupAsync (string webSpaceName, string webSiteName, Microsoft.WindowsAzure.Management.WebSites.Models.BackupRequest backupRequest, System.Threading.CancellationToken cancellationToken);
abstract member BackupAsync : string * string * Microsoft.WindowsAzure.Management.WebSites.Models.BackupRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteBackupResponse>
Public Function BackupAsync (webSpaceName As String, webSiteName As String, backupRequest As BackupRequest, cancellationToken As CancellationToken) As Task(Of WebSiteBackupResponse)
Parameters
- webSpaceName
- String
The name of the web space.
- webSiteName
- String
The name of the web site.
- backupRequest
- BackupRequest
A backup specification.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The backup record created based on the backup request.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET