TableServicesOperations 類別
- 繼承
-
builtins.objectTableServicesOperations
建構函式
TableServicesOperations(*args, **kwargs)
方法
get_service_properties |
取得儲存體帳戶資料表服務的屬性,包括儲存體分析和 CORS (跨原始來源資源分享) 規則的屬性。 |
list |
列出儲存體帳戶的所有資料表服務。 |
set_service_properties |
設定儲存體帳戶資料表服務的屬性,包括儲存體分析和 CORS (跨原始來源資源分享) 規則的屬性。 |
get_service_properties
取得儲存體帳戶資料表服務的屬性,包括儲存體分析和 CORS (跨原始來源資源分享) 規則的屬性。
get_service_properties(resource_group_name: str, account_name: str, table_service_name: str | Enum30, **kwargs: Any) -> TableServiceProperties
參數
- cls
- callable
將傳遞直接回應的自訂類型或函式
傳回
TableServiceProperties 或 cls 的結果 (回應)
傳回類型
例外狀況
list
列出儲存體帳戶的所有資料表服務。
list(resource_group_name: str, account_name: str, **kwargs: Any) -> ListTableServices
參數
- cls
- callable
將傳遞直接回應的自訂類型或函式
傳回
ListTableServices 或 cls 的結果 (回應)
傳回類型
例外狀況
set_service_properties
設定儲存體帳戶資料表服務的屬性,包括儲存體分析和 CORS (跨原始來源資源分享) 規則的屬性。
set_service_properties(resource_group_name: str, account_name: str, table_service_name: str | _models.Enum30, parameters: _models.TableServiceProperties, *, content_type: str = 'application/json', **kwargs: Any) -> _models.TableServiceProperties
參數
- parameters
- TableServiceProperties 或 IO
必要
儲存體帳戶資料表服務的屬性,只能指定儲存體分析和 CORS (跨原始來源資源分享) 規則的屬性。 這是 TableServiceProperties 類型或 IO 類型。 必要。
- content_type
- str
本文參數內容類型。 已知值為:'application/json'。 預設值為 [無]。
- cls
- callable
將傳遞直接回應的自訂類型或函式
傳回
TableServiceProperties 或 cls 的結果 (回應)
傳回類型
例外狀況
屬性
models
models = <module 'azure.mgmt.storage.v2021_01_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.7\\x64\\Lib\\site-packages\\azure\\mgmt\\storage\\v2021_01_01\\models\\__init__.py'>
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應