Skip to content

appd get-health-rules

Get health rule of given application


Get health rule of given application. If no health rule ID is provided, return all


appd get-health-rules
    [--site <site>]
    [--cluster <cluster>]
    [--health_id <health_id>]


site - (string)

     Site where this command will be executed
     Example: --site "site-1"
     Default:      Attributes: optional

cluster - (string)

     Name of elastic search cluster
     Example: --cluster "appdynamics-default"
     Default: appdynamics-default      Attributes: optional

application - (string)

     application name or ID
     Example: "app-1"
     Default: _None_      Attributes: required

health_id - (int)

     Health ID for retrieving the health rule. If not provided, returns all the rules
     Example: --health_id 305881
     Default: _None_      Attributes: optional


appd get-health-rules "app-1" --health_id 305881

Access Control

To use this command, you need access to the following:

Field Value
Action "read"
Service Type "appd"
Service Instance cluster
Object Type "application"
Object ID application

Please see Access Control for details.