Apusic文档中心
首页
  • 应用服务器 AAS
  • 负载均衡器 ALB
  • 分布式消息队列 ADMQ
  • 分布式缓存 AMDC
  • 分布式配置中心 ADCC
  • Java开发工具包软件 AJDK
  • 搜索引擎 ASE
  • 中间件云平台 ACP
  • 统一管理平台 AUMP
  • 云原生中间件管理 ACMP
  • DevOps平台 ADOP
  • 许可授权中心 ACLS
  • Copilot智能问答系统 ACS
  • 监控平台 AMP
  • 智能日志 AILP
  • 应用性能管理 AAPM
  • 智能告警 AAlarm
  • 主数据管理 AMDM
  • 数据交换平台 ADXP
  • 企业服务总线 AESB
  • 数据智脑 ADPR
  • 服务治理 ASGP
  • 统一身份管理 AIDM
  • 标准模板
  • Markdown教程 (opens new window)
  • VuePress官方社区 (opens new window)
  • 帮助
贡献文档 (opens new window)
首页
  • 应用服务器 AAS
  • 负载均衡器 ALB
  • 分布式消息队列 ADMQ
  • 分布式缓存 AMDC
  • 分布式配置中心 ADCC
  • Java开发工具包软件 AJDK
  • 搜索引擎 ASE
  • 中间件云平台 ACP
  • 统一管理平台 AUMP
  • 云原生中间件管理 ACMP
  • DevOps平台 ADOP
  • 许可授权中心 ACLS
  • Copilot智能问答系统 ACS
  • 监控平台 AMP
  • 智能日志 AILP
  • 应用性能管理 AAPM
  • 智能告警 AAlarm
  • 主数据管理 AMDM
  • 数据交换平台 ADXP
  • 企业服务总线 AESB
  • 数据智脑 ADPR
  • 服务治理 ASGP
  • 统一身份管理 AIDM
  • 标准模板
  • Markdown教程 (opens new window)
  • VuePress官方社区 (opens new window)
  • 帮助
贡献文档 (opens new window)
文档中心
  • 文档中心模板

    • 概述
    • 发版说明
    • 产品简介
    • 产品白皮书
    • 功能清单
    • 快速入门
    • 安装手册
    • 用户手册
    • 开发手册
    • API文档
    • 插件说明
    • 适配说明
    • 性能参数
    • 性能调优手册
    • 数据迁移手册
    • 常见问题
    • 版本发布历史
  • 产品文档样例

  • 帮助

API文档

# 更新历史

# 第53次发布

发布时间:2021-06-16 08:08:41

本次发布包含了以下内容:

改善已有的文档。

新增接口:

  • SearchBusinessLog (opens new window)
  • SearchStdoutLog (opens new window)

新增数据结构:

  • BusinessLogV2 (opens new window)
  • StdoutLogV2 (opens new window)
  • TsfPageBusinessLogV2 (opens new window)
  • TsfPageStdoutLogV2 (opens new window)

# 第52次发布

发布时间:2021-05-21 08:08:26

本次发布包含了以下内容:

改善已有的文档。

新增接口:

  • DescribeTaskRecords (opens new window)

新增数据结构:

  • TaskRecordPage (opens new window)

# 第XX次发布

XXX

# API概览

# 微服务网关相关接口

接口名称 接口功能
BindApiGroup (opens new window) 网关与API分组批量绑定

# 服务相关接口

接口名称 接口功能
CreateMicroservice (opens new window) 新增微服务

# XXX相关接口

接口名称 接口功能

# 集群相关接口

# 移除云主机

# 1. 接口描述

接口请求地址: tsf.tencentcloudapi.com 。

查询简单集群列表

默认接口请求频率限制:20次/秒。

注意:本接口支持金融区地域。由于金融区和非金融区是隔离不互通的,因此当公共参数 Region 为金融区地域(例如 ap-shanghai-fsi)时,需要同时指定带金融区地域的域名,最好和 Region 的地域保持一致,例如:tsf.ap-shanghai-fsi.tencentcloudapi.com。

# 2. 输入参数

参数名称 必选 类型 描述
Action 是 String 公共参数,本接口取值:DescribeSimpleClusters。
ClusterType 否 String 需要查询的集群类型,不填或不传入时查询所有内容

