Skip to content

Commit d8cd606

Browse files
committed
revisions
1 parent 5544b75 commit d8cd606

File tree

2 files changed

+99
-3
lines changed

2 files changed

+99
-3
lines changed

articles/azure-resource-manager/templates/deployment-history-deletions.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,27 @@
22
title: Deployment history deletions
33
description: Describes how Azure Resource Manager automatically deletes deployments from the deployment history. Deployments are deleted when the history is close to exceeding the limit of 800.
44
ms.topic: conceptual
5-
ms.date: 05/26/2020
5+
ms.date: 05/27/2020
66
---
77
# Automatic deletions from deployment history
88

99
Every time you deploy a template, information about the deployment is written to the deployment history. Each resource group is limited to 800 deployments in its deployment history.
1010

1111
Starting in June 2020, Azure Resource Manager automatically deletes deployments from your history as you near the limit. Automatic deletion is a change from past behavior. Previously, you had to manually delete deployments from the deployment history to avoid getting an error.
1212

13-
Deleting a deployment from the history doesn't affect any of the resources that were deployed.
13+
> [!NOTE]
14+
> Deleting a deployment from the history doesn't affect any of the resources that were deployed.
1415
1516
## When deployments are deleted
1617

1718
Deployments are deleted from your deployment history only when you near the limit of 800. Azure Resource Manager deletes a small set of the oldest deployments to clear space for future deployments. Most of your history remains unchanged. The oldest deployments are always deleted first.
1819

19-
:::image type="content" source="./media/deployment-history-deletions/deployment-history.png" alt-text="Deletions from deployment history":::
20+
:::image type="content" border="false" source="./media/deployment-history-deletions/deployment-history.svg" alt-text="Deletions from deployment history":::
2021

2122
In addition to deployments, you also trigger deletions when you run the [what-if operation](template-deploy-what-if.md) or validate a deployment.
2223

24+
When you give a deployment the same name as one in the history, you reset its place in the history. The deployment moves to the most recent place in the history. You also reset a deployment's place when you [roll back to that deployment](rollback-on-error.md) after an error.
25+
2326
## Opt out of automatic deletions
2427

2528
You can opt out of automatic deletions from the history. **Use this option only when you want to manage the deployment history yourself.** The limit of 800 deployments in the history is still enforced. If you exceed 800 deployments, you'll receive an error and your deployment will fail.

0 commit comments

Comments
 (0)