tccli 3.0.1146.1__py2.py3-none-any.whl → 3.0.1148.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/aiart/aiart_client.py +53 -0
  3. tccli/services/aiart/v20221229/api.json +82 -2
  4. tccli/services/aiart/v20221229/examples.json +12 -4
  5. tccli/services/asr/v20190614/api.json +6 -6
  6. tccli/services/cdb/v20170320/api.json +14 -10
  7. tccli/services/cdn/v20180606/api.json +1 -1
  8. tccli/services/clb/v20180317/api.json +1 -1
  9. tccli/services/dcdb/v20180411/api.json +2 -0
  10. tccli/services/dnspod/v20210323/api.json +9 -0
  11. tccli/services/goosefs/v20220519/api.json +92 -12
  12. tccli/services/iotexplorer/v20190423/api.json +1 -1
  13. tccli/services/ivld/ivld_client.py +163 -4
  14. tccli/services/ivld/v20210903/api.json +443 -0
  15. tccli/services/ivld/v20210903/examples.json +24 -0
  16. tccli/services/lighthouse/v20200324/api.json +33 -31
  17. tccli/services/lighthouse/v20200324/examples.json +3 -3
  18. tccli/services/live/v20180801/api.json +7 -5
  19. tccli/services/lke/lke_client.py +53 -0
  20. tccli/services/lke/v20231130/api.json +160 -1
  21. tccli/services/lke/v20231130/examples.json +10 -2
  22. tccli/services/mna/mna_client.py +485 -8
  23. tccli/services/mna/v20210119/api.json +743 -21
  24. tccli/services/mna/v20210119/examples.json +72 -0
  25. tccli/services/mps/v20190612/api.json +31 -10
  26. tccli/services/postgres/v20170312/api.json +7 -7
  27. tccli/services/rum/v20210622/api.json +9 -0
  28. tccli/services/tdcpg/v20211118/api.json +4 -4
  29. tccli/services/tdcpg/v20211118/examples.json +2 -2
  30. tccli/services/tdmq/v20200217/api.json +8 -8
  31. tccli/services/tdmq/v20200217/examples.json +1 -1
  32. tccli/services/tke/v20180525/api.json +3 -3
  33. tccli/services/trtc/trtc_client.py +163 -4
  34. tccli/services/trtc/v20190722/api.json +311 -0
  35. tccli/services/trtc/v20190722/examples.json +24 -0
  36. tccli/services/tse/v20201207/api.json +19 -0
  37. tccli/services/tsf/tsf_client.py +110 -4
  38. tccli/services/tsf/v20180326/api.json +142 -0
  39. tccli/services/tsf/v20180326/examples.json +16 -0
  40. tccli/services/vpc/v20170312/api.json +144 -26
  41. tccli/services/vpc/v20170312/examples.json +10 -2
  42. tccli/services/vpc/vpc_client.py +69 -16
  43. tccli/services/waf/v20180125/api.json +2 -2
  44. {tccli-3.0.1146.1.dist-info → tccli-3.0.1148.1.dist-info}/METADATA +2 -2
  45. {tccli-3.0.1146.1.dist-info → tccli-3.0.1148.1.dist-info}/RECORD +48 -48
  46. {tccli-3.0.1146.1.dist-info → tccli-3.0.1148.1.dist-info}/WHEEL +0 -0
  47. {tccli-3.0.1146.1.dist-info → tccli-3.0.1148.1.dist-info}/entry_points.txt +0 -0
  48. {tccli-3.0.1146.1.dist-info → tccli-3.0.1148.1.dist-info}/license_files/LICENSE +0 -0
@@ -2662,8 +2662,8 @@
2662
2662
  "members": [
2663
2663
  {
2664
2664
  "disabled": false,
2665
- "document": "实例 ID 列表,当前最多支持 1 个。",
2666
- "example": "[\"lhins-f4s49nap\\r\\n\"]",
2665
+ "document": "实例 ID 列表。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 当前最多支持1个。",
2666
+ "example": "[\"lhins-f4s49nap\"]",
2667
2667
  "member": "string",
2668
2668
  "name": "InstanceIds",
2669
2669
  "required": true,
@@ -2681,7 +2681,7 @@
2681
2681
  "example": "1",
2682
2682
  "member": "int64",
2683
2683
  "name": "TotalCount",
2684
- "required": true,
2684
+ "output_required": true,
2685
2685
  "type": "int",
2686
2686
  "value_allowed_null": false
2687
2687
  },
@@ -2691,7 +2691,7 @@
2691
2691
  "example": "无",
2692
2692
  "member": "BlueprintInstance",
2693
2693
  "name": "BlueprintInstanceSet",
2694
- "required": true,
2694
+ "output_required": true,
2695
2695
  "type": "list",
2696
2696
  "value_allowed_null": false
2697
2697
  },
