azurerm_iothub_endpoint_cosmosdb_accountNivis Nix constructor for the azurerm_iothub_endpoint_cosmosdb_account 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,
container_name,
database_name,
endpoint_uri,
iothub_id,
resource_group_name,
authentication_type ? null,
id ? null,
identity_id ? null,
cfg_name ? null,
partition_key_name ? null,
partition_key_template ? null,
primary_key ? null,
secondary_key ? null,
subscription_id ? null,
timeouts ? null,
overrides ? {}
}Required arguments
container_namedatabase_nameendpoint_uriiothub_idresource_group_name
Optional arguments
authentication_type(defaults tonull)id(defaults tonull)identity_id(defaults tonull)cfg_name(defaults tonull)partition_key_name(defaults tonull)partition_key_template(defaults tonull)primary_key(defaults tonull)secondary_key(defaults tonull)subscription_id(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
azurerm_iothub_endpoint_cosmosdb_account {
name = "iothub_endpoint_cosmosdb_account";
container_name = …; # required
database_name = …; # required
endpoint_uri = …; # required
iothub_id = …; # required
resource_group_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.