11.2 Access OML User Management from Command Line

You can obtain the Oracle Machine Learning User Management URL for a specific tenancy from the Oracle Cloud Infrastructure (OCI) command line.

Prerequisite: Tenancy ID
To obtain the Oracle Machine Learning User Management URL for a specific tenancy from the OCI command line, you must first obtain the tenancy ID.
  1. To obtain the tenancy ID, go to your OCI Profile on the top right corner of the Oracle Cloud page and click Tenancy.

    Figure 11-1 OCI Profile

    Oracle Cloud Profile Information
  2. On the Tenancy details page, click Copy to obtain the tenancy URL.

    Figure 11-2 Tenancy Information

    Tenancy Information
  3. Type the following command in your OCI command line interface:
    oci db database list  --compartment-id  <tenancy OCID>
    Here,
    • compartment-id: This is the unique ID assigned to your compartment.
    • tenancy OCID: This is the Oracle Cloud Identifier (OCID) for your tenancy.
    This command returns the following:
    "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
          },
This completes the task of obtaining the Oracle Machine Learning User Management URL from OCI command line interface.