ArmStorageModelFactory.BlobInventoryPolicySchema 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.
Initializes a new instance of BlobInventoryPolicySchema.
public static Azure.ResourceManager.Storage.Models.BlobInventoryPolicySchema BlobInventoryPolicySchema (bool isEnabled = false, string destination = default, Azure.ResourceManager.Storage.Models.BlobInventoryRuleType ruleType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Storage.Models.BlobInventoryPolicyRule> rules = default);
static member BlobInventoryPolicySchema : bool * string * Azure.ResourceManager.Storage.Models.BlobInventoryRuleType * seq<Azure.ResourceManager.Storage.Models.BlobInventoryPolicyRule> -> Azure.ResourceManager.Storage.Models.BlobInventoryPolicySchema
Public Shared Function BlobInventoryPolicySchema (Optional isEnabled As Boolean = false, Optional destination As String = Nothing, Optional ruleType As BlobInventoryRuleType = Nothing, Optional rules As IEnumerable(Of BlobInventoryPolicyRule) = Nothing) As BlobInventoryPolicySchema
Parameters
- isEnabled
- Boolean
Policy is enabled if set to true.
- destination
- String
Deprecated Property from API version 2021-04-01 onwards, the required destination container name must be specified at the rule level 'policy.rule.destination'.
- ruleType
- BlobInventoryRuleType
The valid value is Inventory.
The storage account blob inventory policy rules. The rule is applied when it is enabled.
Returns
A new BlobInventoryPolicySchema instance for mocking.