list_subset_definitions
Gets the list of subset definitions, Application Data Models, and target names.
Format
emcli list_subset_definitions [-subset_name=<subset_definition_name_filter>] [-adm_name=<application_data_model_filter>] [-target_name=<target_name_filter>] [-string_match] [-script | -format=[name:<pretty|script|csv>]; [column_separator:"column_sep_string"]; [row_separator:"row_sep_string"]; ] [-noheader] [ ] indicates that the parameter is optional
Options
-
subset_name
Filter for the subset definition name. This can either be a full value or a pattern match(%).
-
adm_name
Filter for the Application Data Model (ADM) name. This can be either a full value or a pattern match(%).
-
target_name
Filter for the database target name. This can be either a full value or a pattern match (%).
-
string_match
Uses an exact string match for the subset definition name, target name, and ADM name.
-
script
This option is equivalent to -format='name: script'.
-
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.
-
-format="name:csv" sets the column separator to a comma and the row separator to a newline.
-
-
noheader
Suppresses the printing of column headers.
Output Columns
Subset Definition, Adm Name, Target Name
Examples
Example 1
This example prints the SLA information for one SLA.
emcli list_sla -targetName='my_service' -targetType='generic_service' -slaName='gold_sla' -version=2
Example 2
This example prints the SLA information for all SLAs of a target.
emcli list_sla -targetName='my_service' -targetType='generic_service'