tccli 3.0.1340.1__py2.py3-none-any.whl → 3.0.1342.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 (68) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/plugins/sso/__init__.py +14 -0
  3. tccli/plugins/sso/login.py +23 -6
  4. tccli/plugins/sso/texts.py +4 -0
  5. tccli/services/__init__.py +3 -0
  6. tccli/services/ams/v20201229/api.json +195 -185
  7. tccli/services/apm/v20210622/api.json +10 -0
  8. tccli/services/bh/bh_client.py +326 -8
  9. tccli/services/bh/v20230418/api.json +537 -0
  10. tccli/services/bh/v20230418/examples.json +48 -0
  11. tccli/services/ccc/v20200210/api.json +1 -1
  12. tccli/services/cdb/v20170320/api.json +159 -159
  13. tccli/services/cdb/v20170320/examples.json +21 -21
  14. tccli/services/cdn/v20180606/examples.json +1 -1
  15. tccli/services/ctem/__init__.py +4 -0
  16. tccli/services/ctem/ctem_client.py +1479 -0
  17. tccli/services/ctem/v20231128/api.json +6138 -0
  18. tccli/services/ctem/v20231128/examples.json +205 -0
  19. tccli/services/cwp/v20180228/api.json +106 -2
  20. tccli/services/cwp/v20180228/examples.json +12 -0
  21. tccli/services/cynosdb/v20190107/api.json +29 -2
  22. tccli/services/cynosdb/v20190107/examples.json +1 -1
  23. tccli/services/dlc/v20210125/api.json +15 -6
  24. tccli/services/dsgc/v20190723/api.json +215 -17
  25. tccli/services/emr/v20190103/api.json +93 -0
  26. tccli/services/ess/v20201111/api.json +14 -3
  27. tccli/services/hunyuan/v20230901/api.json +10 -1
  28. tccli/services/ims/v20200713/api.json +1 -1
  29. tccli/services/ims/v20200713/examples.json +1 -1
  30. tccli/services/ims/v20201229/api.json +30 -30
  31. tccli/services/iotexplorer/v20190423/api.json +2 -2
  32. tccli/services/iotexplorer/v20190423/examples.json +1 -1
  33. tccli/services/iotvideo/v20201215/api.json +2 -2
  34. tccli/services/iotvideo/v20201215/examples.json +1 -1
  35. tccli/services/iotvideo/v20211125/api.json +1 -1
  36. tccli/services/iotvideo/v20211125/examples.json +1 -1
  37. tccli/services/kms/kms_client.py +915 -120
  38. tccli/services/kms/v20190118/api.json +1104 -27
  39. tccli/services/kms/v20190118/examples.json +126 -0
  40. tccli/services/lke/lke_client.py +228 -16
  41. tccli/services/lke/v20231130/api.json +1513 -219
  42. tccli/services/lke/v20231130/examples.json +33 -1
  43. tccli/services/mongodb/v20190725/api.json +10 -0
  44. tccli/services/mps/v20190612/api.json +113 -25
  45. tccli/services/mqtt/mqtt_client.py +53 -0
  46. tccli/services/mqtt/v20240516/api.json +150 -0
  47. tccli/services/mqtt/v20240516/examples.json +8 -0
  48. tccli/services/redis/v20180412/api.json +3 -3
  49. tccli/services/redis/v20180412/examples.json +19 -1
  50. tccli/services/ses/v20201002/api.json +8 -8
  51. tccli/services/tcss/v20201101/api.json +10 -0
  52. tccli/services/thpc/v20230321/api.json +32 -2
  53. tccli/services/tione/v20211111/api.json +11 -0
  54. tccli/services/tke/v20180525/api.json +10 -0
  55. tccli/services/trocket/trocket_client.py +53 -0
  56. tccli/services/trocket/v20230308/api.json +294 -204
  57. tccli/services/trocket/v20230308/examples.json +18 -10
  58. tccli/services/vm/v20210922/api.json +363 -333
  59. tccli/services/vpc/v20170312/api.json +9 -0
  60. tccli/services/waf/v20180125/api.json +59 -21
  61. tccli/services/wedata/v20210820/api.json +560 -10
  62. tccli/services/wedata/v20210820/examples.json +25 -1
  63. tccli/services/wedata/wedata_client.py +167 -8
  64. {tccli-3.0.1340.1.dist-info → tccli-3.0.1342.1.dist-info}/METADATA +2 -2
  65. {tccli-3.0.1340.1.dist-info → tccli-3.0.1342.1.dist-info}/RECORD +68 -64
  66. {tccli-3.0.1340.1.dist-info → tccli-3.0.1342.1.dist-info}/WHEEL +0 -0
  67. {tccli-3.0.1340.1.dist-info → tccli-3.0.1342.1.dist-info}/entry_points.txt +0 -0
  68. {tccli-3.0.1340.1.dist-info → tccli-3.0.1342.1.dist-info}/license_files/LICENSE +0 -0
@@ -231,6 +231,13 @@
231
231
  "output": "DescribeMessageByTopicResponse",
232
232
  "status": "online"
233
233
  },
234
+ "DescribeMessageDetails": {
235
+ "document": "查询MQTT消息详情",
236
+ "input": "DescribeMessageDetailsRequest",
237
+ "name": "查询MQTT详细信息",
238
+ "output": "DescribeMessageDetailsResponse",
239
+ "status": "online"
240
+ },
234
241
  "DescribeMessageList": {
235
242
  "document": "根据一级Topic查询消息列表",
236
243
  "input": "DescribeMessageListRequest",
@@ -3078,6 +3085,121 @@
3078
3085
  ],
3079
3086
  "type": "object"
3080
3087
  },
3088
+ "DescribeMessageDetailsRequest": {
3089
+ "document": "DescribeMessageDetails请求参数结构体",
3090
+ "members": [
3091
+ {
3092
+ "disabled": false,
3093
+ "document": "腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。",
3094
+ "example": "mqtt-xxxx",
3095
+ "member": "string",
3096
+ "name": "InstanceId",
3097
+ "required": true,
3098
+ "type": "string"
3099
+ },
3100
+ {
3101
+ "disabled": false,
3102
+ "document": "消息ID",
3103
+ "example": "0B8D67D3003505C29BFD077EC65B0002",
3104
+ "member": "string",
3105
+ "name": "MessageId",
3106
+ "required": true,
3107
+ "type": "string"
3108
+ },
3109
+ {
3110
+ "disabled": false,
3111
+ "document": "订阅表达式",
3112
+ "example": "home/room",
3113
+ "member": "string",
3114
+ "name": "Subscription",
3115
+ "required": false,
3116
+ "type": "string"
3117
+ }
3118
+ ],
3119
+ "type": "object"
3120
+ },
3121
+ "DescribeMessageDetailsResponse": {
3122
+ "document": "DescribeMessageDetails返回参数结构体",
3123
+ "members": [
3124
+ {
3125
+ "disabled": false,
3126
+ "document": "消息体",
3127
+ "example": "body",
3128
+ "member": "string",
3129
+ "name": "Body",
3130
+ "output_required": true,
3131
+ "type": "string",
3132
+ "value_allowed_null": false
3133
+ },
3134
+ {
3135
+ "disabled": false,
3136
+ "document": "用户自定义属性",
3137
+ "example": "无",
3138
+ "member": "UserProperty",
3139
+ "name": "UserProperties",
3140
+ "output_required": false,
3141
+ "type": "list",
3142
+ "value_allowed_null": false
3143
+ },
3144
+ {
3145
+ "disabled": false,
3146
+ "document": "消息存储时间,毫秒级时间戳。",
3147
+ "example": "1745828681259",
3148
+ "member": "int64",
3149
+ "name": "StoreTimestamp",
3150
+ "output_required": true,
3151
+ "type": "int",
3152
+ "value_allowed_null": false
3153
+ },
3154
+ {
3155
+ "disabled": false,
3156
+ "document": "消息ID",
3157
+ "example": "0B8D67D3003505C29BFD077EC65B0002",
3158
+ "member": "string",
3159
+ "name": "MessageId",
3160
+ "output_required": true,
3161
+ "type": "string",
3162
+ "value_allowed_null": false
3163
+ },
3164
+ {
3165
+ "disabled": false,
3166
+ "document": "生产者地址",
3167
+ "example": "client-1",
3168
+ "member": "string",
3169
+ "name": "ClientId",
3170
+ "output_required": true,
3171
+ "type": "string",
3172
+ "value_allowed_null": false
3173
+ },
3174
+ {
3175
+ "disabled": false,
3176
+ "document": "Topic",
3177
+ "example": "1",
3178
+ "member": "string",
3179
+ "name": "Qos",
3180
+ "output_required": true,
3181
+ "type": "string",
3182
+ "value_allowed_null": false
3183
+ },
3184
+ {
3185
+ "disabled": false,
3186
+ "document": "源topic",
3187
+ "example": "home/room",
3188
+ "member": "string",
3189
+ "name": "OriginTopic",
3190
+ "output_required": true,
3191
+ "type": "string",
3192
+ "value_allowed_null": false
3193
+ },
3194
+ {
3195
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
3196
+ "member": "string",
3197
+ "name": "RequestId",
3198
+ "type": "string"
3199
+ }
3200
+ ],
3201
+ "type": "object"
3202
+ },
3081
3203
  "DescribeMessageListRequest": {
3082
3204
  "document": "DescribeMessageList请求参数结构体",
3083
3205
  "members": [
@@ -5792,6 +5914,34 @@
5792
5914
  ],
5793
5915
  "type": "object"
5794
5916
  },
