你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TableServices interface

表示 TableServices 的接口。

方法

getServiceProperties(string, string, TableServicesGetServicePropertiesOptionalParams)

获取存储帐户的表服务的属性,包括存储分析和 CORS(跨域资源共享)规则的属性。

list(string, string, TableServicesListOptionalParams)

列出存储帐户的所有表服务。

setServiceProperties(string, string, TableServiceProperties, TableServicesSetServicePropertiesOptionalParams)

设置存储帐户的表服务的属性,包括存储分析和 CORS(跨域资源共享)规则的属性。

方法详细信息

getServiceProperties(string, string, TableServicesGetServicePropertiesOptionalParams)

获取存储帐户的表服务的属性,包括存储分析和 CORS(跨域资源共享)规则的属性。

function getServiceProperties(resourceGroupName: string, accountName: string, options?: TableServicesGetServicePropertiesOptionalParams): Promise<TableServiceProperties>

参数

resourceGroupName

string

用户订阅中的资源组的名称。 名称不区分大小写。

accountName

string

指定资源组中的存储帐户的名称。 存储帐户名称长度必须介于 3 到 24 个字符之间,并且仅使用数字和小写字母。

返回

list(string, string, TableServicesListOptionalParams)

列出存储帐户的所有表服务。

function list(resourceGroupName: string, accountName: string, options?: TableServicesListOptionalParams): Promise<ListTableServices>

参数

resourceGroupName

string

用户订阅中的资源组的名称。 名称不区分大小写。

accountName

string

指定资源组中的存储帐户的名称。 存储帐户名称长度必须介于 3 到 24 个字符之间,并且仅使用数字和小写字母。

options
TableServicesListOptionalParams

选项参数。

返回

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(跨域资源共享)规则的属性。

返回