tccli 3.0.1284.1__py2.py3-none-any.whl → 3.0.1285.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 (61) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/autoscaling/v20180419/api.json +88 -86
  3. tccli/services/bh/bh_client.py +53 -0
  4. tccli/services/bh/v20230418/api.json +199 -0
  5. tccli/services/bh/v20230418/examples.json +8 -0
  6. tccli/services/cdwch/v20200915/api.json +19 -9
  7. tccli/services/cdwch/v20200915/examples.json +1 -1
  8. tccli/services/cfg/v20210820/api.json +43 -19
  9. tccli/services/cfg/v20210820/examples.json +8 -2
  10. tccli/services/clb/v20180317/api.json +1 -1
  11. tccli/services/cmq/v20190304/api.json +92 -92
  12. tccli/services/cynosdb/v20190107/api.json +379 -379
  13. tccli/services/dlc/v20210125/api.json +2 -2
  14. tccli/services/dlc/v20210125/examples.json +2 -2
  15. tccli/services/domain/v20180808/api.json +157 -157
  16. tccli/services/dsgc/v20190723/api.json +2 -2
  17. tccli/services/dts/v20180330/api.json +3 -3
  18. tccli/services/dts/v20211206/api.json +336 -330
  19. tccli/services/emr/emr_client.py +53 -0
  20. tccli/services/emr/v20190103/api.json +247 -0
  21. tccli/services/emr/v20190103/examples.json +8 -0
  22. tccli/services/es/v20180416/api.json +10 -0
  23. tccli/services/es/v20180416/examples.json +1 -1
  24. tccli/services/fmu/fmu_client.py +8 -167
  25. tccli/services/fmu/v20191213/api.json +0 -292
  26. tccli/services/fmu/v20191213/examples.json +0 -24
  27. tccli/services/iotcloud/v20210408/api.json +27 -27
  28. tccli/services/iotcloud/v20210408/examples.json +6 -6
  29. tccli/services/iotexplorer/iotexplorer_client.py +0 -106
  30. tccli/services/iotexplorer/v20190423/api.json +0 -274
  31. tccli/services/iotexplorer/v20190423/examples.json +0 -16
  32. tccli/services/iss/v20230517/api.json +547 -537
  33. tccli/services/iss/v20230517/examples.json +2 -2
  34. tccli/services/kms/v20190118/api.json +20 -0
  35. tccli/services/lcic/lcic_client.py +114 -8
  36. tccli/services/lcic/v20220817/api.json +108 -0
  37. tccli/services/lcic/v20220817/examples.json +16 -0
  38. tccli/services/mongodb/mongodb_client.py +57 -4
  39. tccli/services/mongodb/v20190725/api.json +63 -0
  40. tccli/services/mongodb/v20190725/examples.json +14 -0
  41. tccli/services/monitor/v20180724/api.json +29 -29
  42. tccli/services/monitor/v20180724/examples.json +8 -8
  43. tccli/services/rum/v20210622/api.json +2 -2
  44. tccli/services/svp/svp_client.py +57 -4
  45. tccli/services/svp/v20240125/api.json +319 -0
  46. tccli/services/svp/v20240125/examples.json +8 -0
  47. tccli/services/trtc/v20190722/api.json +16 -5
  48. tccli/services/tsf/tsf_client.py +53 -0
  49. tccli/services/tsf/v20180326/api.json +48 -4
  50. tccli/services/tsf/v20180326/examples.json +8 -0
  51. tccli/services/vpc/v20170312/api.json +54 -0
  52. tccli/services/vpc/v20170312/examples.json +8 -0
  53. tccli/services/vpc/vpc_client.py +53 -0
  54. tccli/services/wedata/v20210820/api.json +383 -0
  55. tccli/services/wedata/v20210820/examples.json +8 -0
  56. tccli/services/wedata/wedata_client.py +53 -0
  57. {tccli-3.0.1284.1.dist-info → tccli-3.0.1285.1.dist-info}/METADATA +2 -2
  58. {tccli-3.0.1284.1.dist-info → tccli-3.0.1285.1.dist-info}/RECORD +61 -61
  59. {tccli-3.0.1284.1.dist-info → tccli-3.0.1285.1.dist-info}/WHEEL +0 -0
  60. {tccli-3.0.1284.1.dist-info → tccli-3.0.1285.1.dist-info}/entry_points.txt +0 -0
  61. {tccli-3.0.1284.1.dist-info → tccli-3.0.1285.1.dist-info}/license_files/LICENSE +0 -0
@@ -7,6 +7,13 @@
7
7
  "output": "CreateSavingPlanOrderResponse",
8
8
  "status": "online"
9
9
  },
10
+ "DescribeSavingPlanCoverage": {
11
+ "document": "查询当前用户节省计划覆盖率明细数据,如无特别说明,金额单位均为元(国内站)或者美元(国际站)。",
12
+ "input": "DescribeSavingPlanCoverageRequest",
13
+ "name": "查询节省计划覆盖率数据",
14
+ "output": "DescribeSavingPlanCoverageResponse",
15
+ "status": "online"
16
+ },
10
17
  "DescribeSavingPlanDeduct": {
11
18
  "document": "查询节省计划抵扣明细",
12
19
  "input": "DescribeSavingPlanDeductRequest",
@@ -145,6 +152,99 @@
145
152
  ],
