如何移除 Azure Stack Hub 上的事件中樞How to remove Event Hubs on Azure Stack Hub

警告

將事件中樞解除安裝會移除 (清除) 資源提供者,以及使用者建立的所有事件中樞叢集、命名空間和事件中樞資源。Uninstalling Event Hubs 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. 將事件中樞解除安裝 不會 刪除用來安裝事件中樞的套件。Uninstalling Event Hubs does not delete the packages used to install Event Hubs. 若想刪除事件中樞套件,請參閱刪除事件中樞套件To achieve that, please refer to Delete Event Hubs packages.

將事件中樞解除安裝Uninstall Event Hubs

這一連串的步驟將會移除所有事件中樞資源,包括叢集、命名空間、事件中樞和資源提供者。This sequence of steps will remove all Event Hubs resources, including clusters, namespaces, event hubs, and the resource provider.

若要移除使用者所建立的事件中樞和所有相關資源,請完成下列步驟:To remove Event Hubs and all related resources created by users, complete the following steps:

  1. 登入 Azure Stack Hub 系統管理員入口網站。Sign in to the Azure Stack Hub administrator portal.

  2. 選取左側的 Marketplace 管理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.

    移除事件中樞 1Remove event hubs 1

  5. 從頁面頂端提供的選項中,選取 [解除安裝] 。Select Uninstall from the options provided across the top the page.

    移除事件中樞 2Remove 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.

    移除事件中樞 3Remove event hubs 3

    移除事件中樞 4Removing event hubs 4

    重要

    成功移除事件中樞後,您必須至少等候 10 分鐘,才能重新安裝事件中樞。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 this option if after uninstalling Event Hubs you also wish to remove any packages used to install Event Hubs.

後續步驟Next steps

若要重新安裝,請返回安裝事件中樞資源提供者一文。To reinstall, return to the Install the Event Hubs resource provider article.