tccli 3.0.1347.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 (174) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +3 -76
  3. tccli/services/ai3d/__init__.py +4 -0
  4. tccli/services/{smpn/smpn_client.py → ai3d/ai3d_client.py} +17 -17
  5. tccli/services/ai3d/v20250513/api.json +239 -0
  6. tccli/services/ai3d/v20250513/examples.json +21 -0
  7. tccli/services/aiart/v20221229/api.json +3 -3
  8. tccli/services/autoscaling/v20180419/api.json +11 -0
  9. tccli/services/batch/v20170312/api.json +44 -0
  10. tccli/services/cdb/v20170320/api.json +8 -8
  11. tccli/services/cdb/v20170320/examples.json +1 -1
  12. tccli/services/cdn/v20180606/api.json +5 -5
  13. tccli/services/cdwdoris/v20211228/api.json +145 -7
  14. tccli/services/cfg/v20210820/api.json +20 -0
  15. tccli/services/cfs/v20190719/api.json +10 -10
  16. tccli/services/cfw/cfw_client.py +53 -0
  17. tccli/services/cfw/v20190904/api.json +272 -0
  18. tccli/services/cfw/v20190904/examples.json +8 -0
  19. tccli/services/csip/csip_client.py +833 -144
  20. tccli/services/csip/v20221121/api.json +3304 -1436
  21. tccli/services/csip/v20221121/examples.json +104 -0
  22. tccli/services/cvm/v20170312/api.json +64 -1
  23. tccli/services/cwp/v20180228/api.json +9 -0
  24. tccli/services/cwp/v20180228/examples.json +6 -0
  25. tccli/services/emr/v20190103/api.json +217 -2
  26. tccli/services/es/v20250101/api.json +22 -0
  27. tccli/services/ess/v20201111/api.json +10 -1
  28. tccli/services/essbasic/v20210526/api.json +3 -3
  29. tccli/services/gs/v20191118/api.json +38 -0
  30. tccli/services/igtm/igtm_client.py +159 -0
  31. tccli/services/igtm/v20231024/api.json +577 -0
  32. tccli/services/igtm/v20231024/examples.json +24 -0
  33. tccli/services/iotexplorer/v20190423/api.json +3 -3
  34. tccli/services/lcic/lcic_client.py +53 -0
  35. tccli/services/lcic/v20220817/api.json +53 -0
  36. tccli/services/lcic/v20220817/examples.json +8 -0
  37. tccli/services/live/v20180801/api.json +203 -1
  38. tccli/services/live/v20180801/examples.json +1 -1
  39. tccli/services/lke/v20231130/api.json +248 -2
  40. tccli/services/lke/v20231130/examples.json +1 -1
  41. tccli/services/lkeap/v20240522/api.json +1 -1
  42. tccli/services/mrs/v20200910/api.json +10 -0
  43. tccli/services/nlp/nlp_client.py +4 -322
  44. tccli/services/nlp/v20190408/api.json +0 -459
  45. tccli/services/nlp/v20190408/examples.json +0 -48
  46. tccli/services/ocr/v20181119/api.json +97 -11
  47. tccli/services/omics/v20221128/api.json +38 -0
  48. tccli/services/redis/v20180412/api.json +6 -6
  49. tccli/services/redis/v20180412/examples.json +1 -1
  50. tccli/services/ses/v20201002/api.json +100 -5
  51. tccli/services/tcb/v20180608/api.json +1 -1
  52. tccli/services/tcb/v20180608/examples.json +1 -1
  53. tccli/services/tdmq/v20200217/api.json +19 -0
  54. tccli/services/teo/teo_client.py +281 -16
  55. tccli/services/teo/v20220901/api.json +611 -6
  56. tccli/services/teo/v20220901/examples.json +48 -2
  57. tccli/services/tione/v20211111/api.json +16 -0
  58. tccli/services/tke/tke_client.py +57 -4
  59. tccli/services/tke/v20180525/api.json +24 -24
  60. tccli/services/tke/v20220501/api.json +52 -0
  61. tccli/services/tke/v20220501/examples.json +8 -0
  62. tccli/services/tmt/v20180321/api.json +4 -4
  63. tccli/services/tsf/v20180326/api.json +4 -4
  64. tccli/services/vclm/v20240523/api.json +3 -3
  65. tccli/services/vod/v20180717/api.json +5 -5
  66. tccli/services/vod/v20180717/examples.json +9 -9
  67. tccli/services/vpc/v20170312/api.json +1 -1
  68. tccli/services/vrs/v20200824/api.json +1 -1
  69. {tccli-3.0.1347.1.dist-info → tccli-3.0.1349.1.dist-info}/METADATA +2 -2
  70. {tccli-3.0.1347.1.dist-info → tccli-3.0.1349.1.dist-info}/RECORD +73 -171
  71. tccli/services/cis/__init__.py +0 -4
  72. tccli/services/cis/cis_client.py +0 -525
  73. tccli/services/cis/v20180408/api.json +0 -737
  74. tccli/services/cis/v20180408/examples.json +0 -93
  75. tccli/services/dataintegration/__init__.py +0 -4
  76. tccli/services/dataintegration/dataintegration_client.py +0 -207
  77. tccli/services/dataintegration/v20220613/api.json +0 -87
  78. tccli/services/dataintegration/v20220613/examples.json +0 -13
  79. tccli/services/dtf/__init__.py +0 -4
  80. tccli/services/dtf/dtf_client.py +0 -207
  81. tccli/services/dtf/v20200506/api.json +0 -274
  82. tccli/services/dtf/v20200506/examples.json +0 -13
  83. tccli/services/gpm/__init__.py +0 -4
  84. tccli/services/gpm/gpm_client.py +0 -1108
  85. tccli/services/gpm/v20200820/api.json +0 -1959
  86. tccli/services/gpm/v20200820/examples.json +0 -149
  87. tccli/services/gse/__init__.py +0 -4
  88. tccli/services/gse/gse_client.py +0 -4076
  89. tccli/services/gse/v20191112/api.json +0 -7095
  90. tccli/services/gse/v20191112/examples.json +0 -615
  91. tccli/services/iecp/__init__.py +0 -4
  92. tccli/services/iecp/iecp_client.py +0 -4500
  93. tccli/services/iecp/v20210914/api.json +0 -9770
  94. tccli/services/iecp/v20210914/examples.json +0 -691
  95. tccli/services/iir/__init__.py +0 -4
  96. tccli/services/iir/iir_client.py +0 -207
  97. tccli/services/iir/v20200417/api.json +0 -204
  98. tccli/services/iir/v20200417/examples.json +0 -13
  99. tccli/services/iottid/__init__.py +0 -4
  100. tccli/services/iottid/iottid_client.py +0 -631
  101. tccli/services/iottid/v20190411/api.json +0 -553
  102. tccli/services/iottid/v20190411/examples.json +0 -95
  103. tccli/services/mgobe/__init__.py +0 -4
  104. tccli/services/mgobe/mgobe_client.py +0 -530
  105. tccli/services/mgobe/v20190929/api.json +0 -52
  106. tccli/services/mgobe/v20190929/examples.json +0 -13
  107. tccli/services/mgobe/v20201014/api.json +0 -671
  108. tccli/services/mgobe/v20201014/examples.json +0 -61
  109. tccli/services/mvj/__init__.py +0 -4
  110. tccli/services/mvj/mvj_client.py +0 -207
  111. tccli/services/mvj/v20190926/api.json +0 -123
  112. tccli/services/mvj/v20190926/examples.json +0 -19
  113. tccli/services/pds/__init__.py +0 -4
  114. tccli/services/pds/pds_client.py +0 -260
  115. tccli/services/pds/v20210701/api.json +0 -193
  116. tccli/services/pds/v20210701/examples.json +0 -21
  117. tccli/services/smpn/__init__.py +0 -4
  118. tccli/services/smpn/v20190822/api.json +0 -191
  119. tccli/services/smpn/v20190822/examples.json +0 -21
  120. tccli/services/solar/__init__.py +0 -4
  121. tccli/services/solar/solar_client.py +0 -1055
  122. tccli/services/solar/v20181011/api.json +0 -1760
  123. tccli/services/solar/v20181011/examples.json +0 -125
  124. tccli/services/tan/__init__.py +0 -4
  125. tccli/services/tan/tan_client.py +0 -207
  126. tccli/services/tan/v20220420/api.json +0 -65
  127. tccli/services/tan/v20220420/examples.json +0 -19
  128. tccli/services/tav/__init__.py +0 -4
  129. tccli/services/tav/tav_client.py +0 -366
  130. tccli/services/tav/v20190118/api.json +0 -262
  131. tccli/services/tav/v20190118/examples.json +0 -37
  132. tccli/services/tbm/__init__.py +0 -4
  133. tccli/services/tbm/tbm_client.py +0 -631
  134. tccli/services/tbm/v20180129/api.json +0 -1037
  135. tccli/services/tbm/v20180129/examples.json +0 -77
  136. tccli/services/tcex/__init__.py +0 -4
  137. tccli/services/tcex/tcex_client.py +0 -260
  138. tccli/services/tcex/v20200727/api.json +0 -158
  139. tccli/services/tcex/v20200727/examples.json +0 -21
  140. tccli/services/tci/__init__.py +0 -4
  141. tccli/services/tci/tci_client.py +0 -2327
  142. tccli/services/tci/v20190318/api.json +0 -4958
  143. tccli/services/tci/v20190318/examples.json +0 -333
  144. tccli/services/tic/__init__.py +0 -4
  145. tccli/services/tic/tic_client.py +0 -843
  146. tccli/services/tic/v20201117/api.json +0 -1067
  147. tccli/services/tic/v20201117/examples.json +0 -121
  148. tccli/services/ticm/__init__.py +0 -4
  149. tccli/services/ticm/ticm_client.py +0 -313
  150. tccli/services/ticm/v20181127/api.json +0 -1391
  151. tccli/services/ticm/v20181127/examples.json +0 -53
  152. tccli/services/tics/__init__.py +0 -4
  153. tccli/services/tics/tics_client.py +0 -366
  154. tccli/services/tics/v20181115/api.json +0 -694
  155. tccli/services/tics/v20181115/examples.json +0 -37
  156. tccli/services/tiems/__init__.py +0 -4
  157. tccli/services/tiems/tiems_client.py +0 -1479
  158. tccli/services/tiems/v20190416/api.json +0 -3144
  159. tccli/services/tiems/v20190416/examples.json +0 -217
  160. tccli/services/trdp/__init__.py +0 -4
  161. tccli/services/trdp/trdp_client.py +0 -207
  162. tccli/services/trdp/v20220726/api.json +0 -843
  163. tccli/services/trdp/v20220726/examples.json +0 -13
  164. tccli/services/ump/__init__.py +0 -4
  165. tccli/services/ump/ump_client.py +0 -1055
  166. tccli/services/ump/v20200918/api.json +0 -2168
  167. tccli/services/ump/v20200918/examples.json +0 -141
  168. tccli/services/youmall/__init__.py +0 -4
  169. tccli/services/youmall/v20180228/api.json +0 -3572
  170. tccli/services/youmall/v20180228/examples.json +0 -313
  171. tccli/services/youmall/youmall_client.py +0 -1797
  172. {tccli-3.0.1347.1.dist-info → tccli-3.0.1349.1.dist-info}/WHEEL +0 -0
  173. {tccli-3.0.1347.1.dist-info → tccli-3.0.1349.1.dist-info}/entry_points.txt +0 -0
  174. {tccli-3.0.1347.1.dist-info → tccli-3.0.1349.1.dist-info}/license_files/LICENSE +0 -0
