Edit Properties for Tier Naming Rules

You can edit properties for tier naming rules by using:

Use UI to Edit Properties for Tier Naming Rules

Perform the following to edit properties for tier naming rules in the Controller UI:
  1. Go to the Tier Naming Rules tab.
  2. Click Priority.
  3. Drag and drop rows to rearrange the tier naming rules priority.
  4. Click Save priority order.
    Warning: The evaluation of a tier name follows the priority order of the configuration rule defined. If none of the rules match, then the default tier name is set by the Agent Installer.

Use API to Edit Properties for Tier Naming Rules

Format:

PATCH /customNaming/rules/bulk

Request Example:

curl --location --request PATCH 'https://demo.saas.appdynamics.com/zero/v1beta/customNaming/rules/bulk' --header 'Authorization: Bearer {AuthToken}'
--header 'Content-Type: application/json' \
--data-raw
{
    "total": 1,
    "items": [
        {
            "id": "79962b2d-9afb-40e8-9529-428c5077e702",
            "priority": 1,
            "version": 1
        },
        {
            "id": "9a7dfb82-480f-4beb-b72c-a3692b54fdec",
            "priority": 2,
            "version": 1
        }
    ]
}

Response Example:

{
    "total": 2,
    "items": [
        {
            "ruleName": "TomcatRule1",
            "status": "SUCCESS",
            "description": null
        },
        {
            "ruleName": "TomcatRule2",
            "status": "SUCCESS",
            "description": null
        }
    ]
}