共用方式為


DataProtectionRetentionRule Constructor

Definition

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

Exceptions

name or lifecycles is null.

Applies to