DirectoryProperties Class

Directory's properties class.

Inheritance
azure.storage.fileshare._shared.models.DictMixin
DirectoryProperties

Constructor

DirectoryProperties(**kwargs: Any)

Methods

get
has_key
items
keys
update
values

get

get(key, default=None)

Parameters

Name Description
key
Required
default
Default value: None

has_key

has_key(k)

Parameters

Name Description
k
Required

items

items()

keys

keys()

update

update(*args, **kwargs)

values

values()

Attributes

change_time

Change time for the file.

change_time: datetime | str | None = None

creation_time

Creation time for the file.

creation_time: datetime | str | None = None

etag

The ETag contains a value that you can use to perform operations conditionally.

etag: str

file_attributes

The file system attributes for files and directories.

file_attributes: str | NTFSAttributes

file_id

FileId uniquely identifies the file or directory.

file_id: str

is_directory

Whether input is a directory.

is_directory: bool = True

last_access_time

Last access time for the file.

last_access_time: datetime | None = None

last_modified

A datetime object representing the last time the directory was modified.

last_modified: datetime

last_write_time

Last write time for the file.

last_write_time: datetime | str | None = None

metadata

Name_value pairs to associate with the directory as metadata.

metadata: Dict[str, str]

name

The name of the directory.

name: str

parent_id

ParentId uniquely identifies the parent directory of the object.

parent_id: str

permission_key

Key of the permission to be set for the directory/file.

permission_key: str

server_encrypted

Whether encryption is enabled.

server_encrypted: bool