Share via


BlobInventoryPolicySchema Constructor

Definition

Initializes a new instance of BlobInventoryPolicySchema.

public BlobInventoryPolicySchema (bool isEnabled, Azure.ResourceManager.Storage.Models.BlobInventoryRuleType ruleType, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Storage.Models.BlobInventoryPolicyRule> rules);
new Azure.ResourceManager.Storage.Models.BlobInventoryPolicySchema : bool * Azure.ResourceManager.Storage.Models.BlobInventoryRuleType * seq<Azure.ResourceManager.Storage.Models.BlobInventoryPolicyRule> -> Azure.ResourceManager.Storage.Models.BlobInventoryPolicySchema
Public Sub New (isEnabled As Boolean, ruleType As BlobInventoryRuleType, rules As IEnumerable(Of BlobInventoryPolicyRule))

Parameters

isEnabled
Boolean

Policy is enabled if set to true.

ruleType
BlobInventoryRuleType

The valid value is Inventory.

rules
IEnumerable<BlobInventoryPolicyRule>

The storage account blob inventory policy rules. The rule is applied when it is enabled.

Exceptions

rules is null.

Applies to