import_admin_group
Import Administration group hierarchy.
Format - Standard Mode
emcli import_admin_group -property_file="null"
Format - Interactive or Script Mode
import_admin_group( property_file="null" )
Options
-
No Help available.
Exit Codes
0 if successful. A non-zero value indicates that verb processing was unsuccessful.
Example
The following example creates an admin group with one level - Lifecycle status (with all 5 values).
ade:[ system_23 ] [system@sys01apq emgc]$ emcli export_admin_group <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <AdminGroup> <groupList> <parent>ADMGRP0</parent> <child>Deve-Grp</child> <level>1</level> <propertyValuePair>orcl_gtp_lifecycle_status:Development</propertyValuePair> </groupList> <groupList> <parent>ADMGRP0</parent> <child>MC-Grp</child> <level>1</level> <propertyValuePair>orcl_gtp_lifecycle_status:MissionCritical</propertyValuePair> </groupList> <groupList> <parent>ADMGRP0</parent> <child>Prod-Grp</child> <level>1</level> <propertyValuePair>orcl_gtp_lifecycle_status:Production</propertyValuePair> </groupList> <groupList> <parent>ADMGRP0</parent> <child>Stag-Grp</child> <level>1</level> <propertyValuePair>orcl_gtp_lifecycle_status:Stage</propertyValuePair> </groupList> <groupList> <parent>ADMGRP0</parent> <child>Test-Grp</child> <level>1</level> <propertyValuePair>orcl_gtp_lifecycle_status:Test</propertyValuePair> </groupList> <levelList> <levelNumber>1</levelNumber> <levelProperty>orcl_gtp_lifecycle_status</levelProperty> <propertyValues>Development</propertyValues> <propertyValues>MissionCritical</propertyValues> <propertyValues>Production</propertyValues> <propertyValues>Stage</propertyValues> <propertyValues>Test</propertyValues> </levelList> <rootNode>ADMGRP0</rootNode> </AdminGroup> emcli awrwh_add_src_db -target_name=sample_database -target_type=oracle_database