tccli 3.0.1348.1__py2.py3-none-any.whl → 3.0.1350.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 (180) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +0 -76
  3. tccli/services/ai3d/v20250513/api.json +1 -1
  4. tccli/services/aiart/v20221229/api.json +2 -2
  5. tccli/services/autoscaling/v20180419/api.json +11 -0
  6. tccli/services/batch/v20170312/api.json +44 -0
  7. tccli/services/cdb/v20170320/api.json +8 -8
  8. tccli/services/cdb/v20170320/examples.json +1 -1
  9. tccli/services/cdn/v20180606/api.json +5 -5
  10. tccli/services/cdwch/v20200915/api.json +11 -1
  11. tccli/services/cdwdoris/v20211228/api.json +145 -7
  12. tccli/services/cfg/v20210820/api.json +20 -0
  13. tccli/services/cfs/v20190719/api.json +10 -10
  14. tccli/services/cfw/cfw_client.py +53 -0
  15. tccli/services/cfw/v20190904/api.json +272 -0
  16. tccli/services/cfw/v20190904/examples.json +8 -0
  17. tccli/services/ckafka/ckafka_client.py +0 -53
  18. tccli/services/ckafka/v20190819/api.json +0 -215
  19. tccli/services/ckafka/v20190819/examples.json +0 -8
  20. tccli/services/csip/csip_client.py +833 -144
  21. tccli/services/csip/v20221121/api.json +3304 -1436
  22. tccli/services/csip/v20221121/examples.json +105 -7
  23. tccli/services/ctem/v20231128/api.json +20 -0
  24. tccli/services/cvm/v20170312/api.json +3 -3
  25. tccli/services/cwp/v20180228/api.json +9 -0
  26. tccli/services/cwp/v20180228/examples.json +6 -0
  27. tccli/services/dts/v20211206/api.json +21 -1
  28. tccli/services/emr/v20190103/api.json +219 -4
  29. tccli/services/es/v20250101/api.json +22 -0
  30. tccli/services/ess/v20201111/api.json +10 -1
  31. tccli/services/essbasic/v20210526/api.json +3 -3
  32. tccli/services/faceid/v20180301/api.json +3 -3
  33. tccli/services/gs/v20191118/api.json +38 -0
  34. tccli/services/igtm/igtm_client.py +159 -0
  35. tccli/services/igtm/v20231024/api.json +577 -0
  36. tccli/services/igtm/v20231024/examples.json +24 -0
  37. tccli/services/iotexplorer/v20190423/api.json +3 -3
  38. tccli/services/lcic/lcic_client.py +53 -0
  39. tccli/services/lcic/v20220817/api.json +53 -0
  40. tccli/services/lcic/v20220817/examples.json +8 -0
  41. tccli/services/live/live_client.py +224 -65
  42. tccli/services/live/v20180801/api.json +275 -1
  43. tccli/services/live/v20180801/examples.json +25 -1
  44. tccli/services/lke/v20231130/api.json +248 -2
  45. tccli/services/lke/v20231130/examples.json +1 -1
  46. tccli/services/lkeap/v20240522/api.json +1 -1
  47. tccli/services/mrs/v20200910/api.json +10 -0
  48. tccli/services/nlp/nlp_client.py +4 -322
  49. tccli/services/nlp/v20190408/api.json +0 -459
  50. tccli/services/nlp/v20190408/examples.json +0 -48
  51. tccli/services/ocr/v20181119/api.json +60 -5
  52. tccli/services/omics/v20221128/api.json +41 -3
  53. tccli/services/redis/v20180412/api.json +6 -6
  54. tccli/services/redis/v20180412/examples.json +1 -1
  55. tccli/services/ses/v20201002/api.json +100 -5
  56. tccli/services/tcb/v20180608/api.json +1 -1
  57. tccli/services/tcb/v20180608/examples.json +1 -1
  58. tccli/services/tdmq/v20200217/api.json +19 -0
  59. tccli/services/teo/teo_client.py +281 -16
  60. tccli/services/teo/v20220901/api.json +611 -6
  61. tccli/services/teo/v20220901/examples.json +48 -2
  62. tccli/services/tione/v20211111/api.json +16 -0
  63. tccli/services/tke/tke_client.py +57 -4
  64. tccli/services/tke/v20180525/api.json +24 -24
  65. tccli/services/tke/v20220501/api.json +52 -0
  66. tccli/services/tke/v20220501/examples.json +8 -0
  67. tccli/services/tmt/v20180321/api.json +4 -4
  68. tccli/services/tsf/v20180326/api.json +4 -4
  69. tccli/services/vclm/v20240523/api.json +2 -2
  70. tccli/services/vod/v20180717/api.json +5 -5
  71. tccli/services/vod/v20180717/examples.json +9 -9
  72. tccli/services/vpc/v20170312/api.json +1 -1
  73. tccli/services/vrs/v20200824/api.json +1 -1
  74. {tccli-3.0.1348.1.dist-info → tccli-3.0.1350.1.dist-info}/METADATA +2 -2
  75. {tccli-3.0.1348.1.dist-info → tccli-3.0.1350.1.dist-info}/RECORD +78 -180
  76. tccli/services/cis/__init__.py +0 -4
  77. tccli/services/cis/cis_client.py +0 -525
  78. tccli/services/cis/v20180408/api.json +0 -737
  79. tccli/services/cis/v20180408/examples.json +0 -93
  80. tccli/services/dataintegration/__init__.py +0 -4
  81. tccli/services/dataintegration/dataintegration_client.py +0 -207
  82. tccli/services/dataintegration/v20220613/api.json +0 -87
  83. tccli/services/dataintegration/v20220613/examples.json +0 -13
  84. tccli/services/dtf/__init__.py +0 -4
  85. tccli/services/dtf/dtf_client.py +0 -207
  86. tccli/services/dtf/v20200506/api.json +0 -274
  87. tccli/services/dtf/v20200506/examples.json +0 -13
  88. tccli/services/gpm/__init__.py +0 -4
  89. tccli/services/gpm/gpm_client.py +0 -1108
  90. tccli/services/gpm/v20200820/api.json +0 -1959
  91. tccli/services/gpm/v20200820/examples.json +0 -149
  92. tccli/services/gse/__init__.py +0 -4
  93. tccli/services/gse/gse_client.py +0 -4076
  94. tccli/services/gse/v20191112/api.json +0 -7095
  95. tccli/services/gse/v20191112/examples.json +0 -615
  96. tccli/services/iecp/__init__.py +0 -4
  97. tccli/services/iecp/iecp_client.py +0 -4500
  98. tccli/services/iecp/v20210914/api.json +0 -9770
  99. tccli/services/iecp/v20210914/examples.json +0 -691
  100. tccli/services/iir/__init__.py +0 -4
  101. tccli/services/iir/iir_client.py +0 -207
  102. tccli/services/iir/v20200417/api.json +0 -204
  103. tccli/services/iir/v20200417/examples.json +0 -13
  104. tccli/services/iottid/__init__.py +0 -4
  105. tccli/services/iottid/iottid_client.py +0 -631
  106. tccli/services/iottid/v20190411/api.json +0 -553
  107. tccli/services/iottid/v20190411/examples.json +0 -95
  108. tccli/services/mgobe/__init__.py +0 -4
  109. tccli/services/mgobe/mgobe_client.py +0 -530
  110. tccli/services/mgobe/v20190929/api.json +0 -52
  111. tccli/services/mgobe/v20190929/examples.json +0 -13
  112. tccli/services/mgobe/v20201014/api.json +0 -671
  113. tccli/services/mgobe/v20201014/examples.json +0 -61
  114. tccli/services/mvj/__init__.py +0 -4
  115. tccli/services/mvj/mvj_client.py +0 -207
  116. tccli/services/mvj/v20190926/api.json +0 -123
  117. tccli/services/mvj/v20190926/examples.json +0 -19
  118. tccli/services/pds/__init__.py +0 -4
  119. tccli/services/pds/pds_client.py +0 -260
  120. tccli/services/pds/v20210701/api.json +0 -193
  121. tccli/services/pds/v20210701/examples.json +0 -21
  122. tccli/services/smpn/__init__.py +0 -4
  123. tccli/services/smpn/smpn_client.py +0 -260
  124. tccli/services/smpn/v20190822/api.json +0 -191
  125. tccli/services/smpn/v20190822/examples.json +0 -21
  126. tccli/services/solar/__init__.py +0 -4
  127. tccli/services/solar/solar_client.py +0 -1055
  128. tccli/services/solar/v20181011/api.json +0 -1760
  129. tccli/services/solar/v20181011/examples.json +0 -125
  130. tccli/services/tan/__init__.py +0 -4
  131. tccli/services/tan/tan_client.py +0 -207
  132. tccli/services/tan/v20220420/api.json +0 -65
  133. tccli/services/tan/v20220420/examples.json +0 -19
  134. tccli/services/tav/__init__.py +0 -4
  135. tccli/services/tav/tav_client.py +0 -366
  136. tccli/services/tav/v20190118/api.json +0 -262
  137. tccli/services/tav/v20190118/examples.json +0 -37
  138. tccli/services/tbm/__init__.py +0 -4
  139. tccli/services/tbm/tbm_client.py +0 -631
  140. tccli/services/tbm/v20180129/api.json +0 -1037
  141. tccli/services/tbm/v20180129/examples.json +0 -77
  142. tccli/services/tcex/__init__.py +0 -4
  143. tccli/services/tcex/tcex_client.py +0 -260
  144. tccli/services/tcex/v20200727/api.json +0 -158
  145. tccli/services/tcex/v20200727/examples.json +0 -21
  146. tccli/services/tci/__init__.py +0 -4
  147. tccli/services/tci/tci_client.py +0 -2327
  148. tccli/services/tci/v20190318/api.json +0 -4958
  149. tccli/services/tci/v20190318/examples.json +0 -333
  150. tccli/services/tic/__init__.py +0 -4
  151. tccli/services/tic/tic_client.py +0 -843
  152. tccli/services/tic/v20201117/api.json +0 -1067
  153. tccli/services/tic/v20201117/examples.json +0 -121
  154. tccli/services/ticm/__init__.py +0 -4
  155. tccli/services/ticm/ticm_client.py +0 -313
  156. tccli/services/ticm/v20181127/api.json +0 -1391
  157. tccli/services/ticm/v20181127/examples.json +0 -53
  158. tccli/services/tics/__init__.py +0 -4
  159. tccli/services/tics/tics_client.py +0 -366
  160. tccli/services/tics/v20181115/api.json +0 -694
  161. tccli/services/tics/v20181115/examples.json +0 -37
  162. tccli/services/tiems/__init__.py +0 -4
  163. tccli/services/tiems/tiems_client.py +0 -1479
  164. tccli/services/tiems/v20190416/api.json +0 -3144
  165. tccli/services/tiems/v20190416/examples.json +0 -217
  166. tccli/services/trdp/__init__.py +0 -4
  167. tccli/services/trdp/trdp_client.py +0 -207
  168. tccli/services/trdp/v20220726/api.json +0 -843
  169. tccli/services/trdp/v20220726/examples.json +0 -13
  170. tccli/services/ump/__init__.py +0 -4
  171. tccli/services/ump/ump_client.py +0 -1055
  172. tccli/services/ump/v20200918/api.json +0 -2168
  173. tccli/services/ump/v20200918/examples.json +0 -141
  174. tccli/services/youmall/__init__.py +0 -4
  175. tccli/services/youmall/v20180228/api.json +0 -3572
  176. tccli/services/youmall/v20180228/examples.json +0 -313
  177. tccli/services/youmall/youmall_client.py +0 -1797
  178. {tccli-3.0.1348.1.dist-info → tccli-3.0.1350.1.dist-info}/WHEEL +0 -0
  179. {tccli-3.0.1348.1.dist-info → tccli-3.0.1350.1.dist-info}/entry_points.txt +0 -0
  180. {tccli-3.0.1348.1.dist-info → tccli-3.0.1350.1.dist-info}/license_files/LICENSE +0 -0
