Class Table
Manages a Table within an Azure Storage Account.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
{
Location = "West Europe",
});
var exampleAccount = new Azure.Storage.Account("exampleAccount", new Azure.Storage.AccountArgs
{
ResourceGroupName = exampleResourceGroup.Name,
Location = exampleResourceGroup.Location,
AccountTier = "Standard",
AccountReplicationType = "LRS",
});
var exampleTable = new Azure.Storage.Table("exampleTable", new Azure.Storage.TableArgs
{
StorageAccountName = exampleAccount.Name,
});
}
}
Inherited Members
Namespace: Pulumi.Azure.Storage
Assembly: Pulumi.Azure.dll
Syntax
public class Table : CustomResource
Constructors
View SourceTable(String, TableArgs, CustomResourceOptions)
Create a Table resource with the given unique name, arguments, and options.
Declaration
public Table(string name, TableArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| TableArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAcls
One or more acl blocks as defined below.
Declaration
public Output<ImmutableArray<TableAcl>> Acls { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<TableAcl>> |
Name
The name of the storage table. Must be unique within the storage account the table is located.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
StorageAccountName
Specifies the storage account in which to create the storage table. Changing this forces a new resource to be created.
Declaration
public Output<string> StorageAccountName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, TableState, CustomResourceOptions)
Get an existing Table resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Table Get(string name, Input<string> id, TableState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| TableState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Table |