Preview the Status of a Tier Naming Rules
Use UI to Preview the Status of Tier Naming Rule
- Go to the Tier Naming Rules tab.
- Click Naming Rules Preview.
- Preview the status of each rule: Impacted processes, In progress, and No changes.
- Click Done.
Use API to Preview the Status of a Tier Naming Rule
Format:
POST /customNaming/preview
Request Example:
curl --location --request POST 'https://demo.saas.appdynamics.com/zero/v1beta/customNaming/preview' --header 'Authorization: Bearer {AuthToken}'
--header 'Content-Type: application/json' \
--data-raw
{
"applicationNames" : [
"ECommerceApp"
],
"curTierInformation": [
{
"tierName": "tier1",
"ruleName": "rul1e1"
}
],
"expectedTierInformation": [
{
"tierName": "tier1",
"ruleName": "rul1e1"
}
],
"previewStatus" : false
}
Response Example 1:
{
"total": 1,
"items": [
{
"nodeName": "Node1",
"applicationName": "EcommerceApp",
"curTierInformation": {
"tierName": "Tier1",
"ruleName": "Rule1"
},
"expectedTierInformation": {
"tierName": "NewTier1",
"ruleName": "NewRule1"
},
"previewStatus": true,
"previewMessage": "Restart to Apply"
}
]
}
Response Example 2:
{
"total": 2,
"items": [
{
"nodeName": "Node1",
"applicationName": "EcommerceApp",
"curTierInformation": {
"tierName": "Tier1",
"ruleName": "Rule1"
},
"expectedTierInformation": {
"tierName": "NewTier1",
"ruleName": "NewRule1"
},
"previewStatus": true,
"previewMessage": "Restart to Apply"
},
{
"nodeName": "Node2",
"applicationName": "EcommerceApp",
"curTierInformation": {
"tierName": "Tier1",
"ruleName": "Rule1"
},
"previewStatus": true,
"previewMessage": "No Change"
}
]
}