ManagementPolicyBaseBlob Class

Management policy action for base blob.

Inheritance
ManagementPolicyBaseBlob

Constructor

ManagementPolicyBaseBlob(*, tier_to_cool: Optional[azure.mgmt.storage.v2021_01_01.models._models_py3.DateAfterModification] = None, tier_to_archive: Optional[azure.mgmt.storage.v2021_01_01.models._models_py3.DateAfterModification] = None, delete: Optional[azure.mgmt.storage.v2021_01_01.models._models_py3.DateAfterModification] = None, enable_auto_tier_to_hot_from_cool: Optional[bool] = None, **kwargs)

Variables

tier_to_cool
DateAfterModification

The function to tier blobs to cool storage. Support blobs currently at Hot tier.

tier_to_archive
DateAfterModification

The function to tier blobs to archive storage. Support blobs currently at Hot or Cool tier.

delete
DateAfterModification

The function to delete the blob.

enable_auto_tier_to_hot_from_cool
bool

This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan.