tccli 3.0.1291.1__py2.py3-none-any.whl → 3.0.1292.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.
Files changed (47) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/antiddos/antiddos_client.py +7 -113
  3. tccli/services/antiddos/v20200309/api.json +41 -401
  4. tccli/services/antiddos/v20200309/examples.json +1 -17
  5. tccli/services/apm/v20210622/api.json +44 -44
  6. tccli/services/apm/v20210622/examples.json +5 -5
  7. tccli/services/batch/v20170312/api.json +161 -161
  8. tccli/services/batch/v20170312/examples.json +1 -1
  9. tccli/services/cdwch/v20200915/api.json +303 -219
  10. tccli/services/cdwch/v20200915/examples.json +18 -18
  11. tccli/services/cdwpg/v20201230/api.json +21 -21
  12. tccli/services/cdwpg/v20201230/examples.json +2 -2
  13. tccli/services/ckafka/v20190819/api.json +1015 -1005
  14. tccli/services/cls/v20201016/api.json +112 -112
  15. tccli/services/dbbrain/v20191016/api.json +2 -2
  16. tccli/services/dbbrain/v20210527/api.json +14 -5
  17. tccli/services/emr/v20190103/api.json +249 -13
  18. tccli/services/emr/v20190103/examples.json +2 -2
  19. tccli/services/hunyuan/v20230901/api.json +13 -2
  20. tccli/services/iotexplorer/iotexplorer_client.py +53 -0
  21. tccli/services/iotexplorer/v20190423/api.json +72 -0
  22. tccli/services/iotexplorer/v20190423/examples.json +8 -0
  23. tccli/services/iotvideoindustry/v20201201/api.json +75 -75
  24. tccli/services/iotvideoindustry/v20201201/examples.json +1 -1
  25. tccli/services/lke/lke_client.py +0 -53
  26. tccli/services/lke/v20231130/api.json +0 -43
  27. tccli/services/lke/v20231130/examples.json +0 -8
  28. tccli/services/lkeap/v20240522/api.json +1 -1
  29. tccli/services/memcached/v20190318/api.json +1 -1
  30. tccli/services/monitor/monitor_client.py +57 -4
  31. tccli/services/monitor/v20180724/api.json +249 -0
  32. tccli/services/monitor/v20180724/examples.json +8 -0
  33. tccli/services/redis/v20180412/api.json +2 -2
  34. tccli/services/svp/v20240125/api.json +3 -3
  35. tccli/services/svp/v20240125/examples.json +1 -1
  36. tccli/services/tdmq/v20200217/api.json +266 -266
  37. tccli/services/teo/teo_client.py +53 -0
  38. tccli/services/teo/v20220901/api.json +50 -7
  39. tccli/services/teo/v20220901/examples.json +8 -0
  40. tccli/services/thpc/v20220401/api.json +6 -6
  41. tccli/services/thpc/v20230321/api.json +14 -14
  42. tccli/services/wedata/v20210820/api.json +166 -12
  43. {tccli-3.0.1291.1.dist-info → tccli-3.0.1292.1.dist-info}/METADATA +2 -2
  44. {tccli-3.0.1291.1.dist-info → tccli-3.0.1292.1.dist-info}/RECORD +47 -47
  45. {tccli-3.0.1291.1.dist-info → tccli-3.0.1292.1.dist-info}/WHEEL +0 -0
  46. {tccli-3.0.1291.1.dist-info → tccli-3.0.1292.1.dist-info}/entry_points.txt +0 -0
  47. {tccli-3.0.1291.1.dist-info → tccli-3.0.1292.1.dist-info}/license_files/LICENSE +0 -0
@@ -1352,7 +1352,7 @@
1352
1352
  },
