FileProperties Class
File's properties class.
- Inheritance
-
azure.storage.fileshare._shared.models.DictMixinFileProperties
Constructor
FileProperties(**kwargs)
Variables
Name | Description |
---|---|
name
|
The name of the file. |
path
|
The path of the file. |
share
|
The name of share. |
snapshot
|
File snapshot. |
content_length
|
Size of file in bytes. |
metadata
|
A dict with name_value pairs to associate with the file as metadata. |
file_type
|
Type of the file. |
last_modified
|
A datetime object representing the last time the file was modified. |
etag
|
The ETag contains a value that you can use to perform operations conditionally. |
size
|
Size of file in bytes. |
content_range
|
The range of bytes. |
server_encrypted
|
Whether encryption is enabled. |
copy
|
<xref:azure.storage.fileshare.CopyProperties>
The copy properties. |
content_settings
|
The content settings for the file. |
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()
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python