Skip to content

appd get-health-rules

Get health rule of given application

Description

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

Synopsis

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

Arguments

site - (string)

     Site where this command will be executed
     Example: --site "site-1"
     Default: input.site      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

Examples

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
Namespace
Object Type "application"
Object ID application

Please see Access Control for details.