dir_summary_storage_quota Property
The storage type quota imposed on the directory.
Syntax
def get_dir_summary_storage_quota() -> int: ...
dir_summary_storage_quota = property(get_dir_summary_storage_quota, None)
Default Value
-1
Remarks
The storage type quota imposed on the directory.
This property reflects the storage type quota (in bytes) imposed on the directory for the dir_summary_storage_quota_type currently selected by dir_summary_storage_quota_index.
Storage type quotas limit the number of bytes that files within a directory (or any of its subdirectories) may consume on specific types of storage mediums. Multiple storage type quotas, each associated with a different type of storage medium, may be imposed on a directory simultaneously. Storage type quotas are tracked separately from a directory's overall dir_summary_space_quota.
Use dir_summary_storage_quota_count to determine how many storage type quotas are imposed on a directory, and dir_summary_storage_quota_index to select which storage type quota's information to reflect in the dir_summary_storage_quota, dir_summary_storage_quota_type, and dir_summary_storage_quota_used properties.
Note that it is possible for a storage type quota to be imposed on a directory without actually restricting any space usage, in which case this property's value will be -1.
This property is read-only.