tccli 3.0.1348.1__py2.py3-none-any.whl → 3.0.1349.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 (172) 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 +3 -3
  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/cdwdoris/v20211228/api.json +145 -7
  11. tccli/services/cfg/v20210820/api.json +20 -0
  12. tccli/services/cfs/v20190719/api.json +10 -10
  13. tccli/services/cfw/cfw_client.py +53 -0
  14. tccli/services/cfw/v20190904/api.json +272 -0
  15. tccli/services/cfw/v20190904/examples.json +8 -0
  16. tccli/services/csip/csip_client.py +833 -144
  17. tccli/services/csip/v20221121/api.json +3304 -1436
  18. tccli/services/csip/v20221121/examples.json +104 -0
  19. tccli/services/cvm/v20170312/api.json +1 -1
  20. tccli/services/cwp/v20180228/api.json +9 -0
  21. tccli/services/cwp/v20180228/examples.json +6 -0
  22. tccli/services/emr/v20190103/api.json +217 -2
  23. tccli/services/es/v20250101/api.json +22 -0
  24. tccli/services/ess/v20201111/api.json +10 -1
  25. tccli/services/essbasic/v20210526/api.json +3 -3
  26. tccli/services/gs/v20191118/api.json +38 -0
  27. tccli/services/igtm/igtm_client.py +159 -0
  28. tccli/services/igtm/v20231024/api.json +577 -0
  29. tccli/services/igtm/v20231024/examples.json +24 -0
  30. tccli/services/iotexplorer/v20190423/api.json +3 -3
  31. tccli/services/lcic/lcic_client.py +53 -0
  32. tccli/services/lcic/v20220817/api.json +53 -0
  33. tccli/services/lcic/v20220817/examples.json +8 -0
  34. tccli/services/live/v20180801/api.json +203 -1
  35. tccli/services/live/v20180801/examples.json +1 -1
  36. tccli/services/lke/v20231130/api.json +248 -2
  37. tccli/services/lke/v20231130/examples.json +1 -1
  38. tccli/services/lkeap/v20240522/api.json +1 -1
  39. tccli/services/mrs/v20200910/api.json +10 -0
  40. tccli/services/nlp/nlp_client.py +4 -322
  41. tccli/services/nlp/v20190408/api.json +0 -459
  42. tccli/services/nlp/v20190408/examples.json +0 -48
  43. tccli/services/ocr/v20181119/api.json +60 -5
  44. tccli/services/omics/v20221128/api.json +38 -0
  45. tccli/services/redis/v20180412/api.json +6 -6
  46. tccli/services/redis/v20180412/examples.json +1 -1
  47. tccli/services/ses/v20201002/api.json +100 -5
  48. tccli/services/tcb/v20180608/api.json +1 -1
  49. tccli/services/tcb/v20180608/examples.json +1 -1
  50. tccli/services/tdmq/v20200217/api.json +19 -0
  51. tccli/services/teo/teo_client.py +281 -16
  52. tccli/services/teo/v20220901/api.json +611 -6
  53. tccli/services/teo/v20220901/examples.json +48 -2
  54. tccli/services/tione/v20211111/api.json +16 -0
  55. tccli/services/tke/tke_client.py +57 -4
  56. tccli/services/tke/v20180525/api.json +24 -24
  57. tccli/services/tke/v20220501/api.json +52 -0
  58. tccli/services/tke/v20220501/examples.json +8 -0
  59. tccli/services/tmt/v20180321/api.json +4 -4
  60. tccli/services/tsf/v20180326/api.json +4 -4
  61. tccli/services/vclm/v20240523/api.json +3 -3
  62. tccli/services/vod/v20180717/api.json +5 -5
  63. tccli/services/vod/v20180717/examples.json +9 -9
  64. tccli/services/vpc/v20170312/api.json +1 -1
  65. tccli/services/vrs/v20200824/api.json +1 -1
  66. {tccli-3.0.1348.1.dist-info → tccli-3.0.1349.1.dist-info}/METADATA +2 -2
  67. {tccli-3.0.1348.1.dist-info → tccli-3.0.1349.1.dist-info}/RECORD +70 -172
  68. tccli/services/cis/__init__.py +0 -4
  69. tccli/services/cis/cis_client.py +0 -525
  70. tccli/services/cis/v20180408/api.json +0 -737
  71. tccli/services/cis/v20180408/examples.json +0 -93
  72. tccli/services/dataintegration/__init__.py +0 -4
  73. tccli/services/dataintegration/dataintegration_client.py +0 -207
  74. tccli/services/dataintegration/v20220613/api.json +0 -87
  75. tccli/services/dataintegration/v20220613/examples.json +0 -13
  76. tccli/services/dtf/__init__.py +0 -4
  77. tccli/services/dtf/dtf_client.py +0 -207
  78. tccli/services/dtf/v20200506/api.json +0 -274
  79. tccli/services/dtf/v20200506/examples.json +0 -13
  80. tccli/services/gpm/__init__.py +0 -4
  81. tccli/services/gpm/gpm_client.py +0 -1108
  82. tccli/services/gpm/v20200820/api.json +0 -1959
  83. tccli/services/gpm/v20200820/examples.json +0 -149
  84. tccli/services/gse/__init__.py +0 -4
  85. tccli/services/gse/gse_client.py +0 -4076
  86. tccli/services/gse/v20191112/api.json +0 -7095
  87. tccli/services/gse/v20191112/examples.json +0 -615
  88. tccli/services/iecp/__init__.py +0 -4
  89. tccli/services/iecp/iecp_client.py +0 -4500
  90. tccli/services/iecp/v20210914/api.json +0 -9770
  91. tccli/services/iecp/v20210914/examples.json +0 -691
  92. tccli/services/iir/__init__.py +0 -4
  93. tccli/services/iir/iir_client.py +0 -207
  94. tccli/services/iir/v20200417/api.json +0 -204
  95. tccli/services/iir/v20200417/examples.json +0 -13
  96. tccli/services/iottid/__init__.py +0 -4
  97. tccli/services/iottid/iottid_client.py +0 -631
  98. tccli/services/iottid/v20190411/api.json +0 -553
  99. tccli/services/iottid/v20190411/examples.json +0 -95
  100. tccli/services/mgobe/__init__.py +0 -4
  101. tccli/services/mgobe/mgobe_client.py +0 -530
  102. tccli/services/mgobe/v20190929/api.json +0 -52
  103. tccli/services/mgobe/v20190929/examples.json +0 -13
  104. tccli/services/mgobe/v20201014/api.json +0 -671
  105. tccli/services/mgobe/v20201014/examples.json +0 -61
  106. tccli/services/mvj/__init__.py +0 -4
  107. tccli/services/mvj/mvj_client.py +0 -207
  108. tccli/services/mvj/v20190926/api.json +0 -123
  109. tccli/services/mvj/v20190926/examples.json +0 -19
  110. tccli/services/pds/__init__.py +0 -4
  111. tccli/services/pds/pds_client.py +0 -260
  112. tccli/services/pds/v20210701/api.json +0 -193
  113. tccli/services/pds/v20210701/examples.json +0 -21
  114. tccli/services/smpn/__init__.py +0 -4
  115. tccli/services/smpn/smpn_client.py +0 -260
  116. tccli/services/smpn/v20190822/api.json +0 -191
  117. tccli/services/smpn/v20190822/examples.json +0 -21
  118. tccli/services/solar/__init__.py +0 -4
  119. tccli/services/solar/solar_client.py +0 -1055
  120. tccli/services/solar/v20181011/api.json +0 -1760
  121. tccli/services/solar/v20181011/examples.json +0 -125
  122. tccli/services/tan/__init__.py +0 -4
  123. tccli/services/tan/tan_client.py +0 -207
  124. tccli/services/tan/v20220420/api.json +0 -65
  125. tccli/services/tan/v20220420/examples.json +0 -19
  126. tccli/services/tav/__init__.py +0 -4
  127. tccli/services/tav/tav_client.py +0 -366
  128. tccli/services/tav/v20190118/api.json +0 -262
  129. tccli/services/tav/v20190118/examples.json +0 -37
  130. tccli/services/tbm/__init__.py +0 -4
  131. tccli/services/tbm/tbm_client.py +0 -631
  132. tccli/services/tbm/v20180129/api.json +0 -1037
  133. tccli/services/tbm/v20180129/examples.json +0 -77
  134. tccli/services/tcex/__init__.py +0 -4
  135. tccli/services/tcex/tcex_client.py +0 -260
  136. tccli/services/tcex/v20200727/api.json +0 -158
  137. tccli/services/tcex/v20200727/examples.json +0 -21
  138. tccli/services/tci/__init__.py +0 -4
  139. tccli/services/tci/tci_client.py +0 -2327
  140. tccli/services/tci/v20190318/api.json +0 -4958
  141. tccli/services/tci/v20190318/examples.json +0 -333
  142. tccli/services/tic/__init__.py +0 -4
  143. tccli/services/tic/tic_client.py +0 -843
  144. tccli/services/tic/v20201117/api.json +0 -1067
  145. tccli/services/tic/v20201117/examples.json +0 -121
  146. tccli/services/ticm/__init__.py +0 -4
  147. tccli/services/ticm/ticm_client.py +0 -313
  148. tccli/services/ticm/v20181127/api.json +0 -1391
  149. tccli/services/ticm/v20181127/examples.json +0 -53
  150. tccli/services/tics/__init__.py +0 -4
  151. tccli/services/tics/tics_client.py +0 -366
  152. tccli/services/tics/v20181115/api.json +0 -694
  153. tccli/services/tics/v20181115/examples.json +0 -37
  154. tccli/services/tiems/__init__.py +0 -4
  155. tccli/services/tiems/tiems_client.py +0 -1479
  156. tccli/services/tiems/v20190416/api.json +0 -3144
  157. tccli/services/tiems/v20190416/examples.json +0 -217
  158. tccli/services/trdp/__init__.py +0 -4
  159. tccli/services/trdp/trdp_client.py +0 -207
  160. tccli/services/trdp/v20220726/api.json +0 -843
  161. tccli/services/trdp/v20220726/examples.json +0 -13
  162. tccli/services/ump/__init__.py +0 -4
  163. tccli/services/ump/ump_client.py +0 -1055
  164. tccli/services/ump/v20200918/api.json +0 -2168
  165. tccli/services/ump/v20200918/examples.json +0 -141
  166. tccli/services/youmall/__init__.py +0 -4
  167. tccli/services/youmall/v20180228/api.json +0 -3572
  168. tccli/services/youmall/v20180228/examples.json +0 -313
  169. tccli/services/youmall/youmall_client.py +0 -1797
  170. {tccli-3.0.1348.1.dist-info → tccli-3.0.1349.1.dist-info}/WHEEL +0 -0
  171. {tccli-3.0.1348.1.dist-info → tccli-3.0.1349.1.dist-info}/entry_points.txt +0 -0
  172. {tccli-3.0.1348.1.dist-info → tccli-3.0.1349.1.dist-info}/license_files/LICENSE +0 -0