1353
1353
  {
1354
1354
  "disabled": false,
1355
- "document": "服务产品类型,支持值包括: \"mysql\" - 云数据库 MySQL, \"cynosdb\" - 云数据库 TDSQL-C for MySQL,默认为\"mysql\"。",
1355
+ "document": "服务产品类型,支持值包括: \"mysql\" - 云数据库 MySQL, \"cynosdb\" - 云数据库 TDSQL-C for MySQL,\"redis\" - 云数据库 Redis,默认为\"mysql\"。",
1356
1356
  "example": "mysql",
1357
1357
  "member": "string",
1358
1358
  "name": "Product",
@@ -1368,7 +1368,7 @@
1368
1368
  {
1369
1369
  "disabled": false,
1370
1370
  "document": "健康得分以及异常扣分项。",
1371
- "example": "{\"IssueTypes\":[{\"TotalCount\":0,\"Events\":[],\"IssueType\":\"AVAILABILITY\"},{\"TotalCount\":0,\"Events\":[],\"IssueType\":\"MAINTAINABILITY\"},{\"TotalCount\":1,\"Events\":[{\"DiagType\":\"高并发/压力请求\",\"ScoreLost\":6,\"StartTime\":\"2020-09-22T00:00:00+00:00\",\"EndTime\":\"2020-09-22T00:00:00+00:00\",\"EventId\":780019530,\"Outline\":\"监控指标 \\\"cpu_use_rate\\\" 告警,当前值 100\",\"Severity\":1,\"Metric\":\"cpu_use_rate\",\"Count\":1}],\"IssueType\":\"PERFORMANCE\"},{\"TotalCount\":1,\"Events\":[{\"DiagType\":\"复制\",\"ScoreLost\":10,\"StartTime\":\"2020-09-22T00:00:00+00:00\",\"EndTime\":\"2020-09-22T00:00:00+00:00\",\"EventId\":780018741,\"Outline\":\"复制IO线程中断\",\"Severity\":1,\"Metric\":\"slave_io_running\",\"Count\":1}],\"IssueType\":\"RELIABILITY\"}],\"EventsTotalCount\":2,\"HealthLevel\":\"RISK\"}",
1371
+ "example": "",
1372
1372
  "member": "HealthScoreInfo",
1373
1373
  "name": "Data",
1374
1374
  "output_required": true,
@@ -2136,6 +2136,15 @@
2136
2136
  "name": "Product",
2137
2137
  "required": true,
2138
2138
  "type": "string"
2139
+ },
2140
+ {
2141
+ "disabled": false,
2142
+ "document": "实列代理ID。",
2143
+ "example": "a267221bfa30c571cabbea555121bc1c2c97e518",
2144
+ "member": "string",
2145
+ "name": "InstanceProxyId",
2146
+ "required": false,
2147
+ "type": "string"
2139
2148
  }
2140
2149
  ],
2141
2150
  "type": "object"
@@ -3945,7 +3954,7 @@
3945
3954
  },
3946
3955
  {
3947
3956
  "disabled": false,
3948
- "document": "服务产品类型,支持值包括: \"mysql\" - 云数据库 MySQL, \"cynosdb\" - 云数据库 TDSQL-C for MySQL,默认为\"mysql\"。",
3957
+ "document": "服务产品类型,支持值包括: \"mysql\" - 云数据库 MySQL, \"cynosdb\" - 云数据库 TDSQL-C for MySQL,\"redis\" - 云数据库 Redis,默认为\"mysql\"。",
3949
3958
  "example": "mysql",
3950
3959
  "member": "string",
3951
3960
  "name": "Product",
@@ -3961,10 +3970,10 @@
3961
3970
  {
3962
3971
  "disabled": false,
3963
3972
  "document": "健康得分以及异常扣分项。",
3964
- "example": "-",
3973
+ "example": "",
3965
3974
  "member": "HealthScoreInfo",
3966
3975
  "name": "Data",
3967
- "required": true,
3976
+ "output_required": true,
3968
3977
  "type": "object",
3969
3978
  "value_allowed_null": false
3970
3979
  },
@@ -8168,13 +8177,13 @@
8168
8177
  },
8169
8178
  {
8170
8179
  "disabled": false,
8171
- "document": "指标值。\n注意:此字段可能返回 null,表示取不到有效值。",
8180
+ "document": "指标值。",
8172
8181
  "example": "[0.25,0.26]",
8173
8182
  "member": "float",
8174
8183
  "name": "Values",
8175
8184
  "output_required": true,
8176
8185
  "type": "list",
8177
- "value_allowed_null": true
8186
+ "value_allowed_null": false
8178
8187
  }
