azurerm_eventhubNivis Nix constructor for the azurerm_eventhub 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,
namespace_id,
partition_count,
id ? null,
message_retention ? null,
cfg_name ? null,
status ? null,
capture_description ? null,
retention_description ? null,
timeouts ? null,
overrides ? {}
}Required arguments
namespace_idpartition_count
Optional arguments
id(defaults tonull)message_retention(defaults tonull)cfg_name(defaults tonull)status(defaults tonull)capture_description(defaults tonull)retention_description(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
partition_ids
Example
azurerm_eventhub {
name = "eventhub";
namespace_id = …; # required
partition_count = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.