@@ -707,6 +707,17 @@
707
707
  "required": false,
708
708
  "type": "string",
709
709
  "value_allowed_null": false
710
+ },
711
+ {
712
+ "disabled": false,
713
+ "document": "快照保留策略",
714
+ "example": "无",
715
+ "member": "SnapshotRemainPolicy",
716
+ "name": "SnapshotRemainPolicy",
717
+ "output_required": false,
718
+ "required": false,
719
+ "type": "object",
720
+ "value_allowed_null": false
710
721
  }
711
722
  ],
712
723
  "usage": "both"
@@ -746,6 +757,17 @@
746
757
  "required": false,
747
758
  "type": "string",
748
759
  "value_allowed_null": false
760
+ },
761
+ {
762
+ "disabled": false,
763
+ "document": "cos桶所在地域",
764
+ "example": "ap-chongqing",
765
+ "member": "string",
766
+ "name": "Region",
767
+ "output_required": false,
768
+ "required": false,
769
+ "type": "string",
770
+ "value_allowed_null": false
749
771
  }
750
772
  ],
751
773
  "usage": "both"
@@ -1670,7 +1692,7 @@
1670
1692
  "type": "list"
1671
1693
  },
1672
1694
  {
1673
- "disabled": false,
1695
+ "disabled": true,
1674
1696
  "document": "0为默认。1时是对远端的doris进行备份,不周期,一次性",
1675
1697
  "example": "1",
1676
1698
  "member": "int64",
@@ -1679,7 +1701,7 @@
1679
1701
  "type": "int"
1680
1702
  },
