DirectoryProperties Class

Directory's properties class.

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

Constructor

DirectoryProperties(**kwargs)

Keyword-Only Parameters

Name Description
metadata

A dict with name_value pairs to associate with the directory as metadata.

Variables

Name Description
name
str

The name of the directory.

last_modified

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

etag
str

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

server_encrypted

Whether encryption is enabled.

change_time

Change time for the file.

creation_time

Creation time for the file.

last_write_time

Last write time for the file.

last_access_time

Last access time for the file.

file_attributes

The file system attributes for files and directories.

permission_key
str

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

file_id
str

Required. FileId uniquely identifies the file or directory.

parent_id
str

ParentId uniquely identifies the parent directory of the object.

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()