Package version:

Interface TableOperations

Interface representing a TableOperations.

interface TableOperations {
    create(resourceGroupName: string, accountName: string, tableName: string, options?: TableCreateOptionalParams): Promise<Table>;
    delete(resourceGroupName: string, accountName: string, tableName: string, options?: TableDeleteOptionalParams): Promise<void>;
    get(resourceGroupName: string, accountName: string, tableName: string, options?: TableGetOptionalParams): Promise<Table>;
    list(resourceGroupName: string, accountName: string, options?: TableListOptionalParams): PagedAsyncIterableIterator<Table>;
    update(resourceGroupName: string, accountName: string, tableName: string, options?: TableUpdateOptionalParams): Promise<Table>;
}

Methods

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

    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.

    • Optionaloptions: TableCreateOptionalParams

      The options parameters.

    Returns Promise<Table>

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

    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.

    • Optionaloptions: TableDeleteOptionalParams

      The options parameters.

    Returns Promise<void>

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

    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.

    • Optionaloptions: TableGetOptionalParams

      The options parameters.

    Returns Promise<Table>

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

    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.

    • Optionaloptions: TableListOptionalParams

      The options parameters.

    Returns PagedAsyncIterableIterator<Table>

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

    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.

    • Optionaloptions: TableUpdateOptionalParams

      The options parameters.

    Returns Promise<Table>