@@ -3723,6 +3723,50 @@
3723
3723
  "required": false,
3724
3724
  "type": "string",
3725
3725
  "value_allowed_null": false
3726
+ },
3727
+ {
3728
+ "disabled": false,
3729
+ "document": "线路类型。各种线路类型详情可参考:[EIP 的 IP 地址类型](https://cloud.tencent.com/document/product/1199/41646)。默认值:BGP。\n\n- BGP:常规 BGP 线路\n\n已开通静态单线IP白名单的用户,可选值:\n\n - CMCC:中国移动\n - CTCC:中国电信\n - CUCC:中国联通\n\n注意:仅部分地域支持静态单线IP。\n示例值:BGP",
3730
+ "example": "CMCC",
3731
+ "member": "string",
3732
+ "name": "InternetServiceProvider",
3733
+ "output_required": false,
3734
+ "required": false,
3735
+ "type": "string",
3736
+ "value_allowed_null": false
3737
+ },
3738
+ {
3739
+ "disabled": false,
3740
+ "document": "公网 IP 类型。\n\n- WanIP:普通公网IP。\n- HighQualityEIP:精品 IP。仅新加坡和中国香港支持精品IP。\n- AntiDDoSEIP:高防 IP。仅部分地域支持高防IP,详情可见[弹性公网IP产品概述](https://cloud.tencent.com/document/product/1199/41646)。\n\n如需为资源分配公网IPv4地址,请指定公网IPv4地址类型。\n\n示例值:WanIP\n\n此功能仅部分地区灰度开发,如需使用[请提交工单咨询](https://console.cloud.tencent.com/workorder/category)",
3741
+ "example": "WanIP",
3742
+ "member": "string",
3743
+ "name": "IPv4AddressType",
3744
+ "output_required": false,
3745
+ "required": false,
3746
+ "type": "string",
3747
+ "value_allowed_null": false
3748
+ },
3749
+ {
3750
+ "disabled": false,
3751
+ "document": "弹性公网 IPv6 类型。\n- EIPv6:弹性公网 IPv6。\n- HighQualityEIPv6:精品 IPv6。仅中国香港支持精品IPv6。\n\n如需为资源分配IPv6地址,请指定弹性公网IPv6类型。\n示例值:EIPv6\n\n此功能仅部分地区灰度开发,如需使用[请提交工单咨询](https://console.cloud.tencent.com/workorder/category)",
3752
+ "example": "EIPv6",
3753
+ "member": "string",
3754
+ "name": "IPv6AddressType",
3755
+ "output_required": false,
3756
+ "required": false,
3757
+ "type": "string",
3758
+ "value_allowed_null": false
3759
+ },
3760
+ {
3761
+ "disabled": false,
3762
+ "document": "高防包唯一ID,申请高防IP时,该字段必传。\n示例值:bgp-12345678\n",
3763
+ "example": "bgp-12345678",
3764
+ "member": "string",
3765
+ "name": "AntiDDoSPackageId",
3766
+ "output_required": false,
3767
+ "required": false,
3768
+ "type": "string",
3769
+ "value_allowed_null": false
3726
3770
  }
