Redaguoti

Bendrinti naudojant


Delete an Azure Data Explorer cluster

This article explains how to delete an Azure Data Explorer cluster. If you delete a cluster that was active for more than 14 days, it enters a soft delete period for 14 days. During this soft delete time period, the cluster is recoverable and can be restored, and you can't create another cluster with the same name. After 14 days, the cluster is permanently deleted and can't be restored.

You can opt out of the soft delete period by setting a tag on your cluster. See Opt out of soft delete.

To delete only table records, see Soft delete overview

Prerequisites

Delete a cluster

To delete your Azure Data Explorer cluster:

  1. Open your cluster in the Azure portal.

  2. From the left-hand menu, select Overview.

  3. In the top menu, select the Delete icon.

    Screenshot of the option to delete a cluster.

  4. In the Delete cluster window, type in the name of the cluster. Then, select Delete.

    Caution

    Deleting a cluster is a permanent action and cannot be undone. All cluster content will be lost. To recover the cluster in the initial 14 days soft-delete period, please open a support ticket.

Opt out of soft delete

You can opt out of the soft delete period by setting a tag on your cluster. Once you've set the tag, a deleted cluster won't enter the soft delete period and is permanently deleted immediately.

Tags can be set on Azure resources through the portal, PowerShell, Azure CLI, or ARM templates. For more information on these different methods, see Use tags to organize your Azure resources.

The key for the tag is opt-out-of-soft-delete and the value is true.