8179
8188
  ],
8180
8189
  "usage": "out"
@@ -477,9 +477,9 @@
477
477
  "status": "online"
478
478
  },
479
479
  "ResizeDataDisks": {
480
- "document": "云盘扩容",
480
+ "document": "云数据盘扩容",
481
481
  "input": "ResizeDataDisksRequest",
482
- "name": "云盘扩容",
482
+ "name": "云数据盘扩容",
483
483
  "output": "ResizeDataDisksResponse",
484
484
  "status": "online"
485
485
  },
@@ -1052,6 +1052,15 @@
1052
1052
  "name": "DeleteWithInstance",
1053
1053
  "required": false,
1054
1054
  "type": "bool"
1055
+ },
1056
+ {
1057
+ "disabled": false,
1058
+ "document": "新挂磁盘时可支持配置的服务名称列表",
1059
+ "example": "[\"HDFS\",\"YARN\"]",
1060
+ "member": "string",
1061
+ "name": "SelectiveConfServices",
1062
+ "required": false,
1063
+ "type": "list"
1055
1064
  }
1056
1065
  ],
1057
1066
  "type": "object"
@@ -1607,6 +1616,16 @@
1607
1616
  "output_required": true,
1608
1617
  "type": "bool",
1609
1618
  "value_allowed_null": false
1619
+ },
1620
+ {
1621
+ "disabled": false,
1622
+ "document": "emr节点ID",
1623
+ "example": "emr-vm-rwxi34si",
1624
+ "member": "string",
1625
+ "name": "EmrResourceId",
1626
+ "output_required": false,
1627
+ "type": "string",
1628
+ "value_allowed_null": false
1610
1629
  }
1611
1630
  ],
1612
1631
  "usage": "out"
@@ -5985,6 +6004,42 @@
5985
6004
  "name": "CvmInstanceIds",
5986
6005
  "required": true,
5987
6006
  "type": "list"
6007
+ },
6008
+ {
6009
+ "disabled": false,
6010
+ "document": "查询云盘的过滤条件",
6011
+ "example": "[{\"Name\":\"disk-id\",\"Values\":[\"disk-123ddesx\"]},{\"Name\":\"disk-name\",\"Values\":[\"test1\"]}]",
6012
+ "member": "Filters",
6013
+ "name": "Filters",
6014
+ "required": false,
6015
+ "type": "list"
6016
+ },
6017
+ {
6018
+ "disabled": false,
6019
+ "document": "模糊搜索",
6020
+ "example": "test1",
6021
+ "member": "string",
6022
+ "name": "InnerSearch",
6023
+ "required": false,
6024
+ "type": "string"
6025
+ },
6026
+ {
6027
+ "disabled": false,
6028
+ "document": "每页返回数量,默认值为100,最大值为100。",
6029
+ "example": "20",
6030
+ "member": "uint64",
6031
+ "name": "Limit",
6032
+ "required": false,
6033
+ "type": "int"
6034
+ },
6035
+ {
6036
+ "disabled": false,
6037
+ "document": "数据偏移值",
6038
+ "example": "0",
6039
+ "member": "uint64",
6040
+ "name": "Offset",
6041
+ "required": false,
6042
+ "type": "int"
5988
6043
  }
5989
6044
  ],
5990
6045
  "type": "object"
@@ -5998,7 +6053,7 @@
5998
6053
  "example": "3",
5999
6054
  "member": "int64",
6000
6055
  "name": "TotalCount",
6001
- "required": true,
6056
+ "output_required": true,
6002
6057
  "type": "int",
6003
6058
  "value_allowed_null": false
6004
6059
  },
@@ -6008,10 +6063,20 @@
6008
6063
  "example": "无",
6009
6064
  "member": "CBSInstance",
6010
6065
  "name": "CBSList",
6011
- "required": true,
6066
+ "output_required": true,
6012
6067
  "type": "list",
6013
6068
  "value_allowed_null": true
