tccli 3.0.1378.1__py2.py3-none-any.whl → 3.0.1380.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tccli/__init__.py +1 -1
- tccli/services/apm/v20210622/api.json +22 -0
- tccli/services/cbs/v20170312/api.json +6 -6
- tccli/services/cbs/v20170312/examples.json +6 -6
- tccli/services/dcdb/dcdb_client.py +243 -31
- tccli/services/dcdb/v20180411/api.json +348 -0
- tccli/services/dcdb/v20180411/examples.json +32 -0
- tccli/services/dts/v20211206/api.json +78 -1
- tccli/services/dts/v20211206/examples.json +2 -2
- tccli/services/emr/v20190103/api.json +1 -1
- tccli/services/ess/v20201111/api.json +21 -1
- tccli/services/iotexplorer/iotexplorer_client.py +269 -57
- tccli/services/iotexplorer/v20190423/api.json +357 -0
- tccli/services/iotexplorer/v20190423/examples.json +32 -0
- tccli/services/lkeap/v20240522/api.json +18 -18
- tccli/services/mariadb/mariadb_client.py +220 -8
- tccli/services/mariadb/v20170312/api.json +330 -0
- tccli/services/mariadb/v20170312/examples.json +32 -0
- tccli/services/ocr/v20181119/api.json +8 -8
- tccli/services/teo/v20220901/api.json +1 -1
- tccli/services/trtc/v20190722/api.json +1 -1
- tccli/services/tsf/v20180326/examples.json +1 -1
- tccli/services/vclm/v20240523/api.json +1 -1
- tccli/services/waf/v20180125/api.json +46 -3
- tccli/services/waf/v20180125/examples.json +8 -0
- tccli/services/waf/waf_client.py +53 -0
- tccli/services/wedata/v20210820/api.json +926 -555
- tccli/services/wedata/v20210820/examples.json +9 -17
- tccli/services/wedata/wedata_client.py +57 -110
- tccli/services/wsa/v20250508/api.json +1 -1
- {tccli-3.0.1378.1.dist-info → tccli-3.0.1380.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1378.1.dist-info → tccli-3.0.1380.1.dist-info}/RECORD +35 -35
- {tccli-3.0.1378.1.dist-info → tccli-3.0.1380.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1378.1.dist-info → tccli-3.0.1380.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1378.1.dist-info → tccli-3.0.1380.1.dist-info}/license_files/LICENSE +0 -0
@@ -280,6 +280,13 @@
|
|
280
280
|
"output": "DescribeFlowResponse",
|
281
281
|
"status": "online"
|
282
282
|
},
|
283
|
+
"DescribeInstanceSSLAttributes": {
|
284
|
+
"document": "本接口(DescribeInstanceSSLAttributes)用于拉取实例SSL认证属性",
|
285
|
+
"input": "DescribeInstanceSSLAttributesRequest",
|
286
|
+
"name": "拉取实例SSL认证功能属性",
|
287
|
+
"output": "DescribeInstanceSSLAttributesResponse",
|
288
|
+
"status": "online"
|
289
|
+
},
|
283
290
|
"DescribeLogFileRetentionPeriod": {
|
284
291
|
"document": "本接口(DescribeLogFileRetentionPeriod)用于查看数据库备份日志的备份天数的设置情况。",
|
285
292
|
"input": "DescribeLogFileRetentionPeriodRequest",
|
@@ -301,6 +308,13 @@
|
|
301
308
|
"output": "DescribeOrdersResponse",
|
302
309
|
"status": "online"
|
303
310
|
},
|
311
|
+
"DescribeProcessList": {
|
312
|
+
"document": "本接口 (DescribeProcessList) 用于查询当前正在运行的线程(连接/查询)信息。\n\n- 可以根据客户端IP,DB,执行时间等信息来查询实例正在运行的线程信息。过滤信息详细请见过滤器Filter。\n- 如果参数为空,返回当前用户一定数量(Limit所指定的数量,默认为20)的线程信息。",
|
313
|
+
"input": "DescribeProcessListRequest",
|
314
|
+
"name": "查询数据库会话列表",
|
315
|
+
"output": "DescribeProcessListResponse",
|
316
|
+
"status": "online"
|
317
|
+
},
|
304
318
|
"DescribeProjectSecurityGroups": {
|
305
319
|
"document": "本接口(DescribeProjectSecurityGroups)用于查询项目安全组信息",
|
306
320
|
"input": "DescribeProjectSecurityGroupsRequest",
|
@@ -476,6 +490,20 @@
|
|
476
490
|
"output": "ModifyInstanceNetworkResponse",
|
477
491
|
"status": "online"
|
478
492
|
},
|
493
|
+
"ModifyInstanceProtectedProperty": {
|
494
|
+
"document": "该接口用于修改实例的保护属性",
|
495
|
+
"input": "ModifyInstanceProtectedPropertyRequest",
|
496
|
+
"name": "修改实例的保护属性",
|
497
|
+
"output": "ModifyInstanceProtectedPropertyResponse",
|
498
|
+
"status": "online"
|
499
|
+
},
|
500
|
+
"ModifyInstanceSSLAttributes": {
|
501
|
+
"document": "本接口 (ModifyInstanceSSLAttributes)用于修改实例SSL认证功能属性",
|
502
|
+
"input": "ModifyInstanceSSLAttributesRequest",
|
503
|
+
"name": "修改实例SSL认证功能属性",
|
504
|
+
"output": "ModifyInstanceSSLAttributesResponse",
|
505
|
+
"status": "online"
|
506
|
+
},
|
479
507
|
"ModifyInstanceVip": {
|
480
508
|
"document": "本接口(ModifyInstanceVip)用于修改实例Vip",
|
481
509
|
"input": "ModifyInstanceVipRequest",
|
@@ -6446,6 +6474,43 @@
|
|
6446
6474
|
],
|
6447
6475
|
"type": "object"
|
6448
6476
|
},
|
6477
|
+
"DescribeInstanceSSLAttributesRequest": {
|
6478
|
+
"document": "DescribeInstanceSSLAttributes请求参数结构体",
|
6479
|
+
"members": [
|
6480
|
+
{
|
6481
|
+
"disabled": false,
|
6482
|
+
"document": "实例ID",
|
6483
|
+
"example": "tdsqlshard-xxx",
|
6484
|
+
"member": "string",
|
6485
|
+
"name": "InstanceId",
|
6486
|
+
"required": true,
|
6487
|
+
"type": "string"
|
6488
|
+
}
|
6489
|
+
],
|
6490
|
+
"type": "object"
|
6491
|
+
},
|
6492
|
+
"DescribeInstanceSSLAttributesResponse": {
|
6493
|
+
"document": "DescribeInstanceSSLAttributes返回参数结构体",
|
6494
|
+
"members": [
|
6495
|
+
{
|
6496
|
+
"disabled": false,
|
6497
|
+
"document": "实例SSL认证功能当前状态。1-开启中;2-已开启;3-已关闭;4-关闭中",
|
6498
|
+
"example": "2",
|
6499
|
+
"member": "int64",
|
6500
|
+
"name": "Status",
|
6501
|
+
"output_required": true,
|
6502
|
+
"type": "int",
|
6503
|
+
"value_allowed_null": false
|
6504
|
+
},
|
6505
|
+
{
|
6506
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
6507
|
+
"member": "string",
|
6508
|
+
"name": "RequestId",
|
6509
|
+
"type": "string"
|
6510
|
+
}
|
6511
|
+
],
|
6512
|
+
"type": "object"
|
6513
|
+
},
|
6449
6514
|
"DescribeLogFileRetentionPeriodRequest": {
|
6450
6515
|
"document": "DescribeLogFileRetentionPeriod请求参数结构体",
|
6451
6516
|
"members": [
|
@@ -6616,6 +6681,97 @@
|
|
6616
6681
|
],
|
6617
6682
|
"type": "object"
|
6618
6683
|
},
|
6684
|
+
"DescribeProcessListRequest": {
|
6685
|
+
"document": "DescribeProcessList请求参数结构体",
|
6686
|
+
"members": [
|
6687
|
+
{
|
6688
|
+
"disabled": false,
|
6689
|
+
"document": "实例ID。",
|
6690
|
+
"example": "tdsqlshard-2gk4nxyz",
|
6691
|
+
"member": "string",
|
6692
|
+
"name": "InstanceId",
|
6693
|
+
"required": true,
|
6694
|
+
"type": "string"
|
6695
|
+
},
|
6696
|
+
{
|
6697
|
+
"disabled": false,
|
6698
|
+
"document": "节点ID。",
|
6699
|
+
"example": "681390887981",
|
6700
|
+
"member": "string",
|
6701
|
+
"name": "NodeId",
|
6702
|
+
"required": true,
|
6703
|
+
"type": "string"
|
6704
|
+
},
|
6705
|
+
{
|
6706
|
+
"disabled": false,
|
6707
|
+
"document": "分片ID,与ShardSerialId设置一个。",
|
6708
|
+
"example": "shard-ljilb4st",
|
6709
|
+
"member": "string",
|
6710
|
+
"name": "ShardId",
|
6711
|
+
"required": false,
|
6712
|
+
"type": "string"
|
6713
|
+
},
|
6714
|
+
{
|
6715
|
+
"disabled": false,
|
6716
|
+
"document": "分片序列ID,与ShardId设置一个。",
|
6717
|
+
"example": "set_1468379419_1",
|
6718
|
+
"member": "string",
|
6719
|
+
"name": "ShardSerialId",
|
6720
|
+
"required": false,
|
6721
|
+
"type": "string"
|
6722
|
+
},
|
6723
|
+
{
|
6724
|
+
"disabled": false,
|
6725
|
+
"document": "<li><strong>id</strong></li>\n <p style=\"padding-left: 30px;\">按照【<strong>会话ID</strong>】进行过滤。会话ID例如:125700。</p>\n <p style=\"padding-left: 30px;\">类型:String</p>\n <p style=\"padding-left: 30px;\">必选:否</p>\n <p style=\"padding-left: 30px;\">匹配类型:精确匹配</p>\n\n<li><strong>user</strong></li>\n <p style=\"padding-left: 30px;\">按照【<strong>用户名</strong>】进行过滤。用户名例如:root。</p>\n <p style=\"padding-left: 30px;\">类型:String</p>\n <p style=\"padding-left: 30px;\">必选:否</p>\n <p style=\"padding-left: 30px;\">匹配类型:精确匹配</p>\n<li><strong>host</strong></li>\n <p style=\"padding-left: 30px;\">按照【<strong>客户端Host</strong>】进行过滤。客户端Host例如:127.0.0.1:46295。</p>\n <p style=\"padding-left: 30px;\">类型:String</p>\n <p style=\"padding-left: 30px;\">必选:否</p>\n <p style=\"padding-left: 30px;\">匹配类型:前缀匹配,例如可以查询客户端IP不加端口:127.0.0.1。</p>\n<li><strong>state</strong></li>\n <p style=\"padding-left: 30px;\">按照【<strong>线程状态</strong>】进行过滤。线程状态例如:Updating。</p>\n <p style=\"padding-left: 30px;\">类型:String</p>\n <p style=\"padding-left: 30px;\">必选:否</p>\n <p style=\"padding-left: 30px;\">匹配类型:精确匹配</p>\n<li><strong>db</strong></li>\n <p style=\"padding-left: 30px;\">按照【<strong>数据库名称</strong>】进行过滤。数据库名称例如:mysql。</p>\n <p style=\"padding-left: 30px;\">类型:String</p>\n <p style=\"padding-left: 30px;\">必选:否</p>\n <p style=\"padding-left: 30px;\">匹配类型:精确匹配</p>\n<li><strong>command</strong></li>\n <p style=\"padding-left: 30px;\">按照【<strong>命令类型</strong>】进行过滤。命令类型例如:Query。</p>\n <p style=\"padding-left: 30px;\">类型:String</p>\n <p style=\"padding-left: 30px;\">必选:否</p>\n <p style=\"padding-left: 30px;\">匹配类型:精确匹配</p>\n<li><strong>info</strong></li>\n <p style=\"padding-left: 30px;\">按照【<strong>执行语句</strong>】进行过滤。执行语句例如:select id, name from demo.table1 where id > 10。</p>\n <p style=\"padding-left: 30px;\">类型:String</p>\n <p style=\"padding-left: 30px;\">必选:否</p>\n <p style=\"padding-left: 30px;\">匹配类型:前缀匹配,例如SQL较长,可以输入SQL前缀:select id, name from demo.table1。</p>\n<li><strong>time</strong></li>\n <p style=\"padding-left: 30px;\">按照【<strong>执行时间大于多少(秒)</strong>】进行过滤。例如:10,表示查询执行时间超过10秒的会话。</p>\n <p style=\"padding-left: 30px;\">类型:Integer</p>\n <p style=\"padding-left: 30px;\">必选:否</p>\n <p style=\"padding-left: 30px;\">匹配类型:范围匹配,Values值只支持输入1个。</p>\n每次请求的`Filters`的上限为10,`Filter.Values`的上限为50。",
|
6726
|
+
"example": "[{\"Name\": \"user\", \"Values\": [\"root\"]}]",
|
6727
|
+
"member": "Filter",
|
6728
|
+
"name": "Filters",
|
6729
|
+
"required": false,
|
6730
|
+
"type": "list"
|
6731
|
+
},
|
6732
|
+
{
|
6733
|
+
"disabled": false,
|
6734
|
+
"document": "偏移量,默认为0。",
|
6735
|
+
"example": "0",
|
6736
|
+
"member": "int64",
|
6737
|
+
"name": "Offset",
|
6738
|
+
"required": false,
|
6739
|
+
"type": "int"
|
6740
|
+
},
|
6741
|
+
{
|
6742
|
+
"disabled": false,
|
6743
|
+
"document": "返回数量,默认为20,最大值为100。",
|
6744
|
+
"example": "20",
|
6745
|
+
"member": "int64",
|
6746
|
+
"name": "Limit",
|
6747
|
+
"required": false,
|
6748
|
+
"type": "int"
|
6749
|
+
}
|
6750
|
+
],
|
6751
|
+
"type": "object"
|
6752
|
+
},
|
6753
|
+
"DescribeProcessListResponse": {
|
6754
|
+
"document": "DescribeProcessList返回参数结构体",
|
6755
|
+
"members": [
|
6756
|
+
{
|
6757
|
+
"disabled": false,
|
6758
|
+
"document": "当前正在运行的线程(连接/查询)信息列表。",
|
6759
|
+
"example": "无",
|
6760
|
+
"member": "Process",
|
6761
|
+
"name": "ProcessList",
|
6762
|
+
"output_required": false,
|
6763
|
+
"type": "list",
|
6764
|
+
"value_allowed_null": false
|
6765
|
+
},
|
6766
|
+
{
|
6767
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
6768
|
+
"member": "string",
|
6769
|
+
"name": "RequestId",
|
6770
|
+
"type": "string"
|
6771
|
+
}
|
6772
|
+
],
|
6773
|
+
"type": "object"
|
6774
|
+
},
|
6619
6775
|
"DescribeProjectSecurityGroupsRequest": {
|
6620
6776
|
"document": "DescribeProjectSecurityGroups请求参数结构体",
|
6621
6777
|
"members": [
|
@@ -7027,6 +7183,30 @@
|
|
7027
7183
|
],
|
7028
7184
|
"usage": "in"
|
7029
7185
|
},
|
7186
|
+
"Filter": {
|
7187
|
+
"document": "描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等\n\n若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。\n若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。",
|
7188
|
+
"members": [
|
7189
|
+
{
|
7190
|
+
"disabled": false,
|
7191
|
+
"document": "需要过滤的字段。",
|
7192
|
+
"example": "zone",
|
7193
|
+
"member": "string",
|
7194
|
+
"name": "Name",
|
7195
|
+
"required": true,
|
7196
|
+
"type": "string"
|
7197
|
+
},
|
7198
|
+
{
|
7199
|
+
"disabled": false,
|
7200
|
+
"document": "字段的过滤值。",
|
7201
|
+
"example": "[\"ap-guangzhou-2\"]",
|
7202
|
+
"member": "string",
|
7203
|
+
"name": "Values",
|
7204
|
+
"required": true,
|
7205
|
+
"type": "list"
|
7206
|
+
}
|
7207
|
+
],
|
7208
|
+
"usage": "in"
|
7209
|
+
},
|
7030
7210
|
"FlushBinlogRequest": {
|
7031
7211
|
"document": "FlushBinlog请求参数结构体",
|
7032
7212
|
"members": [
|
@@ -8193,6 +8373,78 @@
|
|
8193
8373
|
],
|
8194
8374
|
"type": "object"
|
8195
8375
|
},
|
8376
|
+
"ModifyInstanceProtectedPropertyRequest": {
|
8377
|
+
"document": "ModifyInstanceProtectedProperty请求参数结构体",
|
8378
|
+
"members": [
|
8379
|
+
{
|
8380
|
+
"disabled": false,
|
8381
|
+
"document": "实例Id",
|
8382
|
+
"example": "tdsqlshard-qoep98ai",
|
8383
|
+
"member": "string",
|
8384
|
+
"name": "InstanceId",
|
8385
|
+
"required": true,
|
8386
|
+
"type": "string"
|
8387
|
+
},
|
8388
|
+
{
|
8389
|
+
"disabled": false,
|
8390
|
+
"document": "0-允许删除,无销毁保护,1-禁止删除,有销毁保护",
|
8391
|
+
"example": "1",
|
8392
|
+
"member": "int64",
|
8393
|
+
"name": "ProtectedProperty",
|
8394
|
+
"required": true,
|
8395
|
+
"type": "int"
|
8396
|
+
}
|
8397
|
+
],
|
8398
|
+
"type": "object"
|
8399
|
+
},
|
8400
|
+
"ModifyInstanceProtectedPropertyResponse": {
|
8401
|
+
"document": "ModifyInstanceProtectedProperty返回参数结构体",
|
8402
|
+
"members": [
|
8403
|
+
{
|
8404
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
8405
|
+
"member": "string",
|
8406
|
+
"name": "RequestId",
|
8407
|
+
"type": "string"
|
8408
|
+
}
|
8409
|
+
],
|
8410
|
+
"type": "object"
|
8411
|
+
},
|
8412
|
+
"ModifyInstanceSSLAttributesRequest": {
|
8413
|
+
"document": "ModifyInstanceSSLAttributes请求参数结构体",
|
8414
|
+
"members": [
|
8415
|
+
{
|
8416
|
+
"disabled": false,
|
8417
|
+
"document": "实例ID",
|
8418
|
+
"example": "无",
|
8419
|
+
"member": "string",
|
8420
|
+
"name": "InstanceId",
|
8421
|
+
"required": true,
|
8422
|
+
"type": "string"
|
8423
|
+
},
|
8424
|
+
{
|
8425
|
+
"disabled": false,
|
8426
|
+
"document": "是否开启实例的SSL认证。0-关闭;1-开启",
|
8427
|
+
"example": "无",
|
8428
|
+
"member": "int64",
|
8429
|
+
"name": "SSLEnabled",
|
8430
|
+
"required": true,
|
8431
|
+
"type": "int"
|
8432
|
+
}
|
8433
|
+
],
|
8434
|
+
"type": "object"
|
8435
|
+
},
|
8436
|
+
"ModifyInstanceSSLAttributesResponse": {
|
8437
|
+
"document": "ModifyInstanceSSLAttributes返回参数结构体",
|
8438
|
+
"members": [
|
8439
|
+
{
|
8440
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
8441
|
+
"member": "string",
|
8442
|
+
"name": "RequestId",
|
8443
|
+
"type": "string"
|
8444
|
+
}
|
8445
|
+
],
|
8446
|
+
"type": "object"
|
8447
|
+
},
|
8196
8448
|
"ModifyInstanceVipRequest": {
|
8197
8449
|
"document": "ModifyInstanceVip请求参数结构体",
|
8198
8450
|
"members": [
|
@@ -8619,6 +8871,102 @@
|
|
8619
8871
|
],
|
8620
8872
|
"usage": "out"
|
8621
8873
|
},
|
8874
|
+
"Process": {
|
8875
|
+
"document": "用于显示当前正在运行的线程(连接/查询)信息,数据源来自系统表:information_schema.processlist。",
|
8876
|
+
"members": [
|
8877
|
+
{
|
8878
|
+
"disabled": false,
|
8879
|
+
"document": "线程ID:唯一标识当前连接/线程的整数。",
|
8880
|
+
"example": "125700",
|
8881
|
+
"member": "int64",
|
8882
|
+
"name": "Id",
|
8883
|
+
"output_required": false,
|
8884
|
+
"type": "int",
|
8885
|
+
"value_allowed_null": false
|
8886
|
+
},
|
8887
|
+
{
|
8888
|
+
"disabled": false,
|
8889
|
+
"document": "用户名:发起连接的 MySQL 用户。",
|
8890
|
+
"example": "root",
|
8891
|
+
"member": "string",
|
8892
|
+
"name": "User",
|
8893
|
+
"output_required": false,
|
8894
|
+
"type": "string",
|
8895
|
+
"value_allowed_null": false
|
8896
|
+
},
|
8897
|
+
{
|
8898
|
+
"disabled": false,
|
8899
|
+
"document": "客户端地址:发起连接的客户端主机名及端口(格式:host:port)。",
|
8900
|
+
"example": "127.0.0.1:46295",
|
8901
|
+
"member": "string",
|
8902
|
+
"name": "Host",
|
8903
|
+
"output_required": false,
|
8904
|
+
"type": "string",
|
8905
|
+
"value_allowed_null": false
|
8906
|
+
},
|
8907
|
+
{
|
8908
|
+
"disabled": false,
|
8909
|
+
"document": "当前数据库:线程正在使用的数据库名(未选择数据库时为 空串)。",
|
8910
|
+
"example": "mysql",
|
8911
|
+
"member": "string",
|
8912
|
+
"name": "Db",
|
8913
|
+
"output_required": false,
|
8914
|
+
"type": "string",
|
8915
|
+
"value_allowed_null": false
|
8916
|
+
},
|
8917
|
+
{
|
8918
|
+
"disabled": false,
|
8919
|
+
"document": "命令类型:线程正在执行的命令类型。常见值:\n\n- Sleep:空闲等待状态(等待新查询)。\n- Query:正在执行查询或 SQL 语句。\n- Binlog Dump:主服务器线程向从服务器发送二进制日志。\n- Connect:客户端正在连接。\n- Killed:线程被终止但未完全退出。",
|
8920
|
+
"example": "Query",
|
8921
|
+
"member": "string",
|
8922
|
+
"name": "Command",
|
8923
|
+
"output_required": false,
|
8924
|
+
"type": "string",
|
8925
|
+
"value_allowed_null": false
|
8926
|
+
},
|
8927
|
+
{
|
8928
|
+
"disabled": false,
|
8929
|
+
"document": "执行时间(秒):线程在当前状态持续的秒数。",
|
8930
|
+
"example": "10",
|
8931
|
+
"member": "int64",
|
8932
|
+
"name": "Time",
|
8933
|
+
"output_required": false,
|
8934
|
+
"type": "int",
|
8935
|
+
"value_allowed_null": false
|
8936
|
+
},
|
8937
|
+
{
|
8938
|
+
"disabled": false,
|
8939
|
+
"document": "执行开始时间(秒):线程在当前状态开始执行的时间。",
|
8940
|
+
"example": "2025-06-24 11:27:26",
|
8941
|
+
"member": "string",
|
8942
|
+
"name": "ProcessStartTime",
|
8943
|
+
"output_required": false,
|
8944
|
+
"type": "string",
|
8945
|
+
"value_allowed_null": false
|
8946
|
+
},
|
8947
|
+
{
|
8948
|
+
"disabled": false,
|
8949
|
+
"document": "状态描述:线程当前的详细操作状态。常见值:\n\n- Sending data:正在处理/发送数据。\n- Locked:等待表锁释放(例如 MyISAM 表级锁)。\n- Sorting result:排序查询结果。\n- Updating:更新表中数据。\n- 当为NULL返回空串:无明确状态(如 Sleep 时)。",
|
8950
|
+
"example": "User sleep",
|
8951
|
+
"member": "string",
|
8952
|
+
"name": "State",
|
8953
|
+
"output_required": false,
|
8954
|
+
"type": "string",
|
8955
|
+
"value_allowed_null": false
|
8956
|
+
},
|
8957
|
+
{
|
8958
|
+
"disabled": false,
|
8959
|
+
"document": "执行语句:正在执行的 SQL 语句(前 1024 字符)。",
|
8960
|
+
"example": "select * from information_schema.processlist",
|
8961
|
+
"member": "string",
|
8962
|
+
"name": "Info",
|
8963
|
+
"output_required": false,
|
8964
|
+
"type": "string",
|
8965
|
+
"value_allowed_null": false
|
8966
|
+
}
|
8967
|
+
],
|
8968
|
+
"usage": "out"
|
8969
|
+
},
|
8622
8970
|
"Project": {
|
8623
8971
|
"document": "项目信息描述",
|
8624
8972
|
"members": [
|
@@ -350,6 +350,14 @@
|
|
350
350
|
"title": "查询任务流程执行状态"
|
351
351
|
}
|
352
352
|
],
|
353
|
+
"DescribeInstanceSSLAttributes": [
|
354
|
+
{
|
355
|
+
"document": "",
|
356
|
+
"input": "POST / HTTP/1.1\nHost: dcdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceSSLAttributes\n<公共请求参数>\n\n{\n \"InstanceId\": \"tdsqlshard-xxx\"\n}",
|
357
|
+
"output": "{\n \"Response\": {\n \"Status\": 0,\n \"RequestId\": \"requestId-xxx\"\n }\n}",
|
358
|
+
"title": "获取实例SSL认证功能属性"
|
359
|
+
}
|
360
|
+
],
|
353
361
|
"DescribeLogFileRetentionPeriod": [
|
354
362
|
{
|
355
363
|
"document": "",
|
@@ -374,6 +382,14 @@
|
|
374
382
|
"title": "查询订单信息"
|
375
383
|
}
|
376
384
|
],
|
385
|
+
"DescribeProcessList": [
|
386
|
+
{
|
387
|
+
"document": "",
|
388
|
+
"input": "POST / HTTP/1.1\nHost: dcdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProcessList\n<公共请求参数>\n\n{\n \"InstanceId\": \"tdsqlshard-048udnfz\",\n \"ShardId\": \"shard-ljilb4st\",\n \"NodeId\": \"7b1f6e62b767\"\n}",
|
389
|
+
"output": "{\n \"Response\": {\n \"ProcessList\": [\n {\n \"Command\": \"Sleep\",\n \"Db\": \"mysql\",\n \"Host\": \"9.71.144.188:55615\",\n \"Id\": 951069,\n \"Info\": \"\",\n \"ProcessStartTime\": \"2025-06-24 11:27:26\",\n \"State\": \"\",\n \"Time\": 30,\n \"User\": \"root\"\n }\n ],\n \"RequestId\": \"d4eb7e99-b3e6-45d6-ae6f-7358c7511cad-013\"\n }\n}",
|
390
|
+
"title": "查询分片主节点当前正在运行的线程"
|
391
|
+
}
|
392
|
+
],
|
377
393
|
"DescribeProjectSecurityGroups": [
|
378
394
|
{
|
379
395
|
"document": "",
|
@@ -580,6 +596,22 @@
|
|
580
596
|
"title": "无"
|
581
597
|
}
|
582
598
|
],
|
599
|
+
"ModifyInstanceProtectedProperty": [
|
600
|
+
{
|
601
|
+
"document": "修改实例保护属性调用示例",
|
602
|
+
"input": "POST / HTTP/1.1\nHost: dcdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstanceProtectedProperty\n<公共请求参数>\n\n{\n \"InstanceId\": \"tdsqlshard-hy8i49u3\",\n \"ProtectedProperty\": 1\n}",
|
603
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"3828374c-5a49-4784-b5f9-9387b14c2c72\"\n }\n}",
|
604
|
+
"title": "修改实例保护属性调用示例"
|
605
|
+
}
|
606
|
+
],
|
607
|
+
"ModifyInstanceSSLAttributes": [
|
608
|
+
{
|
609
|
+
"document": "",
|
610
|
+
"input": "POST / HTTP/1.1\nHost: dcdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstanceSSLAttributes\n<公共请求参数>\n\n{\n \"InstanceId\": \"tdsqlshard-xxx\",\n \"SSLEnabled\": 0\n}",
|
611
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"requestId-xxx\"\n }\n}",
|
612
|
+
"title": "无"
|
613
|
+
}
|
614
|
+
],
|
583
615
|
"ModifyInstanceVip": [
|
584
616
|
{
|
585
617
|
"document": "",
|
@@ -1435,6 +1435,24 @@
|
|
1435
1435
|
"name": "ExtraAttr",
|
1436
1436
|
"required": false,
|
1437
1437
|
"type": "list"
|
1438
|
+
},
|
1439
|
+
{
|
1440
|
+
"disabled": false,
|
1441
|
+
"document": "vpc id",
|
1442
|
+
"example": "vpc-2hfu26a7",
|
1443
|
+
"member": "string",
|
1444
|
+
"name": "ConsumerVpcId",
|
1445
|
+
"required": false,
|
1446
|
+
"type": "string"
|
1447
|
+
},
|
1448
|
+
{
|
1449
|
+
"disabled": false,
|
1450
|
+
"document": "subnet id",
|
1451
|
+
"example": "subnet-3gnpluam",
|
1452
|
+
"member": "string",
|
1453
|
+
"name": "ConsumerSubnetId",
|
1454
|
+
"required": false,
|
1455
|
+
"type": "string"
|
1438
1456
|
}
|
1439
1457
|
],
|
1440
1458
|
"type": "object"
|
@@ -2141,6 +2159,15 @@
|
|
2141
2159
|
"name": "Name",
|
2142
2160
|
"required": false,
|
2143
2161
|
"type": "string"
|
2162
|
+
},
|
2163
|
+
{
|
2164
|
+
"disabled": false,
|
2165
|
+
"document": "订阅实例规格,当前仅支持small、medium、large",
|
2166
|
+
"example": "small",
|
2167
|
+
"member": "string",
|
2168
|
+
"name": "InstanceClass",
|
2169
|
+
"required": false,
|
2170
|
+
"type": "string"
|
2144
2171
|
}
|
2145
2172
|
],
|
2146
2173
|
"type": "object"
|
@@ -4738,6 +4765,46 @@
|
|
4738
4765
|
"type": "list",
|
4739
4766
|
"value_allowed_null": false
|
4740
4767
|
},
|
4768
|
+
{
|
4769
|
+
"disabled": false,
|
4770
|
+
"document": "数据订阅版本, 当前支持kafka和kafkaPro(专业版)",
|
4771
|
+
"example": "kafka",
|
4772
|
+
"member": "string",
|
4773
|
+
"name": "SubscribeVersion",
|
4774
|
+
"output_required": false,
|
4775
|
+
"type": "string",
|
4776
|
+
"value_allowed_null": false
|
4777
|
+
},
|
4778
|
+
{
|
4779
|
+
"disabled": false,
|
4780
|
+
"document": "消费端地址所在vpc",
|
4781
|
+
"example": "vpc-r9rir3i9",
|
4782
|
+
"member": "string",
|
4783
|
+
"name": "ConsumerVpcId",
|
4784
|
+
"output_required": false,
|
4785
|
+
"type": "string",
|
4786
|
+
"value_allowed_null": false
|
4787
|
+
},
|
4788
|
+
{
|
4789
|
+
"disabled": false,
|
4790
|
+
"document": "消费端地址所在子网",
|
4791
|
+
"example": "subnet-jgyd4txs",
|
4792
|
+
"member": "string",
|
4793
|
+
"name": "ConsumerSubnetId",
|
4794
|
+
"output_required": false,
|
4795
|
+
"type": "string",
|
4796
|
+
"value_allowed_null": false
|
4797
|
+
},
|
4798
|
+
{
|
4799
|
+
"disabled": false,
|
4800
|
+
"document": "订阅实例规格",
|
4801
|
+
"example": "small",
|
4802
|
+
"member": "string",
|
4803
|
+
"name": "InstanceClass",
|
4804
|
+
"output_required": false,
|
4805
|
+
"type": "string",
|
4806
|
+
"value_allowed_null": false
|
4807
|
+
},
|
4741
4808
|
{
|
4742
4809
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
4743
4810
|
"member": "string",
|
@@ -9855,7 +9922,7 @@
|
|
9855
9922
|
},
|
9856
9923
|
{
|
9857
9924
|
"disabled": false,
|
9858
|
-
"document": "数据订阅版本,
|
9925
|
+
"document": "数据订阅版本, 当前支持kafka和kafkaPro(专业版)",
|
9859
9926
|
"example": "kafka",
|
9860
9927
|
"member": "string",
|
9861
9928
|
"name": "SubscribeVersion",
|
@@ -9882,6 +9949,16 @@
|
|
9882
9949
|
"output_required": false,
|
9883
9950
|
"type": "list",
|
9884
9951
|
"value_allowed_null": true
|
9952
|
+
},
|
9953
|
+
{
|
9954
|
+
"disabled": false,
|
9955
|
+
"document": "订阅实例规格",
|
9956
|
+
"example": "small",
|
9957
|
+
"member": "string",
|
9958
|
+
"name": "InstanceClass",
|
9959
|
+
"output_required": false,
|
9960
|
+
"type": "string",
|
9961
|
+
"value_allowed_null": false
|
9885
9962
|
}
|
9886
9963
|
],
|
9887
9964
|
"usage": "out"
|
@@ -12,7 +12,7 @@
|
|
12
12
|
{
|
13
13
|
"document": "配置订阅一个cdb整实例的任务,其中db1.table1的数据根据id列值投递到不同的kafka分区,其他的数据根据表名投递",
|
14
14
|
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ConfigureSubscribeJob\n<公共请求参数>\n\n{\n \"SubscribeMode\": \"all\",\n \"SubscribeId\": \"subs-5ft0e2nrc0\",\n \"KafkaConfig\": {\n \"DistributeRules\": [\n {\n \"DbPattern\": \"db1\",\n \"RuleType\": \"cols\",\n \"TablePattern\": \"table1\",\n \"Columns\": [\n \"id\"\n ]\n }\n ],\n \"NumberOfPartitions\": 8,\n \"DefaultRuleType\": \"table\"\n },\n \"AccessType\": \"cdb\",\n \"Protocol\": \"json\",\n \"Endpoints\": [\n {\n \"InstanceId\": \"cdb-kdxona7h\",\n \"DatabaseRegion\": \"ap-guangzhou\",\n \"EncryptConn\": \"Encrypted\",\n \"User\": \"root\",\n \"Password\": \"******\"\n }\n ],\n \"ExtraAttr\": [\n {\n \"Value\": \"true\",\n \"Key\": \"ProcessXA\"\n }\n ]\n}",
|
15
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
15
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d8a1fc10-3547-11f0-92c2-d139ba775945\"\n }\n}",
|
16
16
|
"title": "配置订阅"
|
17
17
|
}
|
18
18
|
],
|
@@ -226,7 +226,7 @@
|
|
226
226
|
{
|
227
227
|
"document": "",
|
228
228
|
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSubscribeDetail\n<公共请求参数>\n\n{\n \"SubscribeId\": \"subs-0b2up6hk4u\"\n}",
|
229
|
-
"output": "{\n \"Response\": {\n \"Region\": \"ap-guangzhou\",\n \"AccessType\": \"cdb\",\n \"AutoRenewFlag\": 0,\n \"Broker\": \"guangzhoutest-kafka-3.cdb-dts.tencentcs.com.cn:32339\",\n \"CreateTime\": \"2023-12-06 14:31:27\",\n \"Endpoints\": [\n {\n \"DatabaseRegion\": \"ap-guangzhou\",\n \"EncryptConn\": \"UnEncrypted\",\n \"InstanceId\": \"cdb-kdxona7h\",\n \"User\": \"root\"\n }\n ],\n \"ExpireTime\": \"0000-00-00 00:00:00\",\n \"InstanceId\": \"cdb-kdxona7h\",\n \"InstanceStatus\": \"running\",\n \"IsolateTime\": \"0000-00-00 00:00:00\",\n \"KafkaConfig\": {\n \"DistributeRules\": [\n {\n \"DbPattern\": \"db1\",\n \"RuleType\": \"cols\",\n \"TablePattern\": \"table1\",\n \"Columns\": [\n \"id\"\n ]\n },\n {\n \"DbPattern\": \".*\",\n \"RuleType\": \"table\",\n \"TablePattern\": \".*\",\n \"Columns\":
|
229
|
+
"output": "{\n \"Response\": {\n \"Region\": \"ap-guangzhou\",\n \"AccessType\": \"cdb\",\n \"AutoRenewFlag\": 0,\n \"Broker\": \"guangzhoutest-kafka-3.cdb-dts.tencentcs.com.cn:32339\",\n \"CreateTime\": \"2023-12-06 14:31:27\",\n \"Endpoints\": [\n {\n \"DatabaseRegion\": \"ap-guangzhou\",\n \"EncryptConn\": \"UnEncrypted\",\n \"InstanceId\": \"cdb-kdxona7h\",\n \"User\": \"root\"\n }\n ],\n \"ExpireTime\": \"0000-00-00 00:00:00\",\n \"InstanceId\": \"cdb-kdxona7h\",\n \"InstanceStatus\": \"running\",\n \"IsolateTime\": \"0000-00-00 00:00:00\",\n \"KafkaConfig\": {\n \"DistributeRules\": [\n {\n \"DbPattern\": \"db1\",\n \"RuleType\": \"cols\",\n \"TablePattern\": \"table1\",\n \"Columns\": [\n \"id\"\n ]\n },\n {\n \"DbPattern\": \".*\",\n \"RuleType\": \"table\",\n \"TablePattern\": \".*\",\n \"Columns\": []\n }\n ],\n \"NumberOfPartitions\": 8\n },\n \"ModifyTime\": \"2023-12-06 14:33:47\",\n \"OfflineTime\": \"0000-00-00 00:00:00\",\n \"PayType\": 0,\n \"Product\": \"mysql\",\n \"Protocol\": \"json\",\n \"Status\": \"normal\",\n \"SubsStatus\": \"running\",\n \"SubscribeId\": \"subs-0b2up6hk4u\",\n \"SubscribeName\": \"binlog订阅\",\n \"SubscribeMode\": \"all\",\n \"Topic\": \"topic-subs-0b2up6hk4u-cdb-kdxona7h\",\n \"RequestId\": \"7bd11a40-9406-11ee-9689-216abbbe2107\"\n }\n}",
|
230
230
|
"title": "查询订阅任务详情"
|
231
231
|
}
|
232
232
|
],
|
@@ -4041,7 +4041,7 @@
|
|
4041
4041
|
{
|
4042
4042
|
"disabled": false,
|
4043
4043
|
"document": "预付费参数",
|
4044
|
-
"example": "
|
4044
|
+
"example": "无",
|
4045
4045
|
"member": "PrePaySetting",
|
4046
4046
|
"name": "PrePaySetting",
|
4047
4047
|
"required": false,
|
@@ -9946,7 +9946,7 @@
|
|
9946
9946
|
},
|
9947
9947
|
{
|
9948
9948
|
"disabled": false,
|
9949
|
-
"document": "
|
9949
|
+
"document": "合同审查中的角色信息。注意: `如果用户没有配置审查角色时此值可能为null,需要等大模型根据合同内容推荐出审查角色信息。`\n注意:此字段可能返回 null,表示取不到有效值。",
|
9950
9950
|
"example": "无",
|
9951
9951
|
"member": "RiskIdentificationRoleInfo",
|
9952
9952
|
"name": "Role",
|
@@ -9994,6 +9994,26 @@
|
|
9994
9994
|
"type": "string",
|
9995
9995
|
"value_allowed_null": false
|
9996
9996
|
},
|
9997
|
+
{
|
9998
|
+
"disabled": false,
|
9999
|
+
"document": "合同审查出的高风险项数量",
|
10000
|
+
"example": "5",
|
10001
|
+
"member": "int64",
|
10002
|
+
"name": "HighRiskCount",
|
10003
|
+
"output_required": false,
|
10004
|
+
"type": "int",
|
10005
|
+
"value_allowed_null": false
|
10006
|
+
},
|
10007
|
+
{
|
10008
|
+
"disabled": false,
|
10009
|
+
"document": "合同审查出的风险总数",
|
10010
|
+
"example": "10",
|
10011
|
+
"member": "int64",
|
10012
|
+
"name": "TotalRiskCount",
|
10013
|
+
"output_required": false,
|
10014
|
+
"type": "int",
|
10015
|
+
"value_allowed_null": false
|
10016
|
+
},
|
9997
10017
|
{
|
9998
10018
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
9999
10019
|
"member": "string",
|