5917
+ "UserProperty": {
5918
+ "document": "map结构返回",
5919
+ "members": [
5920
+ {
5921
+ "disabled": false,
5922
+ "document": "key",
5923
+ "example": "key1",
5924
+ "member": "string",
5925
+ "name": "Key",
5926
+ "output_required": false,
5927
+ "required": false,
5928
+ "type": "string",
5929
+ "value_allowed_null": false
5930
+ },
5931
+ {
5932
+ "disabled": false,
5933
+ "document": "value",
5934
+ "example": "value1",
5935
+ "member": "string",
5936
+ "name": "Value",
5937
+ "output_required": false,
5938
+ "required": false,
5939
+ "type": "string",
5940
+ "value_allowed_null": false
5941
+ }
5942
+ ],
5943
+ "usage": "both"
5944
+ },
5795
5945
  "VpcInfo": {
5796
5946
  "document": "VPC信息",
5797
5947
  "members": [
@@ -270,6 +270,14 @@
270
270
  "title": "示例"
271
271
  }
272
272
  ],
273
+ "DescribeMessageDetails": [
274
+ {
275
+ "document": "示例",
276
+ "input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMessageDetails\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-g839agr2\",\n \"MessageId\": \"15397032005D639FEE4893603732005C\"\n}",
277
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Body\": \"this is body\",\n \"ClientId\": \"client1\",\n \"MessageId\": \"15397032005D639FEE4893603732005C\",\n \"OriginTopic\": \"home/room3\",\n \"Qos\": \"1\",\n \"RequestId\": \"ba5d5d6a-64c9-40cf-8889-21efed76389d\",\n \"StoreTimestamp\": \"1745828681259\",\n \"UserProperties\": [\n {\n \"Key\": \"key1\",\n \"Value\": \"value-1\"\n },\n {\n \"Key\": \"key2\",\n \"Value\": \"value-2\"\n }\n ]\n }\n}",
278
+ "title": "示例"
279
+ }
280
+ ],
273
281
  "DescribeMessageList": [
274
282
  {
275
283
  "document": "",
@@ -5373,7 +5373,7 @@
5373
5373
  },
5374
5374
  {
5375
5375
  "disabled": false,
5376
- "document": "慢查询详情。",
5376
+ "document": "慢查询详情,注意:TotalCount大于1W,即慢日志超过1万条,不支持返回日志详情,返回数据为空。 建议缩小BeginTime和EndTime的时间间隔,多次查询。",
5377
5377
  "example": "无",
5378
5378
  "member": "InstanceProxySlowlogDetail",
5379
5379
  "name": "InstanceProxySlowLogDetail",
@@ -5954,7 +5954,7 @@
5954
5954
  },
5955
5955
  {
5956
5956
  "disabled": false,
5957
- "document": "慢查询详情。",
5957
+ "document": "慢查询详情,注意:TotalCount大于1W,即慢日志超过1万条,不支持返回日志详情,返回数据为空。 建议缩小BeginTime和EndTime的时间间隔,多次查询。",
5958
5958
  "example": "无",
5959
5959
  "member": "InstanceSlowlogDetail",
5960
5960
  "name": "InstanceSlowLogDetail",
@@ -6269,7 +6269,7 @@
6269
6269
  },
6270
6270
  {
6271
6271
  "disabled": false,
6272
- "document": "慢查询详情",
6272
+ "document": "慢查询详情,注意:TotalCount大于1W,即慢日志超过1万条,不支持返回日志详情,返回数据为空。 建议缩小BeginTime和EndTime的时间间隔,多次查询。",
6273
6273
  "example": "无",
6274
6274
  "member": "TendisSlowLogDetail",
6275
6275
  "name": "TendisSlowLogDetail",
@@ -452,6 +452,12 @@
452
452
  "input": "https://redis.tencentcloudapi.com/?Action=DescribeProxySlowLog\n&InstanceId=crs-asda****\n&BeginTime=2019-09-08 12:12:41\n&EndTime=2019-09-09 12:12:41\n&<公共请求参数>",
453
453
  "output": "{\n \"Response\": {\n \"TotalCount\": 106980,\n \"InstanceProxySlowLogDetail\": [\n {\n \"Duration\": 45,\n \"ExecuteTime\": \"2019-09-08 12:13:08\",\n \"CommandLine\": \"hget hash_key classify_scope::default\",\n \"Client\": \"172.16.21.78\",\n \"Command\": \"hget\"\n }\n ],\n \"RequestId\": \"121d5b40-d2b8-11e9-8c40-ef686158cbd6\"\n }\n}",
454
454
  "title": "请求示例"
455
+ },
456
+ {
457
+ "document": "TotalCount大于1W,即慢日志超过1万条,不支持返回日志详情,返回数据为空。",
458
+ "input": "https://redis.tencentcloudapi.com/?Action=DescribeProxySlowLog\n&InstanceId=crs-asda****\n&BeginTime=2019-09-08 12:12:41\n&EndTime=2019-09-09 12:12:41\n&Limit=10\n&Offset=10000\n&<公共请求参数>",
459
+ "output": "{\n \"Response\": {\n \"TotalCount\": 10001,\n \"InstanceProxySlowLogDetail\": [],\n \"RequestId\": \"121d5b40-d2b8-11e9-8c40-ef686158cbd6\"\n }\n}",
460
+ "title": "请求示例2"
455
461
  }
456
462
  ],