146
153
  "type": "object"
147
154
  },
155
+ "DescribeSavingPlanCoverageRequest": {
156
+ "document": "DescribeSavingPlanCoverage请求参数结构体",
157
+ "members": [
158
+ {
159
+ "disabled": false,
160
+ "document": "费用起始日期,格式yyyy-MM-dd",
161
+ "example": "2023-06-01",
162
+ "member": "string",
163
+ "name": "StartDate",
164
+ "required": true,
165
+ "type": "string"
166
+ },
167
+ {
168
+ "disabled": false,
169
+ "document": "费用结束日期,格式yyyy-MM-dd",
170
+ "example": "2023-06-30",
171
+ "member": "string",
172
+ "name": "EndDate",
173
+ "required": true,
174
+ "type": "string"
175
+ },
176
+ {
177
+ "disabled": false,
178
+ "document": "分页偏移量,Offset=0表示第一页,如果Limit=100,则Offset=100表示第二页,Offset=200表示第三页,以此类推",
179
+ "example": "0",
180
+ "member": "uint64",
181
+ "name": "Offset",
182
+ "required": true,
183
+ "type": "int"
184
+ },
185
+ {
186
+ "disabled": false,
187
+ "document": "数量,最大值为200",
188
+ "example": "200",
189
+ "member": "uint64",
190
+ "name": "Limit",
191
+ "required": true,
192
+ "type": "int"
193
+ },
194
+ {
195
+ "disabled": false,
196
+ "document": "取值包括1(缺省值)和2,1表示按天统计覆盖率,2表示按月统计覆盖率,此参数仅影响返回的RateSet聚合粒度,不影响返回的DetailSet",
197
+ "example": "1",
198
+ "member": "uint64",
199
+ "name": "PeriodType",
200
+ "required": false,
201
+ "type": "int"
202
+ }
203
+ ],
204
+ "type": "object"
205
+ },
206
+ "DescribeSavingPlanCoverageResponse": {
207
+ "document": "DescribeSavingPlanCoverage返回参数结构体",
208
+ "members": [
209
+ {
210
+ "disabled": false,
211
+ "document": "节省计划覆盖率明细数据",
212
+ "example": "无",
213
+ "member": "SavingPlanCoverageDetail",
214
+ "name": "DetailSet",
215
+ "output_required": false,
216
+ "type": "list",
217
+ "value_allowed_null": false
218
+ },
219
+ {
220
+ "disabled": false,
221
+ "document": "节省计划覆盖率聚合数据",
222
+ "example": "无",
223
+ "member": "SavingPlanCoverageRate",
224
+ "name": "RateSet",
225
+ "output_required": false,
226
+ "type": "list",
227
+ "value_allowed_null": false
228
+ },
229
+ {
230
+ "disabled": false,
231
+ "document": "查询命中的节省计划覆盖率明细数据总条数",
232
+ "example": "1000",
233
+ "member": "uint64",
234
+ "name": "TotalCount",
235
+ "output_required": false,
236
+ "type": "int",
237
+ "value_allowed_null": false
238
+ },
239
+ {
240
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
241
+ "member": "string",
242
+ "name": "RequestId",
243
+ "type": "string"
244
+ }
245
+ ],
246
+ "type": "object"
247
+ },
148
248
  "DescribeSavingPlanDeductRequest": {
149
249
  "document": "DescribeSavingPlanDeduct请求参数结构体",
150
250
  "members": [
@@ -439,6 +539,225 @@
439
539
  ],
440
540
  "type": "object"
441
541
  },
