BlobBackupAutoProtectionRule Constructor

Definition

Initializes a new instance of BlobBackupAutoProtectionRule.

public BlobBackupAutoProtectionRule(string objectType, Azure.ResourceManager.DataProtectionBackup.Models.BlobBackupRuleMode mode, Azure.ResourceManager.DataProtectionBackup.Models.BlobBackupPatternType type, string pattern);
new Azure.ResourceManager.DataProtectionBackup.Models.BlobBackupAutoProtectionRule : string * Azure.ResourceManager.DataProtectionBackup.Models.BlobBackupRuleMode * Azure.ResourceManager.DataProtectionBackup.Models.BlobBackupPatternType * string -> Azure.ResourceManager.DataProtectionBackup.Models.BlobBackupAutoProtectionRule
Public Sub New (objectType As String, mode As BlobBackupRuleMode, type As BlobBackupPatternType, pattern As String)

Parameters

objectType
String

Type of the specific object - used for deserializing.

mode
BlobBackupRuleMode

Exclude removes candidates (after inclusion).

type
BlobBackupPatternType

Pattern type: Prefix, only pattern type supported for now.

pattern
String

The string pattern to evaluate against container names. For now this accepts literal strings only (no wildcards or regex).

Exceptions

objectType or pattern is null.

Applies to