ArmSqlModelFactory.ManagedInstanceLongTermRetentionPolicyData 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 ManagedInstanceLongTermRetentionPolicyData.
public static Azure.ResourceManager.Sql.ManagedInstanceLongTermRetentionPolicyData ManagedInstanceLongTermRetentionPolicyData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string weeklyRetention = default, string monthlyRetention = default, string yearlyRetention = default, int? weekOfYear = default);
static member ManagedInstanceLongTermRetentionPolicyData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * Nullable<int> -> Azure.ResourceManager.Sql.ManagedInstanceLongTermRetentionPolicyData
Public Shared Function ManagedInstanceLongTermRetentionPolicyData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional weeklyRetention As String = Nothing, Optional monthlyRetention As String = Nothing, Optional yearlyRetention As String = Nothing, Optional weekOfYear As Nullable(Of Integer) = Nothing) As ManagedInstanceLongTermRetentionPolicyData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- weeklyRetention
- String
The weekly retention policy for an LTR backup in an ISO 8601 format.
- monthlyRetention
- String
The monthly retention policy for an LTR backup in an ISO 8601 format.
- yearlyRetention
- String
The yearly retention policy for an LTR backup in an ISO 8601 format.
Returns
A new ManagedInstanceLongTermRetentionPolicyData instance for mocking.