Skip to content

Commit 73abf64

Browse files
Merge pull request #298132 from SoniaLopezBravo/update-uninstall-page
Adding note about deletion of dependencies in AIO
2 parents e0b0cae + 514f20b commit 73abf64

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

articles/iot-operations/deploy-iot-ops/howto-manage-update-uninstall.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,11 @@ However, you can also manage the components of Azure IoT Operations using YAML K
145145

146146
## Uninstall
147147

148-
The Azure CLI and Azure portal offer different options for uninstalling Azure IoT Operations.
148+
The Azure IoT Operations CLI and Azure portal offer different options for uninstalling Azure IoT Operations.
149+
150+
> [!IMPORTANT]
151+
> If you want to clean up your cluster and resource group, it's recommended to first remove Azure IoT Operations from the cluster using the Azure IoT Operations CLI commands in the following section. Then, you can delete the resource group. Deleting the resource group directly will leave orphaned resources on the cluster.
149152
150-
The Azure portal steps can delete an Azure IoT Operations instance, but can't affect the related resources in the deployment. If you want to delete the entire deployment, use the Azure CLI.
151153

152154
### [Azure portal](#tab/portal)
153155

@@ -161,6 +163,9 @@ The Azure portal steps can delete an Azure IoT Operations instance, but can't af
161163

162164
:::image type="content" source="./media/howto-deploy-iot-operations/delete-instance.png" alt-text="A screenshot that shows deleting an Azure IoT Operations instance in the Azure portal.":::
163165

166+
> [!NOTE]
167+
> Deleting the Azure IoT Operations instance in the Azure portal doesn't remove the dependencies that were created when you deployed Azure IoT Operations. To remove these dependencies, use the `az iot ops delete --name <INSTANCE_NAME> --resource-group <RESOURCE_GROUP> --include-deps` command described in the Azure CLI procedure.
168+
164169
### [Azure CLI](#tab/cli)
165170

166171
Use the [az iot ops delete](/cli/azure/iot/ops#az-iot-ops-delete) command to delete the entire Azure IoT Operations deployment from a cluster. The `delete` command evaluates the Azure IoT Operations related resources on the cluster and presents a tree view of the resources to be deleted. The cluster should be online when you run this command.

0 commit comments

Comments
 (0)