ArmSqlModelFactory.BackupShortTermRetentionPolicyData Method
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.
Initializes a new instance of BackupShortTermRetentionPolicyData.
public static Azure.ResourceManager.Sql.BackupShortTermRetentionPolicyData BackupShortTermRetentionPolicyData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, int? retentionDays = default, Azure.ResourceManager.Sql.Models.DiffBackupIntervalInHours? diffBackupIntervalInHours = default);
static member BackupShortTermRetentionPolicyData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<int> * Nullable<Azure.ResourceManager.Sql.Models.DiffBackupIntervalInHours> -> Azure.ResourceManager.Sql.BackupShortTermRetentionPolicyData
Public Shared Function BackupShortTermRetentionPolicyData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional retentionDays As Nullable(Of Integer) = Nothing, Optional diffBackupIntervalInHours As Nullable(Of DiffBackupIntervalInHours) = Nothing) As BackupShortTermRetentionPolicyData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
The backup retention period in days. This is how many days Point-in-Time Restore will be supported.
- diffBackupIntervalInHours
- Nullable<DiffBackupIntervalInHours>
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.
Returns
A new BackupShortTermRetentionPolicyData instance for mocking.