アーティファクト・レジストリのリポジトリの更新
アーティファクト・レジストリでリポジトリの名前、説明またはタグを更新できます。
リポジトリの名前、説明またはタグを更新するには、
artifacts repository
リソースを使用します(アーティファクト・レジストリCLIを参照)。artifacts repository
のすべてのコマンドを取得します:oci artifacts repository -h
update
コマンドのヘルプを取得します:oci artifacts repository update -h
update
コマンドのオプションを見つけます:--repository-id
[必須]--repository-type
[必須]--display-name
(オプション)--description
(オプション)--freeform-tags
(オプション)--defined-tags
(オプション)
リポジトリを更新します:
oci artifacts repository update --repository-id <repository-OCID> --repository-type GENERIC --display-name <repo-new-name> --description <new-description> --freeform-tags <key-value-pair> --defined-tags <tags-predefined-for-tenancy-namespace>
例:
oci artifacts repository update --repository-id ocid1.artifactrepository.oc1..xxx... --repository-type GENERIC --display-name <new-repo-name> --description <new-description>
ノート
すべてのオプション・フィールドを更新する必要はありません。--freeform-tags
などのオプション・フィールドはupdate
コマンドから省略できます。UpdateRepository操作を使用して、特定のリポジトリを更新します。