查询容器部署组详情
最近更新时间: 2026-10-11 00:12:05
1. 接口描述
接口请求域名: tsf.api3.fincloud.tencent.com。
容器部署组详情(已废弃,请使用 DescribeContainerGroupDeployInfo)
默认接口请求频率限制:10000次/秒。
接口更新时间:2025-08-06 23:23:55。
接口只验签名不鉴权。
2. 输入参数
以下请求参数列表仅列出了接口请求参数和部分公共参数,完整公共参数列表见公共请求参数。
| 参数名称 | 必选 | 允许NULL | 类型 | 描述 |
|---|---|---|---|---|
| Action | 是 | 否 | String | 公共参数,本接口取值:DescribeContainerGroupDetail |
| Version | 是 | 否 | String | 公共参数,本接口取值:2018-03-26 |
| Region | 是 | 否 | String | 公共参数,地域信息可通过DescribeRegions接口查看产品支持的地域列表 |
| GroupId | 是 | 否 | String | 分组ID 示例值: |
3. 输出参数
| 参数名称 | 类型 | 描述 |
|---|---|---|
| Result | ContainerGroupDetail | 容器部署组详情 示例值:查看 |
| RequestId | String | 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 |
4. 错误码
以下仅列出了接口业务逻辑相关的错误码,其他错误码详见公共错误码。
| 错误码 | 描述 |
|---|---|
| FailedOperation.GroupQueryFailed | 事务分组查询失败。 |
| UnauthorizedOperation.NoPrivilege | 用户无权限访问该接口。。 |
| FailedOperation.ContainergroupKuberneteConnectError | 连接 kube-api-sever 失败。 |
| FailedOperation.GroupQueryFaild | 部署组查询失败。 |
| InternalError.ContainergroupKuberneteConnectError | 连接TKE服务失败。 |
| InternalError.ContainergroupSqlFailed | 容器应用SQL错误。 |
| InvalidParameterValue.ContainergroupGroupidNull | 部署组ID不能为空。 |
| FailedOperation.ContainergroupKubernetesConnectError | 调用 kube-api-server 失败。 |
| ResourceNotFound.ClusterNotExist | 无法获取命名空间所属集群。 |
| ResourceNotFound.MicroserviceOffline | 目标微服务已离线[%s]。。 |
| ResourceNotFound.GroupNotExist | 此部署组不存在,无法执行该操作。 |
| InvalidParameter.ParamError | 参数错误。 |
| MissingParameter.SystemParameterRequired | 未指定%s。。 |
| FailedOperation.TsfPrivilegeError | TSF权限模块异常,请联系系统管理员。。 |
| InternalError.UnhandledException | [%s]模块未处理异常。。 |
| UnauthorizedOperation.NoLicense | 缺少License。。 |
5. 示例
示例1 DescribeContainerGroupDetail
输入示例
https://tsf.api3.fincloud.tencent.com/?Action=DescribeContainerGroupDetail
&GroupId=group-6a79x94v
&<Common Parameters>
输出示例
{
"Response": {
"Result": {
"UpdatedTime": 0,
"HealthCheckSettings": {
"ReadinessProbe": {
"Type": "tcp",
"TimeoutSeconds": 1,
"InitialDelaySeconds": 1,
"ActionType": "TCP",
"Command": [
"sh health.sh"
],
"PeriodSeconds": 1,
"Path": "/health",
"SuccessThreshold": 1,
"Scheme": "http",
"Port": 1,
"FailureThreshold": 1
},
"LivenessProbe": {
"TimeoutSeconds": 1,
"InitialDelaySeconds": 1,
"ActionType": "TCP",
"Command": [
"sh health.sh"
],
"PeriodSeconds": 1,
"Path": "/health",
"SuccessThreshold": 1,
"Scheme": "http",
"Port": 1,
"FailureThreshold": 1
}
},
"InstanceNum": 1,
"NamespaceName": "default",
"MaxUnavailable": "25%",
"ApplicationType": "C",
"CurrentNum": 1,
"MicroserviceType": "DEF",
"Status": "Running",
"LbIp": "10.23.29.11",
"MemRequest": "0.5",
"AccessType": 1,
"UpdateIvl": 10,
"Envs": [
{
"Name": "consul_ip",
"Value": "10.29.26.11"
},
{
"Name": "host",
"Value": "hostName"
}
],
"TagName": "v1",
"ClusterIp": "10.29.1.2",
"MemLimit": "512",
"CpuLimit": "1",
"ApplicationId": "application-6a79x94v",
"ApplicationName": "applicaiton-name",
"ProtocolPorts": [
{
"TargetPort": 30032,
"Protocol": "tcp",
"Port": 30032,
"NodePort": 0
}
],
"UpdateType": 1,
"ClusterId": "cls-6a79x94v",
"MaxSurge": "25%",
"Server": "ccr.mycloud.com",
"SubnetId": "subnet-6a79x94v",
"NodePort": 30870,
"GroupId": "group-6a79x94v",
"GroupResourceType": "C",
"InstanceCount": 1,
"GroupName": "test-group",
"ClusterName": "k8s-cluster",
"CreateTime": "2022-11-22 09:27:11",
"Reponame": "nginx",
"CpuRequest": "0.5",
"Message": "this is a msg",
"NamespaceId": "namespace-6a79x94v",
"AllowPlainYamlDeploy": true,
"IsNotEqualServiceConfig": true,
"RepoName": "nginx",
"Alias": "this is a alias"
},
"RequestId": "96561cf1-738a-47d6-943b-dec7ebbccabe"
}
}