6014
6069
  },
6070
+ {
6071
+ "disabled": false,
6072
+ "document": "云盘最大容量",
6073
+ "example": "200",
6074
+ "member": "uint64",
6075
+ "name": "MaxSize",
6076
+ "output_required": false,
6077
+ "type": "int",
6078
+ "value_allowed_null": false
6079
+ },
6015
6080
  {
6016
6081
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
6017
6082
  "member": "string",
@@ -9318,6 +9383,16 @@
9318
9383
  "type": "int",
9319
9384
  "value_allowed_null": false
9320
9385
  },
9386
+ {
9387
+ "disabled": false,
9388
+ "document": "节点续费询价明细列表",
9389
+ "example": "无",
9390
+ "member": "NodeRenewPriceDetail",
9391
+ "name": "NodeRenewPriceDetails",
9392
+ "output_required": false,
9393
+ "type": "list",
9394
+ "value_allowed_null": false
9395
+ },
9321
9396
  {
9322
9397
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
9323
9398
  "member": "string",
@@ -9688,6 +9763,16 @@
9688
9763
  "type": "list",
9689
9764
  "value_allowed_null": true
9690
9765
  },
9766
+ {
9767
+ "disabled": false,
9768
+ "document": "节点续费询价明细列表",
9769
+ "example": "无",
9770
+ "member": "NodeRenewPriceDetail",
9771
+ "name": "NodeRenewPriceDetails",
9772
+ "output_required": false,
9773
+ "type": "list",
9774
+ "value_allowed_null": false
9775
+ },
9691
9776
  {
9692
9777
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
9693
9778
  "member": "string",
@@ -13017,6 +13102,92 @@
13017
13102
  ],
13018
13103
  "usage": "out"
13019
13104
  },
13105
+ "NodeRenewPriceDetail": {
13106
+ "document": "节点续费询价明细",
13107
+ "members": [
13108
+ {
13109
+ "disabled": false,
13110
+ "document": "计费类型,包月为1、包销为3",
13111
+ "example": "1",
13112
+ "member": "int64",
13113
+ "name": "ChargeType",
13114
+ "output_required": false,
13115
+ "type": "int",
13116
+ "value_allowed_null": false
13117
+ },
13118
+ {
13119
+ "disabled": false,
13120
+ "document": "emr资源id",
13121
+ "example": "erm-vm-6jdsa17c",
13122
+ "member": "string",
13123
+ "name": "EmrResourceId",
13124
+ "output_required": false,
13125
+ "type": "string",
13126
+ "value_allowed_null": false
13127
+ },
13128
+ {
13129
+ "disabled": false,
13130
+ "document": "节点类型",
13131
+ "example": "Master",
13132
+ "member": "string",
13133
+ "name": "NodeType",
13134
+ "output_required": false,
13135
+ "type": "string",
13136
+ "value_allowed_null": false
13137
+ },
13138
+ {
13139
+ "disabled": false,
13140
+ "document": "节点内网ip",
13141
+ "example": "10.0.0.12",
13142
+ "member": "string",
13143
+ "name": "Ip",
13144
+ "output_required": false,
13145
+ "type": "string",
13146
+ "value_allowed_null": false
13147
+ },
13148
+ {
13149
+ "disabled": false,
13150
+ "document": "当前到期时间",
13151
+ "example": "2025-02-24 20:45:00",
13152
+ "member": "string",
13153
+ "name": "ExpireTime",
13154
+ "output_required": false,
13155
+ "type": "string",
13156
+ "value_allowed_null": false
13157
+ },
13158
+ {
13159
+ "disabled": false,
13160
+ "document": "原价",
13161
+ "example": "50",
13162
+ "member": "float",
13163
+ "name": "OriginalCost",
13164
+ "output_required": false,
13165
+ "type": "float",
13166
+ "value_allowed_null": false
13167
+ },
13168
+ {
13169
+ "disabled": false,
13170
+ "document": "折扣价",
13171
+ "example": "25",
13172
+ "member": "float",
13173
+ "name": "DiscountCost",
13174
+ "output_required": false,
13175
+ "type": "float",
13176
+ "value_allowed_null": false
13177
+ },
13178
+ {
13179
+ "disabled": false,
13180
+ "document": "节点子项续费询价明细列表",
13181
+ "example": "无",
13182
+ "member": "RenewPriceDetail",
13183
+ "name": "RenewPriceDetails",
13184
+ "output_required": false,
13185
+ "type": "list",
13186
+ "value_allowed_null": false
13187
+ }
13188
+ ],
13189
+ "usage": "out"
13190
+ },
13020
13191
  "NodeResource": {
13021
13192
  "document": "规格管理,规格类型描述",
13022
13193
  "members": [
@@ -14814,6 +14985,62 @@
14814
14985
  ],
14815
14986
  "usage": "out"
14816
14987
  },
