容器镜像服务 SWR-获取镜像老化规则记录:URI

时间:2023-11-21 14:35:57

URI

GET /v2/manage/namespaces/{namespace}/repos/{repository}/retentions/{retention_id}

表1 路径参数

参数

是否必选

参数类型

描述

namespace

String

组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。

repository

String

镜像仓库名称

retention_id

Integer

镜像老化规则id

support.huaweicloud.com/api-swr/swr_02_0052.html