1. Packages
  2. Azure Native v2
  3. API Docs
  4. storage
  5. Table
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.Table

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

Properties of the table, including Id, resource name, resource type. Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2021-02-01.

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

Example Usage

TableOperationPut

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var table = new AzureNative.Storage.Table("table", new()
    {
        AccountName = "sto328",
        ResourceGroupName = "res3376",
        TableName = "table6185",
    });

});
Copy
package main

import (
	storage "github.com/pulumi/pulumi-azure-native-sdk/storage/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := storage.NewTable(ctx, "table", &storage.TableArgs{
			AccountName:       pulumi.String("sto328"),
			ResourceGroupName: pulumi.String("res3376"),
			TableName:         pulumi.String("table6185"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.storage.Table;
import com.pulumi.azurenative.storage.TableArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var table = new Table("table", TableArgs.builder()
            .accountName("sto328")
            .resourceGroupName("res3376")
            .tableName("table6185")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const table = new azure_native.storage.Table("table", {
    accountName: "sto328",
    resourceGroupName: "res3376",
    tableName: "table6185",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

table = azure_native.storage.Table("table",
    account_name="sto328",
    resource_group_name="res3376",
    table_name="table6185")
Copy
resources:
  table:
    type: azure-native:storage:Table
    properties:
      accountName: sto328
      resourceGroupName: res3376
      tableName: table6185
Copy

TableOperationPutOrPatchAcls

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var table = new AzureNative.Storage.Table("table", new()
    {
        AccountName = "sto328",
        ResourceGroupName = "res3376",
        SignedIdentifiers = new[]
        {
            new AzureNative.Storage.Inputs.TableSignedIdentifierArgs
            {
                AccessPolicy = new AzureNative.Storage.Inputs.TableAccessPolicyArgs
                {
                    ExpiryTime = "2022-03-20T08:49:37.0000000Z",
                    Permission = "raud",
                    StartTime = "2022-03-17T08:49:37.0000000Z",
                },
                Id = "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI",
            },
            new AzureNative.Storage.Inputs.TableSignedIdentifierArgs
            {
                AccessPolicy = new AzureNative.Storage.Inputs.TableAccessPolicyArgs
                {
                    ExpiryTime = "2022-03-20T08:49:37.0000000Z",
                    Permission = "rad",
                    StartTime = "2022-03-17T08:49:37.0000000Z",
                },
                Id = "PTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODklMTI",
            },
        },
        TableName = "table6185",
    });

});
Copy
package main

import (
	storage "github.com/pulumi/pulumi-azure-native-sdk/storage/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := storage.NewTable(ctx, "table", &storage.TableArgs{
			AccountName:       pulumi.String("sto328"),
			ResourceGroupName: pulumi.String("res3376"),
			SignedIdentifiers: storage.TableSignedIdentifierArray{
				&storage.TableSignedIdentifierArgs{
					AccessPolicy: &storage.TableAccessPolicyArgs{
						ExpiryTime: pulumi.String("2022-03-20T08:49:37.0000000Z"),
						Permission: pulumi.String("raud"),
						StartTime:  pulumi.String("2022-03-17T08:49:37.0000000Z"),
					},
					Id: pulumi.String("MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI"),
				},
				&storage.TableSignedIdentifierArgs{
					AccessPolicy: &storage.TableAccessPolicyArgs{
						ExpiryTime: pulumi.String("2022-03-20T08:49:37.0000000Z"),
						Permission: pulumi.String("rad"),
						StartTime:  pulumi.String("2022-03-17T08:49:37.0000000Z"),
					},
					Id: pulumi.String("PTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODklMTI"),
				},
			},
			TableName: pulumi.String("table6185"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.storage.Table;
import com.pulumi.azurenative.storage.TableArgs;
import com.pulumi.azurenative.storage.inputs.TableSignedIdentifierArgs;
import com.pulumi.azurenative.storage.inputs.TableAccessPolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var table = new Table("table", TableArgs.builder()
            .accountName("sto328")
            .resourceGroupName("res3376")
            .signedIdentifiers(            
                TableSignedIdentifierArgs.builder()
                    .accessPolicy(TableAccessPolicyArgs.builder()
                        .expiryTime("2022-03-20T08:49:37.0000000Z")
                        .permission("raud")
                        .startTime("2022-03-17T08:49:37.0000000Z")
                        .build())
                    .id("MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI")
                    .build(),
                TableSignedIdentifierArgs.builder()
                    .accessPolicy(TableAccessPolicyArgs.builder()
                        .expiryTime("2022-03-20T08:49:37.0000000Z")
                        .permission("rad")
                        .startTime("2022-03-17T08:49:37.0000000Z")
                        .build())
                    .id("PTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODklMTI")
                    .build())
            .tableName("table6185")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const table = new azure_native.storage.Table("table", {
    accountName: "sto328",
    resourceGroupName: "res3376",
    signedIdentifiers: [
        {
            accessPolicy: {
                expiryTime: "2022-03-20T08:49:37.0000000Z",
                permission: "raud",
                startTime: "2022-03-17T08:49:37.0000000Z",
            },
            id: "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI",
        },
        {
            accessPolicy: {
                expiryTime: "2022-03-20T08:49:37.0000000Z",
                permission: "rad",
                startTime: "2022-03-17T08:49:37.0000000Z",
            },
            id: "PTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODklMTI",
        },
    ],
    tableName: "table6185",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

table = azure_native.storage.Table("table",
    account_name="sto328",
    resource_group_name="res3376",
    signed_identifiers=[
        {
            "access_policy": {
                "expiry_time": "2022-03-20T08:49:37.0000000Z",
                "permission": "raud",
                "start_time": "2022-03-17T08:49:37.0000000Z",
            },
            "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI",
        },
        {
            "access_policy": {
                "expiry_time": "2022-03-20T08:49:37.0000000Z",
                "permission": "rad",
                "start_time": "2022-03-17T08:49:37.0000000Z",
            },
            "id": "PTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODklMTI",
        },
    ],
    table_name="table6185")
Copy
resources:
  table:
    type: azure-native:storage:Table
    properties:
      accountName: sto328
      resourceGroupName: res3376
      signedIdentifiers:
        - accessPolicy:
            expiryTime: 2022-03-20T08:49:37.0000000Z
            permission: raud
            startTime: 2022-03-17T08:49:37.0000000Z
          id: MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI
        - accessPolicy:
            expiryTime: 2022-03-20T08:49:37.0000000Z
            permission: rad
            startTime: 2022-03-17T08:49:37.0000000Z
          id: PTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODklMTI
      tableName: table6185
Copy

Create Table Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Table(name: string, args: TableArgs, opts?: CustomResourceOptions);
@overload
def Table(resource_name: str,
          args: TableArgs,
          opts: Optional[ResourceOptions] = None)

@overload
def Table(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          account_name: Optional[str] = None,
          resource_group_name: Optional[str] = None,
          signed_identifiers: Optional[Sequence[TableSignedIdentifierArgs]] = None,
          table_name: Optional[str] = None)
func NewTable(ctx *Context, name string, args TableArgs, opts ...ResourceOption) (*Table, error)
public Table(string name, TableArgs args, CustomResourceOptions? opts = null)
public Table(String name, TableArgs args)
public Table(String name, TableArgs args, CustomResourceOptions options)
type: azure-native:storage:Table
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. TableArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. TableArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. TableArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. TableArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. TableArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var azure_nativeTableResource = new AzureNative.Storage.Table("azure-nativeTableResource", new()
{
    AccountName = "string",
    ResourceGroupName = "string",
    SignedIdentifiers = new[]
    {
        
        {
            { "id", "string" },
            { "accessPolicy", 
            {
                { "permission", "string" },
                { "expiryTime", "string" },
                { "startTime", "string" },
            } },
        },
    },
    TableName = "string",
});
Copy
example, err := storage.NewTable(ctx, "azure-nativeTableResource", &storage.TableArgs{
	AccountName:       "string",
	ResourceGroupName: "string",
	SignedIdentifiers: []map[string]interface{}{
		map[string]interface{}{
			"id": "string",
			"accessPolicy": map[string]interface{}{
				"permission": "string",
				"expiryTime": "string",
				"startTime":  "string",
			},
		},
	},
	TableName: "string",
})
Copy
var azure_nativeTableResource = new Table("azure-nativeTableResource", TableArgs.builder()
    .accountName("string")
    .resourceGroupName("string")
    .signedIdentifiers(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .tableName("string")
    .build());
Copy
azure_native_table_resource = azure_native.storage.Table("azure-nativeTableResource",
    account_name=string,
    resource_group_name=string,
    signed_identifiers=[{
        id: string,
        accessPolicy: {
            permission: string,
            expiryTime: string,
            startTime: string,
        },
    }],
    table_name=string)
Copy
const azure_nativeTableResource = new azure_native.storage.Table("azure-nativeTableResource", {
    accountName: "string",
    resourceGroupName: "string",
    signedIdentifiers: [{
        id: "string",
        accessPolicy: {
            permission: "string",
            expiryTime: "string",
            startTime: "string",
        },
    }],
    tableName: "string",
});
Copy
type: azure-native:storage:Table
properties:
    accountName: string
    resourceGroupName: string
    signedIdentifiers:
        - accessPolicy:
            expiryTime: string
            permission: string
            startTime: string
          id: string
    tableName: string
Copy

Table Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Table resource accepts the following input properties:

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.
SignedIdentifiers List<Pulumi.AzureNative.Storage.Inputs.TableSignedIdentifier>
List of stored access policies specified on the table.
TableName 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.
SignedIdentifiers []TableSignedIdentifierArgs
List of stored access policies specified on the table.
TableName 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.
signedIdentifiers List<TableSignedIdentifier>
List of stored access policies specified on the table.
tableName 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.
signedIdentifiers TableSignedIdentifier[]
List of stored access policies specified on the table.
tableName 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.
signed_identifiers Sequence[TableSignedIdentifierArgs]
List of stored access policies specified on the table.
table_name 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.
signedIdentifiers List<Property Map>
List of stored access policies specified on the table.
tableName 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.

Outputs

All input properties are implicitly available as output properties. Additionally, the Table resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

TableAccessPolicy
, TableAccessPolicyArgs

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

TableAccessPolicyResponse
, TableAccessPolicyResponseArgs

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

TableSignedIdentifier
, TableSignedIdentifierArgs

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

TableSignedIdentifierResponse
, TableSignedIdentifierResponseArgs

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

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:storage:Table table6185 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

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