azurerm_iothubNivis 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
locationresource_group_name
Optional arguments
endpoint(defaults tonull)enrichment(defaults tonull)event_hub_partition_count(defaults tonull)event_hub_retention_in_days(defaults tonull)id(defaults tonull)local_authentication_enabled(defaults tonull)min_tls_version(defaults tonull)cfg_name(defaults tonull)public_network_access_enabled(defaults tonull)route(defaults tonull)tags(defaults tonull)cloud_to_device(defaults tonull)fallback_route(defaults tonull)file_upload(defaults tonull)identity(defaults tonull)network_rule_set(defaults tonull)sku(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
event_hub_events_endpointevent_hub_events_namespaceevent_hub_events_pathevent_hub_operations_endpointevent_hub_operations_pathhostnameshared_access_policytype
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.