tccli 3.0.872.1__py2.py3-none-any.whl → 3.0.874.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 (59) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/autoscaling/v20180419/api.json +1 -2
  3. tccli/services/autoscaling/v20180419/examples.json +1 -1
  4. tccli/services/billing/v20180709/api.json +30 -40
  5. tccli/services/billing/v20180709/examples.json +1 -1
  6. tccli/services/cdb/v20170320/api.json +23 -0
  7. tccli/services/cdb/v20170320/examples.json +1 -1
  8. tccli/services/ckafka/ckafka_client.py +53 -0
  9. tccli/services/ckafka/v20190819/api.json +264 -3
  10. tccli/services/ckafka/v20190819/examples.json +9 -1
  11. tccli/services/cwp/v20180228/api.json +63 -54
  12. tccli/services/cwp/v20180228/examples.json +2 -2
  13. tccli/services/dasb/v20191018/api.json +16 -52
  14. tccli/services/dasb/v20191018/examples.json +5 -5
  15. tccli/services/dlc/v20210125/api.json +37 -15
  16. tccli/services/dlc/v20210125/examples.json +1 -1
  17. tccli/services/eis/v20210601/api.json +34 -4
  18. tccli/services/eis/v20210601/examples.json +4 -4
  19. tccli/services/ess/ess_client.py +53 -0
  20. tccli/services/ess/v20201111/api.json +58 -1
  21. tccli/services/ess/v20201111/examples.json +8 -0
  22. tccli/services/essbasic/v20210526/api.json +10 -1
  23. tccli/services/iotvideo/v20201215/api.json +9 -6
  24. tccli/services/iotvideo/v20211125/api.json +9 -6
  25. tccli/services/monitor/monitor_client.py +53 -0
  26. tccli/services/monitor/v20180724/api.json +24 -0
  27. tccli/services/monitor/v20180724/examples.json +8 -0
  28. tccli/services/mrs/v20200910/api.json +2 -2
  29. tccli/services/mrs/v20200910/examples.json +1 -1
  30. tccli/services/oceanus/v20190422/api.json +17 -46
  31. tccli/services/omics/omics_client.py +170 -11
  32. tccli/services/omics/v20221128/api.json +312 -0
  33. tccli/services/omics/v20221128/examples.json +24 -0
  34. tccli/services/redis/v20180412/api.json +136 -174
  35. tccli/services/redis/v20180412/examples.json +21 -21
  36. tccli/services/rum/v20210622/api.json +9 -16
  37. tccli/services/scf/v20180416/api.json +29 -21
  38. tccli/services/scf/v20180416/examples.json +1 -1
  39. tccli/services/ssl/v20191205/api.json +52 -57
  40. tccli/services/ssl/v20191205/examples.json +3 -3
  41. tccli/services/ssm/v20190923/api.json +26 -30
  42. tccli/services/ssm/v20190923/examples.json +4 -4
  43. tccli/services/tcss/v20201101/api.json +9 -9
  44. tccli/services/tcss/v20201101/examples.json +1 -1
  45. tccli/services/teo/v20220901/api.json +3 -3
  46. tccli/services/tione/v20211111/api.json +17 -55
  47. tccli/services/tione/v20211111/examples.json +5 -5
  48. tccli/services/trp/v20210515/api.json +0 -2
  49. tccli/services/trp/v20210515/examples.json +2 -2
  50. tccli/services/vpc/v20170312/api.json +70 -47
  51. tccli/services/vpc/v20170312/examples.json +17 -23
  52. tccli/services/vrs/v20200824/api.json +3 -3
  53. tccli/services/wedata/v20210820/api.json +11 -10
  54. {tccli-3.0.872.1.dist-info → tccli-3.0.874.1.dist-info}/METADATA +2 -2
  55. {tccli-3.0.872.1.dist-info → tccli-3.0.874.1.dist-info}/RECORD +59 -59
  56. {tccli-3.0.872.1.dist-info → tccli-3.0.874.1.dist-info}/LICENSE +0 -0
  57. {tccli-3.0.872.1.dist-info → tccli-3.0.874.1.dist-info}/WHEEL +0 -0
  58. {tccli-3.0.872.1.dist-info → tccli-3.0.874.1.dist-info}/entry_points.txt +0 -0
  59. {tccli-3.0.872.1.dist-info → tccli-3.0.874.1.dist-info}/top_level.txt +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.872.1'
