list_gold_agent_imageversions
Lists the Management Agent gold image versions that have been promoted to the Current status by default.
Format
emcli list_gold_agent_imageversions [-image_name="gold_image_name"] [-all] [-noheader] [-script | -format= [name:<pretty|script|csv>]; [column_separator:"column_sep_string"]; [row_separator:"row_sep_string"]; [ ] indicates that the parameter is optional.
Options
-
image_name
Name of a particular Management Agent gold image whose Management Agent gold image versions should be listed.
-
all
Lists all the Management Agent gold images.
-
noheader
Displays the output in tabular format, without any column headers.
-
script
Output format you want. The default value of this option is equivalent to -format="name:script".
The following are the supported output formats
-format="name:pretty" displays the output table in a readable format that cannot be parsed by scripts.
-format="name:script" sets the default column separator to a tab character and the default row separator to a newline character. You can specify the column_separator and row_separator strings to change these default characters.
-format="name:csv" sets the column separator to a comma and the row separator to a newline character.
Examples
Example 1
The following example displays the Management Agent gold image versions that are promoted to the Current
status.
emcli list_gold_agent_imageversions
Example 2
The following example displays the Management Agent gold image versions that are part of the OPC_DB_MONITORING
and promoted to the Current
status.
emcli list_gold_agent_imageversions -image_name=OPC_DB_MONITORING