Handle Class

A listed Azure Storage handle item.

All required parameters must be populated in order to send to Azure.

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

Constructor

Handle(**kwargs)

Keyword-Only Parameters

Name Description
handle_id
str

Required. XSMB service handle ID

path
str

Required. File or directory name including full path starting from share root

file_id
str

Required. FileId uniquely identifies the file or directory.

parent_id
str

ParentId uniquely identifies the parent directory of the object.

session_id
str

Required. SMB session ID in context of which the file handle was opened

client_ip
str

Required. Client IP that opened the handle

open_time

Required. Time when the session that previously opened the handle has last been reconnected. (UTC)

last_reconnect_time

Time handle was last connected to (UTC)

access_rights
Optional[List[Literal['Read', 'Write', 'Delete']]]

Access rights of the handle.

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