1681
1703
  {
1682
- "disabled": false,
1704
+ "disabled": true,
1683
1705
  "document": "远端doris集群的连接信息",
1684
1706
  "example": "DorisSourceInfo",
1685
1707
  "member": "DorisSourceInfo",
@@ -1689,7 +1711,7 @@
1689
1711
  },
1690
1712
  {
1691
1713
  "disabled": false,
1692
- "document": "0为默认。1时是一次性备份。2时是远端备份",
1714
+ "document": "0为周期备份。1时是立即备份。3时是定时备份。",
1693
1715
  "example": "1",
1694
1716
  "member": "int64",
1695
1717
  "name": "BackupTimeType",
@@ -1697,7 +1719,7 @@
1697
1719
  "type": "int"
1698
1720
  },
1699
1721
  {
1700
- "disabled": false,
1722
+ "disabled": true,
1701
1723
  "document": "0为默认。1时是备份完成后立即恢复",
1702
1724
  "example": "1",
1703
1725
  "member": "int64",
@@ -1706,7 +1728,7 @@
1706
1728
  "type": "int"
1707
1729
  },
1708
1730
  {
1709
- "disabled": false,
1731
+ "disabled": true,
1710
1732
  "document": "0为默认。1时是提供自定义的secret连接cos",
1711
1733
  "example": "1",
1712
1734
  "member": "int64",
@@ -1715,7 +1737,7 @@
1715
1737
  "type": "int"
1716
1738
  },
