Discover Autonomous Databases Using REST API

You can discover an Autonomous Database in Oracle Enterprise Manager using REST API.

Feature Description
URL https://<em_url>:<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",
"agent_host": "agent_host",
"zip_file_location":"cred_file_zip_location",
"credentials":"UserName:<db_username>;password:<db_password>;Role:<db_user_role>",
"wallet_password:"wallet_password",
"service_name":"tns_service_name",
"is_dedicated":"is_dedicated"
"-standby_agent_host="standby_agent_host"
}'

For descriptions, 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