TableArgs

data class TableArgs(val accountName: Output<String>? = null, val resourceGroupName: Output<String>? = null, val tableName: Output<String>? = null) : ConvertibleToJava<TableArgs>

Properties of the table, including Id, resource name, resource type. API Version: 2021-02-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",
});
});
package main
import (
storage "github.com/pulumi/pulumi-azure-native-sdk/storage"
"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
})
}
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());
}
}

Import

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

$ pulumi import azure-native:storage:Table table6185 /subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185

Constructors

Link copied to clipboard
constructor(accountName: Output<String>? = null, resourceGroupName: Output<String>? = null, tableName: Output<String>? = null)

Properties

Link copied to clipboard
val accountName: Output<String>? = null

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.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group within the user's subscription. The name is case insensitive.

Link copied to clipboard
val tableName: Output<String>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): TableArgs