1717
1739
  {
1718
- "disabled": false,
1740
+ "disabled": true,
1719
1741
  "document": "cos认证的信息",
1720
1742
  "example": "1",
1721
1743
  "member": "CosSourceInfo",
@@ -1758,6 +1780,24 @@
1758
1780
  "name": "CosBucket",
1759
1781
  "required": false,
1760
1782
  "type": "string"
1783
+ },
1784
+ {
1785
+ "disabled": false,
1786
+ "document": "快照保留策略",
1787
+ "example": "无",
1788
+ "member": "SnapshotRemainPolicy",
1789
+ "name": "SnapshotRemainPolicy",
1790
+ "required": false,
1791
+ "type": "object"
1792
+ },
1793
+ {
1794
+ "disabled": false,
1795
+ "document": "备份数据所在地域,当前地域应该为空",
1796
+ "example": "ap-chongqing",
1797
+ "member": "string",
1798
+ "name": "DataRemoteRegion",
1799
+ "required": false,
1800
+ "type": "string"
1761
1801
  }
1762
1802
  ],
1763
1803
  "type": "object"
@@ -4852,6 +4892,15 @@
4852
4892
  "name": "TableName",
4853
4893
  "required": false,
4854
4894
  "type": "string"
4895
+ },
4896
+ {
4897
+ "disabled": false,
4898
+ "document": "用户名列表",
4899
+ "example": "[ ]",
4900
+ "member": "string",
4901
+ "name": "UserNames",
4902
+ "required": false,
4903
+ "type": "list"
4855
4904
  }
4856
4905
  ],
4857
4906
  "type": "object"
@@ -5999,6 +6048,16 @@
5999
6048
  "type": "string",
6000
6049
  "value_allowed_null": false
6001
6050
  },
6051
+ {
6052
+ "disabled": false,
6053
+ "document": "虚拟可用区",
6054
+ "example": "virtual-ap-guangzhou-5-0",
6055
+ "member": "string",
6056
+ "name": "VirtualZone",
6057
+ "output_required": false,
6058
+ "type": "string",
6059
+ "value_allowed_null": false
6060
+ },
6002
6061
  {
6003
6062
  "disabled": false,
6004
6063
  "document": "创建时间",
@@ -6666,7 +6725,7 @@
6666
6725
  },
