tencent cloud

容器安全服务

产品动态
产品简介
产品概述
产品优势
应用场景
功能介绍与版本对比
购买指南
试用申请
购买专业版
购买镜像扫描
购买日志分析
快速入门
操作指南
安全概览
资产管理
漏洞管理
镜像风险管理
集群风险管理
基线管理
运行时安全
高级防御
策略管理
防护开关
告警设置
日志分析
混合云安装指引
失陷容器隔离说明
日志字段数据解析
实践教程
镜像漏洞扫描和漏洞管理
故障处理
Linux 客户端离线排查
集群接入排查
API 文档
History
Introduction
API Category
Making API Requests
Network Security APIs
Cluster Security APIs
Security Compliance APIs
Runtime security - High-risk syscalls
Runtime Security - Reverse Shell APIs
Runtime Security APIs
Alert Settings APIs
Advanced prevention - K8s API abnormal requests
Asset Management APIs
Security Operations - Log Analysis APIs
Runtime Security - Trojan Call APIs
Runtime Security - Container Escape APIs
Image Security APIs
Billing APIs
Data Types
Error Codes
常见问题
TCSS 政策
隐私政策
数据处理和安全协议
联系我们
词汇表
Documentation容器安全服务API 文档Image Security APIsDescribeAssetImageRegistryRegistryDetail

DescribeAssetImageRegistryRegistryDetail

PDF
Focus Mode
Font Size
Last updated: 2025-03-11 22:56:03

1. API Description

Domain name for API request: tcss.intl.tencentcloudapi.com.

This API is used to view the details of an image repository.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: DescribeAssetImageRegistryRegistryDetail.
Version Yes String Common Params. The value used for this API: 2020-11-01.
Region No String Common Params. This parameter is not required.
RegistryId Yes Integer Unique repository ID

3. Output Parameters

Parameter Name Type Description
Name String Repository name
Username String Username
Password String Password
Url String Repository URL
RegistryType String Repository type, which can be harbor.
RegistryVersion String Repository version
Note: This field may return null, indicating that no valid values can be obtained.
NetType String Network type, which can be public (public network).
RegistryRegion String Region. Default value: default.
Note: This field may return null, indicating that no valid values can be obtained.
SpeedLimit Integer Speed limit
Note: This field may return null, indicating that no valid values can be obtained.
Insecure Integer Valid values: 0 (secure mode with certificate verification, which is the default value); 1 (unsecure mode that skips certificate verification).
Note: This field may return null, indicating that no valid values can be obtained.
RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 Normal Acquisition

Normal acquisition.

Input Example

POST / HTTP/1.1
Host: tcss.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeAssetImageRegistryRegistryDetail
<common request parameters>

{
    "RegistryId": 8329
}

Output Example

{
    "Response": {
        "Insecure": 1,
        "Name": "jfrog****",
        "NetType": "public",
        "Password": "Aa8888****",
        "RegistryRegion": "ap-beijing",
        "RegistryType": "harbor",
        "RegistryVersion": "v1",
        "RequestId": "ff82bfdb-f923-4b66-8c70-cba784e8be67",
        "SpeedLimit": 1000,
        "Url": "http://good.com.cn",
        "Username": "test-user-name"
    }
}

Example2 Image Repository Details

This example shows you how to obtain image repository details.

Input Example

POST / HTTP/1.1
Host: tcss.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeAssetImageRegistryRegistryDetail
<common request parameters>

{
    "RegistryId": "10"
}

Output Example

{
    "Response": {
        "RequestId": "5187d432-1753-4376-81b6-12e1f7e6ecf5",
        "Name": "jfrog****",
        "Username": "test-user",
        "Password": "test-passwd",
        "Url": "https://127.0.0.1:8080",
        "RegistryType": "harbor",
        "RegistryVersion": "v2",
        "NetType": "public",
        "RegistryRegion": "default",
        "SpeedLimit": 1,
        "Insecure": 0
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
AuthFailure A CAM signature/authentication error occurred.
FailedOperation The operation failed.
FailedOperation.DataValueNotCorrect The response data value is incorrect.
InternalError An internal error occurred.
InvalidParameter The parameter is incorrect.
InvalidParameter.InvalidFormat The parameter format is incorrect.
InvalidParameter.MissingParameter The required parameter is missing.
InvalidParameterValue The parameter value is incorrect.
ResourceNotFound The resource does not exist.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback