ContainerProperties Class
Blob container's properties class.
Returned ContainerProperties
instances expose these values through a
dictionary interface, for example: container_props["last_modified"]
.
Additionally, the container name is available as container_props["name"]
.
- Inheritance
-
azure.storage.blob._shared.models.DictMixinContainerProperties
Constructor
ContainerProperties(**kwargs)
Variables
- name
- str
Name of the container.
- last_modified
- datetime
A datetime object representing the last time the container was modified.
- etag
- str
The ETag contains a value that you can use to perform operations conditionally.
- lease
- LeaseProperties
Stores all the lease information for the container.
- public_access
- str
Specifies whether data in the container may be accessed publicly and the level of access.
- has_immutability_policy
- bool
Represents whether the container has an immutability policy.
- has_legal_hold
- bool
Represents whether the container has a legal hold.
- immutable_storage_with_versioning_enabled
- bool
Represents whether immutable storage with versioning enabled on the container.
New in version 12.10.0: This was introduced in API version '2020-10-02'.
- metadata
- dict
A dict with name-value pairs to associate with the container as metadata.
- encryption_scope
- ContainerEncryptionScope
The default encryption scope configuration for the container.
- deleted
- bool
Whether this container was deleted.
- version
- str
The version of a deleted container.
Feedback
Submit and view feedback for