FileSystemProperties Class

File System properties class.

Returned FileSystemProperties instances expose these values through a dictionary interface, for example: file_system_props["last_modified"]. Additionally, the file system name is available as file_system_props["name"].

Constructor

FileSystemProperties(**kwargs: Any)

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()

Attributes

deleted

Whether this file system was deleted.

deleted: bool | None = None

deleted_version

The version of a deleted file system.

deleted_version: str | None = None

encryption_scope

The default encryption scope configuration for the file system.

encryption_scope: EncryptionScopeOptions

etag

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

etag: str

has_immutability_policy

Represents whether the file system has an immutability policy.

has_immutability_policy: bool

Represents whether the file system has a legal hold.

has_legal_hold: bool

last_modified

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

last_modified: datetime

lease

Stores all the lease information for the file system.

lease: LeaseProperties

metadata

A dict with name-value pairs to associate with the file system as metadata.

metadata: Dict[str, str]

name

Name of the filesystem.

name: str

public_access

Specifies whether data in the file system may be accessed publicly and the level of access.

public_access: str | None = None