Share via


AzureSqlDatabaseBackupLongTermRetentionPolicyModel Class

Definition

public class AzureSqlDatabaseBackupLongTermRetentionPolicyModel
type AzureSqlDatabaseBackupLongTermRetentionPolicyModel = class
Public Class AzureSqlDatabaseBackupLongTermRetentionPolicyModel
Inheritance
AzureSqlDatabaseBackupLongTermRetentionPolicyModel

Constructors

Name Description
AzureSqlDatabaseBackupLongTermRetentionPolicyModel()

Properties

Name Description
DatabaseName

Gets or sets the name of the database

Location

Gets or sets the location

MonthlyRetention

Gets or sets the monthly retention

RecoveryServicesBackupPolicyResourceId
ResourceGroupName

Gets or sets the name of the resource group

ServerName

Gets or sets the name of the server

State
TimeBasedImmutability

Gets or sets the setting for whether to enable time-based immutability for future backups. When set, future backups will have TimeBasedImmutability enabled. Possible values include: 'Enabled', 'Disabled'

TimeBasedImmutabilityMode

Gets or sets the setting for time-based immutability mode for future backup (Value can be either Locked or UnLocked. Only effective if TimeBasedImmutability is enabled). Caution: Immutability of LTR backup cannot be removed if TimeBasedImmutabilityMode is Locked. Possible values include: 'Locked', 'Unlocked'

WeeklyRetention

Gets or sets the weekly retention

WeekOfYear

Gets or sets the week of year for yearly retention

YearlyRetention

Gets or sets the yearly retention

Applies to