azurerm_iothub_endpoint_cosmosdb_account

Nivis 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_name
  • database_name
  • endpoint_uri
  • iothub_id
  • resource_group_name
Optional arguments
  • authentication_type (defaults to null)
  • id (defaults to null)
  • identity_id (defaults to null)
  • cfg_name (defaults to null)
  • partition_key_name (defaults to null)
  • partition_key_template (defaults to null)
  • primary_key (defaults to null)
  • secondary_key (defaults to null)
  • subscription_id (defaults to null)
  • timeouts (defaults to null)
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.