TableOperations interface

Interface representing a TableOperations.

Methods

create(string, string, string, TableCreateOptionalParams)

Creates a new table with the specified table name, under the specified account.

delete(string, string, string, TableDeleteOptionalParams)

Deletes the table with the specified table name, under the specified account if it exists.

get(string, string, string, TableGetOptionalParams)

Gets the table with the specified table name, under the specified account if it exists.

list(string, string, TableListOptionalParams)

Gets a list of all the tables under the specified storage account

update(string, string, string, TableUpdateOptionalParams)

Creates a new table with the specified table name, under the specified account.

Method Details

create(string, string, string, TableCreateOptionalParams)

Creates a new table with the specified table name, under the specified account.

function create(resourceGroupName: string, accountName: string, tableName: string, options?: TableCreateOptionalParams): Promise<Table>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription. The name is case insensitive.

accountName

string

The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.

tableName

string

A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric character.

options
TableCreateOptionalParams

The options parameters.

Returns

Promise<Table>

delete(string, string, string, TableDeleteOptionalParams)

Deletes the table with the specified table name, under the specified account if it exists.

function delete(resourceGroupName: string, accountName: string, tableName: string, options?: TableDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription. The name is case insensitive.

accountName

string

The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.

tableName

string

A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric character.

options
TableDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, TableGetOptionalParams)

Gets the table with the specified table name, under the specified account if it exists.

function get(resourceGroupName: string, accountName: string, tableName: string, options?: TableGetOptionalParams): Promise<Table>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription. The name is case insensitive.

accountName

string

The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.

tableName

string

A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric character.

options
TableGetOptionalParams

The options parameters.

Returns

Promise<Table>

list(string, string, TableListOptionalParams)

Gets a list of all the tables under the specified storage account

function list(resourceGroupName: string, accountName: string, options?: TableListOptionalParams): PagedAsyncIterableIterator<Table, Table[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription. The name is case insensitive.

accountName

string

The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.

options
TableListOptionalParams

The options parameters.

Returns

update(string, string, string, TableUpdateOptionalParams)

Creates a new table with the specified table name, under the specified account.

function update(resourceGroupName: string, accountName: string, tableName: string, options?: TableUpdateOptionalParams): Promise<Table>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription. The name is case insensitive.

accountName

string

The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.

tableName

string

A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric character.

options
TableUpdateOptionalParams

The options parameters.

Returns

Promise<Table>