Share via


AzureWebAppBackupConfiguration Class

Definition

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

Applies to