457
463
  "DescribeRedisClusterOverview": [
@@ -508,6 +514,12 @@
508
514
  "input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSlowLog\n<公共请求参数>\n\n{\n \"InstanceId\": \"crs-asda****\",\n \"EndTime\": \"2019-09-09 12:12:41\",\n \"BeginTime\": \"2019-09-08 12:12:41\"\n}",
509
515
  "output": "{\n \"Response\": {\n \"InstanceSlowLogDetail\": [\n {\n \"Node\": \"833a2f6d8b402319aee8ad7f1c0fbbf7********\",\n \"Command\": \"hget\",\n \"CommandLine\": \"hget hash_key classify_scope::default\",\n \"Duration\": 45,\n \"ExecuteTime\": \"2019-09-08 12:13:08\",\n \"Client\": \"\"\n },\n {\n \"Node\": \"833a2f6d8b402319aee8ad7f1c0fbbf7********\",\n \"Command\": \"keys\",\n \"CommandLine\": \"keys OtherResControler:orion.ovs.client.1514259512471:orion.ovs.entprise.9281083591:sence:*\",\n \"Duration\": 41,\n \"ExecuteTime\": \"2019-09-08 12:13:08\",\n \"Client\": \"\"\n },\n {\n \"Node\": \"24a05f0d545da235f07a5bc5deebb937********\",\n \"Command\": \"get\",\n \"CommandLine\": \"get slot::fsm::status::orion.ovs.client.1508751991541::1db7ffcf9216bc1fd939e6c710514f6fb40fd4fe1525f\",\n \"Duration\": 41,\n \"ExecuteTime\": \"2019-09-08 12:13:08\",\n \"Client\": \"\"\n }\n ],\n \"RequestId\": \"121d5b40-d2b8-11e9-8c40-ef686158cbd6\",\n \"TotalCount\": 106980\n }\n}",
510
516
  "title": "查询实例慢查询记录"
517
+ },
518
+ {
519
+ "document": "TotalCount大于1W,即慢日志超过1万条,不支持返回日志详情,返回数据为空。",
520
+ "input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSlowLog\n<公共请求参数>\n\n{\n \"InstanceId\": \"crs-asda****\",\n \"EndTime\": \"2019-09-09 12:12:41\",\n \"BeginTime\": \"2019-09-08 12:12:41\",\n \"Limit\": 10,\n \"Offset\": 10000\n}",
521
+ "output": "{\n \"Response\": {\n \"InstanceSlowLogDetail\": [],\n \"RequestId\": \"121d5b40-d2b8-11e9-8c40-ef686158cbd6\",\n \"TotalCount\": 106980\n }\n}",
522
+ "title": "查询实例慢查询记录超过1W条"
511
523
  }