1
+ __version__ = '3.0.874.1'
@@ -78,7 +78,7 @@
78
78
  "status": "online"
79
79
  },
80
80
  "DeleteAutoScalingGroup": {
81
- "document": "本接口(DeleteAutoScalingGroup)用于删除指定伸缩组,删除前提是伸缩组内无实例且当前未在执行伸缩活动。",
81
+ "document": "本接口(DeleteAutoScalingGroup)用于删除指定伸缩组,删除前提是伸缩组内无运行中(IN_SERVICE)状态的实例且当前未在执行伸缩活动。删除伸缩组后,创建失败(CREATION_FAILED)、中止失败(TERMINATION_FAILED)、解绑失败(DETACH_FAILED)等非运行中状态的实例不会被销毁。",
82
82
  "input": "DeleteAutoScalingGroupRequest",
83
83
  "name": "删除伸缩组",
84
84
  "output": "DeleteAutoScalingGroupResponse",
@@ -2238,7 +2238,6 @@
2238
2238
  "document": "DeleteAutoScalingGroup请求参数结构体",
2239
2239
  "members": [
2240
2240
  {
2241
- "default": "",
2242
2241
  "document": "伸缩组ID",
2243
2242
  "example": "asg-nvnlpbb8",
2244
2243
  "member": "string",
@@ -168,7 +168,7 @@
168
168
  ],
169
169
  "DeleteAutoScalingGroup": [
170
170
  {
171
- "document": "",
171
+ "document": "删除伸缩组asg-nvnlpbb8",
172
172
  "input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAutoScalingGroup\n<公共请求参数>\n\n{\n \"AutoScalingGroupId\": \"asg-nvnlpbb8\"\n}",
173
173
  "output": "{\n \"Response\": {\n \"RequestId\": \"b12066f8-1a4d-4a08-a0e0-d4b8a7f88568\"\n }\n}",
174
174
  "title": "删除指定伸缩组"
@@ -8,7 +8,7 @@
8
8
  "status": "online"
9
9
  },
10
10
  "DescribeBillDetail": {
11
- "document": "查询账单明细数据",
11
+ "document": "查询账单明细数据。\n注意事项:\n1.在请求接口时,由于网络不稳定或其它异常,可能会导致请求失败。如果您遇到这种情况,我们建议您在接口请求失败时,手动发起重试操作,这样可以更好地确保您的接口请求能够成功执行。\n2.对于账单明细数据量级很大(例如每月账单明细量级超过20w)的客户,通过 API 调用账单数据效率较低,建议您开通账单数据存储功能,通过存储桶中获取账单文件进行分析。[账单存储至COS桶](https://cloud.tencent.com/document/product/555/61275)",
12
12
  "input": "DescribeBillDetailRequest",
13
13
  "name": "查询账单明细数据",
14
14
  "output": "DescribeBillDetailResponse",
@@ -505,7 +505,6 @@
505
505
  "document": "账单明细组件对象",
506
506
  "members": [
507
507
  {
508
- "default": "",
509
508
  "document": "组件类型:资源组件类型的名称,如内存、硬盘等",
510
509
  "example": "内存",
511
510
  "member": "string",
@@ -515,7 +514,6 @@
515
514
  "value_allowed_null": false
516
515
  },
517
516
  {
518
- "default": "",
519
517
  "document": "组件名称:资源组件的名称,如云数据库MySQL-内存等",
520
518
  "example": "高效云系统盘",
521
519
  "member": "string",
@@ -525,7 +523,6 @@
525
523
  "value_allowed_null": false
526
524
  },
527
525
  {
528
- "default": "",
529
526
  "document": "组件刊例价:资源组件的原始价格,保持原始粒度",
530
527
  "example": "0.35000000",
531
528
  "member": "string",
@@ -535,7 +532,6 @@
535
532
  "value_allowed_null": false
536
533
  },
537
534
  {
538
- "default": "",
539
535
  "document": "组件指定价",
540
536
  "example": "0.00000000",
541
537
  "member": "string",
@@ -545,7 +541,6 @@
545
541
  "value_allowed_null": false
546
542
  },
547
543
  {
548
- "default": "",
549
544
  "document": "价格单位",
550
545
  "example": "元/GB/月",
551
546
  "member": "string",
@@ -555,7 +550,6 @@
555
550
  "value_allowed_null": false
556
551
  },
557
552
  {
558
- "default": "",
559
553
  "document": "组件用量",
560
554
  "example": "50.00000000",
561
555
  "member": "string",
@@ -565,7 +559,6 @@
565
559
  "value_allowed_null": false
566
560
  },
567
561
  {
568
- "default": "",
569
562
  "document": "组件用量单位",
570
563
  "example": "GB",
571
564
  "member": "string",
@@ -575,7 +568,6 @@
575
568
  "value_allowed_null": false
576
569
  },
577
570
  {
578
- "default": "",
579
571
  "document": "使用时长",
580
572
  "example": "1.00000000",
581
573
  "member": "string",
@@ -585,7 +577,6 @@
585
577
  "value_allowed_null": false
586
578
  },
587
579
  {
588
- "default": "",
589
580
  "document": "时长单位",
590
581
  "example": "月",
591
582
  "member": "string",
@@ -595,7 +586,6 @@
595
586
  "value_allowed_null": false
596
587
  },
597
588
  {
598
- "default": "",
599
589
  "document": "组件原价",
600
590
  "example": "17.50000000",
601
591
  "member": "string",
@@ -605,8 +595,7 @@
605
595
  "value_allowed_null": false
606
596
  },
607
597
  {
608
- "default": "",
609
- "document": "折扣率",
598
+ "document": "折扣率,本资源享受的折扣率(如果客户享受一口价/合同价则默认不展示,退费场景也默认不展示)",
610
599
  "example": "0.00000000",
611
600
  "member": "string",
612
601
  "name": "Discount",
@@ -615,7 +604,6 @@
615
604
  "value_allowed_null": false
616
605
  },
617
606
  {
618
- "default": "",
619
607
  "document": "优惠类型",
620
608
  "example": "折扣",
621
609
  "member": "string",
@@ -625,7 +613,6 @@
625
613
  "value_allowed_null": false
626
614
  },
627
615
  {
628
- "default": "",
629
616
  "document": "优惠后总价",
630
617
  "example": "0.00000000",
631
618
  "member": "string",
@@ -635,7 +622,6 @@
635
622
  "value_allowed_null": false
636
623
  },
637
624
  {
638
- "default": "",
639
625
  "document": "代金券支付金额",
640
626
  "example": "0.00000000",
641
627
  "member": "string",
@@ -645,7 +631,6 @@
645
631
  "value_allowed_null": false
646
632
  },
647
633
  {
648
- "default": "",
649
634
  "document": "现金支付金额",
650
635
  "example": "0.00000000",
651
636
  "member": "string",
@@ -655,7 +640,6 @@
655
640
  "value_allowed_null": false
656
641
  },
657
642
  {
658
- "default": "",
659
643
  "document": "赠送账户支付金额",
660
644
  "example": "0.00000000",
661
645
  "member": "string",
@@ -665,7 +649,6 @@
665
649
  "value_allowed_null": false
666
650
  },
667
651
  {
668
- "default": "",
669
652
  "document": "组件类型代码\n注意:此字段可能返回 null,表示取不到有效值。",
670
653
  "example": "sv_cvm_rootdisk_cbspremium",
671
654
  "member": "string",
@@ -675,7 +658,6 @@
675
658
  "value_allowed_null": true
676
659
  },
677
660
  {
678
- "default": "",
679
661
  "document": "组件名称代码\n注意:此字段可能返回 null,表示取不到有效值。",
680
662
  "example": "v_cvm_rootdisk",
681
663
  "member": "string",
@@ -685,8 +667,7 @@
685
667
  "value_allowed_null": true
686
668
  },
687
669
  {
688
- "default": "",
689
- "document": "合同价\n注意:此字段可能返回 null,表示取不到有效值。",
670
+ "document": "组件单价\n注意:此字段可能返回 null,表示取不到有效值。",
690
671
  "example": "0.00000000",
691
672
  "member": "string",
692
673
  "name": "ContractPrice",
@@ -695,7 +676,6 @@
695
676
  "value_allowed_null": true
696
677
  },
697
678
  {
698
- "default": "",
699
679
  "document": "资源包、预留实例、节省计划、竞价实例这四类特殊实例本身的扣费行为,此字段体现对应的实例类型。枚举值如下:\n注意:此字段可能返回 null,表示取不到有效值。",
700
680
  "example": "RI",
701
681
  "member": "string",
@@ -705,7 +685,6 @@
705
685
  "value_allowed_null": true
706
686
  },
707
687
  {
708
- "default": "",
709
688
  "document": "预留实例抵扣的使用时长,时长单位与被抵扣的时长单位保持一致\n注意:此字段可能返回 null,表示取不到有效值。",
710
689
  "example": "0.00000000",
711
690
  "member": "string",
@@ -715,8 +694,7 @@
715
694
  "value_allowed_null": true
716
695
  },
717
696
  {
718
- "default": "",
719
- "document": "按组件原价的口径换算的预留实例抵扣金额\n注意:此字段可能返回 null,表示取不到有效值。",
697
+ "document": "预留实例抵扣组件原价,本产品或服务使用预留实例抵扣的组件原价金额\n注意:此字段可能返回 null,表示取不到有效值。",
720
698
  "example": "0.00000000",
721
699
  "member": "string",
722
700
  "name": "OriginalCostWithRI",
@@ -725,8 +703,7 @@
725
703
  "value_allowed_null": true
726
704
  },
727
705
  {
728
- "default": "",
729
- "document": "节省计划可用余额额度范围内,节省计划对于此组件打的折扣率\n注意:此字段可能返回 null,表示取不到有效值。",
706
+ "document": "节省计划抵扣率,节省计划可用余额额度范围内,节省计划对于此组件打的折扣率\n注意:此字段可能返回 null,表示取不到有效值。",
730
707
  "example": "0.00000000",
731
708
  "member": "string",
732
709
  "name": "SPDeductionRate",
@@ -735,8 +712,7 @@
735
712
  "value_allowed_null": true
736
713
  },
737
714
  {
738
- "default": "",
739
- "document": "节省计划抵扣的SP包面值\n注意:此字段可能返回 null,表示取不到有效值。",
715
+ "document": "节省计划抵扣金额,节省计划抵扣的SP包面值\n注意:此字段可能返回 null,表示取不到有效值。",
740
716
  "example": "0.00000000",
741
717
  "member": "string",
742
718
  "name": "SPDeduction",
@@ -745,8 +721,7 @@
745
721
  "value_allowed_null": true
746
722
  },
747
723
  {
748
- "default": "",
749
- "document": "按组件原价的口径换算的节省计划抵扣金额\n注意:此字段可能返回 null,表示取不到有效值。",
724
+ "document": "节省计划抵扣组件原价,节省计划抵扣原价=节省计划包抵扣金额/节省计划抵扣率\n注意:此字段可能返回 null,表示取不到有效值。",
750
725
  "example": "0.00000000",
751
726
  "member": "string",
752
727
  "name": "OriginalCostWithSP",
@@ -755,8 +730,7 @@
755
730
  "value_allowed_null": true
756
731
  },
757
732
  {
758
- "default": "",
759
- "document": "综合了官网折扣、预留实例抵扣、节省计划抵扣的混合折扣率。若没有预留实例抵扣、节省计划抵扣,混合折扣率等于折扣率\n注意:此字段可能返回 null,表示取不到有效值。",
733
+ "document": "混合折扣率,综合各类折扣抵扣信息后的最终折扣率,混合折扣率 = 优惠后总价 / 组件原价\n注意:此字段可能返回 null,表示取不到有效值。",
760
734
  "example": "0.00000000",
761
735
  "member": "string",
762
736
  "name": "BlendedDiscount",
@@ -2863,8 +2837,8 @@
2863
2837
  "document": "DescribeBillDetail请求参数结构体",
2864
2838
  "members": [
2865
2839
  {
2866
- "document": "偏移量",
2867
- "example": "0",
2840
+ "document": "分页偏移量,Offset=0表示第一页,如果Limit=100,则Offset=100表示第二页,Offset=200表示第三页,依次类推",
2841
+ "example": "1",
2868
2842
  "member": "uint64",
2869
2843
  "name": "Offset",
2870
2844
  "required": true,
@@ -2887,7 +2861,7 @@
2887
2861
  "type": "string"
2888
2862
  },
2889
2863
  {
2890
- "document": "月份,格式为yyyy-mm,Month和BeginTime&EndTime必传一个,如果有传BeginTime&EndTime则Month字段无效。不能早于开通账单2.0的月份,最多可拉取24个月内的数据。",
2864
+ "document": "月份,格式为yyyy-mm,Month和BeginTime&EndTime必传一个,如果有传BeginTime&EndTime则Month字段无效。不能早于开通账单2.0的月份,最多可拉取18个月内的数据。",
2891
2865
  "example": "2018-07",
2892
2866
  "member": "string",
2893
2867
  "name": "Month",
@@ -2895,7 +2869,7 @@
2895
2869
  "type": "string"
2896
2870
  },
2897
2871
  {
2898
- "document": "周期开始时间,格式为Y-m-d H:i:s,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传。不能早于开通账单2.0的月份,最多可拉取24个月内的数据。(不支持跨月查询)",
2872
+ "document": "周期开始时间,格式为yyyy-mm-dd hh:ii:ss,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传。不能早于开通账单2.0的月份,最多可拉取18个月内的数据。(不支持跨月查询)",
2899
2873
  "example": "2018-11-0100:00:00",
2900
2874
  "member": "string",
2901
2875
  "name": "BeginTime",
@@ -2903,7 +2877,7 @@
2903
2877
  "type": "string"
2904
2878
  },
2905
2879
  {
2906
- "document": "周期结束时间,格式为Y-m-d H:i:s,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传。不能早于开通账单2.0的月份,最多可拉取24个月内的数据。(不支持跨月查询)",
2880
+ "document": "周期结束时间,格式为yyyy-mm-dd hh:ii:ss,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传。不能早于开通账单2.0的月份,最多可拉取18个月内的数据。(不支持跨月查询)",
2907
2881
  "example": "2018-11-0123:59:59",
2908
2882
  "member": "string",
2909
2883
  "name": "EndTime",
@@ -2965,6 +2939,14 @@
2965
2939
  "name": "BusinessCode",
2966
2940
  "required": false,
2967
2941
  "type": "string"
2942
+ },
2943
+ {
2944
+ "document": "上一次请求返回的上下文信息,翻页查询Month>=2023-05的月份的数据可加快查询速度,数据量10万级别以上的用户建议使用,查询速度可提升2~10倍",
2945
+ "example": "UEEJBfSsteS7dZgAaEEziWS40d4sn4urG7",
2946
+ "member": "string",
2947
+ "name": "Context",
2948
+ "required": false,
2949
+ "type": "string"
2968
2950
  }
2969
2951
  ],
2970
2952
  "type": "object"
@@ -2981,13 +2963,21 @@
2981
2963
  "value_allowed_null": false
2982
2964
  },
2983
2965
  {
2984
- "document": "总记录数\n注意:此字段可能返回 null,表示取不到有效值。",
2966
+ "document": "总记录数,24小时缓存一次,可能比实际总记录数少\n注意:此字段可能返回 null,表示取不到有效值。",
2985
2967
  "example": "11841",
2986
2968
  "member": "uint64",
2987
2969
  "name": "Total",
2988
2970
  "type": "int",
2989
2971
  "value_allowed_null": true
2990
2972
  },
2973
+ {
2974
+ "document": "本次请求的上下文信息,可用于下一次请求的请求参数中,加快查询速度\n注意:此字段可能返回 null,表示取不到有效值。",
2975
+ "example": "UEEJBfSsteS7dZgAaEEziWS40d4sn4urG7",
2976
+ "member": "string",
2977
+ "name": "Context",
2978
+ "type": "string",
2979
+ "value_allowed_null": true
2980
+ },
2991
2981
  {
2992
2982
  "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
2993
2983
  "member": "string",
@@ -12,7 +12,7 @@
12
12
  {
13
13
  "document": "获取账单明细",
14
14
  "input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBillDetail\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 1,\n \"PeriodType\": \"byUsedTime\",\n \"Month\": \"2022-01\",\n \"BeginTime\": \"2022-01-01 00:00:00\",\n \"EndTime\": \"2022-01-02 00:00:00\",\n \"NeedRecordNum\": 1,\n \"ResourceId\": \"eip-ct36wgjp\"\n}",
15
- "output": "{\n \"Response\": {\n \"DetailSet\": [\n {\n \"ActionType\": \"postpay_deduct_h\",\n \"ActionTypeName\": \"按量计费小时结\",\n \"BillId\": \"20220101400113231274762\",\n \"BusinessCode\": \"p_eip\",\n \"BusinessCodeName\": \"公网 IP\",\n \"ComponentSet\": [\n {\n \"BlendedDiscount\": \"-\",\n \"CashPayAmount\": \"0.00040000\",\n \"ComponentCode\": \"v_eip_traffic\",\n \"ComponentCodeName\": \"公网网络-流量\",\n \"ContractPrice\": \"0.00022222\",\n \"Cost\": \"0\",\n \"Discount\": \"0\",\n \"IncentivePayAmount\": \"0\",\n \"InstanceType\": \"0\",\n \"ItemCode\": \"sv_eip_traffic\",\n \"ItemCodeName\": \"公网IP-按流量计费\",\n \"OriginalCostWithRI\": \"0.00000000\",\n \"OriginalCostWithSP\": \"0.00000000\",\n \"PriceUnit\": \"元/GB/秒\",\n \"RealCost\": \"0.00040000\",\n \"ReduceType\": \"折扣\",\n \"RiTimeSpan\": \"0.00000000\",\n \"SPDeduction\": \"0.00000000\",\n \"SPDeductionRate\": \"0.00000000\",\n \"SinglePrice\": \"0\",\n \"SpecifiedPrice\": \"0\",\n \"TimeSpan\": \"3600\",\n \"TimeUnitName\": \"秒\",\n \"UsedAmount\": \"0.0005\",\n \"UsedAmountUnit\": \"GB\",\n \"VoucherPayAmount\": \"0\"\n }\n ],\n \"FeeBeginTime\": \"2022-01-01 00:00:00\",\n \"FeeEndTime\": \"2022-01-01 00:59:59\",\n \"OperateUin\": \"90xxxxx00\",\n \"OrderId\": \"eip-ctgjp\",\n \"OwnerUin\": \"90xxxxx00\",\n \"PayModeName\": \"按量计费\",\n \"PayTime\": \"2022-01-01 01:26:04\",\n \"PayerUin\": \"90xxxxx00\",\n \"PriceInfo\": \"\",\n \"ProductCode\": \"sp_eip\",\n \"ProductCodeName\": \"公网 IP\",\n \"ProjectId\": 1203241,\n \"ProjectName\": \"测试项目\",\n \"RegionId\": \"4\",\n \"RegionName\": \"华东地区(上海)\",\n \"ResourceId\": \"eip-cxxgjp\",\n \"ResourceName\": \"\",\n \"Tags\": [],\n \"ZoneName\": \"其他\"\n }\n ],\n \"RequestId\": \"920fb001-3145-4af1-96c1-246cce80bba1\",\n \"Total\": 25\n }\n}",
15
+ "output": "{\n \"Response\": {\n \"DetailSet\": [\n {\n \"ActionType\": \"postpay_deduct_h\",\n \"ActionTypeName\": \"按量计费小时结\",\n \"BillId\": \"20220101400113231274762\",\n \"BusinessCode\": \"p_eip\",\n \"BusinessCodeName\": \"公网 IP\",\n \"ComponentSet\": [\n {\n \"BlendedDiscount\": \"-\",\n \"CashPayAmount\": \"0.00040000\",\n \"ComponentCode\": \"v_eip_traffic\",\n \"ComponentCodeName\": \"公网网络-流量\",\n \"ContractPrice\": \"0.00022222\",\n \"Cost\": \"0\",\n \"Discount\": \"0\",\n \"IncentivePayAmount\": \"0\",\n \"InstanceType\": \"0\",\n \"ItemCode\": \"sv_eip_traffic\",\n \"ItemCodeName\": \"公网IP-按流量计费\",\n \"OriginalCostWithRI\": \"0.00000000\",\n \"OriginalCostWithSP\": \"0.00000000\",\n \"PriceUnit\": \"元/GB/秒\",\n \"RealCost\": \"0.00040000\",\n \"ReduceType\": \"折扣\",\n \"RiTimeSpan\": \"0.00000000\",\n \"SPDeduction\": \"0.00000000\",\n \"SPDeductionRate\": \"0.00000000\",\n \"SinglePrice\": \"0\",\n \"SpecifiedPrice\": \"0\",\n \"TimeSpan\": \"3600\",\n \"TimeUnitName\": \"秒\",\n \"UsedAmount\": \"0.0005\",\n \"UsedAmountUnit\": \"GB\",\n \"VoucherPayAmount\": \"0\"\n }\n ],\n \"FeeBeginTime\": \"2022-01-01 00:00:00\",\n \"FeeEndTime\": \"2022-01-01 00:59:59\",\n \"OperateUin\": \"90xxxxx00\",\n \"OrderId\": \"eip-ctgjp\",\n \"OwnerUin\": \"90xxxxx00\",\n \"PayModeName\": \"按量计费\",\n \"PayTime\": \"2022-01-01 01:26:04\",\n \"PayerUin\": \"90xxxxx00\",\n \"PriceInfo\": [],\n \"ProductCode\": \"sp_eip\",\n \"ProductCodeName\": \"公网 IP\",\n \"ProjectId\": 1203241,\n \"ProjectName\": \"测试项目\",\n \"RegionId\": \"4\",\n \"RegionName\": \"华东地区(上海)\",\n \"ResourceId\": \"eip-cxxgjp\",\n \"ResourceName\": \"\",\n \"Tags\": [],\n \"ZoneName\": \"其他\"\n }\n ],\n \"RequestId\": \"920fb001-3145-4af1-96c1-246cce80bba1\",\n \"Context\": \"UEEJBfSsteS7dZgAaEEziWS40d4sn4urG7\",\n \"Total\": 25\n }\n}",
16
16
  "title": "获取账单明细"
17
17
  }
18
18
  ],
@@ -9866,10 +9866,29 @@
9866
9866
  {
9867
9867
  "default": "",
9868
9868
  "document": "实例 ID 列表,单个实例 ID 的格式如:cdb-c1nl9rpv。与云数据库控制台页面中显示的实例 ID 相同。",
9869
+ "example": "[\"cdb-fix44sxh\\r\\n\",\"cdb-bdf7h3j1\\r\\n\"]",
9869
9870
  "member": "string",
9870
9871
  "name": "InstanceIds",
9871
9872
  "required": true,
9872
9873
  "type": "list"
9874
+ },
9875
+ {
9876
+ "default": "",
9877
+ "document": "克隆实例与源实例是否在同一可用区,是:\"false\",否:\"true\"",
9878
+ "example": "false",
9879
+ "member": "string",
9880
+ "name": "IsRemoteZone",
9881
+ "required": false,
9882
+ "type": "string"
9883
+ },
9884
+ {
9885
+ "default": "",
9886
+ "document": "克隆实例与源实例不在同一地域时需填写克隆实例所在地域,例:\"ap-guangzhou\"",
9887
+ "example": "ap-guangzhou",
9888
+ "member": "string",
9889
+ "name": "BackupRegion",
9890
+ "required": false,
9891
+ "type": "string"
9873
9892
  }
9874
9893
  ],
9875
9894
  "type": "object"
@@ -9879,15 +9898,19 @@
9879
9898
  "members": [
9880
9899
  {
9881
9900
  "document": "符合查询条件的实例总数。",
9901
+ "example": "2",
9882
9902
  "member": "int64",
9883
9903
  "name": "TotalCount",
9904
+ "required": true,
9884
9905
  "type": "int",
9885
9906
  "value_allowed_null": false
9886
9907
  },
9887
9908
  {
9888
9909
  "document": "返回的参数信息。",
9910
+ "example": "无",
9889
9911
  "member": "InstanceRollbackRangeTime",
9890
9912
  "name": "Items",
9913
+ "required": true,
9891
9914
  "type": "list",
9892
9915
  "value_allowed_null": false
9893
9916
  },
@@ -681,7 +681,7 @@
681
681
  "DescribeRollbackRangeTime": [
682
682
  {
683
683
  "document": "",
684
- "input": "https://cdb.tencentcloudapi.com/?Action=DescribeRollbackRangeTime\r\n&InstanceIds.0=cdb-fix44sxh\r\n&InstanceIds.1=cdb-bdf7h3j1\r\n&<公共请求参数>",
684
+ "input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRollbackRangeTime\n<公共请求参数>\n\n{\n \"InstanceIds\": [\n \"cdb-bdf7h3j1\",\n \"cdb-fix44sxh\"\n ]\n}",
685
685
  "output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\",\n \"TotalCount\": 2,\n \"Items\": [\n {\n \"InstanceId\": \"cdb-fix44sxh\",\n \"Message\": \"ok\",\n \"Code\": 0,\n \"Times\": [\n {\n \"Begin\": \"2017-08-21 02:06:20\",\n \"End\": \"2017-08-25 17:52:05\"\n }\n ]\n },\n {\n \"InstanceId\": \"cdb-bdf7h3j1\",\n \"Message\": \"ok\",\n \"Code\": 0,\n \"Times\": [\n {\n \"Begin\": \"2017-08-21 02:06:00\",\n \"End\": \"2017-08-25 17:52:05\"\n }\n ]\n }\n ]\n }\n}",
686
686
  "title": "查询可回档时间"
687
687
  }
@@ -2253,6 +2253,58 @@ def doCheckCdcCluster(args, parsed_globals):
2253
2253
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2254
2254
 
2255
2255
 
2256
+ def doDescribeTopicFlowRanking(args, parsed_globals):
2257
+ g_param = parse_global_arg(parsed_globals)
2258
+
2259
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2260
+ cred = credential.CVMRoleCredential()
2261
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2262
+ cred = credential.STSAssumeRoleCredential(
2263
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2264
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
2265
+ )
2266
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
2267
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2268
+ else:
2269
+ cred = credential.Credential(
2270
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2271
+ )
2272
+ http_profile = HttpProfile(
2273
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2274
+ reqMethod="POST",
2275
+ endpoint=g_param[OptionsDefine.Endpoint],
2276
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2277
+ )
2278
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2279
+ if g_param[OptionsDefine.Language]:
2280
+ profile.language = g_param[OptionsDefine.Language]
2281
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2282
+ client = mod.CkafkaClient(cred, g_param[OptionsDefine.Region], profile)
2283
+ client._sdkVersion += ("_CLI_" + __version__)
2284
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
2285
+ model = models.DescribeTopicFlowRankingRequest()
2286
+ model.from_json_string(json.dumps(args))
2287
+ start_time = time.time()
2288
+ while True:
2289
+ rsp = client.DescribeTopicFlowRanking(model)
2290
+ result = rsp.to_json_string()
2291
+ try:
2292
+ json_obj = json.loads(result)
2293
+ except TypeError as e:
2294
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
2295
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2296
+ break
2297
+ cur_time = time.time()
2298
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2299
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2300
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2301
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2302
+ else:
2303
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2304
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2305
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2306
+
2307
+
2256
2308
  def doDeleteRouteTriggerTime(args, parsed_globals):
2257
2309
  g_param = parse_global_arg(parsed_globals)
2258
2310
 
@@ -4075,6 +4127,7 @@ ACTION_MAP = {
4075
4127
  "CreateConnectResource": doCreateConnectResource,
4076
4128
  "DescribeDatahubTask": doDescribeDatahubTask,
4077
4129
  "CheckCdcCluster": doCheckCdcCluster,
4130
+ "DescribeTopicFlowRanking": doDescribeTopicFlowRanking,
4078
4131
  "DeleteRouteTriggerTime": doDeleteRouteTriggerTime,
4079
4132
  "CreatePartition": doCreatePartition,
4080
4133
  "FetchLatestDatahubMessageList": doFetchLatestDatahubMessageList,