Skip to content

appd get-applications

List applications

Description

List applications

Synopsis

appd get-applications
    [--site <site>]
    [--cluster <cluster>]

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

Examples

Input:

x = ! appd get-applications
Output:
[
  {
    "name": "Cluster1",
    "description": "",
    "id": 887570,
    "accountGuid": "75511c5e-368c-4db8-8003-512729222b52"
  },
  {
    "name": "bookinfo",
    "description": "",
    "id": 892053,
    "accountGuid": "75511c5e-368c-4db8-8003-512729222b52"
  },
  {
    "name": "test-app",
    "description": "My test application",
    "id": 864040,
    "accountGuid": "75511c5e-368c-4db8-8003-512729222b52"
  },
  {
    "name": "test app2",
    "description": "My second test application",
    "id": 864111,
    "accountGuid": "75511c5e-368c-4db8-8003-512729222b52"
  }
]
Input:
! appd get-applications
Output:
ID      NAME        DESCRIPTION                
892053  bookinfo                                
864040  test-app    My test application         
887570  Cluster1                                
864111  test app2   My second test application

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

Please see Access Control for details.