DirectoryProperties Class
Directory's properties class.
- Inheritance
-
azure.storage.fileshare._shared.models.DictMixinDirectoryProperties
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
|
The name of the directory. |
last_modified
|
A datetime object representing the last time the directory was modified. |
etag
|
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
|
Key of the permission to be set for the directory/file. |
file_id
|
Required. FileId uniquely identifies the file or directory. |
parent_id
|
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()
Azure SDK for Python
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for