542
+ "SavingPlanCoverageDetail": {
543
+ "document": "节省计划覆盖率数据",
544
+ "members": [
545
+ {
546
+ "disabled": false,
547
+ "document": "资源 ID:账单中出账对象 ID,不同产品因资源形态不同,资源内容不完全相同,如云服务器 CVM 为对应的实例 ID",
548
+ "example": "disk-3t7fhog0",
549
+ "member": "string",
550
+ "name": "ResourceId",
551
+ "output_required": true,
552
+ "required": false,
553
+ "type": "string",
554
+ "value_allowed_null": false
555
+ },
556
+ {
557
+ "disabled": false,
558
+ "document": "地域ID",
559
+ "example": "1",
560
+ "member": "uint64",
561
+ "name": "RegionId",
562
+ "output_required": true,
563
+ "required": false,
564
+ "type": "int",
565
+ "value_allowed_null": false
566
+ },
567
+ {
568
+ "disabled": false,
569
+ "document": "产品编码",
570
+ "example": "p_cynosdb",
571
+ "member": "string",
572
+ "name": "ProductCode",
573
+ "output_required": false,
574
+ "required": false,
575
+ "type": "string",
576
+ "value_allowed_null": false
577
+ },
578
+ {
579
+ "disabled": false,
580
+ "document": "子产品编码",
581
+ "example": "sp_cynosdb_mysql",
582
+ "member": "string",
583
+ "name": "SubProductCode",
584
+ "output_required": false,
585
+ "required": false,
586
+ "type": "string",
587
+ "value_allowed_null": false
588
+ },
589
+ {
590
+ "disabled": false,
591
+ "document": "费用起始日期,格式yyyy-MM-dd",
592
+ "example": "2023-06-01",
593
+ "member": "string",
594
+ "name": "StartDate",
595
+ "output_required": false,
596
+ "required": false,
597
+ "type": "string",
598
+ "value_allowed_null": false
599
+ },
600
+ {
601
+ "disabled": false,
602
+ "document": "费用结束日期,格式yyyy-MM-dd,目前与StartDate相等",
603
+ "example": "2023-06-01",
604
+ "member": "string",
605
+ "name": "EndDate",
606
+ "output_required": false,
607
+ "required": false,
608
+ "type": "string",
609
+ "value_allowed_null": false
610
+ },
611
+ {
612
+ "disabled": false,
613
+ "document": "节省计划覆盖金额(即节省计划支付金额)",
614
+ "example": "1.0",
615
+ "member": "float",
616
+ "name": "SpCoveredAmount",
617
+ "output_required": false,
618
+ "required": false,
619
+ "type": "float",
620
+ "value_allowed_null": false
621
+ },
622
+ {
623
+ "disabled": false,
624
+ "document": "节省计划未覆盖金额(即优惠后总价)",
625
+ "example": "2.0",
626
+ "member": "float",
627
+ "name": "SpUncoveredAmount",
628
+ "output_required": false,
629
+ "required": false,
630
+ "type": "float",
631
+ "value_allowed_null": false
632
+ },
633
+ {
634
+ "disabled": false,
635
+ "document": "总支出(即节省计划未覆盖金额 + 节省计划覆盖金额)",
636
+ "example": "3.0",
637
+ "member": "float",
638
+ "name": "TotalRealAmount",
639
+ "output_required": false,
640
+ "required": false,
641
+ "type": "float",
642
+ "value_allowed_null": false
643
+ },
644
+ {
645
+ "disabled": false,
646
+ "document": "按量计费预期金额(即折前价 * 折扣)",
647
+ "example": "3.0",
648
+ "member": "float",
649
+ "name": "ExpectedAmount",
650
+ "output_required": false,
651
+ "required": false,
652
+ "type": "float",
653
+ "value_allowed_null": false
654
+ },
655
+ {
656
+ "disabled": false,
657
+ "document": "覆盖率结果,取值[0, 100]",
658
+ "example": "30.0",
659
+ "member": "float",
660
+ "name": "SpCoverage",
661
+ "output_required": false,
662
+ "required": false,
663
+ "type": "float",
664
+ "value_allowed_null": false
665
+ },
666
+ {
667
+ "disabled": false,
668
+ "document": "支付者昵称",
669
+ "example": "腾讯",
670
+ "member": "string",
671
+ "name": "PayerUinName",
672
+ "output_required": false,
673
+ "required": false,
674
+ "type": "string",
675
+ "value_allowed_null": false
676
+ },
677
+ {
678
+ "disabled": false,
679
+ "document": "使用者昵称",
680
+ "example": "腾讯",
681
+ "member": "string",
682
+ "name": "OwnerUinName",
683
+ "output_required": false,
684
+ "required": false,
685
+ "type": "string",
686
+ "value_allowed_null": false
687
+ },
688
+ {
689
+ "disabled": false,
690
+ "document": "支付者uin",
691
+ "example": "9091",
692
+ "member": "string",
693
+ "name": "PayerUin",
694
+ "output_required": false,
695
+ "required": false,
696
+ "type": "string",
697
+ "value_allowed_null": false
698
+ },
699
+ {
700
+ "disabled": false,
701
+ "document": "计费项名称",
702
+ "example": "存储",
703
+ "member": "string",
704
+ "name": "SubBillingItemName",
705
+ "output_required": false,
706
+ "required": false,
707
+ "type": "string",
708
+ "value_allowed_null": false
709
+ },
710
+ {
711
+ "disabled": false,
712
+ "document": "计费细项名称",
713
+ "example": "cynosdb_存储_mysql\t",
714
+ "member": "string",
715
+ "name": "BillingItemName",
716
+ "output_required": false,
717
+ "required": false,
718
+ "type": "string",
719
+ "value_allowed_null": false
720
+ },
721
+ {
722
+ "disabled": false,
723
+ "document": "子产品名称",
724
+ "example": "TDSQL-C MySQL版",
725
+ "member": "string",
726
+ "name": "SubProductName",
727
+ "output_required": false,
728
+ "required": false,
729
+ "type": "string",
730
+ "value_allowed_null": false
731
+ }
732
+ ],
733
+ "usage": "both"
734
+ },
735
+ "SavingPlanCoverageRate": {
736
+ "document": "节省计划覆盖率聚合数据",
737
+ "members": [
738
+ {
739
+ "disabled": false,
740
+ "document": "聚合时间维度,按天聚合格式为yyyy-MM-dd,按月聚合格式为yyyy-MM",
741
+ "example": "2023-06-01",
742
+ "member": "string",
743
+ "name": "DatePoint",
744
+ "output_required": false,
745
+ "type": "string",
746
+ "value_allowed_null": false
747
+ },
748
+ {
749
+ "disabled": false,
750
+ "document": "覆盖率结果,取值[0, 100]",
751
+ "example": "10.0",
752
+ "member": "float",
753
+ "name": "Rate",
754
+ "output_required": false,
755
+ "type": "float",
756
+ "value_allowed_null": false
757
+ }
758
+ ],
759
+ "usage": "out"
760
+ },
442
761
  "SavingPlanDeductDetail": {
443
762
  "document": "节省计划抵扣明细",
444
763
  "members": [
@@ -8,6 +8,14 @@
8
8
  "title": "节省计划下单"
9
9
  }
10
10
  ],
