get_saved_configs
Lists the saved configurations.
Format
emcli get_saved_configs [-target_type="<target_type>"] [-target_name="<target_name>"] [-owner="<owner>"] [-format=name:<pretty|script|csv>; [column_separator:"column_sep_string"]; [row_separator:"row_sep_string"];] [ ] indicates that the parameter is optional
Options
-
target_type
Internal type name, such as oracle_database for "Oracle Database." You can use the get_target_types command to get the internal name for a target type.
-
target_name
Name of the target.Either specify the complete name or a pattern match using "%".
-
owner
Owner of the saved configuration.
This can be a full value or a pattern match using "%".
-
format
Format specification (default is
-format="name:pretty"
).-
format="name:pretty"
prints the output table in a readable format not intended to be parsed by scripts. -
format="name:script"
sets the default column separator to a tab and the default row separator to a newline. The column and row separator strings can be specified to change these defaults. -
format="name:csv"
sets the column separator to a comma and the row separator to a newline. -
format="name:script;column_separator:<column_sep_string>" column-separates the verb output by <column_sep_string>. Rows are separated by the newline character.
-
format="name:script;row_separator:<row_sep_string>" row-separates the verb output by <row_sep_string>. Columns are separated by the tab character.
-
-
noheader
Display tabular output without column headers.
Output Columns
Name (Saved configuration name, the concatenation of target name, target type and saved time in YYYYMMDDHH24MISS format), Target Type, Target Name, Saved Time (Format of the time is: yyyy/MM/dd HH:mm), Time Zone, Owner, Description
Examples
Example 2
This example lists all of the saved configurations created on target type "host" and target name "test host":
emcli get_saved_configs -target_type="host" -target_name="test host"
Example2
The example lists all of the saved configurations created by user with name "test user" and created on target type "host" and target name "test host":