3727
3771
  ],
3728
3772
  "usage": "both"
@@ -232,7 +232,7 @@
232
232
  "status": "deprecated"
233
233
  },
234
234
  "DeleteAuditRuleTemplates": {
235
- "document": "删除审计规则模板",
235
+ "document": "本接口(DeleteAuditRuleTemplates)用于删除审计规则模板。",
236
236
  "input": "DeleteAuditRuleTemplatesRequest",
237
237
  "name": "删除审计规则模板",
238
238
  "output": "DeleteAuditRuleTemplatesResponse",
@@ -7301,7 +7301,7 @@
7301
7301
  "members": [
7302
7302
  {
7303
7303
  "disabled": false,
7304
- "document": "审计规则模板ID,可通过[DescribeAuditRuleTemplates](https://cloud.tencent.com/document/api/236/101811)接口获取,单次允许最多删除5个规则模板。",
7304
+ "document": "审计规则模板 ID,可通过 [DescribeAuditRuleTemplates](https://cloud.tencent.com/document/api/236/101811) 接口获取,单次允许最多删除5个规则模板。",
7305
7305
  "example": "cdb-art-l1mlbo59",
7306
7306
  "member": "string",
7307
7307
  "name": "RuleTemplateIds",
@@ -16924,7 +16924,7 @@
16924
16924
  },
16925
16925
  {
16926
16926
  "disabled": false,
16927
- "document": "要修改的安全组 ID 列表,一个或者多个安全组 ID 组成的数组。可通过 [DescribeDBSecurityGroups](hhttps://cloud.tencent.com/document/api/236/15854) 接口获取。输入的安全组 ID 数组无长度限制。\n注意:该入参会全量替换存量已有集合,非增量更新。修改需传入预期的全量集合。",
16927
+ "document": "要修改的安全组 ID 列表,一个或者多个安全组 ID 组成的数组。可通过 [DescribeDBSecurityGroups](https://cloud.tencent.com/document/product/236/15854) 接口获取。输入的安全组 ID 数组无长度限制。\n注意:该入参会全量替换存量已有集合,非增量更新。修改需传入预期的全量集合。",
16928
16928
  "example": "[\"sg-ajr1jzgj\"]",
16929
16929
  "member": "string",
16930
16930
  "name": "SecurityGroupIds",
@@ -17188,7 +17188,7 @@
17188
17188
  "members": [
17189
17189
  {
17190
17190
  "disabled": false,
17191
- "document": "实例 ID",
17191
+ "document": "实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。",
17192
17192
  "example": "cdb-uns231ns",
17193
17193
  "member": "string",
17194
17194
  "name": "InstanceId",
@@ -17197,8 +17197,8 @@
17197
17197
  },
17198
17198
  {
17199
17199
  "disabled": false,
17200
- "document": "要增加或修改的标签。",
17201
- "example": "",
17200
+ "document": "要增加或修改的标签。ReplaceTags 和 DeleteTags 必填一个。",
17201
+ "example": "[{\"TagKey\": \"march\",\"TagValue\": \"march1\"}]",
17202
17202
  "member": "TagInfo",
17203
17203
  "name": "ReplaceTags",
17204
17204
  "required": false,
@@ -17206,8 +17206,8 @@
17206
17206
  },
17207
17207
  {
17208
17208
  "disabled": false,
17209
- "document": "要删除的标签。",
17210
- "example": "",
17209
+ "document": "要删除的标签。ReplaceTags 和 DeleteTags 必填一个。",
17210
+ "example": "[{\"TagKey\": \"andy\",\"TagValue\": \"andy1\"}]",
17211
17211
  "member": "TagInfo",
17212
17212
  "name": "DeleteTags",
17213
17213
  "required": false,
@@ -302,7 +302,7 @@
302
302
  ],
303
303
  "DeleteAuditRuleTemplates": [
304
304
  {
305
- "document": "",
305
+ "document": "",
306
306
  "input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAuditRuleTemplates\n<公共请求参数>\n\n{\n \"RuleTemplateIds\": [\n \"cdb-rt-ws23fwu8\"\n ]\n}",
307
307
  "output": "{\n \"Response\": {\n \"RequestId\": \"43-12121-812w1221213-62usf9093\"\n }\n}",
308
308
  "title": "删除审计规则模板"
@@ -533,7 +533,7 @@
533
533
  "status": "deprecated"
534
534
  },
535
535
  "UpdateDomainConfig": {
536
- "document": "UpdateDomainConfig 用于修改内容分发网络加速域名配置信息。\n注意:如果需要更新复杂类型的配置项,必须传递整个对象的所有属性,未传递的属性将使用默认值,建议通过查询接口获取配置属性后,直接修改后传递给本接口。\n操作审计相关:接口的入参可能包含密钥等敏感信息,所以此接口的入参不会上报到操作审计。",
536
+ "document": "UpdateDomainConfig 用于修改内容分发网络加速域名配置信息。\n注意:如果需要更新复杂类型的配置项,必须传递整个对象的所有属性,未传递的属性将使用默认值,建议通过查询接口获取配置属性后,直接修改后传递给本接口;如果仅修改单独配置项只传对应配置参数即可。\n操作审计相关:接口的入参可能包含密钥等敏感信息,所以此接口的入参不会上报到操作审计。",
537
537
  "input": "UpdateDomainConfigRequest",
538
538
  "name": "更新加速域名配置",
539
539
  "output": "UpdateDomainConfigResponse",
@@ -10654,7 +10654,7 @@
10654
10654
  },
10655
10655
  {
10656
10656
  "disabled": false,
10657
- "document": "IP 黑白名单分路径配置,白名单功能\n注意:此字段可能返回 null,表示取不到有效值。",
10657
+ "document": "IP 黑白名单分路径配置,白名单功能。黑白名单 IP 总数不能超过 1000 个。\n注意:此字段可能返回 null,表示取不到有效值。",
10658
10658
  "example": "null",
10659
10659
  "member": "IpFilterPathRule",
10660
10660
  "name": "FilterRules",
@@ -10693,7 +10693,7 @@
10693
10693
  },
10694
10694
  {
10695
10695
  "disabled": false,
10696
- "document": "IP 黑白名单列表\n支持 X.X.X.X 格式IPV4地址 或X:X:X:X:X:X:X:X 格式IPV6地址, 或网段格式/X(IPV4:1≤X≤32;IPV6:1≤X≤128)\n最多可填充 200 个白名单或 500 个黑名单;\n注意:此字段可能返回 null,表示取不到有效值。",
10696
+ "document": "IP 黑白名单列表\n支持 X.X.X.X 格式IPV4地址 或X:X:X:X:X:X:X:X 格式IPV6地址, 或网段格式/X(IPV4:1≤X≤32;IPV6:1≤X≤128)\n最多可填充 500 个白名单或 200 个黑名单;\n注意:此字段可能返回 null,表示取不到有效值。",
10697
10697
  "example": "1.1.1.1",
10698
10698
  "member": "string",
10699
10699
  "name": "Filters",
@@ -18014,7 +18014,7 @@
18014
18014
  },
18015
18015
  {
18016
18016
  "disabled": false,
18017
- "document": "UA黑白名单生效规则列表\n注意:此字段可能返回 null,表示取不到有效值。",
18017
+ "document": "UA黑白名单生效规则列表,不能超过10条规则\n注意:此字段可能返回 null,表示取不到有效值。",
18018
18018
  "example": "无",
18019
18019
  "member": "UserAgentFilterRule",
18020
18020
  "name": "FilterRules",
@@ -18053,7 +18053,7 @@
18053
18053
  },
18054
18054
  {
18055
18055
  "disabled": false,
18056
- "document": "UserAgent列表\n注意:此字段可能返回 null,表示取不到有效值。",
18056
+ "document": "UserAgent列表,UserAgent 个数不能超过 10个\n注意:此字段可能返回 null,表示取不到有效值。",
18057
18057
  "example": "curl/7.68.0",
18058
18058
  "member": "string",
18059
18059
  "name": "UserAgents",
@@ -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,