azure-native.web.WebAppBackupConfigurationSlot

Explore with Pulumi AI

Description of a backup which will be performed. API Version: 2020-12-01.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:web:WebAppBackupConfigurationSlot myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup 

Create WebAppBackupConfigurationSlot Resource

new WebAppBackupConfigurationSlot(name: string, args: WebAppBackupConfigurationSlotArgs, opts?: CustomResourceOptions);
@overload
def WebAppBackupConfigurationSlot(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  backup_name: Optional[str] = None,
                                  backup_schedule: Optional[BackupScheduleArgs] = None,
                                  databases: Optional[Sequence[DatabaseBackupSettingArgs]] = None,
                                  enabled: Optional[bool] = None,
                                  kind: Optional[str] = None,
                                  name: Optional[str] = None,
                                  resource_group_name: Optional[str] = None,
                                  slot: Optional[str] = None,
                                  storage_account_url: Optional[str] = None)
@overload
def WebAppBackupConfigurationSlot(resource_name: str,
                                  args: WebAppBackupConfigurationSlotArgs,
                                  opts: Optional[ResourceOptions] = None)
func NewWebAppBackupConfigurationSlot(ctx *Context, name string, args WebAppBackupConfigurationSlotArgs, opts ...ResourceOption) (*WebAppBackupConfigurationSlot, error)
public WebAppBackupConfigurationSlot(string name, WebAppBackupConfigurationSlotArgs args, CustomResourceOptions? opts = null)
public WebAppBackupConfigurationSlot(String name, WebAppBackupConfigurationSlotArgs args)
public WebAppBackupConfigurationSlot(String name, WebAppBackupConfigurationSlotArgs args, CustomResourceOptions options)
type: azure-native:web:WebAppBackupConfigurationSlot
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args WebAppBackupConfigurationSlotArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args WebAppBackupConfigurationSlotArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args WebAppBackupConfigurationSlotArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args WebAppBackupConfigurationSlotArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args WebAppBackupConfigurationSlotArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

WebAppBackupConfigurationSlot Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The WebAppBackupConfigurationSlot resource accepts the following input properties:

Name string

Name of the app.

ResourceGroupName string

Name of the resource group to which the resource belongs.

Slot string

Name of the deployment slot. If a slot is not specified, the API will update the backup configuration for the production slot.

StorageAccountUrl string

SAS URL to the container.

BackupName string

Name of the backup.

BackupSchedule Pulumi.AzureNative.Web.Inputs.BackupScheduleArgs

Schedule for the backup if it is executed periodically.

Databases List<Pulumi.AzureNative.Web.Inputs.DatabaseBackupSettingArgs>

Databases included in the backup.

Enabled bool

True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled.

Kind string

Kind of resource.

Name string

Name of the app.

ResourceGroupName string

Name of the resource group to which the resource belongs.

Slot string

Name of the deployment slot. If a slot is not specified, the API will update the backup configuration for the production slot.

StorageAccountUrl string

SAS URL to the container.

BackupName string

Name of the backup.

BackupSchedule BackupScheduleArgs

Schedule for the backup if it is executed periodically.

Databases []DatabaseBackupSettingArgs

Databases included in the backup.

Enabled bool

True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled.

Kind string

Kind of resource.

name String

Name of the app.

resourceGroupName String

Name of the resource group to which the resource belongs.

slot String

Name of the deployment slot. If a slot is not specified, the API will update the backup configuration for the production slot.

storageAccountUrl String

SAS URL to the container.

backupName String

Name of the backup.

backupSchedule BackupScheduleArgs

Schedule for the backup if it is executed periodically.

databases List<DatabaseBackupSettingArgs>

Databases included in the backup.

enabled Boolean

True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled.

kind String

Kind of resource.

name string

Name of the app.

resourceGroupName string

Name of the resource group to which the resource belongs.

slot string

Name of the deployment slot. If a slot is not specified, the API will update the backup configuration for the production slot.

storageAccountUrl string

SAS URL to the container.

backupName string

Name of the backup.

backupSchedule BackupScheduleArgs

