Discover Autonomous Databases Using REST API

You can discover Autonomous Databases using REST API.

Feature Description
URL https://<OMS fully qualified domain host>:<EM port>/em/websvcs/restful/emws/oracle.sysman.db/v0/discovery/add_cloud_db_target
Request Header

Content-Type: application/json

Body
'{
"target_name": "<target name>",
"target_type":"<target type>",
"host": "<agent host name>",
"credentials":"UserName:adbsnmp;password:<password>;Role:Normal",
"zip_file_location":"<client credentials wallet .zip file location>",
"service_name":"<dbname>_tp",
"is_dedicated":"<true/false>",
"protocol":"tcp"
}'

For information on the options, see Discover Autonomous Databases Using EM CLI.

Request Method POST
Sample Response
Successfully added target :<target name>
Supported Since Release EM DB Plug-in Bundle Patch 13.3.2.0.190731