azurerm_cosmosdb_sql_containerNivis Nix constructor for the azurerm_cosmosdb_sql_container resource (provider azurerm). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
account_name,
database_name,
partition_key_paths,
resource_group_name,
analytical_storage_ttl ? null,
default_ttl ? null,
id ? null,
cfg_name ? null,
partition_key_kind ? null,
partition_key_version ? null,
throughput ? null,
autoscale_settings ? null,
conflict_resolution_policy ? null,
indexing_policy ? null,
timeouts ? null,
unique_key ? null,
overrides ? {}
}Required arguments
account_namedatabase_namepartition_key_pathsresource_group_name
Optional arguments
analytical_storage_ttl(defaults tonull)default_ttl(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)partition_key_kind(defaults tonull)partition_key_version(defaults tonull)throughput(defaults tonull)autoscale_settings(defaults tonull)conflict_resolution_policy(defaults tonull)indexing_policy(defaults tonull)timeouts(defaults tonull)unique_key(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
azurerm_cosmosdb_sql_container {
name = "cosmosdb_sql_container";
account_name = …; # required
database_name = …; # required
partition_key_paths = …; # required
resource_group_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.