azure-native.storage.getTable
Explore with Pulumi AI
Gets the table with the specified table name, under the specified account if it exists.
Uses Azure REST API version 2024-01-01.
Other available API versions: 2022-09-01, 2023-01-01, 2023-04-01, 2023-05-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native storage [ApiVersion]. See the version guide for details.
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>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]func LookupTable(ctx *Context, args *LookupTableArgs, opts ...InvokeOption) (*LookupTableResult, error)
func LookupTableOutput(ctx *Context, args *LookupTableOutputArgs, opts ...InvokeOption) LookupTableResultOutput> 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)
}public static CompletableFuture<GetTableResult> getTable(GetTableArgs args, InvokeOptions options)
public static Output<GetTableResult> getTable(GetTableArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:storage:getTable
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Account
Name 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.
 - Resource
Group stringName  - The name of the resource group within the user's subscription. The name is case insensitive.
 - Table
Name 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 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.
 - Resource
Group stringName  - The name of the resource group within the user's subscription. The name is case insensitive.
 - Table
Name 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 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.
 - resource
Group StringName  - The name of the resource group within the user's subscription. The name is case insensitive.
 - table
Name 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 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.
 - resource
Group stringName  - The name of the resource group within the user's subscription. The name is case insensitive.
 - table
Name 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 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_ strname  - The name of the resource group within the user's subscription. The name is case insensitive.
 - table_
name 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.
 
- account
Name 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.
 - resource
Group StringName  - The name of the resource group within the user's subscription. The name is case insensitive.
 - table
Name 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:
- Azure
Api stringVersion  - The Azure API version of the resource.
 - 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
 - Table
Name string - Table name under the specified account
 - Type string
 - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
 - Signed
Identifiers List<Pulumi.Azure Native. Storage. Outputs. Table Signed Identifier Response>  - List of stored access policies specified on the table.
 
- Azure
Api stringVersion  - The Azure API version of the resource.
 - 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
 - Table
Name string - Table name under the specified account
 - Type string
 - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
 - Signed
Identifiers []TableSigned Identifier Response  - List of stored access policies specified on the table.
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - 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
 - table
Name String - Table name under the specified account
 - type String
 - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
 - signed
Identifiers List<TableSigned Identifier Response>  - List of stored access policies specified on the table.
 
- azure
Api stringVersion  - The Azure API version of the resource.
 - 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
 - table
Name string - Table name under the specified account
 - type string
 - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
 - signed
Identifiers TableSigned Identifier Response[]  - List of stored access policies specified on the table.
 
- azure_
api_ strversion  - The Azure API version of the resource.
 - 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[TableSigned Identifier Response]  - List of stored access policies specified on the table.
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - 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
 - table
Name String - Table name under the specified account
 - type String
 - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
 - signed
Identifiers List<Property Map> - List of stored access policies specified on the table.
 
Supporting Types
TableAccessPolicyResponse   
- Permission string
 - Required. List of abbreviated permissions. Supported permission values include 'r','a','u','d'
 - Expiry
Time string - Expiry time of the access policy
 - Start
Time string - Start time of the access policy
 
- Permission string
 - Required. List of abbreviated permissions. Supported permission values include 'r','a','u','d'
 - Expiry
Time string - Expiry time of the access policy
 - Start
Time string - Start time of the access policy
 
- permission String
 - Required. List of abbreviated permissions. Supported permission values include 'r','a','u','d'
 - expiry
Time String - Expiry time of the access policy
 - start
Time String - Start time of the access policy
 
- permission string
 - Required. List of abbreviated permissions. Supported permission values include 'r','a','u','d'
 - expiry
Time string - Expiry time of the access policy
 - start
Time string - Start time of the access policy
 
- permission 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 String
 - Required. List of abbreviated permissions. Supported permission values include 'r','a','u','d'
 - expiry
Time String - Expiry time of the access policy
 - start
Time String - Start time of the access policy
 
TableSignedIdentifierResponse   
- Id string
 - unique-64-character-value of the stored access policy.
 - Access
Policy Pulumi.Azure Native. Storage. Inputs. Table Access Policy Response  - Access policy
 
- Id string
 - unique-64-character-value of the stored access policy.
 - Access
Policy TableAccess Policy Response  - Access policy
 
- id String
 - unique-64-character-value of the stored access policy.
 - access
Policy TableAccess Policy Response  - Access policy
 
- id string
 - unique-64-character-value of the stored access policy.
 - access
Policy TableAccess Policy Response  - Access policy
 
- id str
 - unique-64-character-value of the stored access policy.
 - access_
policy TableAccess Policy Response  - Access policy
 
- id String
 - unique-64-character-value of the stored access policy.
 - access
Policy Property Map - Access policy
 
Package Details
- Repository
 - Azure Native pulumi/pulumi-azure-native
 - License
 - Apache-2.0