アーティファクト・レジストリでのリポジトリの詳細の取得

アーティファクト・レジストリで特定のリポジトリの詳細を取得します。

    1. ナビゲーション・メニューを開き、「開発者サービス」をクリックします。「コンテナとアーティファクト」で、「アーティファクト・レジストリ」をクリックします。
    2. 「リスト・スコープ」で、リポジトリを含むコンパートメントを選択します。
    3. 詳細を表示するリポジトリの名前をクリックします。
  • リポジトリの詳細を取得するには、artifacts repositoryリソースを使用します(アーティファクト・レジストリCLIを参照)。

    artifacts repositoryのすべてのコマンドを取得します:

    oci artifacts repository -h

    getコマンドのヘルプを取得します:

    oci artifacts repository get -h

    getコマンドに指定するオプションを見つけます:

    --repository-id

    特定のリポジトリの詳細を取得します:

    oci artifacts repository get --repository-id <repository-OCID>

    例:

    oci artifacts repository get --repository-id ocid1.artifactrepository.oc1..xxx...

    サンプル出力:

    
    {
     "data":{
          "compartment-id": "ocid1.artifactrepository.oc1..xxx...",
          "defined-tags": {},
          "description": "",
          "display-name": "artifactrepository20210423180901",
          "freeform-tags": {},
          "id": "ocid1.artifactrepository.oc1..xxx...",
          "is-immutable": true,
          "lifecycle-state": "AVAILABLE",
          "repository-type": "GENERIC",
          "time-created": "2021-04-23T18:09:02.511000+00:00"
         },
         etag: "xxxxxx"
    }
  • GetRepository操作を使用して、リポジトリの詳細を取得します。