@@ -2737,7 +2737,7 @@
2737
2737
  {
2738
2738
  "disabled": false,
2739
2739
  "document": "过滤器列表。\n<li>blueprint-id</li>按照【镜像 ID】进行过滤。\n类型:String\n必选:否\n<li>blueprint-type</li>按照【镜像类型】进行过滤。\n取值:APP_OS(应用镜像 );PURE_OS(系统镜像);DOCKER(Docker容器镜像);PRIVATE(自定义镜像);SHARED(共享镜像)。\n类型:String\n必选:否\n<li>platform-type</li>按照【镜像平台类型】进行过滤。\n取值: LINUX_UNIX(Linux/Unix系统);WINDOWS(Windows 系统)。\n类型:String\n必选:否\n<li>blueprint-name</li>按照【镜像名称】进行过滤。\n类型:String\n必选:否\n<li>blueprint-state</li>按照【镜像状态】进行过滤。\n类型:String\n必选:否\n<li>scene-id</li>按照【使用场景Id】进行过滤。\n类型:String\n必选:否\n\n每次请求的 Filters 的上限为 10,Filter.Values 的上限为 100。参数不支持同时指定 BlueprintIds 和 Filters 。",
2740
- "example": " [ { \"Name\": \"blueprint-type\", \"",
2740
+ "example": "",
2741
2741
  "member": "Filter",
2742
2742
  "name": "Filters",
2743
2743
  "required": false,
@@ -2755,15 +2755,17 @@
2755
2755
  "example": "1",
2756
2756
  "member": "int64",
2757
2757
  "name": "TotalCount",
2758
+ "output_required": true,
2758
2759
  "type": "int",
2759
2760
  "value_allowed_null": false
2760
2761
  },
2761
2762
  {
2762
2763
  "disabled": false,
2763
2764
  "document": "镜像详细信息列表。",
2764
- "example": " [ { \"BlueprintId\": \"lhbp-5e8807sc\",",
2765
+ "example": "",
2765
2766
  "member": "Blueprint",
2766
2767
  "name": "BlueprintSet",
2768
+ "output_required": true,
2767
2769
  "type": "list",
2768
2770
  "value_allowed_null": false
2769
2771
  },
@@ -4113,7 +4115,7 @@
4113
4115
  {
4114
4116
  "disabled": false,
4115
4117
  "document": "实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。",
4116
- "example": "[\"lhins-ruy9d2tw\\n\"]",
4118
+ "example": "[\"lhins-ruy9d2tw\"]",
4117
4119
  "member": "string",
4118
4120
  "name": "InstanceIds",
4119
4121
  "required": true,
@@ -4271,7 +4273,7 @@
4271
4273
  {
4272
4274
  "disabled": false,
4273
4275
  "document": "实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。",
4274
- "example": "[\"lhins-ruy9d2tw\\n\",\"lhins-xusdke45\\n\"]",
4276
+ "example": "[\"lhins-ruy9d2tw\",\"lhins-xusdke45\"]",
4275
4277
  "member": "string",
4276
4278
  "name": "InstanceIds",
4277
4279
  "required": false,
@@ -4307,7 +4309,7 @@
4307
4309
  "example": "2",
4308
4310
  "member": "int64",
4309
4311
  "name": "TotalCount",
4310
- "required": true,
4312
+ "output_required": true,
4311
4313
  "type": "int",
4312
4314
  "value_allowed_null": false
4313
4315
  },
@@ -4317,7 +4319,7 @@
4317
4319
  "example": "无",
4318
4320
  "member": "InstanceReturnable",
4319
4321
  "name": "InstanceReturnableSet",
4320
- "required": true,
4322
+ "output_required": true,
4321
4323
  "type": "list",
4322
4324
  "value_allowed_null": false
4323
4325
  },
@@ -5107,7 +5109,7 @@
5107
5109
  "example": "lhdisk-p1zflrif",
5108
5110
  "member": "string",
5109
5111
  "name": "DiskId",
5110
- "required": true,
5112
+ "output_required": true,
5111
5113
  "type": "string",
5112
5114
  "value_allowed_null": false
5113
5115
  },
@@ -5117,7 +5119,7 @@
5117
5119
  "example": "lhins-anxwfvxh",
5118
5120
  "member": "string",
5119
5121
  "name": "InstanceId",
5120
- "required": true,
5122
+ "output_required": true,
5121
5123
  "type": "string",
5122
5124
  "value_allowed_null": false
5123
5125
  },
@@ -5127,7 +5129,7 @@
5127
5129
  "example": "ap-guangzhou-1",
5128
5130
  "member": "string",
5129
5131
  "name": "Zone",
5130
- "required": true,
5132
+ "output_required": true,
5131
5133
  "type": "string",
5132
5134
  "value_allowed_null": false
5133
5135
  },
@@ -5137,7 +5139,7 @@
5137
5139
  "example": "disk-name",
5138
5140
  "member": "string",
5139
5141
  "name": "DiskName",
5140
- "required": true,
5142
+ "output_required": true,
5141
5143
  "type": "string",
5142
5144
  "value_allowed_null": false
