We recommend using Azure Native.
Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
We recommend using Azure Native.
Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Use this data source to access information about an existing Storage Table Entity.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(Azure.Storage.GetTableEntity.InvokeAsync(new Azure.Storage.GetTableEntityArgs
{
PartitionKey = "example-partition-key",
RowKey = "example-row-key",
StorageAccountName = "example-storage-account-name",
TableName = "example-table-name",
}));
}
}
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := storage.LookupTableEntity(ctx, &storage.LookupTableEntityArgs{
PartitionKey: "example-partition-key",
RowKey: "example-row-key",
StorageAccountName: "example-storage-account-name",
TableName: "example-table-name",
}, nil)
if err != nil {
return err
}
return nil
})
}
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = pulumi.output(azure.storage.getTableEntity({
partitionKey: "example-partition-key",
rowKey: "example-row-key",
storageAccountName: "example-storage-account-name",
tableName: "example-table-name",
}));
import pulumi
import pulumi_azure as azure
example = azure.storage.get_table_entity(partition_key="example-partition-key",
row_key="example-row-key",
storage_account_name="example-storage-account-name",
table_name="example-table-name")
Example coming soon!
Using getTableEntity
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 getTableEntity(args: GetTableEntityArgs, opts?: InvokeOptions): Promise<GetTableEntityResult>
function getTableEntityOutput(args: GetTableEntityOutputArgs, opts?: InvokeOptions): Output<GetTableEntityResult>def get_table_entity(partition_key: Optional[str] = None,
row_key: Optional[str] = None,
storage_account_name: Optional[str] = None,
table_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTableEntityResult
def get_table_entity_output(partition_key: Optional[pulumi.Input[str]] = None,
row_key: Optional[pulumi.Input[str]] = None,
storage_account_name: Optional[pulumi.Input[str]] = None,
table_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTableEntityResult]func LookupTableEntity(ctx *Context, args *LookupTableEntityArgs, opts ...InvokeOption) (*LookupTableEntityResult, error)
func LookupTableEntityOutput(ctx *Context, args *LookupTableEntityOutputArgs, opts ...InvokeOption) LookupTableEntityResultOutput> Note: This function is named LookupTableEntity in the Go SDK.
public static class GetTableEntity
{
public static Task<GetTableEntityResult> InvokeAsync(GetTableEntityArgs args, InvokeOptions? opts = null)
public static Output<GetTableEntityResult> Invoke(GetTableEntityInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTableEntityResult> getTableEntity(GetTableEntityArgs args, InvokeOptions options)
public static Output<GetTableEntityResult> getTableEntity(GetTableEntityArgs args, InvokeOptions options)
fn::invoke:
function: azure:storage/getTableEntity:getTableEntity
arguments:
# arguments dictionaryThe following arguments are supported:
- Partition
Key string - The key for the partition where the entity will be retrieved.
- Row
Key string - The key for the row where the entity will be retrieved.
- Storage
Account stringName - The name of the Storage Account where the Table exists.
- Table
Name string - The name of the Table.
- Partition
Key string - The key for the partition where the entity will be retrieved.
- Row
Key string - The key for the row where the entity will be retrieved.
- Storage
Account stringName - The name of the Storage Account where the Table exists.
- Table
Name string - The name of the Table.
- partition
Key String - The key for the partition where the entity will be retrieved.
- row
Key String - The key for the row where the entity will be retrieved.
- storage
Account StringName - The name of the Storage Account where the Table exists.
- table
Name String - The name of the Table.
- partition
Key string - The key for the partition where the entity will be retrieved.
- row
Key string - The key for the row where the entity will be retrieved.
- storage
Account stringName - The name of the Storage Account where the Table exists.
- table
Name string - The name of the Table.
- partition_
key str - The key for the partition where the entity will be retrieved.
- row_
key str - The key for the row where the entity will be retrieved.
- storage_
account_ strname - The name of the Storage Account where the Table exists.
- table_
name str - The name of the Table.
- partition
Key String - The key for the partition where the entity will be retrieved.
- row
Key String - The key for the row where the entity will be retrieved.
- storage
Account StringName - The name of the Storage Account where the Table exists.
- table
Name String - The name of the Table.
getTableEntity Result
The following output properties are available:
- Entity Dictionary<string, string>
- A map of key/value pairs that describe the entity to be stored in the storage table.
- Id string
- The provider-assigned unique ID for this managed resource.
- Partition
Key string - Row
Key string - Storage
Account stringName - Table
Name string
- Entity map[string]string
- A map of key/value pairs that describe the entity to be stored in the storage table.
- Id string
- The provider-assigned unique ID for this managed resource.
- Partition
Key string - Row
Key string - Storage
Account stringName - Table
Name string
- entity Map<String,String>
- A map of key/value pairs that describe the entity to be stored in the storage table.
- id String
- The provider-assigned unique ID for this managed resource.
- partition
Key String - row
Key String - storage
Account StringName - table
Name String
- entity {[key: string]: string}
- A map of key/value pairs that describe the entity to be stored in the storage table.
- id string
- The provider-assigned unique ID for this managed resource.
- partition
Key string - row
Key string - storage
Account stringName - table
Name string
- entity Mapping[str, str]
- A map of key/value pairs that describe the entity to be stored in the storage table.
- id str
- The provider-assigned unique ID for this managed resource.
- partition_
key str - row_
key str - storage_
account_ strname - table_
name str
- entity Map<String>
- A map of key/value pairs that describe the entity to be stored in the storage table.
- id String
- The provider-assigned unique ID for this managed resource.
- partition
Key String - row
Key String - storage
Account StringName - table
Name String
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.
We recommend using Azure Native.
Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
