ArmDataProtectionBackupModelFactory.BlobBackupAutoProtectionRule 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.
Indicates a Blob Backup Auto Protection Rule.
public static Azure.ResourceManager.DataProtectionBackup.Models.BlobBackupAutoProtectionRule BlobBackupAutoProtectionRule(string objectType = default, Azure.ResourceManager.DataProtectionBackup.Models.BlobBackupRuleMode mode = default, Azure.ResourceManager.DataProtectionBackup.Models.BlobBackupPatternType type = default, string pattern = default);
static member BlobBackupAutoProtectionRule : string * Azure.ResourceManager.DataProtectionBackup.Models.BlobBackupRuleMode * Azure.ResourceManager.DataProtectionBackup.Models.BlobBackupPatternType * string -> Azure.ResourceManager.DataProtectionBackup.Models.BlobBackupAutoProtectionRule
Public Shared Function BlobBackupAutoProtectionRule (Optional objectType As String = Nothing, Optional mode As BlobBackupRuleMode = Nothing, Optional type As BlobBackupPatternType = Nothing, Optional pattern As String = Nothing) As BlobBackupAutoProtectionRule
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).
Returns
A new BlobBackupAutoProtectionRule instance for mocking.