TableOperations class
表示 TableOperations 的类。
构造函数
| Table |
创建 TableOperations。 |
方法
构造函数详细信息
TableOperations(StorageManagementClientContext)
创建 TableOperations。
new TableOperations(client: StorageManagementClientContext)
参数
对服务客户端的引用。
方法详细信息
create(string, string, string, msRest.RequestOptionsBase)
在指定的帐户下,创建具有指定表名称的新表。
function create(resourceGroupName: string, accountName: string, tableName: string, options?: msRest.RequestOptionsBase)
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。 名称不区分大小写。
- accountName
-
string
指定资源组中的存储帐户的名称。 存储帐户名称长度必须介于 3 到 24 个字符之间,并且仅使用数字和小写字母。
- tableName
-
string
表名在存储帐户中必须唯一,并且必须介于 3 到 63 个字符之间。名称必须仅包含字母数字字符,并且不能以数字字符开头。
- options
- msRest.RequestOptionsBase
返回
Promise<Models.TableCreateResponse>
承诺<Models.TableCreateResponse>
create(string, string, string, RequestOptionsBase, ServiceCallback<Table>)
function create(resourceGroupName: string, accountName: string, tableName: string, options: RequestOptionsBase, callback: ServiceCallback<Table>)
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。 名称不区分大小写。
- accountName
-
string
指定资源组中的存储帐户的名称。 存储帐户名称长度必须介于 3 到 24 个字符之间,并且仅使用数字和小写字母。
- tableName
-
string
表名在存储帐户中必须唯一,并且必须介于 3 到 63 个字符之间。名称必须仅包含字母数字字符,并且不能以数字字符开头。
- options
-
RequestOptionsBase
可选参数
- callback
-
ServiceCallback<Table>
回调
create(string, string, string, ServiceCallback<Table>)
function create(resourceGroupName: string, accountName: string, tableName: string, callback: ServiceCallback<Table>)
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。 名称不区分大小写。
- accountName
-
string
指定资源组中的存储帐户的名称。 存储帐户名称长度必须介于 3 到 24 个字符之间,并且仅使用数字和小写字母。
- tableName
-
string
表名在存储帐户中必须唯一,并且必须介于 3 到 63 个字符之间。名称必须仅包含字母数字字符,并且不能以数字字符开头。
- callback
-
ServiceCallback<Table>
回调
deleteMethod(string, string, string, msRest.RequestOptionsBase)
删除具有指定表名称的表(如果存在)下的指定帐户。
function deleteMethod(resourceGroupName: string, accountName: string, tableName: string, options?: msRest.RequestOptionsBase)
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。 名称不区分大小写。
- accountName
-
string
指定资源组中的存储帐户的名称。 存储帐户名称长度必须介于 3 到 24 个字符之间,并且仅使用数字和小写字母。
- tableName
-
string
表名在存储帐户中必须唯一,并且必须介于 3 到 63 个字符之间。名称必须仅包含字母数字字符,并且不能以数字字符开头。
- options
- msRest.RequestOptionsBase
返回
Promise<RestResponse>
承诺<msRest.RestResponse>
deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, accountName: string, tableName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。 名称不区分大小写。
- accountName
-
string
指定资源组中的存储帐户的名称。 存储帐户名称长度必须介于 3 到 24 个字符之间,并且仅使用数字和小写字母。
- tableName
-
string
表名在存储帐户中必须唯一,并且必须介于 3 到 63 个字符之间。名称必须仅包含字母数字字符,并且不能以数字字符开头。
- options
-
RequestOptionsBase
可选参数
- callback
-
ServiceCallback<void>
回调
deleteMethod(string, string, string, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, accountName: string, tableName: string, callback: ServiceCallback<void>)
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。 名称不区分大小写。
- accountName
-
string
指定资源组中的存储帐户的名称。 存储帐户名称长度必须介于 3 到 24 个字符之间,并且仅使用数字和小写字母。
- tableName
-
string
表名在存储帐户中必须唯一,并且必须介于 3 到 63 个字符之间。名称必须仅包含字母数字字符,并且不能以数字字符开头。
- callback
-
ServiceCallback<void>
回调
get(string, string, string, msRest.RequestOptionsBase)
获取具有指定表名称的表(如果存在)下的指定帐户。
function get(resourceGroupName: string, accountName: string, tableName: string, options?: msRest.RequestOptionsBase)
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。 名称不区分大小写。
- accountName
-
string
指定资源组中的存储帐户的名称。 存储帐户名称长度必须介于 3 到 24 个字符之间,并且仅使用数字和小写字母。
- tableName
-
string
表名在存储帐户中必须唯一,并且必须介于 3 到 63 个字符之间。名称必须仅包含字母数字字符,并且不能以数字字符开头。
- options
- msRest.RequestOptionsBase
返回
Promise<Models.TableGetResponse>
承诺<Models.TableGetResponse>
get(string, string, string, RequestOptionsBase, ServiceCallback<Table>)
function get(resourceGroupName: string, accountName: string, tableName: string, options: RequestOptionsBase, callback: ServiceCallback<Table>)
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。 名称不区分大小写。
- accountName
-
string
指定资源组中的存储帐户的名称。 存储帐户名称长度必须介于 3 到 24 个字符之间,并且仅使用数字和小写字母。
- tableName
-
string
表名在存储帐户中必须唯一,并且必须介于 3 到 63 个字符之间。名称必须仅包含字母数字字符,并且不能以数字字符开头。
- options
-
RequestOptionsBase
可选参数
- callback
-
ServiceCallback<Table>
回调
get(string, string, string, ServiceCallback<Table>)
function get(resourceGroupName: string, accountName: string, tableName: string, callback: ServiceCallback<Table>)
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。 名称不区分大小写。
- accountName
-
string
指定资源组中的存储帐户的名称。 存储帐户名称长度必须介于 3 到 24 个字符之间,并且仅使用数字和小写字母。
- tableName
-
string
表名在存储帐户中必须唯一,并且必须介于 3 到 63 个字符之间。名称必须仅包含字母数字字符,并且不能以数字字符开头。
- callback
-
ServiceCallback<Table>
回调
list(string, string, msRest.RequestOptionsBase)
获取指定存储帐户下的所有表的列表
function list(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase)
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。 名称不区分大小写。
- accountName
-
string
指定资源组中的存储帐户的名称。 存储帐户名称长度必须介于 3 到 24 个字符之间,并且仅使用数字和小写字母。
- options
- msRest.RequestOptionsBase
返回
Promise<Models.TableListResponse>
承诺<Models.TableListResponse>
list(string, string, RequestOptionsBase, ServiceCallback<ListTableResource>)
function list(resourceGroupName: string, accountName: string, options: RequestOptionsBase, callback: ServiceCallback<ListTableResource>)
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。 名称不区分大小写。
- accountName
-
string
指定资源组中的存储帐户的名称。 存储帐户名称长度必须介于 3 到 24 个字符之间,并且仅使用数字和小写字母。
- options
-
RequestOptionsBase
可选参数
- callback
-
ServiceCallback<ListTableResource>
回调
list(string, string, ServiceCallback<ListTableResource>)
function list(resourceGroupName: string, accountName: string, callback: ServiceCallback<ListTableResource>)
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。 名称不区分大小写。
- accountName
-
string
指定资源组中的存储帐户的名称。 存储帐户名称长度必须介于 3 到 24 个字符之间,并且仅使用数字和小写字母。
- callback
-
ServiceCallback<ListTableResource>
回调
listNext(string, msRest.RequestOptionsBase)
获取指定存储帐户下的所有表的列表
function listNext(nextPageLink: string, options?: msRest.RequestOptionsBase)
参数
- nextPageLink
-
string
上一次成功调用 List作的 NextLink。
- options
- msRest.RequestOptionsBase
返回
Promise<Models.TableListNextResponse>
Promise<Models.TableListNext响应>
listNext(string, RequestOptionsBase, ServiceCallback<ListTableResource>)
function listNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<ListTableResource>)
参数
- nextPageLink
-
string
上一次成功调用 List作的 NextLink。
- options
-
RequestOptionsBase
可选参数
- callback
-
ServiceCallback<ListTableResource>
回调
listNext(string, ServiceCallback<ListTableResource>)
function listNext(nextPageLink: string, callback: ServiceCallback<ListTableResource>)
参数
- nextPageLink
-
string
上一次成功调用 List作的 NextLink。
- callback
-
ServiceCallback<ListTableResource>
回调
update(string, string, string, msRest.RequestOptionsBase)
在指定的帐户下,创建具有指定表名称的新表。
function update(resourceGroupName: string, accountName: string, tableName: string, options?: msRest.RequestOptionsBase)
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。 名称不区分大小写。
- accountName
-
string
指定资源组中的存储帐户的名称。 存储帐户名称长度必须介于 3 到 24 个字符之间,并且仅使用数字和小写字母。
- tableName
-
string
表名在存储帐户中必须唯一,并且必须介于 3 到 63 个字符之间。名称必须仅包含字母数字字符,并且不能以数字字符开头。
- options
- msRest.RequestOptionsBase
返回
Promise<Models.TableUpdateResponse>
承诺<Models.TableUpdateResponse>
update(string, string, string, RequestOptionsBase, ServiceCallback<Table>)
function update(resourceGroupName: string, accountName: string, tableName: string, options: RequestOptionsBase, callback: ServiceCallback<Table>)
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。 名称不区分大小写。
- accountName
-
string
指定资源组中的存储帐户的名称。 存储帐户名称长度必须介于 3 到 24 个字符之间,并且仅使用数字和小写字母。
- tableName
-
string
表名在存储帐户中必须唯一,并且必须介于 3 到 63 个字符之间。名称必须仅包含字母数字字符,并且不能以数字字符开头。
- options
-
RequestOptionsBase
可选参数
- callback
-
ServiceCallback<Table>
回调
update(string, string, string, ServiceCallback<Table>)
function update(resourceGroupName: string, accountName: string, tableName: string, callback: ServiceCallback<Table>)
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。 名称不区分大小写。
- accountName
-
string
指定资源组中的存储帐户的名称。 存储帐户名称长度必须介于 3 到 24 个字符之间,并且仅使用数字和小写字母。
- tableName
-
string
表名在存储帐户中必须唯一,并且必须介于 3 到 63 个字符之间。名称必须仅包含字母数字字符,并且不能以数字字符开头。
- callback
-
ServiceCallback<Table>
回调