Import Tier Naming Rules
You can import tier naming rules by using:
Use UI to Import Tier Naming Rules
- Go to the Tier Naming Rules tab.
- Click Import.
- Select the JSON file you want to import.
- Click Upload.
- 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
}
]
}