FileProperties Class
- Inheritance
-
azure.storage.filedatalake._shared.models.DictMixinFileProperties
Constructor
FileProperties(**kwargs)
Variables
Name | Description |
---|---|
name
|
name of the file |
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 file marked as deleted |
metadata
|
Name-value pairs associated with the file 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 file. |
last_modified
|
A datetime object representing the last time the file was modified. |
creation_time
|
Indicates when the file was created, in UTC. |
size
|
size of the file |
remaining_retention_days
|
The number of days that the file will be retained before being permanently deleted by the service. |
encryption_context
|
Specifies the encryption context to set on the file. |
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()
Azure SDK for Python