BlobInventoryPolicyRule 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 BlobInventoryPolicyRule.
public BlobInventoryPolicyRule (bool isEnabled, string name, string destination, Azure.ResourceManager.Storage.Models.BlobInventoryPolicyDefinition definition);
new Azure.ResourceManager.Storage.Models.BlobInventoryPolicyRule : bool * string * string * Azure.ResourceManager.Storage.Models.BlobInventoryPolicyDefinition -> Azure.ResourceManager.Storage.Models.BlobInventoryPolicyRule
Public Sub New (isEnabled As Boolean, name As String, destination As String, definition As BlobInventoryPolicyDefinition)
Parameters
- isEnabled
- Boolean
Rule is enabled when set to true.
- name
- String
A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
- destination
- String
Container name where blob inventory files are stored. Must be pre-created.
- definition
- BlobInventoryPolicyDefinition
An object that defines the blob inventory policy rule.
Exceptions
name
, destination
or definition
is null.
Applies to
Azure SDK for .NET