# 3. 输出参数

参数名称 类型 描述
Result TsfPageCluster (opens new window) TSF集群分页对象
注意:此字段可能返回 null,表示取不到有效值。
RequestId String 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。

# 4. 示例

# 查询简单集群列表

# 示例1 查询集群机器列表

# 输入示例
https://tsf.tencentcloudapi.com/?Action=DescribeClusterInstances
&ClusterId=cluster-xxxxxxx
&Offset=0
&Limit=20
&<公共请求参数>
1
2
3
4
5
# 输出示例
{
  "Response": {
    "RequestId": "a92e58d4-b415-4069-910e-c84e60233019",
    "Result": {
      "TotalCount": 2,
      "Content": [
        {
          "InstanceId": "ins-xxxxxxx",
          "InstanceName": "consumer",
          "LanIp": "172.16.0.7",
          "WanIp": "193.112.32.241",
          "NamespaceId": "cluster-xxxxxxx",
          "UpdateTime": null,
          "InstanceDesc": null,
          "ClusterId": null,
          "ClusterName": null,
          "InstanceStatus": null,
          "InstanceAvailableStatus": "Abnormal",
          "ServiceInstanceStatus": "Stopped",
          "ServiceSidecarStatus": "UnSupported",
          "OperationState": 6,
          "CountInTsf": null,
          "GroupId": "",
          "GroupName": null,
          "ApplicationId": null,
          "ApplicationName": null,
          "InstanceCreatedTime": null,
          "InstanceExpiredTime": null,
          "InstanceChargeType": null,
          "InstanceTotalCpu": null,
          "InstanceTotalMem": null,
          "InstanceUsedCpu": null,
          "InstanceUsedMem": null,
          "InstanceLimitCpu": null,
          "InstanceLimitMem": null,
          "InstancePkgVersion": "",
          "ClusterType": null,
          "InstanceZoneId": null,
          "RestrictState": null,
          "InstanceImportMode": "R",
          "ApplicationType": null
        },
        {
          "InstanceId": "ins-xxxxxxx",
          "InstanceName": "provider",
          "LanIp": "172.16.0.3",
          "WanIp": "106.52.118.194",
          "NamespaceId": "cluster-xxxxxxx",
          "UpdateTime": null,
          "InstanceDesc": null,
          "ClusterId": null,
          "ClusterName": null,
          "InstanceStatus": null,
          "InstanceAvailableStatus": "Abnormal",
          "ServiceInstanceStatus": "Stopped",
          "ServiceSidecarStatus": "UnSupported",
          "OperationState": 6,
          "CountInTsf": null,
          "GroupId": "",
          "GroupName": null,
          "ApplicationId": null,
          "ApplicationName": null,
          "InstanceCreatedTime": null,
          "InstanceExpiredTime": null,
          "InstanceChargeType": null,
          "InstanceTotalCpu": null,
          "InstanceTotalMem": null,
          "InstanceUsedCpu": null,
          "InstanceUsedMem": null,
          "InstanceLimitCpu": null,
          "InstanceLimitMem": null,
          "InstancePkgVersion": "",
          "ClusterType": null,
          "InstanceZoneId": null,
          "RestrictState": null,
          "InstanceImportMode": "R",
          "ApplicationType": null
        }
      ]
    }
  }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82

# XXX相关接口

# 数据结构

# AddInstanceResult

添加实例到集群的结果

被如下接口引用:AddClusterInstances。

名称 类型 描述
FailedInstanceIds Array of String 添加集群失败的节点列表
注意:此字段可能返回 null,表示取不到有效值。

# AdvanceSettings

高级选项设置

被如下接口引用:CreateTask, DescribeTaskDetail, DescribeTaskRecords, ModifyTask。

名称 类型 描述
SubTaskConcurrency Integer 子任务单机并发数限制,默认值为2

# XXX

xxxxxx

名称 类型 描述

# 错误码

# 公共错误码

错误码 说明
ActionOffline 接口已下线。

# 业务错误码

错误码 说明
FailedOperation.ApiMetaParseFailed API元数据解析失败。
编辑页面 (opens new window)

← 开发手册 插件说明→

  • 浅色模式