Import Tier Naming Rules

You can import tier naming rules by using:

Use UI to Import Tier Naming Rules

  1. Go to the Tier Naming Rules tab.
  2. Click Import.
  3. Select the JSON file you want to import.
  4. Click Upload.
  5. Click Done once the file has been successfully uploaded.

Use API to Import Tier Naming Rules

Format:

POST /customNaming/templates/import

Request Example:

curl --location --request POST 'https://demo.saas.appdynamics.com/zero/v1beta/customNaming/templates/import' --header 'Authorization: Bearer {AuthToken}' --header 'Content-Type: application/json' --form 'file=@"<filePath>"

Response Example:

{
    "total": 2,
    "items": [
        {
            "ruleName": "TomcatRule3",
            "status": "SUCCESS",
            "description": null
        },
        {
            "ruleName": "TomcatRule4",
            "status": "SUCCESS",
            "description": null
        }
    ]
}