Delen via


BackupShortTermRetentionPolicy Constructors

Definition

Overloads

BackupShortTermRetentionPolicy()

Initializes a new instance of the BackupShortTermRetentionPolicy class.

BackupShortTermRetentionPolicy(String, String, String, Nullable<Int32>, Nullable<Int32>)

Initializes a new instance of the BackupShortTermRetentionPolicy class.

BackupShortTermRetentionPolicy()

Initializes a new instance of the BackupShortTermRetentionPolicy class.

public BackupShortTermRetentionPolicy ();
Public Sub New ()

Applies to

BackupShortTermRetentionPolicy(String, String, String, Nullable<Int32>, Nullable<Int32>)

Initializes a new instance of the BackupShortTermRetentionPolicy class.

public BackupShortTermRetentionPolicy (string id = default, string name = default, string type = default, int? retentionDays = default, int? diffBackupIntervalInHours = default);
new Microsoft.Azure.Management.Sql.Models.BackupShortTermRetentionPolicy : string * string * string * Nullable<int> * Nullable<int> -> Microsoft.Azure.Management.Sql.Models.BackupShortTermRetentionPolicy
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional retentionDays As Nullable(Of Integer) = Nothing, Optional diffBackupIntervalInHours As Nullable(Of Integer) = Nothing)

Parameters

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

retentionDays
Nullable<Int32>

The backup retention period in days. This is how many days Point-in-Time Restore will be supported.

diffBackupIntervalInHours
Nullable<Int32>

The differential backup interval in hours. This is how many interval hours between each differential backup will be supported. This is only applicable to live databases but not dropped databases.

Applies to