5143
5145
  },
@@ -5147,7 +5149,7 @@
5147
5149
  "example": "DATA_DISK",
5148
5150
  "member": "string",
5149
5151
  "name": "DiskUsage",
5150
- "required": true,
5152
+ "output_required": true,
5151
5153
  "type": "string",
5152
5154
  "value_allowed_null": false
5153
5155
  },
@@ -5157,7 +5159,7 @@
5157
5159
  "example": "CLOUD_SSD",
5158
5160
  "member": "string",
5159
5161
  "name": "DiskType",
5160
- "required": true,
5162
+ "output_required": true,
5161
5163
  "type": "string",
5162
5164
  "value_allowed_null": false
5163
5165
  },
@@ -5167,7 +5169,7 @@
5167
5169
  "example": "PREPAID",
5168
5170
  "member": "string",
5169
5171
  "name": "DiskChargeType",
5170
- "required": true,
5172
+ "output_required": true,
5171
5173
  "type": "string",
5172
5174
  "value_allowed_null": false
5173
5175
  },
@@ -5177,7 +5179,7 @@
5177
5179
  "example": "20",
5178
5180
  "member": "int64",
5179
5181
  "name": "DiskSize",
5180
- "required": true,
5182
+ "output_required": true,
5181
5183
  "type": "int",
5182
5184
  "value_allowed_null": false
5183
5185
  },
@@ -5187,7 +5189,7 @@
5187
5189
  "example": "NOTIFY_AND_MANUAL_RENEW",
5188
5190
  "member": "string",
5189
5191
  "name": "RenewFlag",
5190
- "required": true,
5192
+ "output_required": true,
5191
5193
  "type": "string",
5192
5194
  "value_allowed_null": false
5193
5195
  },
@@ -5197,7 +5199,7 @@
5197
5199
  "example": "UNATTACHED",
5198
5200
  "member": "string",
5199
5201
  "name": "DiskState",
5200
- "required": true,
5202
+ "output_required": true,
5201
5203
  "type": "string",
5202
5204
  "value_allowed_null": false
5203
5205
  },
@@ -5207,7 +5209,7 @@
5207
5209
  "example": "False",
5208
5210
  "member": "bool",
5209
5211
  "name": "Attached",
5210
- "required": true,
5212
+ "output_required": true,
5211
5213
  "type": "bool",
5212
5214
  "value_allowed_null": false
5213
5215
  },
@@ -5217,7 +5219,7 @@
5217
5219
  "example": "False",
5218
5220
  "member": "bool",
5219
5221
  "name": "DeleteWithInstance",
5220
- "required": true,
5222
+ "output_required": true,
5221
5223
  "type": "bool",
5222
5224
  "value_allowed_null": false
5223
5225
  },
@@ -5227,7 +5229,7 @@
5227
5229
  "example": "CreateDisks",
5228
5230
  "member": "string",
5229
5231
  "name": "LatestOperation",
5230
- "required": true,
5232
+ "output_required": true,
5231
5233
  "type": "string",
5232
5234
  "value_allowed_null": false
5233
5235
  },
@@ -5237,7 +5239,7 @@
5237
5239
  "example": "SUCCESS",
5238
5240
  "member": "string",
5239
5241
  "name": "LatestOperationState",
5240
- "required": true,
5242
+ "output_required": true,
5241
5243
  "type": "string",
5242
5244
  "value_allowed_null": false
5243
5245
  },
@@ -5247,7 +5249,7 @@
5247
5249
  "example": "b786faac-d27b-4f70-a52e-3ae725e0f639",
5248
5250
  "member": "string",
5249
5251
  "name": "LatestOperationRequestId",
5250
- "required": true,
5252
+ "output_required": true,
5251
5253
  "type": "string",
5252
5254
  "value_allowed_null": false
5253
5255
  },
@@ -5257,7 +5259,7 @@
5257
5259
  "example": "2021-08-25T08:50:57Z",
5258
5260
  "member": "datetime_iso",
5259
5261
  "name": "CreatedTime",
5260
- "required": true,
5262
+ "output_required": true,
5261
5263
  "type": "string",
5262
5264
  "value_allowed_null": true
5263
5265
  },
@@ -5267,7 +5269,7 @@
5267
5269
  "example": "2021-08-25T08:50:57Z",
5268
5270
  "member": "datetime_iso",
5269
5271
  "name": "ExpiredTime",
5270
- "required": true,
5272
+ "output_required": true,
5271
5273
  "type": "string",
5272
5274
  "value_allowed_null": true
5273
5275
  },
@@ -5277,7 +5279,7 @@
5277
5279
  "example": "2021-08-25T08:50:57Z",
5278
5280
  "member": "datetime_iso",
5279
5281
  "name": "IsolatedTime",
5280
- "required": true,
5282
+ "output_required": true,
5281
5283
  "type": "string",
5282
5284
  "value_allowed_null": true
5283
5285
  },
@@ -5287,7 +5289,7 @@
5287
5289
  "example": "1",
5288
5290
  "member": "int64",
5289
5291
  "name": "DiskBackupCount",
5290
- "required": true,
5292
+ "output_required": true,
5291
5293
  "type": "int",
5292
5294
  "value_allowed_null": false
5293
5295
  },
@@ -5297,7 +5299,7 @@
5297
5299
  "example": "1",
5298
5300
  "member": "int64",
5299
5301
  "name": "DiskBackupQuota",
5300
- "required": true,
5302
+ "output_required": true,
5301
5303
  "type": "int",
5302
5304
  "value_allowed_null": false
5303
5305
  }
@@ -8250,7 +8252,7 @@
8250
8252
  {
8251
8253
  "disabled": false,
8252
8254
  "document": "实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。",
8253
- "example": "[\"lhins-ruy9d2tw\\n\",\"lhins-rusdke45\\n\"]",
8255
+ "example": "[\"lhins-ruy9d2tw\",\"lhins-rusdke45\"]",
8254
8256
  "member": "string",
8255
8257
  "name": "InstanceIds",
8256
8258
  "required": true,
@@ -196,15 +196,15 @@
196
196
  {
197
197
  "document": "",
198
198
  "input": "https://lighthouse.tencentcloudapi.com/?Action=DescribeBlueprintInstances\n&InstanceIds.0=lhins-f4s49nap\n&<公共请求参数>",
199
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"BlueprintInstanceSet\": [\n {\n \"InstanceId\": \"lhins-aaaabbbb\",\n \"Blueprint\": {\n \"BlueprintId\": \"lhbp-5e8807sc\",\n \"DisplayTitle\": \"wordpress\",\n \"DisplayVersion\": \"5.3.2\",\n \"Description\": \"个人blog建站\",\n \"OsName\": \"CentOS-7.6-64bit\",\n \"Platform\": \"CENTOS\",\n \"PlatformType\": \"LINUX_UNIX\",\n \"BlueprintName\": \"my-blueprint\",\n \"BlueprintType\": \"APP_OS\",\n \"ImageUrl\": \"http://www.wordpress.com/image\",\n \"RequiredMemorySize\": 2,\n \"RequiredSystemDiskSize\": 10,\n \"BlueprintState\": \"NORMAL\",\n \"SupportAutomationTools\": true,\n \"CreatedTime\": \"2020-09-22T00:00:00+00:00\",\n \"ImageId\": \"img-f82x5lxe\"\n },\n \"SoftwareSet\": [\n {\n \"Name\": \"wordpress\",\n \"Version\": \"5.3.2\",\n \"ImageUrl\": \"\",\n \"InstallDir\": \"/usr/local/lighthouse/softwares/wordpress\",\n \"DetailSet\": [\n {\n \"Key\": \"IndexUrl\",\n \"Title\": \"首页地址\",\n \"Value\": \"http://xxx.xxx.xxx.xxx\"\n }\n ]\n }\n ]\n }\n ],\n \"RequestId\": \"989f74ea-567c-4c99-a24e-7bc200cf679b\"\n }\n}",
199
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"BlueprintInstanceSet\": [\n {\n \"InstanceId\": \"lhins-f4s49nap\",\n \"Blueprint\": {\n \"BlueprintId\": \"lhbp-lf6jlx98\",\n \"DisplayTitle\": \"宝塔Linux面板\",\n \"DisplayVersion\": \"8.1.0 腾讯云专享版\",\n \"BlueprintName\": \"btpanel_exclusive\",\n \"Description\": \"宝塔Linux面板(BT-Panel)是一款简单好用的服务器运维管理面板,支持一键LAMP/LNMP/集群/监控/网站/FTP/数据库/JAVA等100多项服务器管理功能,能够极大提升运维管理效率。宝塔面板腾讯云专享版由腾讯云与堡塔公司联合开发,与普通版相比,专享版默认集成腾讯云COSFS、CDN和DNS解析插件,让用户更便捷的使用宝塔面板对腾讯云产品进行管理和操作。该镜像基于OpenCloudOS 9操作系统。\",\n \"OsName\": \"OpenCloudOS 9\",\n \"Platform\": \"OPENCLOUDOS\",\n \"PlatformType\": \"LINUX_UNIX\",\n \"BlueprintType\": \"APP_OS\",\n \"ImageUrl\": \"https://cloudcache.tencent-cloud.com/open_proj/proj_qcloud_v2/tc-console/tea-static-lighthouse/src/styles/slice/bt-panel.svg\",\n \"RequiredSystemDiskSize\": 20,\n \"RequiredMemorySize\": 1,\n \"BlueprintState\": \"NORMAL\",\n \"SupportAutomationTools\": true,\n \"ImageId\": \"\",\n \"CommunityUrl\": \"https://www.bt.cn\",\n \"GuideUrl\": \"https://cloud.tencent.com/document/product/1207/47425\",\n \"SceneIdSet\": [\n \"lhsc-3bzsddow\"\n ],\n \"DockerVersion\": null,\n \"BlueprintShared\": false,\n \"CreatedTime\": \"2024-05-08T03:43:06Z\"\n },\n \"SoftwareSet\": [\n {\n \"Name\": \"宝塔Linux面板\",\n \"Version\": \"8.1.0 腾讯云专享版\",\n \"ImageUrl\": \"https://imgcache.qq.com/open_proj/proj_qcloud_v2/tc-console/tea-static-lighthouse/src/styles/slice/bt-panel.svg\",\n \"InstallDir\": \"/www\",\n \"DetailSet\": [\n {\n \"Key\": \"BTPanelIndexUrl\",\n \"Title\": \"面板首页地址\",\n \"Value\": \"http://1.13.251.147:面板端口/tencentcloud\"\n },\n {\n \"Key\": \"BTPanelPort\",\n \"Title\": \"面板端口\",\n \"Value\": \"默认为8888,您可以在登录面板后修改面板端口\"\n },\n {\n \"Key\": \"BTPanelCredential\",\n \"Title\": \"用户名与密码\",\n \"Value\": \"sudo /etc/init.d/bt default\"\n }\n ]\n }\n ]\n }\n ],\n \"RequestId\": \"128d0517-4eb0-4301-868c-650eaeac5556\"\n }\n}",
200
200
  "title": "查询镜像实例信息"
201
201
  }
202
202
  ],
203
203
  "DescribeBlueprints": [
204
204
  {
205
205
  "document": "查询镜像信息",
206
- "input": "POST / HTTP/1.1\nHost: lighthouse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBlueprints\n<公共请求参数>\n\n{\n \"BlueprintIds\": [\n \"lhbp-5e8807sc\"\n ]\n}",
207
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"BlueprintSet\": [\n {\n \"BlueprintId\": \"lhbp-5e8807sc\",\n \"DisplayTitle\": \"wordpress\",\n \"DisplayVersion\": \"5.3.2\",\n \"Description\": \"个人blog建站\",\n \"OsName\": \"CentOS-7.6-64bit\",\n \"Platform\": \"CENTOS\",\n \"PlatformType\": \"LINUX_UNIX\",\n \"BlueprintType\": \"APP_OS\",\n \"ImageUrl\": \"http://www.wordpress.com/image\",\n \"RequiredSystemDiskSize\": 50,\n \"BlueprintState\": \"NORMAL\",\n \"CreatedTime\": \"2020-04-28T03:46:09Z\",\n \"BlueprintName\": \"Wordpress\",\n \"SupportAutomationTools\": true,\n \"RequiredMemorySize\": 1,\n \"ImageId\": \"\",\n \"SceneIdSet\": [],\n \"CommunityUrl\": \"CommunityUrl_test\",\n \"GuideUrl\": \"GuideUrl_test\"\n }\n ],\n \"RequestId\": \"3df9cd92-cec1-4864-a2a1-358084f41551\"\n }\n}",
206
+ "input": "POST / HTTP/1.1\nHost: lighthouse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBlueprints\n<公共请求参数>\n\n{\n \"BlueprintIds\": [\n \"lhbp-lf6jlx98\"\n ]\n}",
207
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"BlueprintSet\": [\n {\n \"BlueprintId\": \"lhbp-lf6jlx98\",\n \"DisplayTitle\": \"宝塔Linux面板\",\n \"DisplayVersion\": \"8.1.0 腾讯云专享版\",\n \"BlueprintName\": \"btpanel_exclusive\",\n \"Description\": \"宝塔Linux面板(BT-Panel)是一款简单好用的服务器运维管理面板,支持一键LAMP/LNMP/集群/监控/网站/FTP/数据库/JAVA等100多项服务器管理功能,能够极大提升运维管理效率。宝塔面板腾讯云专享版由腾讯云与堡塔公司联合开发,与普通版相比,专享版默认集成腾讯云COSFS、CDN和DNS解析插件,让用户更便捷的使用宝塔面板对腾讯云产品进行管理和操作。该镜像基于OpenCloudOS 9操作系统。\",\n \"OsName\": \"OpenCloudOS 9\",\n \"Platform\": \"OPENCLOUDOS\",\n \"PlatformType\": \"LINUX_UNIX\",\n \"BlueprintType\": \"APP_OS\",\n \"ImageUrl\": \"https://cloudcache.tencent-cloud.com/open_proj/proj_qcloud_v2/tc-console/tea-static-lighthouse/src/styles/slice/bt-panel.svg\",\n \"RequiredSystemDiskSize\": 20,\n \"RequiredMemorySize\": 1,\n \"BlueprintState\": \"NORMAL\",\n \"SupportAutomationTools\": true,\n \"ImageId\": \"\",\n \"CommunityUrl\": \"https://www.bt.cn\",\n \"GuideUrl\": \"https://cloud.tencent.com/document/product/1207/47425\",\n \"SceneIdSet\": [\n \"lhsc-3bzsddow\"\n ],\n \"DockerVersion\": null,\n \"BlueprintShared\": false,\n \"CreatedTime\": \"2024-05-08T03:43:06Z\"\n }\n ],\n \"RequestId\": \"817c4e56-36fc-47ff-bfb6-c4462816972b\"\n }\n}",
208
208
  "title": "查询镜像信息"
209
209
  }
210
210
  ],
@@ -416,14 +416,14 @@
416
416
  "DescribeLiveCert": {
417
417
  "document": "获取证书信息",
418
418
  "input": "DescribeLiveCertRequest",
419
- "name": "获取证书信息",
419
+ "name": "获取证书信息(该接口已下线,请使用新接口 ssl.DescribeCertificateDetail)",
420
420
  "output": "DescribeLiveCertResponse",
421
421
  "status": "online"
422
422
  },
423
423
  "DescribeLiveCerts": {
424
424
  "document": "获取证书信息列表",
425
425
  "input": "DescribeLiveCertsRequest",
426
- "name": "获取证书信息列表",
426
+ "name": "获取证书信息列表(该接口已下线,请使用新接口 DescribeLiveDomainCertBindings)",
427
427
  "output": "DescribeLiveCertsResponse",
428
428
  "status": "online"
429
429
  },
@@ -6181,7 +6181,7 @@
6181
6181
  {
6182
6182
  "disabled": false,
6183
6183
  "document": "DescribeLiveCerts接口获取到的证书Id。",
6184
- "example": "",
6184
+ "example": "F4eO8WVE",
6185
6185
  "member": "int64",
6186
6186
  "name": "CertId",
6187
6187
  "required": true,
@@ -6196,9 +6196,10 @@
6196
6196
  {
6197
6197
  "disabled": false,
6198
6198
  "document": "证书信息。",
6199
- "example": "",
6199
+ "example": "{}",
6200
6200
  "member": "CertInfo",
6201
6201
  "name": "CertInfo",
6202
+ "output_required": true,
6202
6203
  "type": "object",
6203
6204
  "value_allowed_null": false
6204
6205
  },
@@ -6222,9 +6223,10 @@
6222
6223
  {
6223
6224
  "disabled": false,
6224
6225
  "document": "证书信息列表。",
6225
- "example": "",
6226
+ "example": "{}",
6226
6227
  "member": "CertInfo",
6227
6228
  "name": "CertInfoSet",
6229
+ "output_required": true,
6228
6230
  "type": "list",
6229
6231
  "value_allowed_null": false
6230
6232
  },
@@ -3501,6 +3501,58 @@ def doListAttributeLabel(args, parsed_globals):
3501
3501
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3502
3502
 
3503
3503
 
3504
+ def doDescribeSegments(args, parsed_globals):
3505
+ g_param = parse_global_arg(parsed_globals)
3506
+
3507
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
3508
+ cred = credential.CVMRoleCredential()
3509
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
3510
+ cred = credential.STSAssumeRoleCredential(
3511
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
3512
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
3513
+ )
3514
+ 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):
3515
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
3516
+ else:
3517
+ cred = credential.Credential(
3518
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
3519
+ )
3520
+ http_profile = HttpProfile(
3521
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
3522
+ reqMethod="POST",
3523
+ endpoint=g_param[OptionsDefine.Endpoint],
3524
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
3525
+ )
3526
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
3527
+ if g_param[OptionsDefine.Language]:
3528
+ profile.language = g_param[OptionsDefine.Language]
3529
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
3530
+ client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
3531
+ client._sdkVersion += ("_CLI_" + __version__)
3532
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
3533
+ model = models.DescribeSegmentsRequest()
3534
+ model.from_json_string(json.dumps(args))
3535
+ start_time = time.time()
3536
+ while True:
3537
+ rsp = client.DescribeSegments(model)
3538
+ result = rsp.to_json_string()
3539
+ try:
3540
+ json_obj = json.loads(result)
3541
+ except TypeError as e:
3542
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
3543
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
3544
+ break
3545
+ cur_time = time.time()
3546
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
3547
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
3548
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
3549
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
3550
+ else:
3551
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
3552
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
3553
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3554
+
3555
+
3504
3556
  def doListRejectedQuestion(args, parsed_globals):
3505
3557
  g_param = parse_global_arg(parsed_globals)
3506
3558
 
@@ -4307,6 +4359,7 @@ ACTION_MAP = {
4307
4359
  "ListModel": doListModel,
4308
4360
  "GroupQA": doGroupQA,
4309
4361
  "ListAttributeLabel": doListAttributeLabel,
4362
+ "DescribeSegments": doDescribeSegments,
4310
4363
  "ListRejectedQuestion": doListRejectedQuestion,
4311
4364
  "ListReleaseConfigPreview": doListReleaseConfigPreview,
4312
4365
  "GetTaskStatus": doGetTaskStatus,
@@ -182,6 +182,13 @@
182
182
  "output": "DescribeRobotBizIDByAppKeyResponse",
183
183
  "status": "online"
184
184
  },