11
+ "DescribeSavingPlanCoverage": [
12
+ {
13
+ "document": "示例",
14
+ "input": "POST / HTTP/1.1\nHost: svp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSavingPlanCoverage\n<公共请求参数>\n\n{\n \"StartDate\": \"2024-12-01\",\n \"EndDate\": \"2024-12-30\",\n \"Offset\": 0,\n \"Limit\": 1\n}",
15
+ "output": "{\n \"Response\": {\n \"DetailSet\": [\n {\n \"BillingItemName\": \"计费项\",\n \"EndDate\": \"2024-12-30\",\n \"ExpectedAmount\": -4.550174,\n \"OwnerUinName\": \"9099账号\",\n \"PayerUin\": \"9099\",\n \"PayerUinName\": \"9099账号\",\n \"ProductCode\": \"p_cbs\",\n \"RegionId\": 1,\n \"ResourceId\": \"billingVirtualHighPrecisionFlatAccountId_\",\n \"SpCoverage\": 0,\n \"SpCoveredAmount\": 0,\n \"SpUncoveredAmount\": -4.550174,\n \"StartDate\": \"2024-12-01\",\n \"SubBillingItemName\": \"计费细项\",\n \"SubProductCode\": \"sp_cbs_bssd\",\n \"SubProductName\": \"通用型SSD云硬盘\",\n \"TotalRealAmount\": -4.550174\n }\n ],\n \"RateSet\": [\n {\n \"DatePoint\": \"2024-12-01\",\n \"Rate\": 10.05\n }\n ],\n \"RequestId\": \"7816cba1-60d9-4a07-8556-5b62ab8d3641\",\n \"TotalCount\": 25\n }\n}",
16
+ "title": "示例"
17
+ }
18
+ ],
11
19
  "DescribeSavingPlanDeduct": [
12
20
  {
13
21
  "document": "",
@@ -601,6 +601,17 @@
601
601
  "required": false,
602
602
  "type": "int",
603
603
  "value_allowed_null": false
604
+ },
605
+ {
606
+ "disabled": false,
607
+ "document": "用于过滤LLM返回内容,不播放括号中的内容。\n1:中文括号()\n2:英文括号()\n3:中文方括号【】\n4:英文方括号[]\n5:英文花括号{}\n默认值为空,表示不进行过滤。",
608
+ "example": "1",
609
+ "member": "uint64",
610
+ "name": "FilterBracketsContent",
611
+ "output_required": false,
612
+ "required": false,
613
+ "type": "int",
614
+ "value_allowed_null": false
604
615
  }
605
616
  ],
606
617
  "usage": "both"
@@ -5761,7 +5772,7 @@
5761
5772
  "members": [
5762
5773
  {
5763
5774
  "disabled": false,
5764
- "document": "\n语音转文字支持识别的语言,默认是\"zh\" 中文\n\n可通过购买「AI智能识别时长包」解锁或领取包月套餐体验版解锁不同语言. 详细说明参考:[AI智能识别计费说明](https://cloud.tencent.com/document/product/647/111976)\n\n语音转文本不同套餐版本支持的语言如下:\n\n**基础版**:\n- \"zh\": 中文\n- \"zh-TW\": 中国台湾\n- \"en\": 英语\n\n**标准版:**\n- \"8k_zh_large\": 普方大模型引擎. 当前模型同时支持中文等语言的识别,模型参数量极大,语言模型性能增强,针对电话音频中各类场景、各类中文方言的识别准确率极大提升.\n- \"16k_zh_large\": 普方英大模型引擎. 当前模型同时支持中文、英文、多种中文方言等语言的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升.\n- \"16k_multi_lang\": 多语种大模型引擎. 当前模型同时支持英语、日语、韩语、阿拉伯语、菲律宾语、法语、印地语、印尼语、马来语、葡萄牙语、西班牙语、泰语、土耳其语、越南语、德语的识别,可实现15个语种的自动识别(句子/段落级别).\n- \"16k_zh_en\": 中英大模型引擎. 当前模型同时支持中文、英语识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升.\n\n**高级版:**\n- \"zh-dialect\": 中国方言\n- \"zh-yue\": 中国粤语\n- \"vi\": 越南语\n- \"ja\": 日语\n- \"ko\": 韩语\n- \"id\": 印度尼西亚语\n- \"th\": 泰语\n- \"pt\": 葡萄牙语\n- \"tr\": 土耳其语\n- \"ar\": 阿拉伯语\n- \"es\": 西班牙语\n- \"hi\": 印地语\n- \"fr\": 法语\n- \"ms\": 马来语\n- \"fil\": 菲律宾语\n- \"de\": 德语\n- \"it\": 意大利语\n- \"ru\": 俄语\n- \"sv\": 瑞典语\n- \"da\": 丹麦语\n- \"no\": 挪威语\n\n**注意:**\n如果缺少满足您需求的语言,请联系我们技术人员。",
5775
+ "document": "\n语音转文字支持识别的语言,默认是\"zh\" 中文\n\n可通过购买「AI智能识别时长包」解锁或领取包月套餐体验版解锁不同语言. 详细说明参考:[AI智能识别计费说明](https://cloud.tencent.com/document/product/647/111976)\n\n语音转文本不同套餐版本支持的语言如下:\n\n**基础版**:\n- \"zh\": 中文(简体)\n- \"zh-TW\": 中文(繁体)\n- \"en\": 英语\n\n**标准版:**\n- \"8k_zh_large\": 普方大模型引擎. 当前模型同时支持中文等语言的识别,模型参数量极大,语言模型性能增强,针对电话音频中各类场景、各类中文方言的识别准确率极大提升.\n- \"16k_zh_large\": 普方英大模型引擎. 当前模型同时支持中文、英文、多种中文方言等语言的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升.\n- \"16k_multi_lang\": 多语种大模型引擎. 当前模型同时支持英语、日语、韩语、阿拉伯语、菲律宾语、法语、印地语、印尼语、马来语、葡萄牙语、西班牙语、泰语、土耳其语、越南语、德语的识别,可实现15个语种的自动识别(句子/段落级别).\n- \"16k_zh_en\": 中英大模型引擎. 当前模型同时支持中文、英语识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升.\n\n**高级版:**\n- \"zh-dialect\": 中国方言\n- \"zh-yue\": 中国粤语\n- \"vi\": 越南语\n- \"ja\": 日语\n- \"ko\": 韩语\n- \"id\": 印度尼西亚语\n- \"th\": 泰语\n- \"pt\": 葡萄牙语\n- \"tr\": 土耳其语\n- \"ar\": 阿拉伯语\n- \"es\": 西班牙语\n- \"hi\": 印地语\n- \"fr\": 法语\n- \"ms\": 马来语\n- \"fil\": 菲律宾语\n- \"de\": 德语\n- \"it\": 意大利语\n- \"ru\": 俄语\n- \"sv\": 瑞典语\n- \"da\": 丹麦语\n- \"no\": 挪威语\n\n**注意:**\n如果缺少满足您需求的语言,请联系我们技术人员。",
5765
5776
  "example": "zh",
5766
5777
  "member": "string",
5767
5778
  "name": "Language",
@@ -6198,7 +6209,7 @@
6198
6209
  },
6199
6210
  {
6200
6211
  "disabled": false,
6201
- "document": "TTS配置,为JSON字符串,腾讯云TTS示例如下:\n <pre>{ <br> &emsp; \"AppId\": 您的应用ID, // Integer 必填<br> &emsp; \"TTSType\": \"TTS类型\", // String TTS类型, 固定为\"tencent\"<br> &emsp; \"SecretId\": \"您的密钥ID\", // String 必填<br> &emsp; \"SecretKey\": \"您的密钥Key\", // String 必填<br> &emsp; \"VoiceType\": 101001, // Integer 必填,音色 ID,包括标准音色与精品音色,精品音色拟真度更高,价格不同于标准音色,请参见<a href=\"https://cloud.tencent.com/document/product/1073/34112\">语音合成计费概述</a>。完整的音色 ID 列表请参见<a href=\"https://cloud.tencent.com/document/product/1073/92668#55924b56-1a73-4663-a7a1-a8dd82d6e823\">语音合成音色列表</a>。<br> &emsp; \"Speed\": 1.25, // Integer 非必填,语速,范围:[-2,6],分别对应不同语速: -2: 代表0.6倍 -1: 代表0.8倍 0: 代表1.0倍(默认) 1: 代表1.2倍 2: 代表1.5倍 6: 代表2.5倍 如果需要更细化的语速,可以保留小数点后 2 位,例如0.5/1.25/2.81等。 参数值与实际语速转换,可参考 <a href=\"https://sdk-1300466766.cos.ap-shanghai.myqcloud.com/sample/speed_sample.tar.gz\">语速转换</a><br> &emsp; \"Volume\": 5, // Integer 非必填,音量大小,范围:[0,10],分别对应11个等级的音量,默认值为0,代表正常音量。<br> &emsp; \"PrimaryLanguage\": \"zh-CN\" // String 非必填,主要语言<br> &emsp;}</pre>",
6212
+ "document": "TTS配置,为JSON字符串,腾讯云TTS示例如下:\n <pre>{ <br> &emsp; \"AppId\": 您的应用ID, // Integer 必填<br> &emsp; \"TTSType\": \"TTS类型\", // String TTS类型, 固定为\"tencent\"<br> &emsp; \"SecretId\": \"您的密钥ID\", // String 必填<br> &emsp; \"SecretKey\": \"您的密钥Key\", // String 必填<br> &emsp; \"VoiceType\": 101001, // Integer 必填,音色 ID,包括标准音色与精品音色,精品音色拟真度更高,价格不同于标准音色,请参见<a href=\"https://cloud.tencent.com/document/product/1073/34112\">语音合成计费概述</a>。完整的音色 ID 列表请参见<a href=\"https://cloud.tencent.com/document/product/1073/92668#55924b56-1a73-4663-a7a1-a8dd82d6e823\">语音合成音色列表</a>。<br> &emsp; \"Speed\": 1.25, // Integer 非必填,语速,范围:[-2,6],分别对应不同语速: -2: 代表0.6倍 -1: 代表0.8倍 0: 代表1.0倍(默认) 1: 代表1.2倍 2: 代表1.5倍 6: 代表2.5倍 如果需要更细化的语速,可以保留小数点后 2 位,例如0.5/1.25/2.81等。 参数值与实际语速转换,可参考 <a href=\"https://sdk-1300466766.cos.ap-shanghai.myqcloud.com/sample/speed_sample.tar.gz\">语速转换</a><br> &emsp; \"Volume\": 5, // Integer 非必填,音量大小,范围:[0,10],分别对应11个等级的音量,默认值为0,代表正常音量。<br> &emsp;}</pre>",
6202
6213
  "example": "{\\\"TTSType\\\": \\\"tencent\\\", \\\"AppId\\\": 136666666, \\\"SecretId\\\": \\\"xxxxxxx\\\", \\\"SecretKey\\\": \\\"xxxxxxx\\\", \\\"VoiceType\\\": 1008, \\\"Speed\\\": 1}",
6203
6214
  "member": "string",
6204
6215
  "name": "TTSConfig",
@@ -6506,7 +6517,7 @@
6506
6517
  },
6507
6518
  {
6508
6519
  "disabled": false,
6509
- "document": "是否转码,0表示无需转码,1表示需要转码。是否收取转码费是由WithTranscoding参数决定的,WithTranscoding为0,表示旁路转推,不会收取转码费用,WithTranscoding为1,表示混流转推,会收取转码费用。",
6520
+ "document": "是否转码,0表示无需转码,1表示需要转码。是否收取转码费是由WithTranscoding参数决定的,WithTranscoding为0,表示旁路转推,不会收取转码费用,WithTranscoding为1,表示混流转推,会收取转码费用。\n注:混流是必须转码,这个参数需设置为1。",
6510
6521
  "example": "1",
6511
6522
  "member": "uint64",
6512
6523
  "name": "WithTranscoding",
@@ -7632,7 +7643,7 @@
7632
7643
  },
7633
7644
  {
7634
7645
  "disabled": false,
7635
- "document": "是否转码,0表示无需转码,1表示需要转码。",
7646
+ "document": "是否转码,0表示无需转码,1表示需要转码。\n注:混流是必须转码,这个参数需设置为1。",
7636
7647
  "example": "1",
7637
7648
  "member": "uint64",
7638
7649
  "name": "WithTranscoding",
@@ -7915,7 +7926,7 @@
7915
7926
  },
7916
7927
  {
7917
7928
  "disabled": false,
7918
- "document": "输出流高,音视频输出时必填。取值范围[0,1080],单位为像素值。",
7929
+ "document": "输出流高,音视频输出时必填。取值范围[0,1920],单位为像素值。",
7919
7930
  "example": "720",
7920
7931
  "member": "uint64",
7921
7932
  "name": "Height",
@@ -7817,6 +7817,58 @@ def doEnableTask(args, parsed_globals):
7817
7817
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
7818
7818
 
7819
7819
 
7820
+ def doDescribeMicroservicesByGroupIds(args, parsed_globals):
7821
+ g_param = parse_global_arg(parsed_globals)
7822
+
7823
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
7824
+ cred = credential.CVMRoleCredential()
7825
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
7826
+ cred = credential.STSAssumeRoleCredential(
7827
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
7828
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
7829
+ )
7830
+ 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):
7831
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
7832
+ else:
7833
+ cred = credential.Credential(
7834
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
7835
+ )
7836
+ http_profile = HttpProfile(
7837
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
7838
+ reqMethod="POST",
7839
+ endpoint=g_param[OptionsDefine.Endpoint],
7840
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
7841
+ )
7842
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
7843
+ if g_param[OptionsDefine.Language]:
7844
+ profile.language = g_param[OptionsDefine.Language]
7845
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
7846
+ client = mod.TsfClient(cred, g_param[OptionsDefine.Region], profile)
7847
+ client._sdkVersion += ("_CLI_" + __version__)
7848
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
7849
+ model = models.DescribeMicroservicesByGroupIdsRequest()
7850
+ model.from_json_string(json.dumps(args))
7851
+ start_time = time.time()
7852
+ while True:
7853
+ rsp = client.DescribeMicroservicesByGroupIds(model)
7854
+ result = rsp.to_json_string()
7855
+ try:
7856
+ json_obj = json.loads(result)
7857
+ except TypeError as e:
7858
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
7859
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
7860
+ break
7861
+ cur_time = time.time()
7862
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
7863
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
7864
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
7865
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
7866
+ else:
7867
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
7868
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
7869
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
7870
+
7871
+
7820
7872
  def doCreateMicroserviceWithDetailResp(args, parsed_globals):
7821
7873
  g_param = parse_global_arg(parsed_globals)
7822
7874
 
@@ -11722,6 +11774,7 @@ ACTION_MAP = {
11722
11774
  "ChangeApiUsableStatus": doChangeApiUsableStatus,
11723
11775
  "ModifyLane": doModifyLane,
11724
11776
  "EnableTask": doEnableTask,
11777
+ "DescribeMicroservicesByGroupIds": doDescribeMicroservicesByGroupIds,
11725
11778
  "CreateMicroserviceWithDetailResp": doCreateMicroserviceWithDetailResp,
11726
11779
  "ModifyMicroservice": doModifyMicroservice,
11727
11780
  "EnableTaskFlow": doEnableTaskFlow,
@@ -868,6 +868,13 @@
868
868
  "output": "DescribeMicroservicesResponse",
869
869
  "status": "online"
870
870
  },
871
+ "DescribeMicroservicesByGroupIds": {
872
+ "document": "通过部署组ID获取微服务",
873
+ "input": "DescribeMicroservicesByGroupIdsRequest",
874
+ "name": "通过部署组ID获取微服务",
875
+ "output": "DescribeMicroservicesByGroupIdsResponse",
876
+ "status": "online"
877
+ },
871
878
  "DescribeMsApiList": {
872
879
  "document": "查询服务API列表",
873
880
  "input": "DescribeMsApiListRequest",
@@ -7159,8 +7166,8 @@
7159
7166
  },
7160
7167
  {
7161
7168
  "disabled": false,
7162
- "document": "编程语言;\nJ - JAVA;\nC - C/C++;\nP - Python;\nG - Go;\nO - Other",
7163
- "example": "J",
7169
+ "document": "编程语言: Java;C/C++;PythonGoOther",
7170
+ "example": "Java",
7164
7171
  "member": "string",
7165
7172
  "name": "ProgramLanguage",
7166
7173
  "required": false,
@@ -15474,6 +15481,43 @@
15474
15481
  ],
15475
15482
  "type": "object"
15476
15483
  },