@@ -343,6 +343,13 @@
343
343
  "output": "DescribeIdsWhiteRuleResponse",
344
344
  "status": "deprecated"
345
345
  },
346
+ "DescribeLogStorageStatistic": {
347
+ "document": "租户日志存储统计",
348
+ "input": "DescribeLogStorageStatisticRequest",
349
+ "name": "租户日志存储统计",
350
+ "output": "DescribeLogStorageStatisticResponse",
351
+ "status": "online"
352
+ },
346
353
  "DescribeLogs": {
347
354
  "document": "日志审计日志查询",
348
355
  "input": "DescribeLogsRequest",
@@ -6527,6 +6534,163 @@
6527
6534
  ],
6528
6535
  "type": "object"
6529
6536
  },
6537
+ "DescribeLogStorageStatisticRequest": {
6538
+ "document": "DescribeLogStorageStatistic请求参数结构体",
6539
+ "members": [],
6540
+ "type": "object"
6541
+ },
6542
+ "DescribeLogStorageStatisticResponse": {
6543
+ "document": "DescribeLogStorageStatistic返回参数结构体",
6544
+ "members": [
6545
+ {
6546
+ "disabled": false,
6547
+ "document": "返回状态码 0 成功 非0不成功",
6548
+ "example": "0",
6549
+ "member": "int64",
6550
+ "name": "ReturnCode",
6551
+ "output_required": true,
6552
+ "type": "int",
6553
+ "value_allowed_null": false
6554
+ },
6555
+ {
6556
+ "disabled": false,
6557
+ "document": "返回信息 success 成功 其他 不成功",
6558
+ "example": "success",
6559
+ "member": "string",
6560
+ "name": "ReturnMsg",
6561
+ "output_required": true,
6562
+ "type": "string",
6563
+ "value_allowed_null": false
6564
+ },
6565
+ {
6566
+ "disabled": false,
6567
+ "document": "已使用存储量,单位B",
6568
+ "example": "1024",
6569
+ "member": "int64",
6570
+ "name": "UsedSize",
6571
+ "output_required": true,
6572
+ "type": "int",
6573
+ "value_allowed_null": false
6574
+ },
6575
+ {
6576
+ "disabled": false,
6577
+ "document": "配额存储总量,单位B",
6578
+ "example": "1024",
6579
+ "member": "int64",
6580
+ "name": "TotalSize",
6581
+ "output_required": true,
6582
+ "type": "int",
6583
+ "value_allowed_null": false
6584
+ },
6585
+ {
6586
+ "disabled": false,
6587
+ "document": "存储天数",
6588
+ "example": "180",
6589
+ "member": "int64",
6590
+ "name": "StorageDay",
6591
+ "output_required": true,
6592
+ "type": "int",
6593
+ "value_allowed_null": false
6594
+ },
6595
+ {
6596
+ "disabled": false,
6597
+ "document": "访问控制日志存储量,单位B",
6598
+ "example": "1024",
6599
+ "member": "int64",
6600
+ "name": "AclSize",
6601
+ "output_required": true,
6602
+ "type": "int",
6603
+ "value_allowed_null": false
6604
+ },
6605
+ {
6606
+ "disabled": false,
6607
+ "document": "入侵防御日志存储量,单位B",
6608
+ "example": "1024",
6609
+ "member": "int64",
6610
+ "name": "IdsSize",
6611
+ "output_required": true,
6612
+ "type": "int",
6613
+ "value_allowed_null": false
6614
+ },
6615
+ {
6616
+ "disabled": false,
6617
+ "document": "流量日志存储量,单位B",
6618
+ "example": "1024",
6619
+ "member": "int64",
6620
+ "name": "NetFlowSize",
6621
+ "output_required": true,
6622
+ "type": "int",
6623
+ "value_allowed_null": false
6624
+ },
6625
+ {
6626
+ "disabled": false,
6627
+ "document": "操作日志存储量,单位B",
6628
+ "example": "1024",
6629
+ "member": "int64",
6630
+ "name": "OperateSize",
6631
+ "output_required": true,
6632
+ "type": "int",
6633
+ "value_allowed_null": false
6634
+ },
6635
+ {
6636
+ "disabled": false,
6637
+ "document": "剩余存储量,单位B",
6638
+ "example": "1024",
6639
+ "member": "int64",
6640
+ "name": "LeftSize",
6641
+ "output_required": true,
6642
+ "type": "int",
6643
+ "value_allowed_null": false
6644
+ },
6645
+ {
6646
+ "disabled": false,
6647
+ "document": "计费模式,0后付费,1预付费",
6648
+ "example": "1",
6649
+ "member": "int64",
6650
+ "name": "PayMode",
6651
+ "output_required": true,
6652
+ "type": "int",
6653
+ "value_allowed_null": false
6654
+ },
6655
+ {
6656
+ "disabled": false,
6657
+ "document": "每日增加日志存储量柱状图",
6658
+ "example": "[{\"NetFlowSize\":232850065,\"OperateSize\":59072400,\"IdsSize\":584894,\"AclSize\":22095186,\"Time\":\"2024-10-25 00:00:00\"},{\"NetFlowSize\":226512606,\"OperateSize\":1822500,\"IdsSize\":308073,\"AclSize\":56409259,\"Time\":\"2024-10-26 00:00:00\"},{\"NetFlowSize\":312016348,\"OperateSize\":1591200,\"IdsSize\":1136827,\"AclSize\":89038893,\"Time\":\"2024-10-27 00:00:00\"},{\"NetFlowSize\":263122695,\"OperateSize\":1791000,\"IdsSize\":1633817,\"AclSize\":112221690,\"Time\":\"2024-10-28 00:00:00\"},{\"NetFlowSize\":314737760,\"OperateSize\":4045500,\"IdsSize\":11400888,\"AclSize\":58205747,\"Time\":\"2024-10-29 00:00:00\"},{\"NetFlowSize\":1000469317,\"OperateSize\":3949200,\"IdsSize\":69040,\"AclSize\":51893,\"Time\":\"2024-10-30 00:00:00\"},{\"NetFlowSize\":17837072505,\"OperateSize\":1984500,\"IdsSize\":5723094,\"AclSize\":4378551511,\"Time\":\"2024-10-31 00:00:00\"}]",
6659
+ "member": "StorageHistogram",
6660
+ "name": "TimeHistogram",
6661
+ "output_required": true,
6662
+ "type": "list",
6663
+ "value_allowed_null": false
6664
+ },
6665
+ {
6666
+ "disabled": false,
6667
+ "document": "柱形图格式数据",
6668
+ "example": "{\"StorageType\":[\"访问控制日志\",\"入侵防御日志\",\"流量日志\",\"操作日志\"],\"Dates\":[\"10-25\",\"10-26\",\"10-27\",\"10-28\",\"10-29\",\"10-30\",\"10-31\"],\"Data\":[{\"List\":[22095186,56409259,89038893,112221690,58205747,51893,4378551511]},{\"List\":[584894,308073,1136827,1633817,11400888,69040,5723094]},{\"List\":[232850065,226512606,312016348,263122695,314737760,1000469317,17837072505]},{\"List\":[59072400,1822500,1591200,1791000,4045500,3949200,1984500]}]}",
6669
+ "member": "StorageHistogramShow",
6670
+ "name": "TimeHistogramShow",
6671
+ "output_required": false,
6672
+ "type": "object",
6673
+ "value_allowed_null": false
6674
+ },
6675
+ {
6676
+ "disabled": false,
6677
+ "document": "后付费模式存储状态,0正常,1欠费停止写入",
6678
+ "example": "1",
6679
+ "member": "int64",
6680
+ "name": "ArrearsStopWriting",
6681
+ "output_required": false,
6682
+ "type": "int",
6683
+ "value_allowed_null": false
6684
+ },
6685
+ {
6686
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
6687
+ "member": "string",
6688
+ "name": "RequestId",
6689
+ "type": "string"
6690
+ }
6691
+ ],
6692
+ "type": "object"
6693
+ },
6530
6694
  "DescribeLogsRequest": {
6531
6695
  "document": "DescribeLogs请求参数结构体",
6532
6696
  "members": [
@@ -9575,6 +9739,22 @@
9575
9739
  ],
9576
9740
  "usage": "out"
9577
9741
  },
