FileProperties Class

File's properties class.

Inheritance
azure.storage.fileshare._shared.models.DictMixin
FileProperties

Constructor

FileProperties(**kwargs)

Variables

name
str

The name of the file.

path
str

The path of the file.

share
str

The name of share.

snapshot
str

File snapshot.

content_length
int

Size of file in bytes.

metadata
dict

A dict with name_value pairs to associate with the file as metadata.

file_type
str

Type of the file.

last_modified
datetime

A datetime object representing the last time the file was modified.

etag
str

The ETag contains a value that you can use to perform operations conditionally.

size
int

Size of file in bytes.

content_range
str

The range of bytes.

server_encrypted
bool

Whether encryption is enabled.

copy
<xref:azure.storage.fileshare.CopyProperties>

The copy properties.

content_settings
ContentSettings

The content settings for the file.