512
524
  ],
513
525
  "DescribeTaskInfo": [
@@ -529,9 +541,15 @@
529
541
  "DescribeTendisSlowLog": [
530
542
  {
531
543
  "document": "",
532
- "input": "https://redis.tencentcloudapi.com/?Action=DescribeTendisSlowLog\n&InstanceId=crs-asdasdas\n&BeginTime=2019-09-08 12:12:41\n&EndTime=2019-09-09 12:12:41\n&<公共请求参数>",
544
+ "input": "https://redis.tencentcloudapi.com/?Action=DescribeTendisSlowLog\n&InstanceId=crs-asdas***\n&BeginTime=2019-09-08 12:12:41\n&EndTime=2019-09-09 12:12:41\n&<公共请求参数>",
533
545
  "output": "{\n \"Response\": {\n \"TotalCount\": 106980,\n \"TendisSlowLogDetail\": [\n {\n \"Node\": \"833a2f6d8b402319aee8ad7f1c0fbbf7a6604337\",\n \"Command\": \"hget\",\n \"CommandLine\": \"hget hash_key classify_scope::default\",\n \"Duration\": 45,\n \"ExecuteTime\": \"2019-09-08 12:13:08\"\n }\n ],\n \"RequestId\": \"121d5b40-d2b8-11e9-8c40-ef686158cbd6\"\n }\n}",
534
546
  "title": "请求示例"
547
+ },
548
+ {
549
+ "document": "TotalCount大于1W,即慢日志超过1万条,不支持返回日志详情,返回数据为空。",
550
+ "input": "https://redis.tencentcloudapi.com/?Action=DescribeTendisSlowLog\n&InstanceId=crs-asdas***\n&BeginTime=2019-09-08 12:12:41\n&EndTime=2019-09-09 12:12:41\n&Limit=10\n&Offset=10000\n&<公共请求参数>",
551
+ "output": "{\n \"Response\": {\n \"TotalCount\": 106980,\n \"TendisSlowLogDetail\": [],\n \"RequestId\": \"121d5b40-d2b8-11e9-8c40-ef68615******\"\n }\n}",
552
+ "title": "请求示例2"
535
553
  }
536
554
  ],
537
555
  "DestroyPostpaidInstance": [
@@ -2900,13 +2900,13 @@
2900
2900
  },
2901
2901
  {
2902
2902
  "disabled": false,
2903
- "document": "模板和模板数据\n注意:此字段可能返回 null,表示取不到有效值。",
2903
+ "document": "模板和模板数据",
2904
2904
  "example": "无",
2905
2905
  "member": "Template",
2906
2906
  "name": "Template",
2907
2907
  "output_required": true,
2908
2908
  "type": "object",
2909
- "value_allowed_null": true
2909
+ "value_allowed_null": false
2910
2910
  },
2911
2911
  {
2912
2912
  "disabled": false,
@@ -2930,13 +2930,13 @@
2930
2930
  },
2931
2931
  {
2932
2932
  "disabled": false,
2933
- "document": "任务异常信息\n注意:此字段可能返回 null,表示取不到有效值。",
2933
+ "document": "任务异常信息",
2934
2934
  "example": "余额不足",
2935
2935
  "member": "string",
2936
2936
  "name": "ErrMsg",
2937
2937
  "output_required": true,
2938
2938
  "type": "string",
2939
- "value_allowed_null": true
2939
+ "value_allowed_null": false
2940
2940
  },
2941
2941
  {
2942
2942
  "disabled": false,
@@ -3337,13 +3337,13 @@
3337
3337
  "members": [
3338
3338
  {
3339
3339
  "disabled": false,
3340
- "document": "日期\n注意:此字段可能返回 null,表示取不到有效值。",
3340
+ "document": "日期",
3341
3341
  "example": "2024-08-08",
3342
3342
  "member": "date",
3343
3343
  "name": "SendDate",
3344
3344
  "output_required": true,
3345
3345
  "type": "string",
3346
- "value_allowed_null": true
3346
+ "value_allowed_null": false
3347
3347
  },
3348
3348
  {
3349
3349
  "disabled": false,
@@ -3407,13 +3407,13 @@
3407
3407
  },
3408
3408
  {
3409
3409
  "disabled": false,
3410
- "document": "取消订阅的用户数量\n注意:此字段可能返回 null,表示取不到有效值。",
3410
+ "document": "取消订阅的用户数量",
3411
3411
  "example": "0",
3412
3412
  "member": "uint64",
3413
3413
  "name": "UnsubscribeCount",
3414
3414
  "output_required": true,
3415
3415
  "type": "int",
3416
- "value_allowed_null": true
3416
+ "value_allowed_null": false
3417
3417
  }
3418
3418
  ],
3419
3419
  "usage": "out"
@@ -23528,6 +23528,16 @@
23528
23528
  "type": "string",
23529
23529
  "value_allowed_null": false
23530
23530
  },
23531
+ {
23532
+ "disabled": false,
23533
+ "document": "漏洞是否支持防御 0:不支持 1:支持",
23534
+ "example": "1",
23535
+ "member": "int64",
23536
+ "name": "SupportDefense",
23537
+ "output_required": false,
23538
+ "type": "int",
23539
+ "value_allowed_null": false
23540
+ },
23531
23541
  {
23532
23542
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
23533
23543
  "member": "string",
@@ -1336,7 +1336,7 @@
1336
1336
  },
1337
1337
  {
1338
1338
  "disabled": false,
1339
- "document": "购买工作空间数量",
1339
+ "document": "购买工作空间实例的数量",
1340
1340
  "example": "1",
1341
1341
  "member": "int64",
1342
1342
  "name": "SpaceCount",
@@ -1911,7 +1911,7 @@
1911
1911
  "example": "hpc-5lyv94lq",
1912
1912
  "member": "string",
1913
1913
  "name": "ClusterId",
1914
- "required": true,
1914
+ "required": false,
1915
1915
  "type": "string"
1916
1916
  },
1917
1917
  {
@@ -2921,6 +2921,16 @@
2921
2921
  "NodeOverview": {
2922
2922
  "document": "节点概览信息。",
2923
2923
  "members": [
2924
+ {
2925
+ "disabled": false,
2926
+ "document": "集群ID",
2927
+ "example": "hpc-xxx",
2928
+ "member": "string",
2929
+ "name": "ClusterId",
2930
+ "output_required": false,
2931
+ "type": "string",
2932
+ "value_allowed_null": false
2933
+ },
2924
2934
  {
2925
2935
  "disabled": false,
2926
2936
  "document": "节点实例ID。\n注意:此字段可能返回 null,表示取不到有效值。",
@@ -3010,6 +3020,26 @@
3010
3020
  "output_required": false,
3011
3021
  "type": "string",
3012
3022
  "value_allowed_null": false
3023
+ },
3024
+ {
3025
+ "disabled": false,
3026
+ "document": "节点的名称",
3027
+ "example": "unnamed",
3028
+ "member": "string",
3029
+ "name": "NodeName",
3030
+ "output_required": false,
3031
+ "type": "string",
3032
+ "value_allowed_null": false
3033
+ },
3034
+ {
3035
+ "disabled": false,
3036
+ "document": "节点的创建时间",
3037
+ "example": "2024-12-18T13:46:34Z",
3038
+ "member": "datetime_iso",
3039
+ "name": "CreateTime",
3040
+ "output_required": false,
3041
+ "type": "string",
3042
+ "value_allowed_null": false
3013
3043
  }
3014
3044
  ],
3015
3045
  "usage": "out"
@@ -8772,6 +8772,17 @@
8772
8772
  "required": false,
8773
8773
  "type": "string",
8774
8774
  "value_allowed_null": false
8775
+ },
8776
+ {
8777
+ "disabled": false,
8778
+ "document": "当前实例所在的节点 IP",
8779
+ "example": "9.0.0.8",
8780
+ "member": "string",
8781
+ "name": "NodeIP",
8782
+ "output_required": false,
8783
+ "required": false,
8784
+ "type": "string",
8785
+ "value_allowed_null": false
8775
8786
  }
8776
8787
  ],
8777
8788
  "usage": "both"
@@ -3985,6 +3985,16 @@
3985
3985
  "output_required": true,
3986
3986
  "type": "string",
3987
3987
  "value_allowed_null": false
3988
+ },
3989
+ {
3990
+ "disabled": false,
3991
+ "document": "控制面子网信息,仅在以下场景返回。\n- 容器网络插件为CiliumOverlay。\n- 支持CDC的托管集群,且网络插件为VPC-CNI。",
3992
+ "example": "subnet-0bn5jksy",
3993
+ "member": "string",
3994
+ "name": "SubnetId",
3995
+ "output_required": false,
3996
+ "type": "string",
3997
+ "value_allowed_null": false
3988
3998
  }
3989
3999
  ],
3990
4000
  "usage": "out"
@@ -1577,6 +1577,58 @@ def doModifyMQTTInstance(args, parsed_globals):
1577
1577
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1578
1578
 
1579
1579
 
1580
+ def doDescribeConsumerClientList(args, parsed_globals):
1581
+ g_param = parse_global_arg(parsed_globals)
1582
+
1583
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1584
+ cred = credential.CVMRoleCredential()
1585
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1586
+ cred = credential.STSAssumeRoleCredential(
1587
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1588
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1589
+ )
1590
+ 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):
1591
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1592
+ else:
1593
+ cred = credential.Credential(
1594
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1595
+ )
1596
+ http_profile = HttpProfile(
1597
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1598
+ reqMethod="POST",
1599
+ endpoint=g_param[OptionsDefine.Endpoint],
1600
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1601
+ )
1602
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1603
+ if g_param[OptionsDefine.Language]:
1604
+ profile.language = g_param[OptionsDefine.Language]
1605
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1606
+ client = mod.TrocketClient(cred, g_param[OptionsDefine.Region], profile)
1607
+ client._sdkVersion += ("_CLI_" + __version__)
1608
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1609
+ model = models.DescribeConsumerClientListRequest()
1610
+ model.from_json_string(json.dumps(args))
1611
+ start_time = time.time()
1612
+ while True:
1613
+ rsp = client.DescribeConsumerClientList(model)
1614
+ result = rsp.to_json_string()
1615
+ try:
1616
+ json_obj = json.loads(result)
1617
+ except TypeError as e:
1618
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1619
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1620
+ break
1621
+ cur_time = time.time()
1622
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1623
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1624
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1625
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1626
+ else:
1627
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1628
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1629
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1630
+
1631
+
1580
1632
  def doDescribeConsumerLag(args, parsed_globals):
1581
1633
  g_param = parse_global_arg(parsed_globals)
1582
1634
 
@@ -3594,6 +3646,7 @@ ACTION_MAP = {
3594
3646
  "DescribeMQTTUserList": doDescribeMQTTUserList,
3595
3647
  "DescribeProductSKUs": doDescribeProductSKUs,
3596
3648
  "ModifyMQTTInstance": doModifyMQTTInstance,
3649
+ "DescribeConsumerClientList": doDescribeConsumerClientList,
3597
3650
  "DescribeConsumerLag": doDescribeConsumerLag,
3598
3651
  "ImportSourceClusterTopics": doImportSourceClusterTopics,
3599
3652
  "ModifyMQTTInsPublicEndpoint": doModifyMQTTInsPublicEndpoint,