ManagementPolicyFilter Class

Filters limit rule actions to a subset of blobs within the storage account. If multiple filters are defined, a logical AND is performed on all filters.

All required parameters must be populated in order to send to Azure.

Inheritance
ManagementPolicyFilter

Constructor

ManagementPolicyFilter(*, blob_types: List[str], prefix_match: Optional[List[str]] = None, blob_index_match: Optional[List[azure.mgmt.storage.v2021_02_01.models._models_py3.TagFilter]] = None, **kwargs)

Variables

prefix_match
list[str]

An array of strings for prefixes to be match.

blob_types
list[str]

Required. An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob.

blob_index_match
list[TagFilter]

An array of blob index tag based filters, there can be at most 10 tag filters.