15484
+ "DescribeMicroservicesByGroupIdsRequest": {
15485
+ "document": "DescribeMicroservicesByGroupIds请求参数结构体",
15486
+ "members": [
15487
+ {
15488
+ "disabled": false,
15489
+ "document": "部署组ID列表",
15490
+ "example": "[\"group-6a7eb39y\",\"group-nalb5dwv\"]",
15491
+ "member": "string",
15492
+ "name": "GroupIds",
15493
+ "required": true,
15494
+ "type": "list"
15495
+ }
15496
+ ],
15497
+ "type": "object"
15498
+ },
15499
+ "DescribeMicroservicesByGroupIdsResponse": {
15500
+ "document": "DescribeMicroservicesByGroupIds返回参数结构体",
15501
+ "members": [
15502
+ {
15503
+ "disabled": false,
15504
+ "document": "微服务信息分页列表",
15505
+ "example": "{\"Content\":[{\"GroupIds\":[\"group-nalb5dwv\"],\"MicroserviceId\":\"ms-id\",\"MicroserviceName\":\"ms-name\",\"NamespaceId\":\"namespace-id\",\"NamespaceName\":\"ns_default\",\"RunInstanceCount\":1}],\"TotalCount\":1}",
15506
+ "member": "TsfPageMicroservice",
15507
+ "name": "Result",
15508
+ "output_required": true,
15509
+ "type": "object",
15510
+ "value_allowed_null": false
15511
+ },
15512
+ {
15513
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
15514
+ "member": "string",
15515
+ "name": "RequestId",
15516
+ "type": "string"
15517
+ }
15518
+ ],
15519
+ "type": "object"
15520
+ },
15477
15521
  "DescribeMicroservicesRequest": {
15478
15522
  "document": "DescribeMicroservices请求参数结构体",
15479
15523
  "members": [
@@ -26929,8 +26973,8 @@
26929
26973
  },
26930
26974
  {
26931
26975
  "disabled": false,
26932
- "document": "服务治理类型",
26933
- "example": "share",
26976
+ "document": "服务治理类型(枚举:SHARE、EXCLUSIVE)",
26977
+ "example": "SHARE",
26934
26978
  "member": "string",
26935
26979
  "name": "GovernanceType",
26936
26980
  "output_required": false,
@@ -992,6 +992,14 @@
992
992
  "title": "获取微服务列表"
993
993
  }
994
994
  ],