14988
+ "RenewPriceDetail": {
14989
+ "document": "节点子项续费询价明细",
14990
+ "members": [
14991
+ {
14992
+ "disabled": false,
14993
+ "document": "计费项名称",
14994
+ "example": "云SSD 70G",
14995
+ "member": "string",
14996
+ "name": "BillingName",
14997
+ "output_required": false,
14998
+ "type": "string",
14999
+ "value_allowed_null": false
15000
+ },
15001
+ {
15002
+ "disabled": false,
15003
+ "document": "折扣",
15004
+ "example": "0.5",
15005
+ "member": "float",
15006
+ "name": "Policy",
15007
+ "output_required": false,
15008
+ "type": "float",
15009
+ "value_allowed_null": false
15010
+ },
15011
+ {
15012
+ "disabled": false,
15013
+ "document": "数量",
15014
+ "example": "1",
15015
+ "member": "int64",
15016
+ "name": "Quantity",
15017
+ "output_required": false,
15018
+ "type": "int",
15019
+ "value_allowed_null": false
15020
+ },
15021
+ {
15022
+ "disabled": false,
15023
+ "document": "原价",
15024
+ "example": "50",
15025
+ "member": "float",
15026
+ "name": "OriginalCost",
15027
+ "output_required": false,
15028
+ "type": "float",
15029
+ "value_allowed_null": false
15030
+ },
15031
+ {
15032
+ "disabled": false,
15033
+ "document": "折扣价",
15034
+ "example": "25",
15035
+ "member": "float",
15036
+ "name": "DiscountCost",
15037
+ "output_required": false,
15038
+ "type": "float",
15039
+ "value_allowed_null": false
15040
+ }
15041
+ ],
15042
+ "usage": "out"
15043
+ },
14817
15044
  "RepeatStrategy": {
14818
15045
  "document": "定时伸缩任务策略",
14819
15046
  "members": [
@@ -14945,15 +15172,6 @@
14945
15172
  "required": true,
14946
15173
  "type": "string"
14947
15174
  },
14948
- {
14949
- "disabled": false,
14950
- "document": "需要扩容的云盘ID",
14951
- "example": "[disk-xxx1, disk-xxx2]",
14952
- "member": "string",
14953
- "name": "DiskIds",
14954
- "required": true,
14955
- "type": "list"
14956
- },
14957
15175
  {
14958
15176
  "disabled": false,
14959
15177
  "document": "需要扩充的容量值,容量值需要大于原容量,并且为10的整数倍",
@@ -14971,6 +15189,24 @@
14971
15189
  "name": "CvmInstanceIds",
14972
15190
  "required": true,
14973
15191
  "type": "list"
15192
+ },
15193
+ {
15194
+ "disabled": false,
15195
+ "document": "需要扩容的云盘ID",
15196
+ "example": "[disk-xxx1, disk-xxx2]",
15197
+ "member": "string",
15198
+ "name": "DiskIds",
15199
+ "required": false,
15200
+ "type": "list"
15201
+ },
15202
+ {
15203
+ "disabled": false,
15204
+ "document": "是否扩容全部云硬盘",
15205
+ "example": "true",
15206
+ "member": "bool",
15207
+ "name": "ResizeAll",
15208
+ "required": false,
15209
+ "type": "bool"
14974
15210
  }
14975
15211
  ],