185
+ "DescribeSegments": {
186
+ "document": "获取片段详情",
187
+ "input": "DescribeSegmentsRequest",
188
+ "name": "获取片段详情",
189
+ "output": "DescribeSegmentsResponse",
190
+ "status": "online"
191
+ },
185
192
  "DescribeStorageCredential": {
186
193
  "document": "获取文件上传临时密钥",
187
194
  "input": "DescribeStorageCredentialRequest",
@@ -3428,6 +3435,52 @@
3428
3435
  ],
3429
3436
  "type": "object"
3430
3437
  },
3438
+ "DescribeSegmentsRequest": {
3439
+ "document": "DescribeSegments请求参数结构体",
3440
+ "members": [
3441
+ {
3442
+ "disabled": false,
3443
+ "document": "应用ID",
3444
+ "example": "无",
3445
+ "member": "string",
3446
+ "name": "BotBizId",
3447
+ "required": true,
3448
+ "type": "string"
3449
+ },
3450
+ {
3451
+ "disabled": false,
3452
+ "document": "文档ID",
3453
+ "example": "无",
3454
+ "member": "string",
3455
+ "name": "SegBizId",
3456
+ "required": false,
3457
+ "type": "list"
3458
+ }
3459
+ ],
3460
+ "type": "object"
3461
+ },
3462
+ "DescribeSegmentsResponse": {
3463
+ "document": "DescribeSegments返回参数结构体",
3464
+ "members": [
3465
+ {
3466
+ "disabled": false,
3467
+ "document": "片段列表\n注意:此字段可能返回 null,表示取不到有效值。",
3468
+ "example": "无",
3469
+ "member": "DocSegment",
3470
+ "name": "List",
3471
+ "output_required": false,
3472
+ "type": "list",
3473
+ "value_allowed_null": true
3474
+ },
3475
+ {
3476
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
3477
+ "member": "string",
3478
+ "name": "RequestId",
3479
+ "type": "string"
3480
+ }
3481
+ ],
3482
+ "type": "object"
3483
+ },
3431
3484
  "DescribeStorageCredentialRequest": {
3432
3485
  "document": "DescribeStorageCredential请求参数结构体",
3433
3486
  "members": [
@@ -3646,6 +3699,112 @@
3646
3699
  ],
3647
3700
  "type": "object"
3648
3701
  },
