12.2 コマンドラインからのOMLユーザー管理へのアクセス

Oracle Cloud Infrastructure (OCI)コマンドラインから、特定のテナンシのOracle Machine Learningユーザー管理URLを取得できます。

前提条件: テナンシID
OCIコマンドラインから特定のテナンシのOracle Machine Learningユーザー管理URLを取得するには、まずテナンシIDを取得する必要があります。
  1. テナンシIDを取得するには、Oracle Cloudページの右上隅にあるOCIの「プロファイル」に移動し、「テナンシ」をクリックします。

    図12-1 OCIプロファイル

    Oracle Cloudプロファイル情報
  2. 「テナンシ詳細」ページで、「コピー」をクリックしてテナンシURLを取得します。

    図12-2 テナンシ情報

    テナンシ情報
  3. OCIコマンドライン・インタフェースで次のコマンドを入力します:
    oci db database list  --compartment-id  <tenancy OCID>
    説明:
    • compartment-id: これは、コンパートメントに割り当てられた一意のIDです。
    • tenancy OCID: これは、テナンシのOracle Cloud Identifier (OCID)です。
    このコマンドにより、次の情報が返されます。
    "connection-urls": {
            "apex-url": https://<tenancy ID>-<database name>.<region>.oraclecloudapps.com/ords/apex,
            "graph-studio-url": https://<tenancy ID>-<database name>.<region>.oraclecloudapps.com/graphstudio/,
            "machine-learning-user-management-url": https://<tenancy ID>-<database name>.<region>-1.oraclecloudapps.com/omlusers/,
            "sql-dev-web-url": https://<tenancy ID>-<database name>.<region>-1.oraclecloudapps.com/ords/sql-developer
          },
これで、OCIコマンドライン・インタフェースからOracle Machine Learningユーザー管理のURLを取得するタスクは完了です。