检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
UpdateRepoDomainsRequest request = new UpdateRepoDomainsRequest(); UpdateRepoDomainsRequestBody body = new UpdateRepoDomainsRequestBody();
将本仓库中library命名空间中以“nginx-”名称开头的所有版本镜像,推送到目标仓库test-edit-fail的lib1命名空间下,触发模式为手动触发,且覆盖相同名称版本的镜像。 从目标仓库拉取 将目标仓库test-edit-fail的lib1命名空间中以“nginx-”名称开头的所有版本镜像,拉取到本仓库
CreateRepoDomainsRequest request = new CreateRepoDomainsRequest(); CreateRepoDomainsRequestBody body = new CreateRepoDomainsRequestBody();
ShowRepoDomainsResponse objects 共享租户列表 表4 ShowRepoDomainsResponse 参数 参数类型 描述 namespace String 组织 repository String 镜像仓库 access_domain String 共享租户名
listSharedReposDetails 创建按账号共享 imagerepositoryaccessdomain createImageRepositoryAccessDomain 删除账号共享 imagerepositoryaccessdomain deleteImageRepositoryAccessDomain
type为regular时为正则表达式 container String 需更新的container名,默认为所有container created_at String 创建时间 creator_name String 创建人 detail String 详情 result String
ListImageAutoSyncReposDetailsRequest request = new ListImageAutoSyncReposDetailsRequest(); try { ListImageAutoSyncReposDetailsResponse response
type为regular时为正则表达式 container String 需更新的container名,默认为所有container created_at String 创建时间 creator_name String 创建人 detail String 详情 result String
omain} swr:repo:deleteRepoDomain √ 更新镜像共享账号 PATCH /v2/manage/namespaces/{namespace}/repositories/{repository}/access-domains/{access_domain}
Subject-Token的值)。 响应参数 状态码: 200 表2 响应Body参数 参数 参数类型 描述 domain_id String 租户ID domain_name String 租户名称 namspace_num Integer 当前租户的命名空间个数 repo_num
触发条件,type为all时为.*,type为tag时为tag名,type为regular时为正则表达式 container 否 String 需更新的container名,默认为所有container enable 是 String 是否生效 name 是 String 触发器名 trigger_mode
updateImmutableRule 增加域名 addDomainName addDomainName 更新域名 updateDomainName updateDomainName 删除域名 deleteDomainName deleteDomainName 创建订单 instance createOrder
String 创建时间,UTC日期格式,时间为UTC标准时间,用户需要根据本地时间计算偏移量;如东8区需要+8:00 domainID String 租户ID domainName String 租户名 id Integer ID namespace String 组织名 override
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
概述 欢迎使用容器镜像服务(Software Repository for Container,SWR)。容器镜像服务是一种支持镜像全生命周期管理的服务,提供简单易用、安全可靠的镜像管理功能,帮助您快速部署容器化服务。 您可以使用本文档提供API对容器镜像服务进行相关操作,如创建
please wait ... Start to handle images tasks, please wait ... Images(38) migration finished, 0 images tasks failed, 0 tasks generate failed 示例如下:
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great