How to uninstall Azure Stack Hub Event Hubs resources

Warning

Uninstalling Azure Stack Hub Event Hubs resources will remove (erase) the resource provider, and all user-created Event Hubs clusters, namespaces, and event hubs resources. It will also remove their associated event data.
Please proceed with extreme caution before deciding to uninstall Event Hubs on Azure Stack Hub. Uninstalling Event Hubs does not delete the packages used to install Event Hubs on Azure Stack Hub. To achieve that, please refer to Delete Event Hubs packages.

Uninstall Azure Stack Hub Event Hubs resources

This sequence of steps will delete all Azure Stack Hub Event Hubs resources, including clusters, namespaces, event hubs, and the resource provider:

  1. Sign in to the Azure Stack Hub administrator portal.

  2. Select Marketplace management on the left.

  3. Select Resource providers.

  4. Select Event Hubs from the list of resource providers. You may want to filter the list by entering "Event Hubs" in the search text box provided.

    Remove event hubs 1

  5. Select Uninstall from the options provided across the top of the page.

    Remove event hubs 2

  6. Enter the name of the resource provider, then select Uninstall. This action confirms your desire to uninstall:

    • The Event Hubs resource provider.
    • All user-created clusters, namespaces, event hubs, and event data.

    Remove event hubs 3

    Removing event hubs 4

    Important

    You must wait at least 10 minutes after Event Hubs has been removed successfully before installing Event Hubs again. This is due to the fact that cleanup activities might still be running, which may conflict with any new installation.

Delete Event Hubs packages

Use the Delete option after uninstalling Event Hubs on Azure Stack Hub, if you would also like to remove the related installation packages.

Next steps

To reinstall, return to the Install the Event Hubs resource provider article.