1. Packages
  2. Azure Native v2
  3. API Docs
  4. storage
  5. getTable
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.storage.getTable

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Gets the table with the specified table name, under the specified account if it exists. Azure REST API version: 2022-09-01.

Other available API versions: 2023-01-01, 2023-04-01, 2023-05-01.

Using getTable

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getTable(args: GetTableArgs, opts?: InvokeOptions): Promise<GetTableResult>
function getTableOutput(args: GetTableOutputArgs, opts?: InvokeOptions): Output<GetTableResult>
Copy
def get_table(account_name: Optional[str] = None,
              resource_group_name: Optional[str] = None,
              table_name: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> GetTableResult
def get_table_output(account_name: Optional[pulumi.Input[str]] = None,
              resource_group_name: Optional[pulumi.Input[str]] = None,
              table_name: Optional[pulumi.Input[str]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[GetTableResult]
Copy
func LookupTable(ctx *Context, args *LookupTableArgs, opts ...InvokeOption) (*LookupTableResult, error)
func LookupTableOutput(ctx *Context, args *LookupTableOutputArgs, opts ...InvokeOption) LookupTableResultOutput
Copy

> Note: This function is named LookupTable in the Go SDK.

public static class GetTable 
{
    public static Task<GetTableResult> InvokeAsync(GetTableArgs args, InvokeOptions? opts = null)
    public static Output<GetTableResult> Invoke(GetTableInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetTableResult> getTable(GetTableArgs args, InvokeOptions options)
public static Output<GetTableResult> getTable(GetTableArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:storage:getTable
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AccountName
This property is required.
Changes to this property will trigger replacement.
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.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the user's subscription. The name is case insensitive.
TableName
This property is required.
Changes to this property will trigger replacement.
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.
AccountName
This property is required.
Changes to this property will trigger replacement.
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.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the user's subscription. The name is case insensitive.
TableName
This property is required.
Changes to this property will trigger replacement.
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.
accountName
This property is required.
Changes to this property will trigger replacement.
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.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group within the user's subscription. The name is case insensitive.
tableName
This property is required.
Changes to this property will trigger replacement.
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.
accountName
This property is required.
Changes to this property will trigger replacement.
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.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the user's subscription. The name is case insensitive.
tableName
This property is required.
Changes to this property will trigger replacement.
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.
account_name
This property is required.
Changes to this property will trigger replacement.
str
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.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group within the user's subscription. The name is case insensitive.
table_name
This property is required.
Changes to this property will trigger replacement.
str
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.
accountName
This property is required.
Changes to this property will trigger replacement.
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.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group within the user's subscription. The name is case insensitive.
tableName
This property is required.
Changes to this property will trigger replacement.
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.

getTable Result

The following output properties are available:

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
TableName string
Table name under the specified account
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
SignedIdentifiers List<Pulumi.AzureNative.Storage.Outputs.TableSignedIdentifierResponse>
List of stored access policies specified on the table.
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
TableName string
Table name under the specified account
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
SignedIdentifiers []TableSignedIdentifierResponse
List of stored access policies specified on the table.
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
tableName String
Table name under the specified account
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
signedIdentifiers List<TableSignedIdentifierResponse>
List of stored access policies specified on the table.
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
tableName string
Table name under the specified account
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
signedIdentifiers TableSignedIdentifierResponse[]
List of stored access policies specified on the table.
id str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name str
The name of the resource
table_name str
Table name under the specified account
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
signed_identifiers Sequence[TableSignedIdentifierResponse]
List of stored access policies specified on the table.
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
tableName String
Table name under the specified account
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
signedIdentifiers List<Property Map>
List of stored access policies specified on the table.

Supporting Types

TableAccessPolicyResponse

Permission This property is required. string
Required. List of abbreviated permissions. Supported permission values include 'r','a','u','d'
ExpiryTime string
Expiry time of the access policy
StartTime string
Start time of the access policy
Permission This property is required. string
Required. List of abbreviated permissions. Supported permission values include 'r','a','u','d'
ExpiryTime string
Expiry time of the access policy
StartTime string
Start time of the access policy
permission This property is required. String
Required. List of abbreviated permissions. Supported permission values include 'r','a','u','d'
expiryTime String
Expiry time of the access policy
startTime String
Start time of the access policy
permission This property is required. string
Required. List of abbreviated permissions. Supported permission values include 'r','a','u','d'
expiryTime string
Expiry time of the access policy
startTime string
Start time of the access policy
permission This property is required. str
Required. List of abbreviated permissions. Supported permission values include 'r','a','u','d'
expiry_time str
Expiry time of the access policy
start_time str
Start time of the access policy
permission This property is required. String
Required. List of abbreviated permissions. Supported permission values include 'r','a','u','d'
expiryTime String
Expiry time of the access policy
startTime String
Start time of the access policy

TableSignedIdentifierResponse

Id This property is required. string
unique-64-character-value of the stored access policy.
AccessPolicy Pulumi.AzureNative.Storage.Inputs.TableAccessPolicyResponse
Access policy
Id This property is required. string
unique-64-character-value of the stored access policy.
AccessPolicy TableAccessPolicyResponse
Access policy
id This property is required. String
unique-64-character-value of the stored access policy.
accessPolicy TableAccessPolicyResponse
Access policy
id This property is required. string
unique-64-character-value of the stored access policy.
accessPolicy TableAccessPolicyResponse
Access policy
id This property is required. str
unique-64-character-value of the stored access policy.
access_policy TableAccessPolicyResponse
Access policy
id This property is required. String
unique-64-character-value of the stored access policy.
accessPolicy Property Map
Access policy

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi