ArmDataProtectionBackupModelFactory.DataProtectionRetentionRule 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.
Azure retention rule.
public static Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionRetentionRule DataProtectionRetentionRule(string name = default, bool? isDefault = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataProtectionBackup.Models.SourceLifeCycle> lifecycles = default);
static member DataProtectionRetentionRule : string * Nullable<bool> * seq<Azure.ResourceManager.DataProtectionBackup.Models.SourceLifeCycle> -> Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionRetentionRule
Public Shared Function DataProtectionRetentionRule (Optional name As String = Nothing, Optional isDefault As Nullable(Of Boolean) = Nothing, Optional lifecycles As IEnumerable(Of SourceLifeCycle) = Nothing) As DataProtectionRetentionRule
Parameters
- name
- String
- lifecycles
- IEnumerable<SourceLifeCycle>
Returns
A new DataProtectionRetentionRule instance for mocking.