BlobBackupAutoProtectionRule 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 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).
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.