DataProtectionRetentionRule Constructor
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 DataProtectionRetentionRule.
public DataProtectionRetentionRule (string name, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataProtectionBackup.Models.SourceLifeCycle> lifecycles);
new Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionRetentionRule : string * seq<Azure.ResourceManager.DataProtectionBackup.Models.SourceLifeCycle> -> Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionRetentionRule
Public Sub New (name As String, lifecycles As IEnumerable(Of SourceLifeCycle))
Parameters
- name
- String
- lifecycles
- IEnumerable<SourceLifeCycle>
Exceptions
name
or lifecycles
is null.