995
+ "DescribeMicroservicesByGroupIds": [
996
+ {
997
+ "document": "",
998
+ "input": "POST / HTTP/1.1\nHost: tsf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMicroservicesByGroupIds\n<公共请求参数>\n\n{\n \"GroupIds\": [\n \"group-6a7eb39y\",\n \"group-nalb5dwv\"\n ]\n}",
999
+ "output": "{\n \"Response\": {\n \"RequestId\": \"3b3b8c47-e7fa-4938-b9a3-cd2c962de722\",\n \"Result\": {\n \"Content\": [\n {\n \"CreateTime\": null,\n \"CriticalInstanceCount\": null,\n \"MicroserviceDesc\": null,\n \"MicroserviceId\": \"ms-yrkd4dla\",\n \"MicroserviceName\": \"consumer-demo\",\n \"NamespaceId\": \"namespace-9yn23x4y\",\n \"RunInstanceCount\": 1,\n \"UpdateTime\": null\n },\n {\n \"CreateTime\": null,\n \"CriticalInstanceCount\": null,\n \"MicroserviceDesc\": null,\n \"MicroserviceId\": \"ms-ymbjjl3v\",\n \"MicroserviceName\": \"provider-demo\",\n \"NamespaceId\": \"namespace-4y4g8pyk\",\n \"RunInstanceCount\": 1,\n \"UpdateTime\": null\n }\n ],\n \"TotalCount\": 2\n }\n }\n}",
1000
+ "title": "通过部署组ID获取微服务"
1001
+ }
1002
+ ],
995
1003
  "DescribeMsApiList": [
996
1004
  {
997
1005
  "document": "查询微服务API列表",
@@ -196,6 +196,13 @@
196
196
  "output": "CheckDefaultSubnetResponse",
197
197
  "status": "online"
198
198
  },
199
+ "CheckGatewayFlowMonitor": {
200
+ "document": "本接口(CheckGatewayFlowMonitor)用于查询网关是否启用流量监控。",
201
+ "input": "CheckGatewayFlowMonitorRequest",
202
+ "name": "查询网关是否启用流量监控",
203
+ "output": "CheckGatewayFlowMonitorResponse",
204
+ "status": "online"
205
+ },
199
206
  "CheckNetDetectState": {
200
207
  "document": "本接口(CheckNetDetectState)用于验证网络探测。",
201
208
  "input": "CheckNetDetectStateRequest",
@@ -6919,6 +6926,53 @@
6919
6926
  ],
6920
6927
  "type": "object"
6921
6928
  },