14976
15212
  "type": "object"
@@ -260,7 +260,7 @@
260
260
  {
261
261
  "document": "",
262
262
  "input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeNodeDataDisks\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-xxxxxxx\",\n \"CvmInstanceIds\": [\n \"ins-xxxxxxxx\"\n ]\n}",
263
- "output": "{\n \"Response\": {\n \"CBSList\": [\n {\n \"DeleteWithInstance\": true,\n \"DiskChargeType\": \"POSTPAID_BY_HOUR\",\n \"DiskId\": \"disk-xxxxxxxx\",\n \"DiskName\": \"未命名_1\",\n \"DiskSize\": 100,\n \"DiskState\": \"ATTACHED\",\n \"DiskType\": \"CLOUD_SSD\",\n \"DiskUsage\": \"DATA_DISK\",\n \"DeadlineTime\": \"\"\n },\n {\n \"DeleteWithInstance\": true,\n \"DiskChargeType\": \"POSTPAID_BY_HOUR\",\n \"DiskId\": \"disk-xxxxxxxx\",\n \"DiskName\": \"未命名_0\",\n \"DiskSize\": 50,\n \"DiskState\": \"ATTACHED\",\n \"DiskType\": \"CLOUD_SSD\",\n \"DiskUsage\": \"SYSTEM_DISK\",\n \"DeadlineTime\": \"\"\n }\n ],\n \"RequestId\": \"9dd6b795-aed5-4a09-b493-f460c1f1a0c5\",\n \"TotalCount\": 2\n }\n}",
263
+ "output": "{\n \"Response\": {\n \"CBSList\": [\n {\n \"Attached\": true,\n \"DeadlineTime\": \"\",\n \"DeleteWithInstance\": true,\n \"DifferDaysOfDeadline\": 0,\n \"DiskChargeType\": \"POSTPAID_BY_HOUR\",\n \"DiskId\": \"disk-bpcm1kg4\",\n \"DiskName\": \"emr-Master.1_emr-gzpmy487_数据盘_1\",\n \"DiskSize\": 200,\n \"DiskState\": \"ATTACHED\",\n \"DiskType\": \"CLOUD_HSSD\",\n \"DiskUsage\": \"DATA_DISK\",\n \"InstanceId\": \"ins-4y5u591o\",\n \"InstanceIdList\": [\n \"ins-4y5u591o\"\n ],\n \"RenewFlag\": \"\",\n \"Shareable\": false\n }\n ],\n \"RequestId\": \"e681bb5e-e0b9-49ba-b3bd-be504a76e91b\",\n \"TotalCount\": 1\n }\n}",
264
264
  "title": "查询节点数据盘信息"
265
265
  }
266
266
  ],
@@ -549,7 +549,7 @@
549
549
  "document": "",
550
550
  "input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResizeDataDisks\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-xxxx\",\n \"CvmInstanceIds\": [\n \"ins-xx\"\n ],\n \"DiskIds\": [\n \"disk-xxx1\",\n \"disk-xxx2\"\n ],\n \"DiskSize\": 500\n}",
551
551
  "output": "{\n \"Response\": {\n \"RequestId\": \"95eb9120-0883-407c-aa5a-43b4e2c250d1\"\n }\n}",
552
- "title": "云盘扩容"
552
+ "title": "云数据盘扩容"
553
553
  }
554
554
  ],
