tccli 3.0.1182.1__py2.py3-none-any.whl → 3.0.1184.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 (72) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/ams/v20201229/api.json +20 -0
  3. tccli/services/ams/v20201229/examples.json +1 -1
  4. tccli/services/asr/asr_client.py +229 -17
  5. tccli/services/asr/v20190614/api.json +379 -0
  6. tccli/services/asr/v20190614/examples.json +32 -0
  7. tccli/services/bi/v20220105/api.json +10 -0
  8. tccli/services/cdwdoris/v20211228/api.json +189 -8
  9. tccli/services/cdwdoris/v20211228/examples.json +3 -3
  10. tccli/services/cfg/v20210820/api.json +134 -11
  11. tccli/services/cfw/cfw_client.py +53 -0
  12. tccli/services/cfw/v20190904/api.json +44 -0
  13. tccli/services/cfw/v20190904/examples.json +8 -0
  14. tccli/services/ckafka/v20190819/api.json +46 -16
  15. tccli/services/ckafka/v20190819/examples.json +8 -8
  16. tccli/services/clb/v20180317/api.json +40 -1
  17. tccli/services/cynosdb/cynosdb_client.py +110 -4
  18. tccli/services/cynosdb/v20190107/api.json +246 -0
  19. tccli/services/cynosdb/v20190107/examples.json +16 -0
  20. tccli/services/dasb/v20191018/api.json +9 -0
  21. tccli/services/dbbrain/v20210527/api.json +15 -15
  22. tccli/services/dc/v20180410/api.json +117 -73
  23. tccli/services/dc/v20180410/examples.json +11 -11
  24. tccli/services/dcdb/dcdb_client.py +53 -0
  25. tccli/services/dcdb/v20180411/api.json +54 -0
  26. tccli/services/dcdb/v20180411/examples.json +8 -0
  27. tccli/services/emr/emr_client.py +53 -0
  28. tccli/services/emr/v20190103/api.json +52 -0
  29. tccli/services/emr/v20190103/examples.json +8 -0
  30. tccli/services/es/es_client.py +53 -0
  31. tccli/services/es/v20180416/api.json +63 -0
  32. tccli/services/es/v20180416/examples.json +8 -0
  33. tccli/services/ess/v20201111/examples.json +3 -3
  34. tccli/services/essbasic/v20210526/api.json +8 -8
  35. tccli/services/essbasic/v20210526/examples.json +9 -9
  36. tccli/services/hunyuan/v20230901/api.json +1 -1
  37. tccli/services/ims/v20201229/api.json +1 -1
  38. tccli/services/iss/v20230517/api.json +18 -0
  39. tccli/services/iss/v20230517/examples.json +3 -3
  40. tccli/services/lke/v20231130/api.json +142 -3
  41. tccli/services/mariadb/mariadb_client.py +57 -4
  42. tccli/services/mariadb/v20170312/api.json +54 -0
  43. tccli/services/mariadb/v20170312/examples.json +8 -0
  44. tccli/services/oceanus/v20190422/api.json +19 -0
  45. tccli/services/oceanus/v20190422/examples.json +1 -1
  46. tccli/services/ocr/v20181119/api.json +7 -7
  47. tccli/services/postgres/v20170312/api.json +3 -0
  48. tccli/services/scf/v20180416/api.json +8 -8
  49. tccli/services/sms/v20190711/api.json +49 -49
  50. tccli/services/sms/v20190711/examples.json +2 -2
  51. tccli/services/ssl/ssl_client.py +65 -12
  52. tccli/services/ssl/v20191205/api.json +133 -3
  53. tccli/services/ssl/v20191205/examples.json +10 -2
  54. tccli/services/tdmq/v20200217/api.json +170 -93
  55. tccli/services/tdmq/v20200217/examples.json +8 -8
  56. tccli/services/thpc/thpc_client.py +53 -0
  57. tccli/services/thpc/v20230321/api.json +561 -0
  58. tccli/services/thpc/v20230321/examples.json +8 -0
  59. tccli/services/tke/v20180525/api.json +14 -2
  60. tccli/services/tke/v20180525/examples.json +3 -3
  61. tccli/services/tmt/v20180321/api.json +1 -1
  62. tccli/services/trocket/v20230308/api.json +62 -12
  63. tccli/services/trtc/v20190722/api.json +2 -2
  64. tccli/services/vpc/v20170312/api.json +23 -0
  65. tccli/services/wedata/v20210820/api.json +176 -0
  66. tccli/services/wedata/v20210820/examples.json +8 -0
  67. tccli/services/wedata/wedata_client.py +53 -0
  68. {tccli-3.0.1182.1.dist-info → tccli-3.0.1184.1.dist-info}/METADATA +2 -2
  69. {tccli-3.0.1182.1.dist-info → tccli-3.0.1184.1.dist-info}/RECORD +72 -72
  70. {tccli-3.0.1182.1.dist-info → tccli-3.0.1184.1.dist-info}/WHEEL +0 -0
  71. {tccli-3.0.1182.1.dist-info → tccli-3.0.1184.1.dist-info}/entry_points.txt +0 -0
  72. {tccli-3.0.1182.1.dist-info → tccli-3.0.1184.1.dist-info}/license_files/LICENSE +0 -0
@@ -112,14 +112,14 @@
112
112
  ],
113
113
  "CreateClusterInstances": [
114
114
  {
115
- "document": "",
116
- "input": "https://tke.tencentcloudapi.com/?Action=CreateClusterInstances\n&ClusterId=cls-xxxxxxxx\n&RunInstancePara={\"Placement\":{\"Zone\":\"ap-guangzhou-4\"},\"InstanceType\":\"S3.SMALL1\"}\n&<公共请求参数>",
115
+ "document": "扩展集群节点",
116
+ "input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateClusterInstances\n<公共请求参数>\n\n{\n \"RunInstancePara\": \"{\\\"Placement\\\":{\\\"Zone\\\":\\\"ap-guangzhou-4\\\"},\\\"InstanceType\\\":\\\"S3.SMALL1\\\"}\",\n \"ClusterId\": \"cls-xxxxxxxx\"\n}",
117
117
  "output": "{\n \"Response\": {\n \"InstanceIdSet\": [\n \"ins-xxxxxxxx\"\n ],\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
118
118
  "title": "扩展集群节点示例"
119
119
  },
120
120
  {
121
121
  "document": "添加带有多个数据盘的节点到集群\n注意1: InstanceAdvancedSettings设置DataDisks, 多盘数据盘挂载信息,后端会根据盘的类型、大小匹配数据盘ID,将对应的路径挂载\n注意2: RunInstancePara设置DataDisks, 此参数透传给CVM,购买多块数据盘\n注意3: InstanceAdvancedSettings的MountTarget早期是支持单盘的,多盘场景废弃,无需填写",
122
- "input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateClusterInstances\n<公共请求参数>\n\n{\n \"InstanceAdvancedSettings\": {\n \"DataDisks\": [\n {\n \"AutoFormatAndMount\": true,\n \"DiskSize\": 50,\n \"DiskType\": \"CLOUD_PREMIUM\",\n \"FileSystem\": \"ext4\",\n \"MountTarget\": \"/data2\"\n },\n {\n \"AutoFormatAndMount\": true,\n \"DiskSize\": 120,\n \"DiskType\": \"CLOUD_PREMIUM\",\n \"FileSystem\": \"ext4\",\n \"MountTarget\": \"/data4\"\n },\n {\n \"AutoFormatAndMount\": true,\n \"DiskSize\": 100,\n \"DiskType\": \"CLOUD_PREMIUM\",\n \"FileSystem\": \"ext4\",\n \"MountTarget\": \"/data3\"\n },\n {\n \"AutoFormatAndMount\": true,\n \"DiskSize\": 50,\n \"DiskType\": \"CLOUD_PREMIUM\",\n \"FileSystem\": \"ext4\",\n \"MountTarget\": \"/data5\"\n }\n ],\n \"DockerGraphPath\": \"/var/lib/docker\",\n \"MountTarget\": \"/var/lib/docker\",\n \"Unschedulable\": 0,\n \"UserScript\": \"\"\n },\n \"SkipValidateOptions\": [\n \"GlobalRouteCIDRCheck\",\n \"VpcCniCIDRCheck\"\n ],\n \"RunInstancePara\": \"xx\",\n \"ClusterId\": \"cls-xxxxx\"\n}",
122
+ "input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateClusterInstances\n<公共请求参数>\n\n{\n \"ClusterId\": \"abc\",\n \"InstanceAdvancedSettings\": {\n \"MountTarget\": \"abc\",\n \"DockerGraphPath\": \"abc\",\n \"UserScript\": \"abc\",\n \"Unschedulable\": 0,\n \"Labels\": [\n {\n \"Name\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"DataDisks\": [\n {\n \"DiskType\": \"abc\",\n \"FileSystem\": \"abc\",\n \"DiskSize\": 0,\n \"AutoFormatAndMount\": true,\n \"MountTarget\": \"abc\",\n \"DiskPartition\": \"abc\"\n }\n ],\n \"ExtraArgs\": {\n \"Kubelet\": [\n \"abc\"\n ]\n },\n \"DesiredPodNumber\": 0,\n \"GPUArgs\": {\n \"MIGEnable\": true,\n \"Driver\": {\n \"Version\": \"abc\",\n \"Name\": \"abc\"\n },\n \"CUDA\": {\n \"Version\": \"abc\",\n \"Name\": \"abc\"\n },\n \"CUDNN\": {\n \"Version\": \"abc\",\n \"Name\": \"abc\",\n \"DocName\": \"abc\",\n \"DevName\": \"abc\"\n },\n \"CustomDriver\": {\n \"Address\": \"abc\"\n }\n },\n \"PreStartUserScript\": \"abc\",\n \"Taints\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\",\n \"Effect\": \"abc\"\n }\n ]\n },\n \"RunInstancePara\": \"abc\",\n \"SkipValidateOptions\": [\n \"abc\"\n ]\n}",
123
123
  "output": "{\n \"Response\": {\n \"InstanceIdSet\": [\n \"ins-xxxxxxxx\"\n ],\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
124
124
  "title": "添加集群节点(多块数据盘)"
125
125
  }
@@ -182,7 +182,7 @@
182
182
  },
183
183
  {
184
184
  "disabled": false,
185
- "document": "文件数据\n注意:此字段可能返回 null,表示取不到有效值。",
185
+ "document": "文件数据,目标文件必须小于50M,否则请通过回调方式请求文件翻译接口\n注意:此字段可能返回 null,表示取不到有效值。",
186
186
  "example": "eGNmYXNkZmFzZmFzZGZhc2RmCg==",
187
187
  "member": "string",
188
188
  "name": "FileData",
@@ -357,9 +357,10 @@
357
357
  {
358
358
  "disabled": false,
359
359
  "document": "实例ID",
360
- "example": "",
360
+ "example": "req-123456",
361
361
  "member": "string",
362
362
  "name": "InstanceId",
363
+ "output_required": true,
363
364
  "required": false,
364
365
  "type": "string",
365
366
  "value_allowed_null": false
@@ -367,9 +368,10 @@
367
368
  {
368
369
  "disabled": false,
369
370
  "document": "消费组名称",
370
- "example": "",
371
+ "example": "group1",
371
372
  "member": "string",
372
373
  "name": "ConsumerGroup",
374
+ "output_required": true,
373
375
  "required": false,
374
376
  "type": "string",
375
377
  "value_allowed_null": false
@@ -377,9 +379,10 @@
377
379
  {
378
380
  "disabled": false,
379
381
  "document": "是否开启消费",
380
- "example": "",
382
+ "example": "true",
381
383
  "member": "bool",
382
384
  "name": "ConsumeEnable",
385
+ "output_required": true,
383
386
  "required": false,
384
387
  "type": "bool",
385
388
  "value_allowed_null": false
@@ -387,9 +390,10 @@
387
390
  {
388
391
  "disabled": false,
389
392
  "document": "顺序投递:true\n并发投递:false",
390
- "example": "",
393
+ "example": "true",
391
394
  "member": "bool",
392
395
  "name": "ConsumeMessageOrderly",
396
+ "output_required": true,
393
397
  "required": false,
394
398
  "type": "bool",
395
399
  "value_allowed_null": false
@@ -397,9 +401,10 @@
397
401
  {
398
402
  "disabled": false,
399
403
  "document": "最大重试次数",
400
- "example": "",
404
+ "example": "3",
401
405
  "member": "int64",
402
406
  "name": "MaxRetryTimes",
407
+ "output_required": true,
403
408
  "required": false,
404
409
  "type": "int",
405
410
  "value_allowed_null": false
@@ -407,12 +412,57 @@
407
412
  {
408
413
  "disabled": false,
409
414
  "document": "备注",
410
- "example": "",
415
+ "example": "remark1",
411
416
  "member": "string",
412
417
  "name": "Remark",
418
+ "output_required": true,
413
419
  "required": false,
414
420
  "type": "string",
415
421
  "value_allowed_null": false
422
+ },
423
+ {
424
+ "disabled": false,
425
+ "document": "4.x的集群ID\n注意:此字段可能返回 null,表示取不到有效值。",
426
+ "example": "cluster1",
427
+ "member": "string",
428
+ "name": "ClusterIdV4",
429
+ "output_required": false,
430
+ "required": false,
431
+ "type": "string",
432
+ "value_allowed_null": true
433
+ },
434
+ {
435
+ "disabled": false,
436
+ "document": "4.x的命名空间\n注意:此字段可能返回 null,表示取不到有效值。",
437
+ "example": "namespace",
438
+ "member": "string",
439
+ "name": "NamespaceV4",
440
+ "output_required": false,
441
+ "required": false,
442
+ "type": "string",
443
+ "value_allowed_null": true
444
+ },
445
+ {
446
+ "disabled": false,
447
+ "document": "4.x的消费组名称\n注意:此字段可能返回 null,表示取不到有效值。",
448
+ "example": "group1",
449
+ "member": "string",
450
+ "name": "ConsumerGroupV4",
451
+ "output_required": false,
452
+ "required": false,
453
+ "type": "string",
454
+ "value_allowed_null": true
455
+ },
456
+ {
457
+ "disabled": false,
458
+ "document": "4.x的完整命名空间\n注意:此字段可能返回 null,表示取不到有效值。",
459
+ "example": "namespace",
460
+ "member": "string",
461
+ "name": "FullNamespaceV4",
462
+ "output_required": false,
463
+ "required": false,
464
+ "type": "string",
465
+ "value_allowed_null": true
416
466
  }
417
467
  ],
418
468
  "usage": "both"
@@ -6101,7 +6151,7 @@
6101
6151
  {
6102
6152
  "disabled": false,
6103
6153
  "document": "主题类型",
6104
- "example": "",
6154
+ "example": "NORMAL",
6105
6155
  "member": "string",
6106
6156
  "name": "TopicType",
6107
6157
  "output_required": true,
@@ -6123,7 +6173,7 @@
6123
6173
  {
6124
6174
  "disabled": false,
6125
6175
  "document": "描述\n注意:此字段可能返回 null,表示取不到有效值。",
6126
- "example": "",
6176
+ "example": "remark1",
6127
6177
  "member": "string",
6128
6178
  "name": "Remark",
6129
6179
  "output_required": true,
@@ -6134,7 +6184,7 @@
6134
6184
  {
6135
6185
  "disabled": false,
6136
6186
  "document": "4.x的集群id\n注意:此字段可能返回 null,表示取不到有效值。",
6137
- "example": "",
6187
+ "example": "rocketmq-12345",
6138
6188
  "member": "string",
6139
6189
  "name": "ClusterIdV4",
6140
6190
  "output_required": false,
@@ -6145,7 +6195,7 @@
6145
6195
  {
6146
6196
  "disabled": false,
6147
6197
  "document": "4.x的命名空间\n注意:此字段可能返回 null,表示取不到有效值。",
6148
- "example": "",
6198
+ "example": "namespace1",
6149
6199
  "member": "string",
6150
6200
  "name": "NamespaceV4",
6151
6201
  "output_required": false,
@@ -6156,7 +6206,7 @@
6156
6206
  {
6157
6207
  "disabled": false,
6158
6208
  "document": "4.x的主题名称\n注意:此字段可能返回 null,表示取不到有效值。",
6159
- "example": "",
6209
+ "example": "topic",
6160
6210
  "member": "string",
6161
6211
  "name": "TopicV4",
6162
6212
  "output_required": false,
@@ -6167,7 +6217,7 @@
6167
6217
  {
6168
6218
  "disabled": false,
6169
6219
  "document": "4.x的完整命名空间\n注意:此字段可能返回 null,表示取不到有效值。",
6170
- "example": "",
6220
+ "example": "namespace1",
6171
6221
  "member": "string",
6172
6222
  "name": "FullNamespaceV4",
6173
6223
  "output_required": false,
@@ -4973,7 +4973,7 @@
4973
4973
  "members": [
4974
4974
  {
4975
4975
  "disabled": false,
4976
- "document": "语音转文字支持识别的语言,默认是\"zh\" 中文\n目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):\n可通过购买「语音转文本时长包」解锁或领取包月套餐体验版解锁此功能。\n\n语音转文本支持语言类型如下:\n- Chinese = \"zh\" # 中文\n- Chinese_TW = \"zh-TW\" # 中国台湾\n- English = \"en\" # 英语\n- Chinese_YUE = \"zh-yue\" # 中国粤语\n- Chinese_DIALECT = \"zh-dialect\" # 中国方言\n- English = \"en\" # 英语\n- Vietnamese = \"vi\" # 越南语\n- Japanese = \"ja\" # 日语\n- Korean = \"ko\" # 汉语\n- Indonesia = \"id\" # 印度尼西亚语\n- Thai = \"th\" # 泰语\n- Portuguese = \"pt\" # 葡萄牙语\n- Turkish = \"tr\" # 土耳其语\n- Arabic = \"ar\" # 阿拉伯语\n- Spanish = \"es\" # 西班牙语\n- Hindi = \"hi\" # 印地语\n- French = \"fr\" # 法语\n- Malay = \"ms\" # 马来语\n- Filipino = \"fil\" # 菲律宾语\n- German = \"de\" # 德语\n- Italian = \"it\" # 意大利语\n- Russian = \"ru\" # 俄语\n\n注意:\n如果缺少满足您需求的语言,请联系我们技术人员。",
4976
+ "document": "语音转文字支持识别的语言,默认是\"zh\" 中文\n目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):\n可通过购买「语音转文本时长包」解锁或领取包月套餐体验版解锁此功能。\n\n语音转文本支持语言类型如下:\n- Chinese = \"zh\" # 中文\n- Chinese_TW = \"zh-TW\" # 中国台湾\n- English = \"en\" # 英语\n- Chinese_YUE = \"zh-yue\" # 中国粤语\n- Chinese_DIALECT = \"zh-dialect\" # 中国方言\n- English = \"en\" # 英语\n- Vietnamese = \"vi\" # 越南语\n- Japanese = \"ja\" # 日语\n- Korean = \"ko\" # 韩语\n- Indonesia = \"id\" # 印度尼西亚语\n- Thai = \"th\" # 泰语\n- Portuguese = \"pt\" # 葡萄牙语\n- Turkish = \"tr\" # 土耳其语\n- Arabic = \"ar\" # 阿拉伯语\n- Spanish = \"es\" # 西班牙语\n- Hindi = \"hi\" # 印地语\n- French = \"fr\" # 法语\n- Malay = \"ms\" # 马来语\n- Filipino = \"fil\" # 菲律宾语\n- German = \"de\" # 德语\n- Italian = \"it\" # 意大利语\n- Russian = \"ru\" # 俄语\n\n注意:\n如果缺少满足您需求的语言,请联系我们技术人员。",
4977
4977
  "example": "zh",
4978
4978
  "member": "string",
4979
4979
  "name": "Language",
@@ -5331,7 +5331,7 @@
5331
5331
  "members": [
5332
5332
  {
5333
5333
  "disabled": false,
5334
- "document": "语音识别支持的语言,默认是\"zh\" 中文\n目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):\n1. Chinese = \"zh\" # 中文\n2. Chinese_TW = \"zh-TW\" # 中国台湾\n3. Chinese_DIALECT = \"zh-dialect\" # 中国方言\n4. English = \"en\" # 英语\n5. Vietnamese = \"vi\" # 越南语\n6. Japanese = \"ja\" # 日语\n7. Korean = \"ko\" # 汉语\n8. Indonesia = \"id\" # 印度尼西亚语\n9. Thai = \"th\" # 泰语\n10. Portuguese = \"pt\" # 葡萄牙语\n11. Turkish = \"tr\" # 土耳其语\n12. Arabic = \"ar\" # 阿拉伯语\n13. Spanish = \"es\" # 西班牙语\n14. Hindi = \"hi\" # 印地语\n15. French = \"fr\" # 法语\n16. Malay = \"ms\" # 马来语\n17. Filipino = \"fil\" # 菲律宾语\n18. German = \"de\" # 德语\n19. Italian = \"it\" # 意大利语\n20. Russian = \"ru\" # 俄语\n\n注意:\n如果缺少满足您需求的语言,请联系我们技术人员。\n注意:此字段可能返回 null,表示取不到有效值。",
5334
+ "document": "语音识别支持的语言,默认是\"zh\" 中文\n目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):\n1. Chinese = \"zh\" # 中文\n2. Chinese_TW = \"zh-TW\" # 中国台湾\n3. Chinese_DIALECT = \"zh-dialect\" # 中国方言\n4. English = \"en\" # 英语\n5. Vietnamese = \"vi\" # 越南语\n6. Japanese = \"ja\" # 日语\n7. Korean = \"ko\" # 韩语\n8. Indonesia = \"id\" # 印度尼西亚语\n9. Thai = \"th\" # 泰语\n10. Portuguese = \"pt\" # 葡萄牙语\n11. Turkish = \"tr\" # 土耳其语\n12. Arabic = \"ar\" # 阿拉伯语\n13. Spanish = \"es\" # 西班牙语\n14. Hindi = \"hi\" # 印地语\n15. French = \"fr\" # 法语\n16. Malay = \"ms\" # 马来语\n17. Filipino = \"fil\" # 菲律宾语\n18. German = \"de\" # 德语\n19. Italian = \"it\" # 意大利语\n20. Russian = \"ru\" # 俄语\n\n注意:\n如果缺少满足您需求的语言,请联系我们技术人员。\n注意:此字段可能返回 null,表示取不到有效值。",
5335
5335
  "example": "zh",
5336
5336
  "member": "string",
5337
5337
  "name": "Language",
@@ -9919,6 +9919,15 @@
9919
9919
  "name": "SslVpnClientNames",
9920
9920
  "required": false,
9921
9921
  "type": "list"
9922
+ },
9923
+ {
9924
+ "disabled": false,
9925
+ "document": "指定绑定的标签列表",
9926
+ "example": "无",
9927
+ "member": "Tag",
9928
+ "name": "Tags",
9929
+ "required": false,
9930
+ "type": "list"
9922
9931
  }
9923
9932
  ],
9924
9933
  "type": "object"
@@ -10065,6 +10074,15 @@
10065
10074
  "name": "SamlData",
10066
10075
  "required": false,
10067
10076
  "type": "string"
10077
+ },
10078
+ {
10079
+ "disabled": false,
10080
+ "document": "指定绑定的标签列表",
10081
+ "example": "无",
10082
+ "member": "Tag",
10083
+ "name": "Tags",
10084
+ "required": false,
10085
+ "type": "list"
10068
10086
  }
10069
10087
  ],
10070
10088
  "type": "object"
@@ -12112,6 +12130,7 @@
12112
12130
  "example": "无",
12113
12131
  "member": "uint64",
12114
12132
  "name": "TaskId",
12133
+ "output_required": true,
12115
12134
  "type": "int",
12116
12135
  "value_allowed_null": false
12117
12136
  },
@@ -12148,6 +12167,7 @@
12148
12167
  "example": "123",
12149
12168
  "member": "uint64",
12150
12169
  "name": "TaskId",
12170
+ "output_required": true,
12151
12171
  "type": "int",
12152
12172
  "value_allowed_null": false
12153
12173
  },
@@ -18530,6 +18550,7 @@
18530
18550
  "example": "1",
18531
18551
  "member": "uint64",
18532
18552
  "name": "TotalCount",
18553
+ "output_required": true,
18533
18554
  "type": "int",
18534
18555
  "value_allowed_null": false
18535
18556
  },
@@ -18539,6 +18560,7 @@
18539
18560
  "example": "无",
18540
18561
  "member": "SslVpnClient",
18541
18562
  "name": "SslVpnClientSet",
18563
+ "output_required": true,
18542
18564
  "type": "list",
18543
18565
  "value_allowed_null": false
18544
18566
  },
@@ -20315,6 +20337,7 @@
20315
20337
  "example": "1234",
20316
20338
  "member": "uint64",
20317
20339
  "name": "TaskId",
20340
+ "output_required": true,
20318
20341
  "type": "int",
20319
20342
  "value_allowed_null": false
20320
20343
  },
@@ -1057,6 +1057,13 @@
1057
1057
  "output": "DescribeTableMetasResponse",
1058
1058
  "status": "online"
1059
1059
  },
1060
+ "DescribeTablePartitions": {
1061
+ "document": "查询表的分区详情信息",
1062
+ "input": "DescribeTablePartitionsRequest",
1063
+ "name": "查询表的分区详情信息",
1064
+ "output": "DescribeTablePartitionsResponse",
1065
+ "status": "online"
1066
+ },
1060
1067
  "DescribeTableQualityDetails": {
1061
1068
  "document": "质量报告-查询表质量详情",
1062
1069
  "input": "DescribeTableQualityDetailsRequest",
@@ -18957,6 +18964,89 @@
18957
18964
  ],
18958
18965
  "type": "object"
18959
18966
  },
18967
+ "DescribeTablePartitionsRequest": {
18968
+ "document": "DescribeTablePartitions请求参数结构体",
18969
+ "members": [
18970
+ {
18971
+ "disabled": false,
18972
+ "document": "表ID",
18973
+ "example": "1",
18974
+ "member": "string",
18975
+ "name": "TableId",
18976
+ "required": true,
18977
+ "type": "string"
18978
+ },
18979
+ {
18980
+ "disabled": false,
18981
+ "document": "分页number",
18982
+ "example": "10",
18983
+ "member": "int64",
18984
+ "name": "PageNumber",
18985
+ "required": false,
18986
+ "type": "int"
18987
+ },
18988
+ {
18989
+ "disabled": false,
18990
+ "document": "分页size",
18991
+ "example": "1",
18992
+ "member": "int64",
18993
+ "name": "PageSize",
18994
+ "required": false,
18995
+ "type": "int"
18996
+ },
18997
+ {
18998
+ "disabled": false,
18999
+ "document": "过滤器",
19000
+ "example": "无",
19001
+ "member": "Filter",
19002
+ "name": "FilterSet",
19003
+ "required": false,
19004
+ "type": "list"
19005
+ },
19006
+ {
19007
+ "disabled": false,
19008
+ "document": "排序字段",
19009
+ "example": "无",
19010
+ "member": "OrderField",
19011
+ "name": "OrderFieldSet",
19012
+ "required": false,
19013
+ "type": "list"
19014
+ }
19015
+ ],
19016
+ "type": "object"
19017
+ },
19018
+ "DescribeTablePartitionsResponse": {
19019
+ "document": "DescribeTablePartitions返回参数结构体",
19020
+ "members": [
19021
+ {
19022
+ "disabled": false,
19023
+ "document": "分区详情列表\n注意:此字段可能返回 null,表示取不到有效值。",
19024
+ "example": "无",
19025
+ "member": "TablePartition",
19026
+ "name": "TablePartitionSet",
19027
+ "required": true,
19028
+ "type": "list",
19029
+ "value_allowed_null": true
19030
+ },
19031
+ {
19032
+ "disabled": false,
19033
+ "document": "总记录数",
19034
+ "example": "3",
19035
+ "member": "int64",
19036
+ "name": "TotalCount",
19037
+ "required": true,
19038
+ "type": "int",
19039
+ "value_allowed_null": false
19040
+ },
19041
+ {
19042
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
19043
+ "member": "string",
19044
+ "name": "RequestId",
19045
+ "type": "string"
19046
+ }
19047
+ ],
19048
+ "type": "object"
19049
+ },
18960
19050
  "DescribeTableQualityDetailsRequest": {
18961
19051
  "document": "DescribeTableQualityDetails请求参数结构体",
18962
19052
  "members": [
@@ -39798,6 +39888,92 @@
39798
39888
  ],
39799
39889
  "usage": "in"
39800
39890
  },
39891
+ "TablePartition": {
39892
+ "document": "表的分区数据",
39893
+ "members": [
39894
+ {
39895
+ "disabled": false,
39896
+ "document": "分区名称",
39897
+ "example": "dt=20220128",
39898
+ "member": "string",
39899
+ "name": "PartitionName",
39900
+ "output_required": true,
39901
+ "type": "string",
39902
+ "value_allowed_null": false
39903
+ },
39904
+ {
39905
+ "disabled": false,
39906
+ "document": "分区记录数",
39907
+ "example": "111",
39908
+ "member": "int64",
39909
+ "name": "RecordCount",
39910
+ "output_required": true,
39911
+ "type": "int",
39912
+ "value_allowed_null": false
39913
+ },
39914
+ {
39915
+ "disabled": false,
39916
+ "document": "分区数据存储大小,字节数",
39917
+ "example": "10241",
39918
+ "member": "string",
39919
+ "name": "StorageSize",
39920
+ "output_required": true,
39921
+ "type": "string",
39922
+ "value_allowed_null": false
39923
+ },
39924
+ {
39925
+ "disabled": false,
39926
+ "document": "分区创建时间",
39927
+ "example": "2020-09-22T00:00:00+00:00",
39928
+ "member": "datetime_iso",
39929
+ "name": "CreateTime",
39930
+ "output_required": true,
39931
+ "type": "string",
39932
+ "value_allowed_null": false
39933
+ },
39934
+ {
39935
+ "disabled": false,
39936
+ "document": "分区修改时间",
39937
+ "example": "2020-09-22T00:00:00+00:00",
39938
+ "member": "datetime_iso",
39939
+ "name": "ModifiedTime",
39940
+ "output_required": true,
39941
+ "type": "string",
39942
+ "value_allowed_null": false
39943
+ },
39944
+ {
39945
+ "disabled": false,
39946
+ "document": "分区数据存储大小,已转为适合的单位",
39947
+ "example": "9.13TB",
39948
+ "member": "string",
39949
+ "name": "StorageSizeWithUnit",
39950
+ "output_required": true,
39951
+ "type": "string",
39952
+ "value_allowed_null": false
39953
+ },
39954
+ {
39955
+ "disabled": false,
39956
+ "document": "文件数\n注意:此字段可能返回 null,表示取不到有效值。",
39957
+ "example": "1",
39958
+ "member": "int64",
39959
+ "name": "NumFiles",
39960
+ "output_required": false,
39961
+ "type": "int",
39962
+ "value_allowed_null": true
39963
+ },
39964
+ {
39965
+ "disabled": false,
39966
+ "document": "平均文件大小\n注意:此字段可能返回 null,表示取不到有效值。",
39967
+ "example": "1MB",
39968
+ "member": "string",
39969
+ "name": "AverageFileSizeWithUnit",
39970
+ "output_required": false,
39971
+ "type": "string",
39972
+ "value_allowed_null": true
39973
+ }
39974
+ ],
39975
+ "usage": "out"
39976
+ },
39801
39977
  "TablePropertyScore": {
39802
39978
  "document": "按天更新的表的资产评分",
39803
39979
  "members": [
@@ -1316,6 +1316,14 @@
1316
1316
  "title": "获取表元数据list"
1317
1317
  }
1318
1318
  ],
1319
+ "DescribeTablePartitions": [
1320
+ {
1321
+ "document": "查询表的分区详情信息",
1322
+ "input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTablePartitions\n<公共请求参数>\n\n{\n \"PageNumber\": 0,\n \"TableId\": \"xx\",\n \"PageSize\": 0\n}",
1323
+ "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"RequestId\": \"xx\",\n \"TablePartitionSet\": [\n {\n \"ModifiedTime\": \"2020-09-22T00:00:00+00:00\",\n \"RecordCount\": 0,\n \"StorageSizeWithUnit\": \"xx\",\n \"PartitionName\": \"xx\",\n \"StorageSize\": \"xx\",\n \"CreateTime\": \"2020-09-22T00:00:00+00:00\"\n }\n ]\n }\n}",
1324
+ "title": "查询表的分区详情信息"
1325
+ }
1326
+ ],
1319
1327
  "DescribeTableQualityDetails": [
1320
1328
  {
1321
1329
  "document": "分页查询表数据质量详情",
@@ -7349,6 +7349,58 @@ def doCheckIntegrationTaskNameExists(args, parsed_globals):
7349
7349
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
7350
7350
 
7351
7351
 
7352
+ def doDescribeTablePartitions(args, parsed_globals):
7353
+ g_param = parse_global_arg(parsed_globals)
7354
+
7355
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
7356
+ cred = credential.CVMRoleCredential()
7357
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
7358
+ cred = credential.STSAssumeRoleCredential(
7359
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
7360
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
7361
+ )
7362
+ 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):
7363
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
7364
+ else:
7365
+ cred = credential.Credential(
7366
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
7367
+ )
7368
+ http_profile = HttpProfile(
7369
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
7370
+ reqMethod="POST",
7371
+ endpoint=g_param[OptionsDefine.Endpoint],
7372
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
7373
+ )
7374
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
7375
+ if g_param[OptionsDefine.Language]:
7376
+ profile.language = g_param[OptionsDefine.Language]
7377
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
7378
+ client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile)
7379
+ client._sdkVersion += ("_CLI_" + __version__)
7380
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
7381
+ model = models.DescribeTablePartitionsRequest()
7382
+ model.from_json_string(json.dumps(args))
7383
+ start_time = time.time()
7384
+ while True:
7385
+ rsp = client.DescribeTablePartitions(model)
7386
+ result = rsp.to_json_string()
7387
+ try:
7388
+ json_obj = json.loads(result)
7389
+ except TypeError as e:
7390
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
7391
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
7392
+ break
7393
+ cur_time = time.time()
7394
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
7395
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
7396
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
7397
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
7398
+ else:
7399
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
7400
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
7401
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
7402
+
7403
+
7352
7404
  def doUploadResource(args, parsed_globals):
7353
7405
  g_param = parse_global_arg(parsed_globals)
7354
7406
 
@@ -12233,6 +12285,7 @@ ACTION_MAP = {
12233
12285
  "DeleteRule": doDeleteRule,
12234
12286
  "CheckAlarmRegularNameExist": doCheckAlarmRegularNameExist,
12235
12287
  "CheckIntegrationTaskNameExists": doCheckIntegrationTaskNameExists,
12288
+ "DescribeTablePartitions": doDescribeTablePartitions,
12236
12289
  "UploadResource": doUploadResource,
12237
12290
  "BatchCreateTaskVersionAsync": doBatchCreateTaskVersionAsync,
12238
12291
  "ModifyMonitorStatus": doModifyMonitorStatus,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tccli
3
- Version: 3.0.1182.1
3
+ Version: 3.0.1184.1
4
4
  Summary: Universal Command Line Environment for Tencent Cloud
5
5
  Project-URL: Bug Tracker, https://github.com/TencentCloud/tencentcloud-cli/issues
6
6
  Project-URL: Homepage, https://github.com/TencentCloud/tencentcloud-cli
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 2.7
13
13
  Classifier: Programming Language :: Python :: 3
14
14
  Requires-Dist: jmespath==0.10.0
15
15
  Requires-Dist: six==1.16.0
16
- Requires-Dist: tencentcloud-sdk-python>=3.0.1182
16
+ Requires-Dist: tencentcloud-sdk-python>=3.0.1184
17
17
  Description-Content-Type: text/markdown
18
18
 
19
19
  # 命令行工具简介