共用方式為


Handle 類別

列出的 Azure 儲存體控制碼專案。

必須填入所有必要的參數,才能傳送至 Azure。

繼承
azure.storage.fileshare._shared.models.DictMixin
Handle

建構函式

Handle(**kwargs)

僅限關鍵字的參數

名稱 Description
handle_id
str

必要。 XSMB 服務控制碼識別碼

path
str

必要。 檔案或目錄名稱,包括從共用根目錄開始的完整路徑

file_id
str

必要。 FileId 可唯一識別檔案或目錄。

parent_id
str

ParentId 可唯一識別物件的父目錄。

session_id
str

必要。 開啟檔案控制代碼內容的 SMB 會話識別碼

client_ip
str

必要。 開啟控制碼的用戶端 IP

open_time

必要。 上次重新連接先前開啟控制碼的會話的時間。 (UTC)

last_reconnect_time

時間控制碼上次連線到 UTC ()

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

控制碼的存取權限。

方法

get
has_key
items
keys
update
values

get

get(key, default=None)

參數

名稱 Description
key
必要
default
預設值: None

has_key

has_key(k)

參數

名稱 Description
k
必要

items

items()

keys

keys()

update

update(*args, **kwargs)

values

values()