你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BlobInventoryPolicyRule Class
An object that wraps the blob inventory rule. Each rule is uniquely defined by name.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.storage._serialization.ModelBlobInventoryPolicyRule
Constructor
BlobInventoryPolicyRule(*, enabled: bool, name: str, destination: str, definition: _models.BlobInventoryPolicyDefinition, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
enabled
|
Rule is enabled when set to true. Required. |
name
|
A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy. Required. |
destination
|
Container name where blob inventory files are stored. Must be pre-created. Required. |
definition
|
An object that defines the blob inventory policy rule. Required. |
Variables
Name | Description |
---|---|
enabled
|
Rule is enabled when set to true. Required. |
name
|
A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy. Required. |
destination
|
Container name where blob inventory files are stored. Must be pre-created. Required. |
definition
|
An object that defines the blob inventory policy rule. Required. |