azurerm_iothub

Nivis Nix constructor for the azurerm_iothub 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,
  location,
  resource_group_name,
  endpoint ? null,
  enrichment ? null,
  event_hub_partition_count ? null,
  event_hub_retention_in_days ? null,
  id ? null,
  local_authentication_enabled ? null,
  min_tls_version ? null,
  cfg_name ? null,
  public_network_access_enabled ? null,
  route ? null,
  tags ? null,
  cloud_to_device ? null,
  fallback_route ? null,
  file_upload ? null,
  identity ? null,
  network_rule_set ? null,
  sku ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • location
  • resource_group_name
Optional arguments
  • endpoint (defaults to null)
  • enrichment (defaults to null)
  • event_hub_partition_count (defaults to null)
  • event_hub_retention_in_days (defaults to null)
  • id (defaults to null)
  • local_authentication_enabled (defaults to null)
  • min_tls_version (defaults to null)
  • cfg_name (defaults to null)
  • public_network_access_enabled (defaults to null)
  • route (defaults to null)
  • tags (defaults to null)
  • cloud_to_device (defaults to null)
  • fallback_route (defaults to null)
  • file_upload (defaults to null)
  • identity (defaults to null)
  • network_rule_set (defaults to null)
  • sku (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • event_hub_events_endpoint
  • event_hub_events_namespace
  • event_hub_events_path
  • event_hub_operations_endpoint
  • event_hub_operations_path
  • hostname
  • shared_access_policy
  • type
Example
azurerm_iothub {
  name = "iothub";
  location = …;  # required
  resource_group_name = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.