get_gold_agent_image_activity_status

Displays the status of a Management Agent gold image activity.

Format

emcli get_gold_agent_image_activity_status 
        -operation_name="gold_image_operation_name"
        [-noheader]
        [-script | -format=
                           [name:<pretty|script|csv>];
                           [column_separator:"column_sep_string"];
                           [row_separator:"row_sep_string"];
        ]
[ ]  indicates that the parameter is optional. 

Options

  • operation_name

    Displays the status of a particular Management Agent gold image activity. To view a list of the Management Agent gold image activities, run emcli list_gold_agent_image_activities.

  • noheader

    Displays a tabular form of the output without column headers.

  • script

    This option is equivalent to -format="name:script".

  • format

    Specifies the type of the output format. The default value of this option is -format="name:pretty".

    -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.

Exit Codes

0 if successful. A non-zero value indicates that verb processing was unsuccessful.

Examples

The following example displays the status of the Management Agent gold image operation GOLDAGENTIMAGE_CREATE_2013_12_22_12_12_52_535:

emcli get_gold_agent_image_activity_status  
                     -operation_name=GOLDAGENTIMAGE_CREATE_2013_12_22_12_12_52_535