你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AzureWebAppBackupConfiguration Class
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.
A simple class containing fields for all metadata associated with a backup configuration.
public class AzureWebAppBackupConfiguration
type AzureWebAppBackupConfiguration = class
Public Class AzureWebAppBackupConfiguration
- Inheritance
-
AzureWebAppBackupConfiguration
Constructors
AzureWebAppBackupConfiguration() |
Properties
Databases |
The databases to be backed up automatically along with the web app |
Enabled |
True if the automatic backups are enabled. |
FrequencyInterval |
Numeric part of backup frequency. For example, for weekly backups, FrequencyInterval = 7 and FrequencyUnit = Day. |
FrequencyUnit |
Unit of backup frequency. Valid options are Hour and Day. For example, for weekly backups, FrequencyInterval = 7 and FrequencyUnit = Day. |
KeepAtLeastOneBackup |
True if one backup should always be left in the storage account regardless of retention period. |
Name |
The name of the web app |
ResourceGroupName |
The resource group of the web app |
RetentionPeriodInDays |
Number of days the automatic backups should be retained before being automatically deleted. |
StartTime |
The time when the first automatic backup should be created. |
StorageAccountUrl |
SAS URL for the storage account container to use for scheduled backups |