Expand description
Manages a Table within an Azure Storage Account.
Note on Authentication Shared Key authentication will always be used for this resource, as AzureAD authentication is not supported when setting or retrieving ACLs for Tables.
§Example Usage
ⓘ
use pulumi_wasm_rust::Output;
use pulumi_wasm_rust::{add_export, pulumi_main};
#[pulumi_main]
fn test_main() -> Result<(), Error> {
let example = resource_group::create(
"example",
ResourceGroupArgs::builder()
.location("West Europe")
.name("azuretest")
.build_struct(),
);
let exampleAccount = account::create(
"exampleAccount",
AccountArgs::builder()
.account_replication_type("LRS")
.account_tier("Standard")
.location("${example.location}")
.name("azureteststorage1")
.resource_group_name("${example.name}")
.build_struct(),
);
let exampleTable = table::create(
"exampleTable",
TableArgs::builder()
.name("mysampletable")
.storage_account_name("${exampleAccount.name}")
.build_struct(),
);
}
§Import
Table’s within a Storage Account can be imported using the resource id
, e.g.
$ pulumi import azure:storage/table:Table table1 "https://example.table.core.windows.net/Tables('replace-with-table-name')"
Structs§
- Use builder syntax to set the inputs and finish with
build_struct()
.
Functions§
- Registers a new resource with the given unique name and arguments