Schedule for the backup if it is executed periodically.

databases DatabaseBackupSettingArgs[]

Databases included in the backup.

enabled boolean

True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled.

kind string

Kind of resource.

name str

Name of the app.

resource_group_name str

Name of the resource group to which the resource belongs.

slot str

Name of the deployment slot. If a slot is not specified, the API will update the backup configuration for the production slot.

storage_account_url str

SAS URL to the container.

backup_name str

Name of the backup.

backup_schedule BackupScheduleArgs

Schedule for the backup if it is executed periodically.

databases Sequence[DatabaseBackupSettingArgs]

Databases included in the backup.

enabled bool

True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled.

kind str

Kind of resource.

name String

Name of the app.

resourceGroupName String

Name of the resource group to which the resource belongs.

slot String

Name of the deployment slot. If a slot is not specified, the API will update the backup configuration for the production slot.

storageAccountUrl String

SAS URL to the container.

backupName String

Name of the backup.

backupSchedule Property Map

Schedule for the backup if it is executed periodically.

databases List<Property Map>

Databases included in the backup.

enabled Boolean

True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled.

kind String

Kind of resource.

Outputs

All input properties are implicitly available as output properties. Additionally, the WebAppBackupConfigurationSlot resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Type string

Resource type.

Id string

The provider-assigned unique ID for this managed resource.

Type string

Resource type.

id String

The provider-assigned unique ID for this managed resource.

type String

Resource type.

id string

The provider-assigned unique ID for this managed resource.

type string

Resource type.

id str

The provider-assigned unique ID for this managed resource.

type str

Resource type.

id String

The provider-assigned unique ID for this managed resource.

type String

Resource type.

Supporting Types

BackupSchedule

FrequencyInterval int

How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day)

FrequencyUnit Pulumi.AzureNative.Web.FrequencyUnit

The unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7)

KeepAtLeastOneBackup bool

True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise.

RetentionPeriodInDays int

After how many days backups should be deleted.

StartTime string

When the schedule should start working.

FrequencyInterval int

How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day)

FrequencyUnit FrequencyUnit

The unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7)

KeepAtLeastOneBackup bool

True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise.

RetentionPeriodInDays int

After how many days backups should be deleted.

StartTime string

When the schedule should start working.

frequencyInterval Integer

How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day)

frequencyUnit FrequencyUnit

The unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7)

keepAtLeastOneBackup Boolean

True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise.

retentionPeriodInDays Integer

After how many days backups should be deleted.

startTime String

When the schedule should start working.

frequencyInterval number

How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day)

frequencyUnit FrequencyUnit

The unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7)

keepAtLeastOneBackup boolean

True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise.

retentionPeriodInDays number

After how many days backups should be deleted.

startTime string

When the schedule should start working.

frequency_interval int

How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day)

frequency_unit FrequencyUnit

The unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7)

keep_at_least_one_backup bool

True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise.

retention_period_in_days int

After how many days backups should be deleted.

start_time str

When the schedule should start working.

frequencyInterval Number

How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day)

frequencyUnit "Day" | "Hour"

The unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7)

keepAtLeastOneBackup Boolean

True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise.

retentionPeriodInDays Number

After how many days backups should be deleted.

startTime String

When the schedule should start working.

BackupScheduleResponse

FrequencyInterval int

How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day)

FrequencyUnit string

The unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7)

KeepAtLeastOneBackup bool

True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise.

LastExecutionTime string

Last time when this schedule was triggered.

RetentionPeriodInDays int

After how many days backups should be deleted.

StartTime string

When the schedule should start working.

FrequencyInterval int

How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day)

FrequencyUnit string

The unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7)

KeepAtLeastOneBackup bool

True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise.

LastExecutionTime string

Last time when this schedule was triggered.

RetentionPeriodInDays int

After how many days backups should be deleted.

StartTime string

When the schedule should start working.

frequencyInterval Integer

How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day)

frequencyUnit String

The unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7)

keepAtLeastOneBackup Boolean

True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise.

lastExecutionTime String

Last time when this schedule was triggered.

