你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DirectoryProperties Class
- Inheritance
-
azure.storage.filedatalake._shared.models.DictMixinDirectoryProperties
Constructor
DirectoryProperties(**kwargs)
Variables
Name | Description |
---|---|
name
|
name of the directory |
owner
|
The owner of the file or directory. |
group
|
The owning group of the file or directory. |
permissions
|
The permissions that are set for user, group, and other on the file or directory. Each individual permission is in [r,w,x,-]{3} format. |
acl
|
The POSIX ACL permissions of the file or directory. |
etag
|
The ETag contains a value that you can use to perform operations conditionally. |
deleted
|
if the current directory marked as deleted |
metadata
|
Name-value pairs associated with the directory as metadata. |
encryption_scope
|
A predefined encryption scope used to encrypt the data on the service. An encryption scope can be created using the Management API and referenced here by name. If a default encryption scope has been defined at the file system, this value will override it if the file system level scope is configured to allow overrides. Otherwise an error will be raised. |
lease
|
Stores all the lease information for the directory. |
last_modified
|
A datetime object representing the last time the directory was modified. |
creation_time
|
Indicates when the directory was created, in UTC. |
remaining_retention_days
|
The number of days that the directory will be retained before being permanently deleted by the service. |
content_settings
|
|
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()