555
555
  "RunJobFlow": [
@@ -208,8 +208,8 @@
208
208
  "members": [
209
209
  {
210
210
  "disabled": false,
211
- "document": "模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-code、hunyuan-role、hunyuan-functioncall、hunyuan-vision、hunyuan-turbo、hunyuan-turbo-latest、hunyuan-turbo-20241223、hunyuan-turbo-20241120、hunyuan-large、hunyuan-large-longcontext、hunyuan-turbo-vision、hunyuan-standard-vision、hunyuan-lite-vision、hunyuan-turbos-20250226、hunyuan-turbos-latest。各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。注意:不同的模型计费不同,请根据 [购买指南](https://cloud.tencent.com/document/product/1729/97731) 按需调用。",
212
- "example": "hunyuan-turbos-20250226",
211
+ "document": "模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-code、hunyuan-role、hunyuan-functioncall、hunyuan-vision、hunyuan-turbo、hunyuan-turbo-latest、hunyuan-turbo-20241223、hunyuan-turbo-20241120、hunyuan-large、hunyuan-large-longcontext、hunyuan-turbo-vision、hunyuan-standard-vision、hunyuan-lite-vision、hunyuan-turbos-20250226、hunyuan-turbos-latest、hunyuan-t1-20250321、hunyuan-t1-latest。各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。注意:不同的模型计费不同,请根据 [购买指南](https://cloud.tencent.com/document/product/1729/97731) 按需调用。",
212
+ "example": "hunyuan-turbos-latest",
213
213
  "member": "string",
214
214
  "name": "Model",
215
215
  "required": true,
@@ -2153,6 +2153,17 @@
2153
2153
  "required": false,
2154
2154
  "type": "list",
2155
2155
  "value_allowed_null": true
2156
+ },
2157
+ {
2158
+ "disabled": false,
2159
+ "document": "思维链内容。用于展示模型思考过程,仅 Hunyuan-T1 系列模型可用。注意:在进行多轮对话时,请**不要**将此字段拼接到 messages 中。请求 messages 的请求参数中包含 reasoning_content,接口将报错。",
2160
+ "example": "你好!",
2161
+ "member": "string",
2162
+ "name": "ReasoningContent",
2163
+ "output_required": false,
2164
+ "required": false,
2165
+ "type": "string",
2166
+ "value_allowed_null": false
2156
2167
  }
2157
2168
  ],
2158
2169
  "usage": "both"
@@ -1733,6 +1733,58 @@ def doControlDeviceData(args, parsed_globals):
1733
1733
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1734
1734
 
1735
1735
 
1736
+ def doDescribeUnbindedDevices(args, parsed_globals):
1737
+ g_param = parse_global_arg(parsed_globals)
1738
+
1739
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1740
+ cred = credential.CVMRoleCredential()
1741
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1742
+ cred = credential.STSAssumeRoleCredential(
1743
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1744
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1745
+ )
1746
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
1747
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1748
+ else:
1749
+ cred = credential.Credential(
1750
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1751
+ )
1752
+ http_profile = HttpProfile(
1753
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1754
+ reqMethod="POST",
1755
+ endpoint=g_param[OptionsDefine.Endpoint],
1756
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1757
+ )
1758
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1759
+ if g_param[OptionsDefine.Language]:
1760
+ profile.language = g_param[OptionsDefine.Language]
1761
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1762
+ client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
1763
+ client._sdkVersion += ("_CLI_" + __version__)
1764
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1765
+ model = models.DescribeUnbindedDevicesRequest()
1766
+ model.from_json_string(json.dumps(args))
1767
+ start_time = time.time()
1768
+ while True:
1769
+ rsp = client.DescribeUnbindedDevices(model)
1770
+ result = rsp.to_json_string()
1771
+ try:
1772
+ json_obj = json.loads(result)
1773
+ except TypeError as e:
1774
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1775
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1776
+ break
1777
+ cur_time = time.time()
1778
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1779
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1780
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1781
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1782
+ else:
1783
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1784
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1785
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1786
+
1787
+
1736
1788
  def doCreateIotVideoCloudStorage(args, parsed_globals):
1737
1789
  g_param = parse_global_arg(parsed_globals)
1738
1790
 
@@ -8329,6 +8381,7 @@ ACTION_MAP = {
8329
8381
  "DescribeBindedProducts": doDescribeBindedProducts,
8330
8382
  "ModifyLoRaGateway": doModifyLoRaGateway,
8331
8383
  "ControlDeviceData": doControlDeviceData,
8384
+ "DescribeUnbindedDevices": doDescribeUnbindedDevices,
8332
8385
  "CreateIotVideoCloudStorage": doCreateIotVideoCloudStorage,
8333
8386
  "DeleteTopicRule": doDeleteTopicRule,
8334
8387
  "DescribeCloudStorageAIService": doDescribeCloudStorageAIService,
@@ -644,6 +644,13 @@
644
644
  "output": "DescribeTopicRuleResponse",
645
645
  "status": "online"
646
646
  },
647
+ "DescribeUnbindedDevices": {
648
+ "document": "获取未绑定的设备列表",
649
+ "input": "DescribeUnbindedDevicesRequest",
650
+ "name": "获取未绑定的设备列表",
651
+ "output": "DescribeUnbindedDevicesResponse",
652
+ "status": "online"
653
+ },
647
654
  "DescribeVideoLicense": {
648
655
  "document": "用于查询视频激活码统计概览",
649
656
  "input": "DescribeVideoLicenseRequest",
@@ -8346,6 +8353,71 @@
8346
8353
  ],
8347
8354
  "type": "object"
8348
8355
  },