3702
+ "DocSegment": {
3703
+ "document": "文档片段",
3704
+ "members": [
3705
+ {
3706
+ "disabled": false,
3707
+ "document": "片段ID\n注意:此字段可能返回 null,表示取不到有效值。",
3708
+ "example": "无",
3709
+ "member": "string",
3710
+ "name": "Id",
3711
+ "output_required": false,
3712
+ "type": "string",
3713
+ "value_allowed_null": true
3714
+ },
3715
+ {
3716
+ "disabled": false,
3717
+ "document": "业务ID\n注意:此字段可能返回 null,表示取不到有效值。",
3718
+ "example": "无",
3719
+ "member": "string",
3720
+ "name": "BusinessId",
3721
+ "output_required": false,
3722
+ "type": "string",
3723
+ "value_allowed_null": true
3724
+ },
3725
+ {
3726
+ "disabled": false,
3727
+ "document": "文件类型(markdown,word,txt)\n注意:此字段可能返回 null,表示取不到有效值。",
3728
+ "example": "无",
3729
+ "member": "string",
3730
+ "name": "FileType",
3731
+ "output_required": false,
3732
+ "type": "string",
3733
+ "value_allowed_null": true
3734
+ },
3735
+ {
3736
+ "disabled": false,
3737
+ "document": "文档切片类型(segment-文档切片 table-表格)\n注意:此字段可能返回 null,表示取不到有效值。",
3738
+ "example": "无",
3739
+ "member": "string",
3740
+ "name": "SegmentType",
3741
+ "output_required": false,
3742
+ "type": "string",
3743
+ "value_allowed_null": true
3744
+ },
3745
+ {
3746
+ "disabled": false,
3747
+ "document": "标题\n注意:此字段可能返回 null,表示取不到有效值。",
3748
+ "example": "无",
3749
+ "member": "string",
3750
+ "name": "Title",
3751
+ "output_required": false,
3752
+ "type": "string",
3753
+ "value_allowed_null": true
3754
+ },
3755
+ {
3756
+ "disabled": false,
3757
+ "document": "段落内容\n注意:此字段可能返回 null,表示取不到有效值。",
3758
+ "example": "无",
3759
+ "member": "string",
3760
+ "name": "PageContent",
3761
+ "output_required": false,
3762
+ "type": "string",
3763
+ "value_allowed_null": true
3764
+ },
3765
+ {
3766
+ "disabled": false,
3767
+ "document": "段落原文\n注意:此字段可能返回 null,表示取不到有效值。",
3768
+ "example": "无",
3769
+ "member": "string",
3770
+ "name": "OrgData",
3771
+ "output_required": false,
3772
+ "type": "string",
3773
+ "value_allowed_null": true
3774
+ },
3775
+ {
3776
+ "disabled": false,
3777
+ "document": "文章ID\n注意:此字段可能返回 null,表示取不到有效值。",
3778
+ "example": "无",
3779
+ "member": "string",
3780
+ "name": "DocId",
3781
+ "output_required": false,
3782
+ "type": "string",
3783
+ "value_allowed_null": true
3784
+ },
3785
+ {
3786
+ "disabled": false,
3787
+ "document": "文档业务ID\n注意:此字段可能返回 null,表示取不到有效值。",
3788
+ "example": "无",
3789
+ "member": "string",
3790
+ "name": "DocBizId",
3791
+ "output_required": false,
3792
+ "type": "string",
3793
+ "value_allowed_null": true
3794
+ },
3795
+ {
3796
+ "disabled": false,
3797
+ "document": "文档链接\n注意:此字段可能返回 null,表示取不到有效值。",
3798
+ "example": "无",
3799
+ "member": "string",
3800
+ "name": "DocUrl",
3801
+ "output_required": false,
3802
+ "type": "string",
3803
+ "value_allowed_null": true
3804
+ }
3805
+ ],
3806
+ "usage": "out"
3807
+ },
3649
3808
  "DocumentElement": {
3650
3809
  "document": "文档元素字段",
3651
3810
  "members": [
@@ -10008,7 +10167,7 @@
10008
10167
  },
10009
10168
  {
10010
10169
  "disabled": false,
10011
- "document": "文档操作类型:1:批量导入;2:文档导入",
10170
+ "document": "文档操作类型:1:批量导入(批量导入问答对);2:文档导入(正常导入单个文档)",
10012
10171
  "example": "无",
10013
10172
  "member": "uint64",
10014
10173
  "name": "Opt",
@@ -68,7 +68,7 @@
68
68
  {
69
69
  "document": "",
70
70
  "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateReconstructDocumentFlow\n<公共请求参数>\n\n{\n \"FileStartPageNumber\": 1,\n \"FileEndPageNumber\": 1,\n \"Config\": {\n \"TableResultType\": \"1\"\n },\n \"FileBase64\": \"data:application/pdf;base64,JVBERi0xLjcKXXX...\"\n}",
71
- "output": "{\n \"Response\": {\n \"RequestId\": \"1d569fb4-4c9d-4141-bbd7-e1d8735bd1a9\",\n \"TaskId\": \"63d30100c7534a82a7eaea10d2ae48a2\"\n }\n}",
71
+ "output": "{\n \"Response\": {\n \"RequestId\": \"1d569fb4-4c9d-4141-bbd7-e1d8735bd1a9\",\n \"TaskId\": \"123123123\"\n }\n}",
72
72
  "title": "接口请求成功示例"
73
73
  }
74
74
  ],
@@ -208,6 +208,14 @@
208
208
  "title": "通过AppKey查询应用业务ID"
209
209
  }
210
210
  ],
211
+ "DescribeSegments": [
212
+ {
213
+ "document": "片段请求",
214
+ "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSegments\n<公共请求参数>\n\n{\n \"BotBizId\": \"1771107658358063104\",\n \"SegBizId\": [\n \"1111\",\n \"2222\"\n ]\n}",
215
+ "output": "{\n \"Response\": {\n \"List\": [],\n \"RequestId\": \"83500528-9870-4c63-ad21-de5dc6d4a059\"\n }\n}",
216
+ "title": "片段请求"
217
+ }
218
+ ],
211
219
  "DescribeStorageCredential": [
212
220
  {
213
221
  "document": "",
@@ -321,7 +329,7 @@
321
329
  "GetReconstructDocumentResult": [
322
330
  {
323
331
  "document": "",
324
- "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetReconstructDocumentResult\n<公共请求参数>\n\n{\n \"TaskId\": \"a9c6a9482c72412fa84445af84125531\"\n}",
332
+ "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetReconstructDocumentResult\n<公共请求参数>\n\n{\n \"TaskId\": \"123123123\"\n}",
325
333
  "output": "{\n \"Response\": {\n \"DocumentRecognizeResultUrl\": \"https://document-restruction-1258344699.cos.ap-guangzhou.myqcloud.com/doc_parse/output_files/a9c6a9482c72412fa84445a44ss125531.zip?q-sign-algorithm=sha1&q-ak=AKIDlWFaadfHLNbidLwPqOrAKGzXrx40scL7l&q-sign-time=1715503711%3B1718804311&q-key-time=1718855711%3B1718804311&q-header-list=host&q-url-param-list=&q-signature=71b568b8632d7e45gertdc3d235ef68d41fdfe7f8\",\n \"FailedPages\": [],\n \"RequestId\": \"a37b0d0b-c3af-44bd-iuiu-632442644a80\",\n \"Status\": \"Success\"\n }\n}",
326
334
  "title": "接口调用成功示例"
327
335
  }