6929
+ "CheckGatewayFlowMonitorRequest": {
6930
+ "document": "CheckGatewayFlowMonitor请求参数结构体",
6931
+ "members": [
6932
+ {
6933
+ "disabled": false,
6934
+ "document": "网关实例ID,目前我们支持的网关实例类型有,\n专线网关实例ID,形如,`dcg-ltjahce6`;\nNat网关实例ID,形如,`nat-ltjahce6`;\nVPN网关实例ID,形如,`vpn-ltjahce6`。",
6935
+ "example": "vpngw-4je9dgin",
6936
+ "member": "string",
6937
+ "name": "GatewayId",
6938
+ "required": true,
6939
+ "type": "string"
6940
+ }
6941
+ ],
6942
+ "type": "object"
6943
+ },
6944
+ "CheckGatewayFlowMonitorResponse": {
6945
+ "document": "CheckGatewayFlowMonitor返回参数结构体",
6946
+ "members": [
6947
+ {
6948
+ "disabled": false,
6949
+ "document": "网关是否启用了流控。true为启用,false未启用。",
6950
+ "example": "1",
6951
+ "member": "bool",
6952
+ "name": "Enabled",
6953
+ "required": true,
6954
+ "type": "bool",
6955
+ "value_allowed_null": false
6956
+ },
6957
+ {
6958
+ "disabled": false,
6959
+ "document": "网关的带宽。",
6960
+ "example": "5",
6961
+ "member": "uint64",
6962
+ "name": "Bandwidth",
6963
+ "required": true,
6964
+ "type": "int",
6965
+ "value_allowed_null": false
6966
+ },
6967
+ {
6968
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
6969
+ "member": "string",
6970
+ "name": "RequestId",
6971
+ "type": "string"
6972
+ }
6973
+ ],
6974
+ "type": "object"
6975
+ },
6922
6976
  "CheckNetDetectStateRequest": {
6923
6977
  "document": "CheckNetDetectState请求参数结构体",
6924
6978
  "members": [