retentionPeriodInDays Integer

After how many days backups should be deleted.

startTime String

When the schedule should start working.

frequencyInterval number

How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day)

frequencyUnit string

The unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7)

keepAtLeastOneBackup boolean

True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise.

lastExecutionTime string

Last time when this schedule was triggered.

retentionPeriodInDays number

After how many days backups should be deleted.

startTime string

When the schedule should start working.

frequency_interval int

How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day)

frequency_unit str

The unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7)

keep_at_least_one_backup bool

True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise.

last_execution_time str

Last time when this schedule was triggered.

retention_period_in_days int

After how many days backups should be deleted.

start_time str

When the schedule should start working.

frequencyInterval Number

How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day)

frequencyUnit String

The unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7)

keepAtLeastOneBackup Boolean

True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise.

lastExecutionTime String

Last time when this schedule was triggered.

retentionPeriodInDays Number

After how many days backups should be deleted.

startTime String

When the schedule should start working.

DatabaseBackupSetting

DatabaseType string | Pulumi.AzureNative.Web.DatabaseType

Database type (e.g. SqlAzure / MySql).

ConnectionString string

Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one.

ConnectionStringName string

Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options.

Name string
DatabaseType string | DatabaseType

Database type (e.g. SqlAzure / MySql).

ConnectionString string

Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one.

ConnectionStringName string

Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options.

Name string
databaseType String | DatabaseType

Database type (e.g. SqlAzure / MySql).

connectionString String

Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one.

connectionStringName String

Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options.

name String
databaseType string | DatabaseType

Database type (e.g. SqlAzure / MySql).

connectionString string

Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one.

connectionStringName string

Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options.

name string
database_type str | DatabaseType

Database type (e.g. SqlAzure / MySql).

connection_string str

Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one.

connection_string_name str

Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options.

name str
databaseType String | "SqlAzure" | "MySql" | "LocalMySql" | "PostgreSql"

Database type (e.g. SqlAzure / MySql).

connectionString String

Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one.

connectionStringName String

Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options.

name String

DatabaseBackupSettingResponse

DatabaseType string

Database type (e.g. SqlAzure / MySql).

ConnectionString string

Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one.

ConnectionStringName string

Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options.

Name string
DatabaseType string

Database type (e.g. SqlAzure / MySql).

ConnectionString string

Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one.

ConnectionStringName string

Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options.

Name string
databaseType String

Database type (e.g. SqlAzure / MySql).

connectionString String

Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one.

connectionStringName String

Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options.

name String
databaseType string

Database type (e.g. SqlAzure / MySql).

connectionString string

Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one.

connectionStringName string

Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options.

name string
database_type str

Database type (e.g. SqlAzure / MySql).

connection_string str

Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one.

connection_string_name str

Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options.

name str
databaseType String

Database type (e.g. SqlAzure / MySql).

connectionString String

Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one.

connectionStringName String

Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options.

name String

DatabaseType

SqlAzure
SqlAzure
MySql
MySql
LocalMySql
LocalMySql
PostgreSql
PostgreSql
DatabaseTypeSqlAzure
SqlAzure
DatabaseTypeMySql
MySql
DatabaseTypeLocalMySql
LocalMySql
DatabaseTypePostgreSql
PostgreSql
SqlAzure
SqlAzure
MySql
MySql
LocalMySql
LocalMySql
PostgreSql
PostgreSql
SqlAzure
SqlAzure
MySql
MySql
LocalMySql
LocalMySql
PostgreSql
PostgreSql
SQL_AZURE
SqlAzure
MY_SQL
MySql
LOCAL_MY_SQL
LocalMySql
POSTGRE_SQL
PostgreSql
"SqlAzure"
SqlAzure
"MySql"
MySql
"LocalMySql"
LocalMySql
"PostgreSql"
PostgreSql

FrequencyUnit

Day
Day
Hour
Hour
FrequencyUnitDay
Day
FrequencyUnitHour
Hour
Day
Day
Hour
Hour
Day
Day
Hour
Hour
DAY
Day
HOUR
Hour
"Day"
Day
"Hour"
Hour

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0