9742
+ "IntArray": {
9743
+ "document": "用于构造二维数组",
9744
+ "members": [
9745
+ {
9746
+ "disabled": false,
9747
+ "document": "数组\n注意:此字段可能返回 null,表示取不到有效值。",
9748
+ "example": "[1000,10001]",
9749
+ "member": "int64",
9750
+ "name": "List",
9751
+ "output_required": false,
9752
+ "type": "list",
9753
+ "value_allowed_null": true
9754
+ }
9755
+ ],
9756
+ "usage": "out"
9757
+ },
9578
9758
  "IntrusionDefenseRule": {
9579
9759
  "document": "入侵防御封禁列表、放通列表添加规则入参",
9580
9760
  "members": [
@@ -14180,6 +14360,98 @@
14180
14360
  ],
14181
14361
  "type": "object"
14182
14362
  },
14363
+ "StorageHistogram": {
14364
+ "document": "日志存储统计柱形图",
14365
+ "members": [
14366
+ {
14367
+ "disabled": false,
14368
+ "document": "访问控制日志存储量,单位B\n注意:此字段可能返回 null,表示取不到有效值。",
14369
+ "example": "1024",
14370
+ "member": "int64",
14371
+ "name": "AclSize",
14372
+ "output_required": true,
14373
+ "type": "int",
14374
+ "value_allowed_null": true
14375
+ },
14376
+ {
14377
+ "disabled": false,
14378
+ "document": "入侵防御日志存储量,单位B\n注意:此字段可能返回 null,表示取不到有效值。",
14379
+ "example": "1024",
14380
+ "member": "int64",
14381
+ "name": "IdsSize",
14382
+ "output_required": true,
14383
+ "type": "int",
14384
+ "value_allowed_null": true
14385
+ },
14386
+ {
14387
+ "disabled": false,
14388
+ "document": "流量日志存储量,单位B\n注意:此字段可能返回 null,表示取不到有效值。",
14389
+ "example": "1024",
14390
+ "member": "int64",
14391
+ "name": "NetFlowSize",
14392
+ "output_required": true,
14393
+ "type": "int",
14394
+ "value_allowed_null": true
14395
+ },
14396
+ {
14397
+ "disabled": false,
14398
+ "document": "操作日志存储量,单位B\n注意:此字段可能返回 null,表示取不到有效值。",
14399
+ "example": "1024",
14400
+ "member": "int64",
14401
+ "name": "OperateSize",
14402
+ "output_required": true,
14403
+ "type": "int",
14404
+ "value_allowed_null": true
14405
+ },
14406
+ {
14407
+ "disabled": false,
14408
+ "document": "统计时间\n注意:此字段可能返回 null,表示取不到有效值。",
14409
+ "example": "2023-06-30",
14410
+ "member": "string",
14411
+ "name": "Time",
14412
+ "output_required": true,
14413
+ "type": "string",
14414
+ "value_allowed_null": true
14415
+ }
14416
+ ],
14417
+ "usage": "out"
14418
+ },
14419
+ "StorageHistogramShow": {
14420
+ "document": "前端图表使用日志存储统计柱形图数据",
14421
+ "members": [
14422
+ {
14423
+ "disabled": false,
14424
+ "document": "存储类型\n注意:此字段可能返回 null,表示取不到有效值。",
14425
+ "example": "[\"访问控制日志\"]",
14426
+ "member": "string",
14427
+ "name": "StorageType",
14428
+ "output_required": false,
14429
+ "type": "list",
14430
+ "value_allowed_null": true
14431
+ },
14432
+ {
14433
+ "disabled": false,
14434
+ "document": "日期\n注意:此字段可能返回 null,表示取不到有效值。",
14435
+ "example": "[\"2024-10-24\"]",
14436
+ "member": "string",
14437
+ "name": "Dates",
14438
+ "output_required": false,
14439
+ "type": "list",
14440
+ "value_allowed_null": true
14441
+ },
14442
+ {
14443
+ "disabled": false,
14444
+ "document": "数据\n注意:此字段可能返回 null,表示取不到有效值。",
14445
+ "example": "[1024000]",
14446
+ "member": "IntArray",
14447
+ "name": "Data",
14448
+ "output_required": false,
14449
+ "type": "list",
14450
+ "value_allowed_null": true
14451
+ }
14452
+ ],
14453
+ "usage": "out"
14454
+ },
14183
14455
  "SwitchListsData": {
14184
14456
  "document": "防火墙开关列表对象",
14185
14457
  "members": [
@@ -428,6 +428,14 @@
428
428
  "title": "入侵防御规则白名单查询示例"
429
429
  }
430
430
  ],
