set_awr_cred

ターゲット名およびターゲット・タイプ・パラメータで指定されたAWRウェアハウスのデータベースおよびホスト資格証明を設定します。

書式

emcli set_awr_cred
            -target_name=sample_database
            -target_type=oracle_database
            [-db_cred=<database_named_credential>]     
            [-host_cred=<database_host_named_credential>]
[ ] indicates that the parameter is optional

オプション

  • target_name

    ターゲットAWRウェアハウス・データベースの名前。

  • target_type

    ターゲットのタイプ。ターゲット・タイプとして使用可能な値は、oracle_databaseoracle_pdb、およびrac_databaseです。

  • db_cred

    ターゲット・データベースの新しい名前付き資格証明。

  • host_cred

    ターゲット・データベース・ホストの新しい名前付き資格証明。

出力

成功またはエラー

次の例では、ターゲットAWRウェアハウス・データベースsample_databaseのデータベースおよびホスト資格証明を設定します。

emcli set_awr_cred
            -target_name=sample_database
            -target_type=oracle_database
            -db_cred=SYS_CRED
            -host_cred=HOST_CRED