6667
6726
  {
6668
6727
  "disabled": false,
6669
- "document": "更新类型,默认0,1为更新绑定计算组",
6728
+ "document": "更新类型,默认0,1为更新绑定计算组,2为更新默认计算组",
6670
6729
  "example": "0",
6671
6730
  "member": "int64",
6672
6731
  "name": "UpdateType",
@@ -6681,6 +6740,15 @@
6681
6740
  "name": "UpdateComputeGroups",
6682
6741
  "required": false,
6683
6742
  "type": "list"
6743
+ },
6744
+ {
6745
+ "disabled": false,
6746
+ "document": "默认计算组",
6747
+ "example": "tchd-ekwold58-gdviogwc",
6748
+ "member": "string",
6749
+ "name": "DefaultComputeGroup",
6750
+ "required": false,
6751
+ "type": "string"
6684
6752
  }
6685
6753
  ],
6686
6754
  "type": "object"
@@ -6960,6 +7028,16 @@
6960
7028
  "output_required": false,
6961
7029
  "type": "string",
6962
7030
  "value_allowed_null": false
7031
+ },
7032
+ {
7033
+ "disabled": false,
7034
+ "document": "虚拟可用区",
7035
+ "example": "virtual-ap-chongqing-1-1",
7036
+ "member": "string",
7037
+ "name": "VirtualZone",
7038
+ "output_required": false,
7039
+ "type": "string",
7040
+ "value_allowed_null": false
6963
7041
  }
6964
7042
  ],
6965
7043
  "usage": "out"
@@ -7087,6 +7165,17 @@
7087
7165
  "required": false,
7088
7166
  "type": "string",
7089
7167
  "value_allowed_null": false
7168
+ },
7169
+ {
7170
+ "disabled": false,
7171
+ "document": "虚拟可用区",
7172
+ "example": "virtual-ap-chongqing-1-1",
7173
+ "member": "string",
7174
+ "name": "VirtualZone",
7175
+ "output_required": false,
7176
+ "required": false,
7177
+ "type": "string",
7178
+ "value_allowed_null": false
7090
7179
  }
7091
7180
  ],
7092
7181
  "usage": "both"
@@ -8340,6 +8429,16 @@
8340
8429
  "output_required": false,
8341
8430
  "type": "int",
8342
8431
  "value_allowed_null": false
8432
+ },
8433
+ {
8434
+ "disabled": false,
8435
+ "document": "恢复任务id",
8436
+ "example": "3412",
8437
+ "member": "int64",
8438
+ "name": "ID",
8439
+ "output_required": false,
8440
+ "type": "int",
8441
+ "value_allowed_null": false
8343
8442
  }
8344
8443
  ],
8345
8444
  "usage": "out"
@@ -8842,6 +8941,45 @@
8842
8941
  ],
8843
8942
  "usage": "out"
8844
8943
  },
8944
+ "SnapshotRemainPolicy": {
8945
+ "document": "备份快照保留策略",
8946
+ "members": [
8947
+ {
8948
+ "disabled": false,
8949
+ "document": "0-不主动删除;1-超过指定时间周期自动删除;2-保留指定数据快照",
8950
+ "example": "1",
8951
+ "member": "int64",
8952
+ "name": "Type",
8953
+ "output_required": false,
8954
+ "required": false,
8955
+ "type": "int",
8956
+ "value_allowed_null": false
8957
+ },
8958
+ {
8959
+ "disabled": false,
8960
+ "document": "保留快照的时间",
8961
+ "example": "7",
8962
+ "member": "int64",
8963
+ "name": "RemainDays",
8964
+ "output_required": false,
8965
+ "required": false,
8966
+ "type": "int",
8967
+ "value_allowed_null": false
8968
+ },
8969
+ {
8970
+ "disabled": false,
8971
+ "document": "保留最新快照的数量",
8972
+ "example": "10",
8973
+ "member": "int64",
8974
+ "name": "RemainLatestNum",
8975
+ "output_required": false,
8976
+ "required": false,
8977
+ "type": "int",
8978
+ "value_allowed_null": false
8979
+ }
8980
+ ],
8981
+ "usage": "both"
8982
+ },
8845
8983
  "Tag": {
8846
8984
  "document": "标签描述",
8847
8985
  "members": [
@@ -3833,6 +3833,26 @@
3833
3833
  "output_required": false,
3834
3834
  "type": "int",
3835
3835
  "value_allowed_null": false
3836
+ },
3837
+ {
3838
+ "disabled": false,
3839
+ "document": "演练场景",
3840
+ "example": "[{\"TargetId\": 17, \"TargetDesc\": \"张三\"}]\t",
3841
+ "member": "TaskTarget",
3842
+ "name": "TemplateScenario",
3843
+ "output_required": false,
3844
+ "type": "list",
3845
+ "value_allowed_null": false
3846
+ },
3847
+ {
3848
+ "disabled": false,
3849
+ "document": "演练目的",
3850
+ "example": "[{\"TargetId\": 23, \"TargetDesc\": \"张三\"}]",
3851
+ "member": "TaskTarget",
3852
+ "name": "TemplatePurpose",
3853
+ "output_required": false,
3854
+ "type": "list",
3855
+ "value_allowed_null": false
3836
3856
  }
3837
3857
  ],
3838
3858
  "usage": "out"
@@ -1433,7 +1433,7 @@
1433
1433
  },
1434
1434
  {
1435
1435
  "disabled": false,
1436
- "document": "迁移方式标志位,默认为0。0: 桶迁移;1: 清单迁移",
1436
+ "document": "迁移方式标志位,默认为0。0:桶迁移;1:清单迁移",
1437
1437
  "example": "0",
1438
1438
  "member": "uint64",
1439
1439
  "name": "MigrationType",
@@ -1451,7 +1451,7 @@
1451
1451
  },
1452
1452
  {
1453
1453
  "disabled": false,
1454
- "document": "数据源账号的SecretId",
1454
+ "document": "数据源账号的 SecretId",
1455
1455
  "example": "secretid",
1456
1456
  "member": "string",
1457
1457
  "name": "SrcSecretId",
@@ -1460,7 +1460,7 @@
1460
1460
  },
1461
1461
  {
1462
1462
  "disabled": false,
1463
- "document": "数据源账号的SecretKey",
1463
+ "document": "数据源账号的 SecretKey",
1464
1464
  "example": "secretkey",
1465
1465
  "member": "string",
1466
1466
  "name": "SrcSecretKey",
@@ -1469,7 +1469,7 @@
1469
1469
  },
1470
1470
  {
1471
1471
  "disabled": false,
1472
- "document": "文件系统实例Id",
1472
+ "document": "文件系统实例 ID,通过查询文件系统 [DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170) 获取",
1473
1473
  "example": "cfs-xxxxxx",
1474
1474
  "member": "string",
1475
1475
  "name": "FileSystemId",
@@ -1496,7 +1496,7 @@
1496
1496
  },
1497
1497
  {
1498
1498
  "disabled": false,
1499
- "document": "数据源服务商。COS: 腾讯云COS,OSS: 阿里云OSS,OBS:华为云OBS",
1499
+ "document": "数据源服务商。COS:腾讯云COS,OSS:阿里云OSS,OBS:华为云OBS",
1500
1500
  "example": "OSS",
1501
1501
  "member": "string",
1502
1502
  "name": "SrcService",
@@ -1505,7 +1505,7 @@
1505
1505
  },
1506
1506
  {
1507
1507
  "disabled": false,
1508
- "document": "数据源桶名称,名称和地址至少有一个",
1508
+ "document": "数据源桶名称;桶迁移时,BucketName 和 BucketAddress 必填其一,清单迁移时无需填写此参数",
1509
1509
  "example": "testbucket-125xxxxxxx",
1510
1510
  "member": "string",
1511
1511
  "name": "BucketName",
@@ -1523,7 +1523,7 @@
1523
1523
  },