8356
+ "DescribeUnbindedDevicesRequest": {
8357
+ "document": "DescribeUnbindedDevices请求参数结构体",
8358
+ "members": [
8359
+ {
8360
+ "disabled": false,
8361
+ "document": "产品ID",
8362
+ "example": "12345ABCDE",
8363
+ "member": "string",
8364
+ "name": "ProductId",
8365
+ "required": true,
8366
+ "type": "string"
8367
+ },
8368
+ {
8369
+ "disabled": false,
8370
+ "document": "分页偏移量",
8371
+ "example": "0",
8372
+ "member": "int64",
8373
+ "name": "Offset",
8374
+ "required": true,
8375
+ "type": "int"
8376
+ },
8377
+ {
8378
+ "disabled": false,
8379
+ "document": "分页的页大小",
8380
+ "example": "10",
8381
+ "member": "int64",
8382
+ "name": "Limit",
8383
+ "required": true,
8384
+ "type": "int"
8385
+ }
8386
+ ],
8387
+ "type": "object"
8388
+ },
8389
+ "DescribeUnbindedDevicesResponse": {
8390
+ "document": "DescribeUnbindedDevices返回参数结构体",
8391
+ "members": [
8392
+ {
8393
+ "disabled": false,
8394
+ "document": "未绑定的设备列表\n注意:此字段可能返回 null,表示取不到有效值。",
8395
+ "example": "无",
8396
+ "member": "BindDeviceInfo",
8397
+ "name": "UnbindedDevices",
8398
+ "required": true,
8399
+ "type": "list",
8400
+ "value_allowed_null": true
8401
+ },
8402
+ {
8403
+ "disabled": false,
8404
+ "document": "设备的总数量",
8405
+ "example": "1",
8406
+ "member": "int64",
8407
+ "name": "Total",
8408
+ "required": true,
8409
+ "type": "int",
8410
+ "value_allowed_null": false
8411
+ },
8412
+ {
8413
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
8414
+ "member": "string",
8415
+ "name": "RequestId",
8416
+ "type": "string"
8417
+ }
8418
+ ],
8419
+ "type": "object"
8420
+ },
8349
8421
  "DescribeVideoLicenseRequest": {
8350
8422
  "document": "DescribeVideoLicense请求参数结构体",
8351
8423
  "members": [
@@ -820,6 +820,14 @@
820
820
  "title": "获取规则信息"
821
821
  }
822
822
  ],
823
+ "DescribeUnbindedDevices": [
824
+ {
825
+ "document": "",
826
+ "input": "https://iotexplorer.tencentcloudapi.com/?Action=DescribeUnbindedDevices\n&ProductId=12345ABCDE\n&Offset=0\n&Limit=10\n&<公共请求参数>",
827
+ "output": "{\n \"Response\": {\n \"RequestId\": \"bec3b0f5-f994-43bf-8e99-21de4e683bfc\",\n \"Total\": 1,\n \"UnbindedDevices\": [\n {\n \"ProductId\": \"12345ABCDE\",\n \"DeviceName\": \"subdev4\"\n }\n ]\n }\n}",
828
+ "title": "获取未绑定的设备列表"
829
+ }
830
+ ],
823
831
  "DescribeVideoLicense": [
824
832
  {
825
833
  "document": "查询激活码统计信息",