CmdID / az / az eventhubs / az eventhubs namespace
az eventhubs namespace exists
Check the give Namespace name availability. Azure CLI reference
2 options Its page in the Azure CLI reference
Options
--nameName to check the namespace name availability-nNamespace name.