1524
1524
  {
1525
1525
  "disabled": false,
1526
- "document": "数据源桶地址,名称和地址至少有一个",
1526
+ "document": "数据源桶地址;桶迁移时,BucketName 和 BucketAddress 必填其一,清单迁移时无需填写此参数",
1527
1527
  "example": "https://testbucket-125xxxxxx.cos.ap-guangzhou.myqcloud.com",
1528
1528
  "member": "string",
1529
1529
  "name": "BucketAddress",
@@ -1550,7 +1550,7 @@
1550
1550
  },
1551
1551
  {
1552
1552
  "disabled": false,
1553
- "document": "源桶路径,默认为/",
1553
+ "document": "源桶路径,默认为 /",
1554
1554
  "example": "cos/",
1555
1555
  "member": "string",
1556
1556
  "name": "BucketPath",
@@ -1559,7 +1559,7 @@
1559
1559
  },
1560
1560
  {
1561
1561
  "disabled": false,
1562
- "document": "迁移方向。0: 对象存储迁移至文件系统,1: 文件系统迁移至对象存储。默认 0",
1562
+ "document": "迁移方向;0:对象存储迁移至文件系统,1:文件系统迁移至对象存储。默认为0",
1563
1563
  "example": "0",
1564
1564
  "member": "uint64",
1565
1565
  "name": "Direction",
@@ -1574,7 +1574,7 @@
1574
1574
  "members": [
1575
1575
  {
1576
1576
  "disabled": false,
1577
- "document": "迁移任务Id",
1577
+ "document": "迁移任务 ID",
1578
1578
  "example": "tasgagagagi",
1579
1579
  "member": "string",
1580
1580
  "name": "TaskId",
@@ -4385,6 +4385,58 @@ def doDescribeAcLists(args, parsed_globals):
4385
4385
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4386
4386
 
4387
4387
 
4388
+ def doDescribeLogStorageStatistic(args, parsed_globals):
4389
+ g_param = parse_global_arg(parsed_globals)
4390
+
4391
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
4392
+ cred = credential.CVMRoleCredential()
4393
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
4394
+ cred = credential.STSAssumeRoleCredential(
4395
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
4396
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
4397
+ )
4398
+ 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):
4399
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
4400
+ else:
4401
+ cred = credential.Credential(
4402
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
4403
+ )
4404
+ http_profile = HttpProfile(
4405
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
4406
+ reqMethod="POST",
4407
+ endpoint=g_param[OptionsDefine.Endpoint],
4408
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
4409
+ )
4410
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
4411
+ if g_param[OptionsDefine.Language]:
4412
+ profile.language = g_param[OptionsDefine.Language]
4413
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
4414
+ client = mod.CfwClient(cred, g_param[OptionsDefine.Region], profile)
4415
+ client._sdkVersion += ("_CLI_" + __version__)
4416
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
4417
+ model = models.DescribeLogStorageStatisticRequest()
4418
+ model.from_json_string(json.dumps(args))
4419
+ start_time = time.time()
4420
+ while True:
4421
+ rsp = client.DescribeLogStorageStatistic(model)
4422
+ result = rsp.to_json_string()
4423
+ try:
4424
+ json_obj = json.loads(result)
4425
+ except TypeError as e:
4426
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
4427
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
4428
+ break
4429
+ cur_time = time.time()
4430
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
4431
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
4432
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
4433
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
4434
+ else:
4435
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
4436
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
4437
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4438
+
4439
+
4388
4440
  def doExpandCfwVertical(args, parsed_globals):
4389
4441
  g_param = parse_global_arg(parsed_globals)
4390
4442
 
@@ -6040,6 +6092,7 @@ ACTION_MAP = {
6040
6092
  "DescribeBlockIgnoreList": doDescribeBlockIgnoreList,
6041
6093
  "RemoveNatAcRule": doRemoveNatAcRule,
6042
6094
  "DescribeAcLists": doDescribeAcLists,
6095
+ "DescribeLogStorageStatistic": doDescribeLogStorageStatistic,
6043
6096
  "ExpandCfwVertical": doExpandCfwVertical,
6044
6097
  "CreateVpcFwGroup": doCreateVpcFwGroup,
6045
6098
  "ModifyAllPublicIPSwitchStatus": doModifyAllPublicIPSwitchStatus,