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_06_01.models._storage_management_client_enums.Format], schedule: Union[str, azure.mgmt.storage.v2021_06_01.models._storage_management_client_enums.Schedule], object_type: Union[str, azure.mgmt.storage.v2021_06_01.models._storage_management_client_enums.ObjectType], schema_fields: List[str], filters: Optional[azure.mgmt.storage.v2021_06_01.models._models_py3.BlobInventoryPolicyFilter] = None, **kwargs)
Variables
- filters
- BlobInventoryPolicyFilter
An object that defines the filter set.
Required. This is a required field, it specifies the format for the inventory files. Possible values include: "Csv", "Parquet".
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".
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, AccessTierInferred, Tags, 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.'Tags' field is only valid for non Hns accounts.
Feedback
Submit and view feedback for