REST APIを使用したAutonomous Databaseの検出

Oracle Enterprise Managerでは、REST APIを使用してAutonomous Databaseを検出できます。

機能 説明
URL https://<em_url>:<em_port>/em/websvcs/restful/emws/oracle.sysman.db/v0/discovery/add_cloud_db_target
リクエスト・ヘッダー

Content-Type: application/json

本体
'{
"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"
}'

詳細は、「EM CLIを使用したAutonomous Databaseの検出」を参照してください。

リクエスト・メソッド POST
サンプル・レスポンス
Successfully added target :<target name>