*`name` - (Required) Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.
*`namespace_name` - (Required) Specifies the name of the EventHub Namespace. Changing this forces a new resource to be created.
*`resource_group_name` - (Required) The name of the resource group in which the EventHub's parent Namespace exists. Changing this forces a new resource to be created.
*`location` - (Required) Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
*`partition_count` - (Required) Specifies the current number of shards on the Event Hub.
*`message_retention` - (Required) Specifies the number of days to retain the events for this Event Hub. Needs to be between 1 and 7 days; or 1 day when using a Basic SKU for the parent EventHub Namespace.
## Attributes Reference
The following attributes are exported:
*`id` - The EventHub ID.
*`partition_ids` - The identifiers for partitions created for Event Hubs.