BackupShortTermRetentionPolicy Constructors
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.
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.
The backup retention period in days. This is how many days Point-in-Time Restore will be supported.
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
Azure SDK for .NET