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()
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應