import_adm

Imports an Application Data Model from the specified XML file.

Format

emcli import_adm
     -file=<file_name>
     -adm_name=<application_data_model_name>
     -target_name=<target_name>
     -target_type=<target type>
     [-desc=<description>]

[ ]  indicates that the parameter is optional

Options

  • file

    File name with the absolute path of the XML file.

  • adm_name

    Model name with which the Application Data Model will be imported.

  • target_name

    Target for which the Application Data Model will be created.

  • target_type

    Target type of the target for which the Application Data Model will be created.

  • desc

    Application Data Model description.

Output

Success/error messages.

Examples

This example imports the Application Data Model from the sample_adm_import.xml file as Sample_ADM.

emcli import_adm
       -file=/home/user/sample_adm_import.xml
       -adm_name=Sample_ADM
       -target_name=test_database
       -target_type=oracle_pdb
       -desc="Application Data Model for EBS"