Table - Get

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

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}?api-version=2023-05-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.

tableName
path True

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.

Regex pattern: ^[A-Za-z][A-Za-z0-9]{2,62}$

api-version
query True

string

The API version to use for this operation.

Responses

Name Type Description
200 OK

Table

OK -- returned table with the specified table name 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

TableOperationGet

Sample request

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

Sample response

{
  "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"
  }
}

Definitions

Name Description
CloudError

An error response from the Storage service.

CloudErrorBody

An error response from the Storage service.

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.

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.