431
+ "DescribeLogStorageStatistic": [
432
+ {
433
+ "document": "租户日志存储统计",
434
+ "input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLogStorageStatistic\n<公共请求参数>\n\n{}",
435
+ "output": "{\n \"Response\": {\n \"RequestId\": \"ec88a398-f7cf-4cbb-9e23-6b49236dd0f6\",\n \"AclSize\": 5521145584,\n \"ArrearsStopWriting\": 0,\n \"IdsSize\": 13442776032,\n \"LeftSize\": 925046202861,\n \"NetFlowSize\": 125879823723,\n \"OperateSize\": 3851875800,\n \"PayMode\": 1,\n \"ReturnCode\": 0,\n \"ReturnMsg\": \"success\",\n \"StorageDay\": 60,\n \"TimeHistogram\": [\n {\n \"NetFlowSize\": 232850065,\n \"OperateSize\": 59072400,\n \"IdsSize\": 584894,\n \"AclSize\": 22095186,\n \"Time\": \"2024-10-25 00:00:00\"\n },\n {\n \"NetFlowSize\": 226512606,\n \"OperateSize\": 1822500,\n \"IdsSize\": 308073,\n \"AclSize\": 56409259,\n \"Time\": \"2024-10-26 00:00:00\"\n },\n {\n \"NetFlowSize\": 312016348,\n \"OperateSize\": 1591200,\n \"IdsSize\": 1136827,\n \"AclSize\": 89038893,\n \"Time\": \"2024-10-27 00:00:00\"\n },\n {\n \"NetFlowSize\": 263122695,\n \"OperateSize\": 1791000,\n \"IdsSize\": 1633817,\n \"AclSize\": 112221690,\n \"Time\": \"2024-10-28 00:00:00\"\n },\n {\n \"NetFlowSize\": 314737760,\n \"OperateSize\": 4045500,\n \"IdsSize\": 11400888,\n \"AclSize\": 58205747,\n \"Time\": \"2024-10-29 00:00:00\"\n },\n {\n \"NetFlowSize\": 1000469317,\n \"OperateSize\": 3949200,\n \"IdsSize\": 69040,\n \"AclSize\": 51893,\n \"Time\": \"2024-10-30 00:00:00\"\n },\n {\n \"NetFlowSize\": 17837072505,\n \"OperateSize\": 1984500,\n \"IdsSize\": 5723094,\n \"AclSize\": 4378551511,\n \"Time\": \"2024-10-31 00:00:00\"\n }\n ],\n \"TimeHistogramShow\": {\n \"StorageType\": [\n \"访问控制日志\",\n \"入侵防御日志\",\n \"流量日志\",\n \"操作日志\"\n ],\n \"Dates\": [\n \"10-25\",\n \"10-26\",\n \"10-27\",\n \"10-28\",\n \"10-29\",\n \"10-30\",\n \"10-31\"\n ],\n \"Data\": [\n {\n \"List\": [\n 22095186,\n 56409259,\n 89038893,\n 112221690,\n 58205747,\n 51893,\n 4378551511\n ]\n },\n {\n \"List\": [\n 584894,\n 308073,\n 1136827,\n 1633817,\n 11400888,\n 69040,\n 5723094\n ]\n },\n {\n \"List\": [\n 232850065,\n 226512606,\n 312016348,\n 263122695,\n 314737760,\n 1000469317,\n 17837072505\n ]\n },\n {\n \"List\": [\n 59072400,\n 1822500,\n 1591200,\n 1791000,\n 4045500,\n 3949200,\n 1984500\n ]\n }\n ]\n },\n \"TotalSize\": 1073741824000,\n \"UsedSize\": 148695621139\n }\n}",
436
+ "title": "租户日志存储统计"
437
+ }
438
+ ],
431
439
  "DescribeLogs": [
432
440
  {
433
441
  "document": "日志审计日志查询",
@@ -121,58 +121,6 @@ def doDescribeCvmInfo(args, parsed_globals):
121
121
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
122
122
 
123
123
 
124
- def doCreateInstancePost(args, parsed_globals):
125
- g_param = parse_global_arg(parsed_globals)
126
-
127
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
128
- cred = credential.CVMRoleCredential()
129
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
130
- cred = credential.STSAssumeRoleCredential(
131
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
132
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
133
- )
134
- 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):
135
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
136
- else:
137
- cred = credential.Credential(
138
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
139
- )
140
- http_profile = HttpProfile(
141
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
142
- reqMethod="POST",
143
- endpoint=g_param[OptionsDefine.Endpoint],
144
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
145
- )
146
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
147
- if g_param[OptionsDefine.Language]:
148
- profile.language = g_param[OptionsDefine.Language]
149
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
150
- client = mod.CkafkaClient(cred, g_param[OptionsDefine.Region], profile)
151
- client._sdkVersion += ("_CLI_" + __version__)
152
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
153
- model = models.CreateInstancePostRequest()
154
- model.from_json_string(json.dumps(args))
155
- start_time = time.time()
156
- while True:
157
- rsp = client.CreateInstancePost(model)
158
- result = rsp.to_json_string()
159
- try:
160
- json_obj = json.loads(result)
161
- except TypeError as e:
162
- json_obj = json.loads(result.decode('utf-8')) # python3.3
163
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
164
- break
165
- cur_time = time.time()
166
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
167
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
168
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
169
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
170
- else:
171
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
172
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
173
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
174
-
175
-
176
124
  def doModifyInstancePre(args, parsed_globals):
177
125
  g_param = parse_global_arg(parsed_globals)
178
126
 
@@ -4606,7 +4554,6 @@ MODELS_MAP = {
4606
4554
  ACTION_MAP = {
4607
4555
  "DescribeGroupInfo": doDescribeGroupInfo,
4608
4556
  "DescribeCvmInfo": doDescribeCvmInfo,
4609
- "CreateInstancePost": doCreateInstancePost,
4610
4557
  "ModifyInstancePre": doModifyInstancePre,
4611
4558
  "SendMessage": doSendMessage,
4612
4559
  "DeleteConnectResource": doDeleteConnectResource,
@@ -91,13 +91,6 @@
91
91
  "output": "CreateDatahubTopicResponse",
92
92
  "status": "online"
93
93
  },
94
- "CreateInstancePost": {
95
- "document": "由于出参需要更新,建议用户迁移使用 CreatePostPaidInstance 接口。创建按量计费实例。通常用于 SDK 或云 API 控制台调用接口,创建后付费 CKafka 实例。调用接口与在 CKafka 控制台购买按量付费实例效果相同。",
96
- "input": "CreateInstancePostRequest",
97
- "name": "创建按量计费实例",
98
- "output": "CreateInstancePostResponse",
99
- "status": "online"
100
- },
101
94
  "CreateInstancePre": {
102
95
  "document": "创建实例(预付费包年包月), 仅支持创建专业版实例",
103
96
  "input": "CreateInstancePreRequest",
@@ -3496,192 +3489,6 @@
3496
3489
  ],
3497
3490
  "usage": "out"
3498
3491
  },
3499
- "CreateInstancePostRequest": {
3500
- "document": "CreateInstancePost请求参数结构体",
3501
- "members": [
3502
- {
3503
- "disabled": false,
3504
- "document": "ckafka集群实例Name,是一个不超过 64 个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)",
3505
- "example": "ckafka测试",
3506
- "member": "string",
3507
- "name": "InstanceName",
3508
- "required": true,
3509
- "type": "string"
3510
- },
3511
- {
3512
- "disabled": false,
3513
- "document": "私有网络Id 创建的实例默认接入点所在的 vpc 对应 vpcId。目前不支持创建基础网络实例,因此该参数必填",
3514
- "example": "vpc-test",
3515
- "member": "string",
3516
- "name": "VpcId",
3517
- "required": true,
3518
- "type": "string"
3519
- },
3520
- {
3521
- "disabled": false,
3522
- "document": "子网id。创建实例默认接入点所在的子网对应的子网 id",
3523
- "example": "subnet-test",
3524
- "member": "string",
3525
- "name": "SubnetId",
3526
- "required": true,
3527
- "type": "string"
3528
- },
3529
- {
3530
- "disabled": false,
3531
- "document": "实例内网峰值带宽。单位 MB/s。标准版需传入当前实例规格所对应的峰值带宽。注意如果创建的实例为专业版实例,峰值带宽,分区数等参数配置需要满足专业版的计费规格。",
3532
- "example": "20",
3533
- "member": "int64",
3534
- "name": "BandWidth",
3535
- "required": true,
3536
- "type": "int"
3537
- },
3538
- {
3539
- "disabled": false,
3540
- "document": "国际站标准版实例规格。目前只有国际站标准版使用当前字段区分规格,国内站标准版使用峰值带宽区分规格。除了国际站标准版外的所有实例填写 1 即可。国际站标准版实例:入门型(general)]填写1;[标准型(standard)]填写2;[进阶型(advanced)]填写3;[容量型(capacity)]填写4;[高阶型1(specialized-1)]填写5;[高阶型2(specialized-2)]填写6;[高阶型3(specialized-3)]填写7;[高阶型4(specialized-4)]填写8。",
3541
- "example": "1",
3542
- "member": "int64",
3543
- "name": "InstanceType",
3544
- "required": false,
3545
- "type": "int"
3546
- },
3547
- {
3548
- "disabled": false,
3549
- "document": "实例日志的默认最长保留时间,单位分钟。不传入该参数时默认为 1440 分钟(1天),最大30天。当 topic 显式设置消息保留时间时,以 topic 保留时间为准",
3550
- "example": "1440",
3551
- "member": "int64",
3552
- "name": "MsgRetentionTime",
3553
- "required": false,
3554
- "type": "int"
3555
- },
3556
- {
3557
- "disabled": false,
3558
- "document": "创建实例时可以选择集群Id, 该入参表示集群Id。不指定实例所在集群则不传入该参数",
3559
- "example": "5914",
3560
- "member": "int64",
3561
- "name": "ClusterId",
3562
- "required": false,
3563
- "type": "int"
3564
- },
3565
- {
3566
- "disabled": false,
3567
- "document": "实例版本。目前支持 \"0.10.2\",\"1.1.1\",\"2.4.1\",\"2.4.2\",\"2.8.1\"。\"2.4.1\" 与 \"2.4.2\" 属于同一个版本,传任意一个均可。",
3568
- "example": "2.4.2",
3569
- "member": "string",
3570
- "name": "KafkaVersion",
3571
- "required": false,
3572
- "type": "string"
3573
- },
3574
- {
3575
- "disabled": false,
3576
- "document": "实例类型。\"standard\":标准版,\"profession\":专业版",
3577
- "example": "profession",
3578
- "member": "string",
3579
- "name": "SpecificationsType",
3580
- "required": false,
3581
- "type": "string"
3582
- },
3583
- {
3584
- "disabled": false,
3585
- "document": "专业版实例磁盘类型,标准版实例不需要填写。\"CLOUD_SSD\":SSD云硬盘;\"CLOUD_BASIC\":高性能云硬盘。不传默认值为 \"CLOUD_BASIC\"",
3586
- "example": "CLOUD_BASIC",
3587
- "member": "string",
3588
- "name": "DiskType",
3589
- "required": false,
3590
- "type": "string"
3591
- },
3592
- {
3593
- "disabled": false,
3594
- "document": "实例硬盘大小,需要满足当前实例的计费规格",
3595
- "example": "200",
3596
- "member": "int64",
3597
- "name": "DiskSize",
3598
- "required": false,
3599
- "type": "int"
3600
- },
3601
- {
3602
- "disabled": false,
3603
- "document": "实例最大分区数量,需要满足当前实例的计费规格",
3604
- "example": "400",
3605
- "member": "int64",
3606
- "name": "Partition",
3607
- "required": false,
3608
- "type": "int"
3609
- },
3610
- {
3611
- "disabled": false,
3612
- "document": "实例最大 topic 数量,需要满足当前实例的计费规格",
3613
- "example": "200",
3614
- "member": "int64",
3615
- "name": "TopicNum",
3616
- "required": false,
3617
- "type": "int"
3618
- },
3619
- {
3620
- "disabled": false,
3621
- "document": "实例所在的可用区。当创建多可用区实例时,该参数为创建的默认接入点所在子网的可用区 id",
3622
- "example": "100006",
3623
- "member": "int64",
3624
- "name": "ZoneId",
3625
- "required": false,
3626
- "type": "int"
3627
- },
3628
- {
3629
- "disabled": false,
3630
- "document": "当前实例是否为多可用区实例。",
3631
- "example": "true",
3632
- "member": "bool",
3633
- "name": "MultiZoneFlag",
3634
- "required": false,
3635
- "type": "bool"
3636
- },
3637
- {
3638
- "disabled": false,
3639
- "document": "当实例为多可用区实例时,多可用区 id 列表。注意参数 ZoneId 对应的多可用区需要包含在该参数数组中",
3640
- "example": "[100006,100007]",
3641
- "member": "int64",
3642
- "name": "ZoneIds",
3643
- "required": false,
3644
- "type": "list"
3645
- },
3646
- {
3647
- "disabled": false,
3648
- "document": "购买实例数量。非必填,默认值为 1。当传入该参数时,会创建多个 instanceName 加后缀区分的实例",
3649
- "example": "1",
3650
- "member": "int64",
3651
- "name": "InstanceNum",
3652
- "required": false,
3653
- "type": "int"
3654
- },
3655
- {
3656
- "disabled": false,
3657
- "document": "公网带宽大小,单位 Mbps。默认是没有加上免费 3Mbps 带宽。例如总共需要 3Mbps 公网带宽,此处传 0;总共需要 6Mbps 公网带宽,此处传 3。需要保证传入参数为 3 的整数倍",
3658
- "example": "12",
3659
- "member": "int64",
3660
- "name": "PublicNetworkMonthly",
3661
- "required": false,
3662
- "type": "int"
3663
- },
3664
- {
3665
- "disabled": false,
3666
- "document": "标签",
3667
- "example": "[{\"tagKey\":\"tagkey-test\",\"tagValue\":\"tagvalue-test\"}]",
3668
- "member": "Tag",
3669
- "name": "Tags",
3670
- "required": false,
3671
- "type": "list"
3672
- },
3673
- {
3674
- "disabled": false,
3675
- "document": "弹性带宽开关 0不开启 1开启(0默认)",
3676
- "example": "0",
3677
- "member": "int64",
3678
- "name": "ElasticBandwidthSwitch",
3679
- "required": false,
3680
- "type": "int"
3681
- }
3682
- ],
3683
- "type": "object"
3684
- },
3685
3492
  "CreateInstancePostResp": {
3686
3493
  "document": "后付费实例相关接口返回结构",
3687
3494
  "members": [
@@ -3718,28 +3525,6 @@
3718
3525
  ],
3719
3526
  "usage": "out"
3720
3527
  },
3721
- "CreateInstancePostResponse": {
3722
- "document": "CreateInstancePost返回参数结构体",
3723
- "members": [
3724
- {
3725
- "disabled": false,
3726
- "document": "返回结果",
3727
- "example": "{\"ReturnCode\":\"0\",\"ReturnMessage\":\"success\"}",
3728
- "member": "JgwOperateResponse",
3729
- "name": "Result",
3730
- "output_required": true,
3731
- "type": "object",
3732
- "value_allowed_null": false
3733
- },
3734
- {
3735
- "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
3736
- "member": "string",
3737
- "name": "RequestId",
3738
- "type": "string"
3739
- }
3740
- ],
3741
- "type": "object"
3742
- },
3743
3528
  "CreateInstancePreData": {
3744
3529
  "document": "创建预付费接口返回的Data",
3745
3530
  "members": [
@@ -122,14 +122,6 @@
122
122
  "title": "创建主题"
123
123
  }
124
124
  ],
125
- "CreateInstancePost": [
126
- {
127
- "document": "创建峰值带宽为 20MB/s,硬盘大小 200GB 的专业版实例",
128
- "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateInstancePost\n<公共请求参数>\n\n{\n \"InstanceName\": \"yourtest45\",\n \"VpcId\": \"vpc-test\",\n \"SubnetId\": \"subnet-test\",\n \"KafkaVersion\": \"2.4.2\",\n \"SpecificationsType\": \"profession\",\n \"DiskType\": \"CLOUD_BASIC\",\n \"BandWidth\": 20,\n \"DiskSize\": 200,\n \"Partition\": 400,\n \"TopicNum\": 200,\n \"ZoneId\": 450001\n}",
129
- "output": "{\n \"Response\": {\n \"Result\": {\n \"ReturnCode\": \"0\",\n \"ReturnMessage\": \"ok[apply success]\",\n \"Data\": {\n \"FlowId\": 0,\n \"RouteDTO\": {\n \"RouteId\": 0\n }\n }\n },\n \"RequestId\": \"84770b4b-df34-4ccf-8e22-41d3b1d0fe0d\"\n }\n}",
130
- "title": "创建专业版实例"
131
- }
132
- ],
133
125
  "CreateInstancePre": [
134
126
  {
135
127
  "document": "创建硬盘大小 200GB,峰值带宽 20MB/s 的专业版预付费实例",