BlobInventoryPolicyDefinition Class

An object that defines the blob inventory rule.

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

Inheritance
BlobInventoryPolicyDefinition

Constructor

BlobInventoryPolicyDefinition(*, format: Union[str, azure.mgmt.storage.v2021_04_01.models._storage_management_client_enums.Format], schedule: Union[str, azure.mgmt.storage.v2021_04_01.models._storage_management_client_enums.Schedule], object_type: Union[str, azure.mgmt.storage.v2021_04_01.models._storage_management_client_enums.ObjectType], schema_fields: List[str], filters: Optional[azure.mgmt.storage.v2021_04_01.models._models_py3.BlobInventoryPolicyFilter] = None, **kwargs)

Variables

filters
BlobInventoryPolicyFilter

An object that defines the filter set.

format
str or Format

Required. This is a required field, it specifies the format for the inventory files. Possible values include: "Csv", "Parquet".

schedule
str or Schedule

Required. This is a required field. This field is used to schedule an inventory formation. Possible values include: "Daily", "Weekly".

object_type
str or ObjectType

Required. This is a required field. This field specifies the scope of the inventory created either at the blob or container level. Possible values include: "Blob", "Container".

schema_fields
list[str]

Required. This is a required field. This field specifies the fields and properties of the object to be included in the inventory. The Schema field value 'Name' is always required. The valid values for this field for the 'Blob' definition.objectType include 'Name, Creation-Time, Last-Modified, Content-Length, Content-MD5, BlobType, AccessTier, AccessTierChangeTime, Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, Snapshot, VersionId, IsCurrentVersion, Metadata, LastAccessTime'. The valid values for 'Container' definition.objectType include 'Name, Last-Modified, Metadata, LeaseStatus, LeaseState, LeaseDuration, PublicAccess, HasImmutabilityPolicy, HasLegalHold'. Schema field values 'Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl' are valid only for Hns enabled accounts.