Table - List

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

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables?api-version=2023-01-01

URI Parameters

Name In Required Type Description
accountName
path True

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.

Regex pattern: ^[a-z0-9]+$

resourceGroupName
path True

string

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

Regex pattern: ^[-\w\._\(\)]+$

subscriptionId
path True

string

The ID of the target subscription.

api-version
query True

string

The API version to use for this operation.

Responses

Name Type Description
200 OK

ListTableResource

OK -- returned a list of tables successfully.

Other Status Codes

CloudError

Error response describing why the operation failed.

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

TableOperationList

Sample Request

GET https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables?api-version=2023-01-01

Sample Response

{
  "value": [
    {
      "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185",
      "name": "table6185",
      "type": "Microsoft.Storage/storageAccounts/tableServices/tables",
      "properties": {
        "tableName": "table6185"
      }
    },
    {
      "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6186",
      "name": "table6186",
      "type": "Microsoft.Storage/storageAccounts/tableServices/tables",
      "properties": {
        "tableName": "table6186"
      }
    }
  ],
  "nextLink": "https://sto1590endpoint/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables?api-version=2022-09-01&NextTableName=1!40!bXl0YWJsZXNoYzU0OAEwMWQ2MTI5ZTJmYjVmODFh"
}

Definitions

Name Description
CloudError

An error response from the Storage service.

CloudErrorBody

An error response from the Storage service.

ListTableResource

Response schema. Contains list of tables returned

Table

Properties of the table, including Id, resource name, resource type.

TableAccessPolicy

Table Access Policy Properties Object.

TableSignedIdentifier

Object to set Table Access Policy.

CloudError

An error response from the Storage service.

Name Type Description
error

CloudErrorBody

An error response from the Storage service.

CloudErrorBody

An error response from the Storage service.

Name Type Description
code

string

An identifier for the error. Codes are invariant and are intended to be consumed programmatically.

details

CloudErrorBody[]

A list of additional details about the error.

message

string

A message describing the error, intended to be suitable for display in a user interface.

target

string

The target of the particular error. For example, the name of the property in error.

ListTableResource

Response schema. Contains list of tables returned

Name Type Description
nextLink

string

Request URL that can be used to query next page of tables

value

Table[]

List of tables returned.

Table

Properties of the table, including Id, resource name, resource type.

Name Type Description
id

string

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

string

The name of the resource

properties.signedIdentifiers

TableSignedIdentifier[]

List of stored access policies specified on the table.

properties.tableName

string

Table name under the specified account

type

string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

TableAccessPolicy

Table Access Policy Properties Object.

Name Type Description
expiryTime

string

Expiry time of the access policy

permission

string

Required. List of abbreviated permissions. Supported permission values include 'r','a','u','d'

startTime

string

Start time of the access policy

TableSignedIdentifier

Object to set Table Access Policy.

Name Type Description
accessPolicy

TableAccessPolicy

Access policy

id

string

unique-64-character-value of the stored access policy.