TableServices interface
表示 TableServices 的介面。
方法
| get |
取得記憶體帳戶數據表服務的屬性,包括記憶體分析和 CORS(跨原始來源資源分享)規則的屬性。 |
| list(string, string, Table |
列出記憶體帳戶的所有數據表服務。 |
| set |
設定記憶體帳戶數據表服務的屬性,包括記憶體分析和 CORS(跨原始來源資源分享)規則的屬性。 |
方法詳細資料
getServiceProperties(string, string, TableServicesGetServicePropertiesOptionalParams)
取得記憶體帳戶數據表服務的屬性,包括記憶體分析和 CORS(跨原始來源資源分享)規則的屬性。
function getServiceProperties(resourceGroupName: string, accountName: string, options?: TableServicesGetServicePropertiesOptionalParams): Promise<TableServiceProperties>
參數
- resourceGroupName
-
string
用戶訂用帳戶內的資源組名。 名稱不區分大小寫。
- accountName
-
string
指定資源群組內的記憶體帳戶名稱。 儲存體帳戶名稱長度必須介於 3 到 24 個字元之間,且只能使用數位和小寫字母。
選項參數。
傳回
Promise<TableServiceProperties>
list(string, string, TableServicesListOptionalParams)
列出記憶體帳戶的所有數據表服務。
function list(resourceGroupName: string, accountName: string, options?: TableServicesListOptionalParams): Promise<ListTableServices>
參數
- resourceGroupName
-
string
用戶訂用帳戶內的資源組名。 名稱不區分大小寫。
- accountName
-
string
指定資源群組內的記憶體帳戶名稱。 儲存體帳戶名稱長度必須介於 3 到 24 個字元之間,且只能使用數位和小寫字母。
- options
- TableServicesListOptionalParams
選項參數。
傳回
Promise<ListTableServices>
setServiceProperties(string, string, TableServiceProperties, TableServicesSetServicePropertiesOptionalParams)
設定記憶體帳戶數據表服務的屬性,包括記憶體分析和 CORS(跨原始來源資源分享)規則的屬性。
function setServiceProperties(resourceGroupName: string, accountName: string, parameters: TableServiceProperties, options?: TableServicesSetServicePropertiesOptionalParams): Promise<TableServiceProperties>
參數
- resourceGroupName
-
string
用戶訂用帳戶內的資源組名。 名稱不區分大小寫。
- accountName
-
string
指定資源群組內的記憶體帳戶名稱。 儲存體帳戶名稱長度必須介於 3 到 24 個字元之間,且只能使用數位和小寫字母。
- parameters
- TableServiceProperties
記憶體帳戶數據表服務的屬性,只能指定記憶體分析和 CORS(跨原始來源資源分享)規則的屬性。
選項參數。
傳回
Promise<TableServiceProperties>