You can add a data retention policy to archive or delete resources in Measure based on defined scope and retention rules.
You must have the product administrator role. For more
information about the roles, see Roles and permissions.
-
On the Home page, click the Settings icon.
-
On the Settings page, select .
-
Click Add policy.
-
Enter the following details in the given fields:
- Name: Add the name of the data retention policy.
- Description: Add the description about the
policy.
- Retention days: Add the number of days for data retention.
-
Select Mode from the drop-down list:
- Archive: The resource data is removed from the active user interface, so
it stops cluttering your daily view.
- Delete: The resource data is removed from the system.
-
Select Resource type, Version, from the drop-down list.
Note: Currently, only the Version
resource type is supported.
-
Select Scope from the drop-down list:
- Global: This policy scope is applied to all resources across all
users.
- Team: This policy scope is applied to only selected teams.
- Application: This policy scope is applied to only selected
applications.
-
Click Create policy.
The data retention policy is created as is in a disabled state, which is the
default state. To enable the policy, follow the steps:
- Select the toggle button under the Disable /
Enable field.
- Review the impacted policy records preview.
- Enter the policy name again to confirm enable, and then click
Confirm.
The policy is enabled and completed. The policy is scheduled to run every
24-hour interval.
You have added the data retention policy.
Click the
icon to expand and view the following details about the
data retention policy:
- Policy ID
- Resource
- Scope
- Mode
- Last execution detail
- Executed by
- Affected count
- Cutoff time