tccli 3.0.1391.1__py2.py3-none-any.whl → 3.0.1414.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.

Potentially problematic release.


This version of tccli might be problematic. Click here for more details.

Files changed (226) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +2 -1
  3. tccli/services/ai3d/v20250513/api.json +22 -4
  4. tccli/services/aiart/aiart_client.py +173 -67
  5. tccli/services/aiart/v20221229/api.json +193 -0
  6. tccli/services/aiart/v20221229/examples.json +16 -0
  7. tccli/services/apm/apm_client.py +53 -0
  8. tccli/services/apm/v20210622/api.json +354 -0
  9. tccli/services/apm/v20210622/examples.json +8 -0
  10. tccli/services/asr/v20190614/api.json +3 -3
  11. tccli/services/autoscaling/v20180419/api.json +24 -2
  12. tccli/services/batch/v20170312/api.json +1 -1
  13. tccli/services/bda/bda_client.py +15 -704
  14. tccli/services/bda/v20200324/api.json +107 -1819
  15. tccli/services/bda/v20200324/examples.json +0 -176
  16. tccli/services/billing/billing_client.py +326 -8
  17. tccli/services/billing/v20180709/api.json +2200 -255
  18. tccli/services/billing/v20180709/examples.json +48 -0
  19. tccli/services/cam/v20190116/api.json +4 -4
  20. tccli/services/captcha/v20190722/api.json +3 -3
  21. tccli/services/cat/v20180409/api.json +7 -7
  22. tccli/services/ccc/ccc_client.py +235 -76
  23. tccli/services/ccc/v20200210/api.json +502 -18
  24. tccli/services/ccc/v20200210/examples.json +24 -0
  25. tccli/services/cdb/cdb_client.py +106 -0
  26. tccli/services/cdb/v20170320/api.json +257 -44
  27. tccli/services/cdb/v20170320/examples.json +22 -6
  28. tccli/services/cdn/cdn_client.py +4 -163
  29. tccli/services/cdn/v20180606/api.json +61 -310
  30. tccli/services/cdn/v20180606/examples.json +1 -25
  31. tccli/services/cdwdoris/v20211228/api.json +51 -12
  32. tccli/services/cdwpg/v20201230/api.json +11 -1
  33. tccli/services/cdwpg/v20201230/examples.json +1 -1
  34. tccli/services/cfg/v20210820/api.json +11 -1
  35. tccli/services/cfs/cfs_client.py +41 -94
  36. tccli/services/cfs/v20190719/api.json +171 -55
  37. tccli/services/cfs/v20190719/examples.json +1 -9
  38. tccli/services/cfw/v20190904/api.json +122 -10
  39. tccli/services/ckafka/ckafka_client.py +188 -29
  40. tccli/services/ckafka/v20190819/api.json +277 -4
  41. tccli/services/ckafka/v20190819/examples.json +25 -1
  42. tccli/services/clb/clb_client.py +0 -265
  43. tccli/services/clb/v20180317/api.json +130 -296
  44. tccli/services/clb/v20180317/examples.json +12 -40
  45. tccli/services/cloudapp/v20220530/api.json +55 -0
  46. tccli/services/cloudaudit/v20190319/api.json +11 -0
  47. tccli/services/cloudhsm/v20191112/api.json +10 -10
  48. tccli/services/cls/v20201016/api.json +63 -45
  49. tccli/services/cls/v20201016/examples.json +10 -4
  50. tccli/services/csip/v20221121/api.json +53 -3
  51. tccli/services/ctem/v20231128/api.json +320 -0
  52. tccli/services/ctem/v20231128/examples.json +3 -3
  53. tccli/services/cvm/cvm_client.py +0 -212
  54. tccli/services/cvm/v20170312/api.json +91 -843
  55. tccli/services/cvm/v20170312/examples.json +32 -58
  56. tccli/services/cynosdb/cynosdb_client.py +167 -8
  57. tccli/services/cynosdb/v20190107/api.json +1126 -148
  58. tccli/services/cynosdb/v20190107/examples.json +31 -7
  59. tccli/services/dbbrain/dbbrain_client.py +246 -87
  60. tccli/services/dbbrain/v20191016/api.json +74 -62
  61. tccli/services/dbbrain/v20191016/examples.json +1 -1
  62. tccli/services/dbbrain/v20210527/api.json +601 -177
  63. tccli/services/dbbrain/v20210527/examples.json +28 -4
  64. tccli/services/dc/v20180410/api.json +101 -3
  65. tccli/services/dcdb/v20180411/api.json +1 -1
  66. tccli/services/dlc/dlc_client.py +53 -0
  67. tccli/services/dlc/v20210125/api.json +237 -24
  68. tccli/services/dlc/v20210125/examples.json +12 -4
  69. tccli/services/dnspod/dnspod_client.py +106 -0
  70. tccli/services/dnspod/v20210323/api.json +126 -20
  71. tccli/services/dnspod/v20210323/examples.json +17 -7
  72. tccli/services/dsgc/v20190723/api.json +73 -15
  73. tccli/services/dts/v20180330/api.json +4 -4
  74. tccli/services/dts/v20211206/api.json +408 -127
  75. tccli/services/dts/v20211206/examples.json +15 -9
  76. tccli/services/eb/v20210416/api.json +41 -1
  77. tccli/services/eb/v20210416/examples.json +1 -1
  78. tccli/services/emr/v20190103/api.json +56 -9
  79. tccli/services/emr/v20190103/examples.json +5 -5
  80. tccli/services/es/es_client.py +273 -8
  81. tccli/services/es/v20180416/api.json +845 -33
  82. tccli/services/es/v20180416/examples.json +33 -1
  83. tccli/services/es/v20250101/api.json +135 -2
  84. tccli/services/es/v20250101/examples.json +8 -0
  85. tccli/services/ess/ess_client.py +509 -32
  86. tccli/services/ess/v20201111/api.json +1366 -113
  87. tccli/services/ess/v20201111/examples.json +94 -10
  88. tccli/services/essbasic/v20210526/api.json +265 -27
  89. tccli/services/essbasic/v20210526/examples.json +12 -12
  90. tccli/services/facefusion/v20220927/api.json +1 -1
  91. tccli/services/gaap/v20180529/api.json +18 -8
  92. tccli/services/gme/gme_client.py +53 -0
  93. tccli/services/gme/v20180711/api.json +241 -1
  94. tccli/services/gme/v20180711/examples.json +8 -0
  95. tccli/services/gs/gs_client.py +216 -4
  96. tccli/services/gs/v20191118/api.json +202 -1
  97. tccli/services/gs/v20191118/examples.json +32 -0
  98. tccli/services/gwlb/gwlb_client.py +53 -0
  99. tccli/services/gwlb/v20240906/api.json +150 -0
  100. tccli/services/gwlb/v20240906/examples.json +8 -0
  101. tccli/services/hai/v20230812/api.json +5 -5
  102. tccli/services/hunyuan/v20230901/api.json +3 -3
  103. tccli/services/hunyuan/v20230901/examples.json +1 -1
  104. tccli/services/iai/v20180301/api.json +227 -207
  105. tccli/services/iai/v20180301/examples.json +26 -26
  106. tccli/services/iai/v20200303/api.json +4 -4
  107. tccli/services/iai/v20200303/examples.json +1 -1
  108. tccli/services/ioa/ioa_client.py +265 -0
  109. tccli/services/ioa/v20220601/api.json +781 -85
  110. tccli/services/ioa/v20220601/examples.json +46 -0
  111. tccli/services/iotexplorer/iotexplorer_client.py +387 -16
  112. tccli/services/iotexplorer/v20190423/api.json +1183 -63
  113. tccli/services/iotexplorer/v20190423/examples.json +92 -0
  114. tccli/services/keewidb/v20220308/api.json +69 -17
  115. tccli/services/keewidb/v20220308/examples.json +5 -5
  116. tccli/services/lcic/v20220817/api.json +61 -15
  117. tccli/services/lighthouse/v20200324/api.json +193 -24
  118. tccli/services/lighthouse/v20200324/examples.json +9 -3
  119. tccli/services/live/v20180801/api.json +6 -6
  120. tccli/services/live/v20180801/examples.json +7 -1
  121. tccli/services/lke/lke_client.py +40 -93
  122. tccli/services/lke/v20231130/api.json +943 -390
  123. tccli/services/lke/v20231130/examples.json +38 -46
  124. tccli/services/lkeap/v20240522/api.json +39 -12
  125. tccli/services/lkeap/v20240522/examples.json +12 -0
  126. tccli/services/mariadb/v20170312/api.json +1 -1
  127. tccli/services/mna/v20210119/api.json +11 -2
  128. tccli/services/mna/v20210119/examples.json +1 -1
  129. tccli/services/mongodb/mongodb_client.py +334 -16
  130. tccli/services/mongodb/v20190725/api.json +1092 -383
  131. tccli/services/mongodb/v20190725/examples.json +69 -21
  132. tccli/services/monitor/monitor_client.py +106 -0
  133. tccli/services/monitor/v20180724/api.json +383 -12
  134. tccli/services/monitor/v20180724/examples.json +24 -2
  135. tccli/services/mps/mps_client.py +220 -8
  136. tccli/services/mps/v20190612/api.json +1999 -179
  137. tccli/services/mps/v20190612/examples.json +56 -6
  138. tccli/services/mqtt/v20240516/api.json +10 -0
  139. tccli/services/mqtt/v20240516/examples.json +3 -9
  140. tccli/services/nlp/v20190408/api.json +6 -6
  141. tccli/services/oceanus/oceanus_client.py +318 -0
  142. tccli/services/oceanus/v20190422/api.json +461 -26
  143. tccli/services/oceanus/v20190422/examples.json +50 -2
  144. tccli/services/ocr/ocr_client.py +41 -253
  145. tccli/services/ocr/v20181119/api.json +153 -659
  146. tccli/services/ocr/v20181119/examples.json +8 -40
  147. tccli/services/omics/v20221128/api.json +90 -7
  148. tccli/services/organization/v20210331/api.json +46 -7
  149. tccli/services/postgres/v20170312/api.json +333 -77
  150. tccli/services/postgres/v20170312/examples.json +37 -31
  151. tccli/services/privatedns/privatedns_client.py +641 -58
  152. tccli/services/privatedns/v20201028/api.json +930 -19
  153. tccli/services/privatedns/v20201028/examples.json +91 -3
  154. tccli/services/pts/v20210728/api.json +2 -2
  155. tccli/services/redis/v20180412/api.json +303 -109
  156. tccli/services/redis/v20180412/examples.json +12 -12
  157. tccli/services/region/v20220627/api.json +1 -1
  158. tccli/services/rum/v20210622/api.json +22 -4
  159. tccli/services/rum/v20210622/examples.json +2 -2
  160. tccli/services/sms/v20190711/api.json +12 -12
  161. tccli/services/sms/v20190711/examples.json +9 -3
  162. tccli/services/sms/v20210111/api.json +13 -13
  163. tccli/services/sms/v20210111/examples.json +8 -2
  164. tccli/services/sqlserver/v20180328/api.json +46 -7
  165. tccli/services/sqlserver/v20180328/examples.json +2 -2
  166. tccli/services/ssl/v20191205/api.json +28 -0
  167. tccli/services/svp/v20240125/api.json +14 -4
  168. tccli/services/tag/v20180813/api.json +3 -3
  169. tccli/services/tat/v20201028/api.json +22 -3
  170. tccli/services/tcb/v20180608/api.json +1 -1
  171. tccli/services/tcss/tcss_client.py +228 -69
  172. tccli/services/tcss/v20201101/api.json +273 -25
  173. tccli/services/tcss/v20201101/examples.json +26 -2
  174. tccli/services/teo/teo_client.py +317 -52
  175. tccli/services/teo/v20220901/api.json +1824 -242
  176. tccli/services/teo/v20220901/examples.json +109 -21
  177. tccli/services/thpc/thpc_client.py +57 -4
  178. tccli/services/thpc/v20230321/api.json +163 -21
  179. tccli/services/thpc/v20230321/examples.json +13 -5
  180. tccli/services/tione/tione_client.py +163 -4
  181. tccli/services/tione/v20211111/api.json +285 -21
  182. tccli/services/tione/v20211111/examples.json +27 -3
  183. tccli/services/tke/tke_client.py +8 -8
  184. tccli/services/tke/v20180525/api.json +168 -130
  185. tccli/services/tke/v20180525/examples.json +20 -20
  186. tccli/services/tke/v20220501/api.json +215 -3
  187. tccli/services/tke/v20220501/examples.json +8 -0
  188. tccli/services/tms/tms_client.py +106 -0
  189. tccli/services/tms/v20201229/api.json +249 -3
  190. tccli/services/tms/v20201229/examples.json +16 -0
  191. tccli/services/tmt/v20180321/api.json +78 -1
  192. tccli/services/trabbit/v20230418/api.json +271 -4
  193. tccli/services/trabbit/v20230418/examples.json +9 -3
  194. tccli/services/trocket/v20230308/api.json +4 -4
  195. tccli/services/trro/trro_client.py +106 -0
  196. tccli/services/trro/v20220325/api.json +456 -0
  197. tccli/services/trro/v20220325/examples.json +16 -0
  198. tccli/services/trtc/v20190722/api.json +197 -49
  199. tccli/services/trtc/v20190722/examples.json +4 -4
  200. tccli/services/tse/v20201207/api.json +69 -2
  201. tccli/services/tse/v20201207/examples.json +3 -3
  202. tccli/services/tsf/v20180326/api.json +70 -7
  203. tccli/services/tsf/v20180326/examples.json +2 -2
  204. tccli/services/vclm/v20240523/api.json +145 -0
  205. tccli/services/vclm/v20240523/examples.json +16 -0
  206. tccli/services/vclm/vclm_client.py +106 -0
  207. tccli/services/vcube/v20220410/api.json +1 -1
  208. tccli/services/vod/v20180717/api.json +7 -7
  209. tccli/services/vpc/v20170312/api.json +1216 -70
  210. tccli/services/vpc/v20170312/examples.json +139 -3
  211. tccli/services/vpc/vpc_client.py +1023 -122
  212. tccli/services/vrs/v20200824/api.json +11 -11
  213. tccli/services/vrs/v20200824/examples.json +1 -1
  214. tccli/services/vtc/v20240223/api.json +14 -14
  215. tccli/services/waf/v20180125/api.json +812 -143
  216. tccli/services/waf/v20180125/examples.json +2 -2
  217. tccli/services/wedata/v20210820/api.json +1281 -601
  218. tccli/services/wedata/v20210820/examples.json +127 -157
  219. tccli/services/wedata/v20250806/api.json +19335 -0
  220. tccli/services/wedata/v20250806/examples.json +999 -0
  221. tccli/services/wedata/wedata_client.py +7072 -1131
  222. {tccli-3.0.1391.1.dist-info → tccli-3.0.1414.1.dist-info}/METADATA +9 -7
  223. {tccli-3.0.1391.1.dist-info → tccli-3.0.1414.1.dist-info}/RECORD +226 -224
  224. {tccli-3.0.1391.1.dist-info → tccli-3.0.1414.1.dist-info}/WHEEL +1 -1
  225. {tccli-3.0.1391.1.dist-info → tccli-3.0.1414.1.dist-info}/entry_points.txt +0 -0
  226. {tccli-3.0.1391.1.dist-info/license_files → tccli-3.0.1414.1.dist-info/licenses}/LICENSE +0 -0
@@ -156,7 +156,7 @@
156
156
  {
157
157
  "document": "",
158
158
  "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateNativeGatewayServiceSource\n<公共请求参数>\n\n{\n \"GatewayID\": \"gateway-dde03567\",\n \"SourceID\": \"ins-5ef8277d\",\n \"SourceName\": \"nacos-learn-prod\",\n \"SourceType\": \"TSE-Nacos\",\n \"SourceInfo\": {\n \"Addresses\": [\n \"10.0.0.1:8848\"\n ],\n \"VpcInfo\": {\n \"VpcID\": \"vpc-83p03121\",\n \"SubnetID\": \"subnet-83p03121\"\n },\n \"Auth\": {\n \"Username\": \"tse@tencentUser\",\n \"Password\": \"tse@tencentPwd\"\n }\n }\n}",
159
- "output": "{\n \"Response\": {\n \"Result\": true,\n \"RequestId\": \"0f1f5ecf-cf0d-47ea-95c4-7ebe260c2f06\"\n }\n}",
159
+ "output": "{\n \"Response\": {\n \"Result\": true,\n \"SourceID\": \"cls-koqdd0fq\",\n \"RequestId\": \"0f1f5ecf-cf0d-47ea-95c4-7ebe260c2f06\"\n }\n}",
160
160
  "title": "创建服务来源实例"
161
161
  }
162
162
  ],
@@ -641,7 +641,7 @@
641
641
  "DescribeNativeGatewayServiceSources": [
642
642
  {
643
643
  "document": "",
644
- "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeNativeGatewayServiceSources\n<公共请求参数>\n\n{\n \"SourceName\": \"nacos-learn-prod\",\n \"OrderType\": \"AES\",\n \"Limit\": 1,\n \"SourceTypes\": [\n \"TSE-Nacos\"\n ],\n \"OrderField\": \"SourceName\",\n \"Offset\": 1,\n \"GatewayID\": \"gateway-dde03567\"\n}",
644
+ "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeNativeGatewayServiceSources\n<公共请求参数>\n\n{\n \"SourceID\": \"ins-5ef8277d\",\n \"SourceName\": \"nacos-learn-prod\",\n \"OrderType\": \"AES\",\n \"Limit\": 1,\n \"SourceTypes\": [\n \"TSE-Nacos\"\n ],\n \"OrderField\": \"SourceName\",\n \"Offset\": 1,\n \"GatewayID\": \"gateway-dde03567\"\n}",
645
645
  "output": "{\n \"Response\": {\n \"List\": [\n {\n \"GatewayID\": \"gateway-dde03567\",\n \"SourceID\": \"ins-5ef8277d\",\n \"SourceName\": \"nacos-learn-prod\",\n \"SourceType\": \"TSE-Nacos\",\n \"SourceInfo\": {\n \"VpcInfo\": {\n \"VpcID\": \"vpc-83p03121\",\n \"SubnetID\": \"subnet-83p03121\"\n },\n \"Addresses\": [\n \"10.0.0.1:8848\"\n ],\n \"Auth\": {\n \"Username\": \"tse@tencentUser\",\n \"Password\": \"tse@tencentPwd\",\n \"AccessToken\": \"\"\n }\n },\n \"CreateTime\": \"2024-12-09 18:11:19\",\n \"ModifyTime\": \"2024-12-09 18:11:19\"\n }\n ],\n \"RequestId\": \"0bcf3f70-550e-439d-81ee-7ebe260c2f06\",\n \"Total\": 3\n }\n}",
646
646
  "title": "查询网关服务来源实例列表"
647
647
  }
@@ -873,7 +873,7 @@
873
873
  "ModifyNetworkBasicInfo": [
874
874
  {
875
875
  "document": "修改Kong客户端内网网络信息",
876
- "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyNetworkBasicInfo\n<公共请求参数>\n\n{\n \"GatewayId\": \"gatway-dde03767\",\n \"GroupId\": \"group-4se0czf7\",\n \"NetworkType\": \"Open\",\n \"Vip\": \"172.10.10.1\",\n \"InternetMaxBandwidthOut\": 1,\n \"Description\": \"公网入口负载均衡\"\n}",
876
+ "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyNetworkBasicInfo\n<公共请求参数>\n\n{\n \"GatewayId\": \"gatway-dde03767\",\n \"GroupId\": \"group-4se0czf7\",\n \"NetworkType\": \"Open\",\n \"Vip\": \"172.10.10.1\",\n \"InternetMaxBandwidthOut\": 1,\n \"Description\": \"公网入口负载均衡\",\n \"SlaType\": \"clb.c3.small\"\n}",
877
877
  "output": "{\n \"Response\": {\n \"RequestId\": \"ffadafb6-545d-461c-ad8c-baa26c0f8955\"\n }\n}",
878
878
  "title": "修改网关实例网络基本信息"
879
879
  }
@@ -12083,6 +12083,15 @@
12083
12083
  "name": "Partition",
12084
12084
  "required": false,
12085
12085
  "type": "int"
12086
+ },
12087
+ {
12088
+ "disabled": false,
12089
+ "document": "是否是增量部署,增量部署只运行增量覆盖一级参数,不支持对一级参数中的子参数进行增量更新,例如更新VolumeMountInfoList时必须传入VolumeMountInfoList更新后的全量参数",
12090
+ "example": "false",
12091
+ "member": "bool",
12092
+ "name": "IncrementalDeployment",
12093
+ "required": false,
12094
+ "type": "bool"
12086
12095
  }
12087
12096
  ],
12088
12097
  "type": "object"
@@ -15581,7 +15590,7 @@
15581
15590
  {
15582
15591
  "disabled": false,
15583
15592
  "document": "部署组状态过滤字段",
15584
- "example": "RUNNING",
15593
+ "example": "Running、Waiting、Paused、Updating、RollingBack、Abnormal、Unknown",
15585
15594
  "member": "string",
15586
15595
  "name": "Status",
15587
15596
  "required": false,
@@ -15589,7 +15598,7 @@
15589
15598
  },
15590
15599
  {
15591
15600
  "disabled": false,
15592
- "document": "",
15601
+ "document": "部署组ID列表",
15593
15602
  "example": "[\"group-6a79x94v\"]",
15594
15603
  "member": "string",
15595
15604
  "name": "GroupIdList",
@@ -18580,6 +18589,15 @@
18580
18589
  "name": "AppMicroServiceType",
18581
18590
  "required": false,
18582
18591
  "type": "string"
18592
+ },
18593
+ {
18594
+ "disabled": false,
18595
+ "document": "按照【部署组名称】进行过滤,不填写时查询全量。可通过调用[DescribeContainerGroups](https://cloud.tencent.com/document/product/649/36068)查询已创建的部署组列表或登录[控制台](https://console.cloud.tencent.com/tsf/app-detail?rid=1&id=application-zvw6zp9a&tab=publish&subTab=group)进行查看;也可以调用[CreateGroup](https://cloud.tencent.com/document/product/649/36074)创建新的部署组。",
18596
+ "example": "test-group",
18597
+ "member": "string",
18598
+ "name": "GroupName",
18599
+ "required": false,
18600
+ "type": "string"
18583
18601
  }
18584
18602
  ],
18585
18603
  "type": "object"
@@ -18879,6 +18897,15 @@
18879
18897
  "name": "ConfigCenterInstanceId",
18880
18898
  "required": false,
18881
18899
  "type": "string"
18900
+ },
18901
+ {
18902
+ "disabled": false,
18903
+ "document": "服务过滤",
18904
+ "example": "normal",
18905
+ "member": "string",
18906
+ "name": "ServiceFilter",
18907
+ "required": false,
18908
+ "type": "string"
18882
18909
  }
18883
18910
  ],
18884
18911
  "type": "object"
@@ -20148,6 +20175,7 @@
20148
20175
  "example": "foo",
20149
20176
  "member": "string",
20150
20177
  "name": "Name",
20178
+ "output_required": true,
20151
20179
  "required": true,
20152
20180
  "type": "string",
20153
20181
  "value_allowed_null": false
@@ -20158,6 +20186,7 @@
20158
20186
  "example": "bar",
20159
20187
  "member": "string",
20160
20188
  "name": "Value",
20189
+ "output_required": true,
20161
20190
  "required": false,
20162
20191
  "type": "string",
20163
20192
  "value_allowed_null": false
@@ -20168,6 +20197,7 @@
20168
20197
  "example": "无",
20169
20198
  "member": "ValueFrom",
20170
20199
  "name": "ValueFrom",
20200
+ "output_required": true,
20171
20201
  "required": false,
20172
20202
  "type": "object",
20173
20203
  "value_allowed_null": true
@@ -20243,6 +20273,39 @@
20243
20273
  "required": false,
20244
20274
  "type": "string",
20245
20275
  "value_allowed_null": false
20276
+ },
20277
+ {
20278
+ "disabled": false,
20279
+ "document": "部署组Id\n注意:此字段可能返回 null,表示取不到有效值。",
20280
+ "example": "group-6a73eg5v",
20281
+ "member": "string",
20282
+ "name": "GroupId",
20283
+ "output_required": false,
20284
+ "required": false,
20285
+ "type": "string",
20286
+ "value_allowed_null": true
20287
+ },
20288
+ {
20289
+ "disabled": false,
20290
+ "document": "创建时间\n注意:此字段可能返回 null,表示取不到有效值。",
20291
+ "example": "1757324401000",
20292
+ "member": "uint64",
20293
+ "name": "CreateTime",
20294
+ "output_required": false,
20295
+ "required": false,
20296
+ "type": "int",
20297
+ "value_allowed_null": true
20298
+ },
20299
+ {
20300
+ "disabled": false,
20301
+ "document": "更新时间\n注意:此字段可能返回 null,表示取不到有效值。",
20302
+ "example": "1757324863000",
20303
+ "member": "uint64",
20304
+ "name": "UpdateTime",
20305
+ "output_required": false,
20306
+ "required": false,
20307
+ "type": "int",
20308
+ "value_allowed_null": true
20246
20309
  }
20247
20310
  ],
20248
20311
  "usage": "both"
@@ -20335,7 +20398,7 @@
20335
20398
  },
20336
20399
  {
20337
20400
  "disabled": false,
20338
- "document": "扩容的机器实例ID列表,调用[DescribeClusters](https://console.cloud.tencent.com/tsf/resource?rid=1)接口,选定一个虚拟机集群,选择部署组,选择应用扩容可获取实例列表",
20401
+ "document": "扩容的机器实例ID列表,调用[DescribeGroupInstances](https://cloud.tencent.com/document/api/649/36066)查询虚拟机部署组云主机列表",
20339
20402
  "example": "[\"ins-6a79x94v\",\"ins-6a79x94f\"]",
20340
20403
  "member": "string",
20341
20404
  "name": "InstanceIdList",
@@ -22427,13 +22490,13 @@
22427
22490
  },
22428
22491
  {
22429
22492
  "disabled": false,
22430
- "document": "镜像服务器地址\n注意:此字段可能返回 null,表示取不到有效值。",
22493
+ "document": "镜像服务器地址",
22431
22494
  "example": "ccr.tencent.com",
22432
22495
  "member": "string",
22433
22496
  "name": "Server",
22434
22497
  "output_required": true,
22435
22498
  "type": "string",
22436
- "value_allowed_null": true
22499
+ "value_allowed_null": false
22437
22500
  },
22438
22501
  {
22439
22502
  "disabled": false,
@@ -24985,7 +25048,7 @@
24985
25048
  "members": [
24986
25049
  {
24987
25050
  "disabled": false,
24988
- "document": "部署组ID,部署组唯一标识,调用[DescribeClusters](https://console.cloud.tencent.com/tsf/resource?rid=1&tab=docker)接口,选定一个容器集群,选择部署组,查看DescribeSingleContainerGroups接口返回的GroupId",
25051
+ "document": "部署组ID,部署组唯一标识,可以通过[DescribeContainerGroups](https://cloud.tencent.com/document/api/649/36068)查询已创建的容器部署组列表;也可以调用[CreateContainGroup](https://cloud.tencent.com/document/api/649/36075)创建新的容器部署组",
24989
25052
  "example": "group-6a79x94v",
24990
25053
  "member": "string",
24991
25054
  "name": "GroupId",
@@ -27734,7 +27797,7 @@
27734
27797
  },
27735
27798
  {
27736
27799
  "disabled": false,
27737
- "document": "云主机 ID 列表",
27800
+ "document": "云主机 ID 列表,调用[DescribeInstances](https://cloud.tencent.com/document/api/649/72342)查询已有的云主机列表",
27738
27801
  "example": "[\"ins-6a79x94v\", \"ins-7a79x94v\"]",
27739
27802
  "member": "string",
27740
27803
  "name": "InstanceIdList",
@@ -499,7 +499,7 @@
499
499
  "DeployContainerApplication": [
500
500
  {
501
501
  "document": "",
502
- "input": "POST / HTTP/1.1\nHost: tsf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeployContainerGroup\n<公共请求参数>\n\n{\n \"ApplicationId\": \"application-6ym5kebd\",\n \"GroupName\": \"test-group-1\",\n \"ClusterId\": \"cls-23iwxs1l\",\n \"Alias\": \"app remark\",\n \"NamespaceId\": \"namespace-by8mg4xs\",\n \"Tags\": [\n {\n \"TagKey\": \"tke-clusterId\",\n \"TagValue\": \"cls-23iwxs1l\"\n }\n ],\n \"ContainerKind\": \"Deployment\",\n \"InstanceNum\": 1,\n \"SchedulingStrategy\": {\n \"Type\": \"NONE\",\n \"NodeScheduleStrategyType\": \"Default\",\n \"AvailableZoneScatterScheduleType\": \"None\",\n \"PodScheduleStrategyType\": \"None\",\n \"TolerateScheduleType\": \"None\"\n },\n \"ServiceSettingList\": [\n {\n \"LoadBalancingType\": \"Intranet\",\n \"ExternalTrafficStrategy\": \"Local\",\n \"ExternalTrafficPolicy\": \"Local\",\n \"ServiceName\": \"test-svc-1\",\n \"HeadlessService\": true,\n \"AccessType\": 1,\n \"SubnetId\": \"subnet-d15zonly\",\n \"OpenSessionAffinity\": false,\n \"SessionAffinityTimeoutSeconds\": 10800,\n \"ProtocolPorts\": [\n {\n \"Protocol\": \"TCP\",\n \"TargetPort\": 80,\n \"Port\": 80,\n \"Name\": \"svc-1\"\n }\n ]\n }\n ],\n \"ServiceClean\": false,\n \"EnvClean\": true,\n \"RestartPolicy\": \"Always\",\n \"CpuRequest\": \"0.25\",\n \"MemRequest\": \"120\",\n \"MemLimit\": \"1280\",\n \"CpuLimit\": \"0.5\",\n \"Server\": \"ccr.ccs.tencentyun.com\",\n \"RepoName\": \"tsf_700001025656/test-sts-1\",\n \"TagName\": \"nginx-v1\",\n \"Envs\": [\n {\n \"ValueFrom\": {\n \"FieldRef\": {\n \"FieldPath\": \"metadata.name\"\n }\n },\n \"Name\": \"env1\"\n },\n {\n \"ValueFrom\": {\n \"ResourceFieldRef\": {\n \"Resource\": \"limits.memory\"\n }\n },\n \"Name\": \"env2\"\n },\n {\n \"ValueFrom\": {\n \"ConfigMapKeyRef\": {\n \"Name\": \"kube-root-ca.crt\",\n \"Key\": \"ca.crt\"\n }\n },\n \"Name\": \"env3\"\n },\n {\n \"ValueFrom\": {\n \"SecretKeyRef\": {\n \"Name\": \"qcloudregistrykey\",\n \"Key\": \".dockercfg\"\n }\n },\n \"Name\": \"env4\"\n }\n ],\n \"RepoType\": \"personal\",\n \"PrivilegeContainerEnable\": true,\n \"RunCommand\": \"/bin/sh\",\n \"RunArg\": \"-c\\nwhile true; do echo hello; sleep 10; done\",\n \"InitContainerEnable\": false,\n \"LifeCycleHookList\": [\n {\n \"HookType\": \"postStart\",\n \"ExecMode\": \"httpGet\",\n \"HttpGetOption\": {\n \"Scheme\": \"HTTP\",\n \"Host\": \"host.com\",\n \"Path\": \"/tmp\",\n \"Port\": \"7998\"\n }\n },\n {\n \"HookType\": \"preStop\",\n \"ExecMode\": \"none\",\n \"HttpGetOption\": {\n \"Scheme\": \"HTTP\"\n }\n }\n ],\n \"HealthCheckSettings\": {\n \"LivenessProbe\": {\n \"Type\": \"K8S_NATIVE\",\n \"ActionType\": \"HTTP\",\n \"InitialDelaySeconds\": 0,\n \"TimeoutSeconds\": 3,\n \"PeriodSeconds\": 30,\n \"SuccessThreshold\": 1,\n \"FailureThreshold\": 3,\n \"Port\": \"30000\",\n \"Scheme\": \"HTTP\",\n \"Path\": \"/\"\n },\n \"ReadinessProbe\": {\n \"Type\": \"TSF_DEFAULT\"\n }\n },\n \"JvmOpts\": \"-Xms128m -Xmx512m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m\",\n \"VolumeMountInfoList\": [\n {\n \"VolumeMountPath\": \"/tmp\",\n \"VolumeMountSubPath\": \"/\",\n \"ReadOrWrite\": \"1\",\n \"VolumeMountName\": \"test-data-emptydir\"\n }\n ],\n \"AgentCpuRequest\": \"0.1\",\n \"AgentCpuLimit\": \"0.2\",\n \"AgentMemRequest\": \"125\",\n \"AgentMemLimit\": \"400\",\n \"DeployAgent\": true,\n \"AdditionalContainerList\": [\n {\n \"CpuRequest\": \"0.25\",\n \"MemRequest\": \"120\",\n \"MemLimit\": \"1280\",\n \"CpuLimit\": \"0.5\",\n \"Server\": \"ccr.ccs.tencentyun.com\",\n \"RepoName\": \"tsf_700001025656/test-ns\",\n \"TagName\": \"polaris-1\",\n \"Envs\": [],\n \"RepoType\": \"personal\",\n \"PrivilegeContainerEnable\": false,\n \"InitContainerEnable\": false,\n \"LifeCycleHookList\": [\n {\n \"HookType\": \"postStart\",\n \"ExecMode\": \"none\",\n \"HttpGetOption\": {\n \"Scheme\": \"HTTP\"\n }\n },\n {\n \"HookType\": \"preStop\",\n \"ExecMode\": \"none\",\n \"HttpGetOption\": {\n \"Scheme\": \"HTTP\"\n }\n }\n ],\n \"HealthCheckSettings\": {},\n \"JvmOpts\": \"-Xms128m -Xmx512m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m\",\n \"VolumeMountInfoList\": []\n }\n ],\n \"VolumeInfoList\": [\n {\n \"VolumeName\": \"test-data-emptydir\",\n \"VolumeType\": \"emptyDir\",\n \"ConfigMapOptions\": [],\n \"EmptyDirOption\": {\n \"StorageCapacity\": 1,\n \"StorageUnit\": \"Gi\",\n \"EnableMemory\": true\n }\n }\n ],\n \"VolumeClean\": true,\n \"ServiceGovernanceConfig\": {\n \"GovernanceType\": \"SHARE\",\n \"EnableGovernance\": true\n },\n \"ObservabilityConfig\": {\n \"BusinessLogConfigIdList\": [\n \"apm-busi-log-cfg-lba2povk\",\n \"apm-busi-log-cfg-2vz5nm9v\"\n ],\n \"BusinessLogDeliveryConfigIdList\": []\n },\n \"WarmupSetting\": {\n \"Enabled\": true,\n \"WarmupTime\": 60,\n \"Curvature\": 2,\n \"EnabledProtection\": true\n },\n \"AgentProfileList\": [\n {\n \"AgentType\": \"OT_AGENT\",\n \"AgentVersion\": \"\"\n }\n ],\n \"UpdateType\": 1,\n \"UpdateIvl\": 10,\n \"MaxSurge\": \"25%\",\n \"MaxUnavailable\": \"0\"\n}",
502
+ "input": "POST / HTTP/1.1\nHost: tsf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeployContainerGroup\n<公共请求参数>\n\n{\n \"ApplicationId\": \"application-6ym5kebd\",\n \"GroupName\": \"test-group-1\",\n \"ClusterId\": \"cls-23iwxs1l\",\n \"Alias\": \"app remark\",\n \"NamespaceId\": \"namespace-by8mg4xs\",\n \"Tags\": [\n {\n \"TagKey\": \"tke-clusterId\",\n \"TagValue\": \"cls-23iwxs1l\"\n }\n ],\n \"ContainerKind\": \"Deployment\",\n \"InstanceNum\": 1,\n \"SchedulingStrategy\": {\n \"Type\": \"NONE\",\n \"NodeScheduleStrategyType\": \"Default\",\n \"AvailableZoneScatterScheduleType\": \"None\",\n \"PodScheduleStrategyType\": \"None\",\n \"TolerateScheduleType\": \"None\"\n },\n \"ServiceSettingList\": [\n {\n \"LoadBalancingType\": \"Intranet\",\n \"ExternalTrafficStrategy\": \"Local\",\n \"ExternalTrafficPolicy\": \"Local\",\n \"ServiceName\": \"test-svc-1\",\n \"HeadlessService\": true,\n \"AccessType\": 1,\n \"SubnetId\": \"subnet-d15zonly\",\n \"OpenSessionAffinity\": false,\n \"SessionAffinityTimeoutSeconds\": 10800,\n \"ProtocolPorts\": [\n {\n \"Protocol\": \"TCP\",\n \"TargetPort\": 80,\n \"Port\": 80,\n \"Name\": \"svc-1\"\n }\n ]\n }\n ],\n \"ServiceClean\": false,\n \"EnvClean\": true,\n \"RestartPolicy\": \"Always\",\n \"CpuRequest\": \"0.25\",\n \"MemRequest\": \"120\",\n \"MemLimit\": \"1280\",\n \"CpuLimit\": \"0.5\",\n \"Server\": \"ccr.ccs.tencentyun.com\",\n \"RepoName\": \"tsf_700001025656/test-sts-1\",\n \"TagName\": \"nginx-v1\",\n \"Envs\": [\n {\n \"ValueFrom\": {\n \"FieldRef\": {\n \"FieldPath\": \"metadata.name\"\n }\n },\n \"Name\": \"env1\"\n },\n {\n \"ValueFrom\": {\n \"ResourceFieldRef\": {\n \"Resource\": \"limits.memory\"\n }\n },\n \"Name\": \"env2\"\n },\n {\n \"ValueFrom\": {\n \"ConfigMapKeyRef\": {\n \"Name\": \"kube-root-ca.crt\",\n \"Key\": \"ca.crt\"\n }\n },\n \"Name\": \"env3\"\n },\n {\n \"ValueFrom\": {\n \"SecretKeyRef\": {\n \"Name\": \"qcloudregistrykey\",\n \"Key\": \".dockercfg\"\n }\n },\n \"Name\": \"env4\"\n }\n ],\n \"RepoType\": \"personal\",\n \"PrivilegeContainerEnable\": true,\n \"RunCommand\": \"/bin/sh\",\n \"RunArg\": \"-c\\nwhile true; do echo hello; sleep 10; done\",\n \"InitContainerEnable\": false,\n \"LifeCycleHookList\": [\n {\n \"HookType\": \"postStart\",\n \"ExecMode\": \"httpGet\",\n \"HttpGetOption\": {\n \"Scheme\": \"HTTP\",\n \"Host\": \"host.com\",\n \"Path\": \"/tmp\",\n \"Port\": \"7998\"\n }\n },\n {\n \"HookType\": \"preStop\",\n \"ExecMode\": \"none\",\n \"HttpGetOption\": {\n \"Scheme\": \"HTTP\"\n }\n }\n ],\n \"HealthCheckSettings\": {\n \"LivenessProbe\": {\n \"Type\": \"K8S_NATIVE\",\n \"ActionType\": \"HTTP\",\n \"InitialDelaySeconds\": 0,\n \"TimeoutSeconds\": 3,\n \"PeriodSeconds\": 30,\n \"SuccessThreshold\": 1,\n \"FailureThreshold\": 3,\n \"Port\": \"30000\",\n \"Scheme\": \"HTTP\",\n \"Path\": \"/test\"\n },\n \"ReadinessProbe\": {\n \"Type\": \"TSF_DEFAULT\"\n }\n },\n \"JvmOpts\": \"-Xms128m -Xmx512m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m\",\n \"VolumeMountInfoList\": [\n {\n \"VolumeMountPath\": \"/tmp\",\n \"VolumeMountSubPath\": \"/test\",\n \"ReadOrWrite\": \"1\",\n \"VolumeMountName\": \"test-data-emptydir\"\n }\n ],\n \"AgentCpuRequest\": \"0.1\",\n \"AgentCpuLimit\": \"0.2\",\n \"AgentMemRequest\": \"125\",\n \"AgentMemLimit\": \"400\",\n \"DeployAgent\": true,\n \"AdditionalContainerList\": [\n {\n \"CpuRequest\": \"0.25\",\n \"MemRequest\": \"120\",\n \"MemLimit\": \"1280\",\n \"CpuLimit\": \"0.5\",\n \"Server\": \"ccr.ccs.tencentyun.com\",\n \"RepoName\": \"tsf_700001025656/test-ns\",\n \"TagName\": \"polaris-1\",\n \"Envs\": [],\n \"RepoType\": \"personal\",\n \"PrivilegeContainerEnable\": false,\n \"InitContainerEnable\": false,\n \"LifeCycleHookList\": [\n {\n \"HookType\": \"postStart\",\n \"ExecMode\": \"none\",\n \"HttpGetOption\": {\n \"Scheme\": \"HTTP\"\n }\n },\n {\n \"HookType\": \"preStop\",\n \"ExecMode\": \"none\",\n \"HttpGetOption\": {\n \"Scheme\": \"HTTP\"\n }\n }\n ],\n \"HealthCheckSettings\": {},\n \"JvmOpts\": \"-Xms128m -Xmx512m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m\",\n \"VolumeMountInfoList\": []\n }\n ],\n \"VolumeInfoList\": [\n {\n \"VolumeName\": \"test-data-emptydir\",\n \"VolumeType\": \"emptyDir\",\n \"ConfigMapOptions\": [],\n \"EmptyDirOption\": {\n \"StorageCapacity\": 1,\n \"StorageUnit\": \"Gi\",\n \"EnableMemory\": true\n }\n }\n ],\n \"VolumeClean\": true,\n \"ServiceGovernanceConfig\": {\n \"GovernanceType\": \"SHARE\",\n \"EnableGovernance\": true\n },\n \"ObservabilityConfig\": {\n \"BusinessLogConfigIdList\": [\n \"apm-busi-log-cfg-lba2povk\",\n \"apm-busi-log-cfg-2vz5nm9v\"\n ],\n \"BusinessLogDeliveryConfigIdList\": []\n },\n \"WarmupSetting\": {\n \"Enabled\": true,\n \"WarmupTime\": 60,\n \"Curvature\": 2,\n \"EnabledProtection\": true\n },\n \"AgentProfileList\": [\n {\n \"AgentType\": \"OT_AGENT\",\n \"AgentVersion\": \"\"\n }\n ],\n \"UpdateType\": 1,\n \"UpdateIvl\": 10,\n \"MaxSurge\": \"25%\",\n \"MaxUnavailable\": \"0\"\n}",
503
503
  "output": "{\n \"Response\": {\n \"Result\": {\n \"GroupId\": \"group-oydjq4my\",\n \"TaskId\": \"task-2.0-gvko6ona\"\n },\n \"RequestId\": \"a187dea0-773a-4076-a06b-ac6482f6f679\"\n }\n}",
504
504
  "title": "部署容器应用"
505
505
  }
@@ -1203,7 +1203,7 @@
1203
1203
  "DescribeStatistics": [
1204
1204
  {
1205
1205
  "document": "",
1206
- "input": "POST / HTTP/1.1\nHost: tsf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStatistics\n<公共请求参数>\n\n{\n \"OrderBy\": \"AvgTimeConsuming\",\n \"StartTime\": \"2020-05-12 14:43:12\",\n \"TimeStep\": 60,\n \"Offset\": 0,\n \"DbName\": \"mysql\",\n \"ServiceName\": \"demo-service\",\n \"Limit\": 10,\n \"SearchWord\": \"keyword\",\n \"OrderType\": 1,\n \"EndTime\": \"2020-05-12 14:43:12\",\n \"Type\": \"Service\",\n \"NamespaceId\": \"namespace-xxxxxxxx\"\n}",
1206
+ "input": "POST / HTTP/1.1\nHost: tsf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStatistics\n<公共请求参数>\n\n{\n \"OrderBy\": \"AvgTimeConsuming\",\n \"StartTime\": \"2020-05-12 14:43:12\",\n \"TimeStep\": 60,\n \"Offset\": 0,\n \"DbName\": \"mysql\",\n \"ServiceName\": \"demo-service\",\n \"Limit\": 10,\n \"SearchWord\": \"keyword\",\n \"OrderType\": 1,\n \"EndTime\": \"2020-05-12 14:43:12\",\n \"Type\": \"Service\",\n \"NamespaceId\": \"namespace-xxxxxxxx\",\n \"ServiceFilter\": \"normal\"\n}",
1207
1207
  "output": "{\n \"Response\": {\n \"RequestId\": \"b057eeaa-ccdf-40be-995f-f059b4b974e8\",\n \"Result\": {\n \"TotalCount\": 2,\n \"Content\": []\n }\n }\n}",
1208
1208
  "title": "test"
1209
1209
  }
@@ -14,6 +14,13 @@
14
14
  "output": "DescribeImageAnimateJobResponse",
15
15
  "status": "online"
16
16
  },
17
+ "DescribeImageToVideoGeneralJob": {
18
+ "document": "查询图生视频通用能力任务接口",
19
+ "input": "DescribeImageToVideoGeneralJobRequest",
20
+ "name": "查询图生视频通用能力任务",
21
+ "output": "DescribeImageToVideoGeneralJobResponse",
22
+ "status": "online"
23
+ },
17
24
  "DescribePortraitSingJob": {
18
25
  "document": "用于查询图片唱演任务。\n支持提交音频和图片生成唱演视频,满足社交娱乐、互动营销等场景的需求。",
19
26
  "input": "DescribePortraitSingJobRequest",
@@ -42,6 +49,13 @@
42
49
  "output": "SubmitImageAnimateJobResponse",
43
50
  "status": "online"
44
51
  },
52
+ "SubmitImageToVideoGeneralJob": {
53
+ "document": "图生视频通用能力接口",
54
+ "input": "SubmitImageToVideoGeneralJobRequest",
55
+ "name": "提交图生视频通用能力任务",
56
+ "output": "SubmitImageToVideoGeneralJobResponse",
57
+ "status": "online"
58
+ },
45
59
  "SubmitPortraitSingJob": {
46
60
  "document": "用于提交图片唱演任务。\n支持提交音频和图片生成唱演视频,满足社交娱乐、互动营销等场景的需求。",
47
61
  "input": "SubmitPortraitSingJobRequest",
@@ -221,6 +235,73 @@
221
235
  ],
222
236
  "type": "object"
223
237
  },
238
+ "DescribeImageToVideoGeneralJobRequest": {
239
+ "document": "DescribeImageToVideoGeneralJob请求参数结构体",
240
+ "members": [
241
+ {
242
+ "disabled": false,
243
+ "document": "任务ID",
244
+ "example": "1350360280588853248",
245
+ "member": "string",
246
+ "name": "JobId",
247
+ "required": true,
248
+ "type": "string"
249
+ }
250
+ ],
251
+ "type": "object"
252
+ },
253
+ "DescribeImageToVideoGeneralJobResponse": {
254
+ "document": "DescribeImageToVideoGeneralJob返回参数结构体",
255
+ "members": [
256
+ {
257
+ "disabled": false,
258
+ "document": "任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功",
259
+ "example": "RUN",
260
+ "member": "string",
261
+ "name": "Status",
262
+ "output_required": false,
263
+ "type": "string",
264
+ "value_allowed_null": false
265
+ },
266
+ {
267
+ "disabled": false,
268
+ "document": "任务执行错误码。当任务状态不为 FAIL 时,该值为\"\"。",
269
+ "example": "FailedOperation.DriverFailed",
270
+ "member": "string",
271
+ "name": "ErrorCode",
272
+ "output_required": false,
273
+ "type": "string",
274
+ "value_allowed_null": false
275
+ },
276
+ {
277
+ "disabled": false,
278
+ "document": "任务执行错误信息。当任务状态不为 FAIL 时,该值为\"\"。",
279
+ "example": "驱动失败",
280
+ "member": "string",
281
+ "name": "ErrorMessage",
282
+ "output_required": false,
283
+ "type": "string",
284
+ "value_allowed_null": false
285
+ },
286
+ {
287
+ "disabled": false,
288
+ "document": "结果视频 URL。有效期 24 小时。",
289
+ "example": "https://console.cloud.tencent.com/result.mp4",
290
+ "member": "string",
291
+ "name": "ResultVideoUrl",
292
+ "output_required": false,
293
+ "type": "string",
294
+ "value_allowed_null": false
295
+ },
296
+ {
297
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
298
+ "member": "string",
299
+ "name": "RequestId",
300
+ "type": "string"
301
+ }
302
+ ],
303
+ "type": "object"
304
+ },
224
305
  "DescribePortraitSingJobRequest": {
225
306
  "document": "DescribePortraitSingJob请求参数结构体",
226
307
  "members": [
@@ -668,6 +749,70 @@
668
749
  ],
669
750
  "type": "object"
670
751
  },
752
+ "SubmitImageToVideoGeneralJobRequest": {
753
+ "document": "SubmitImageToVideoGeneralJob请求参数结构体",
754
+ "members": [
755
+ {
756
+ "disabled": false,
757
+ "document": "输入图片\nBase64 和 Url 必须提供一个,如果都提供以ImageUrl为准。\n上传图url大小不超过 8M\n支持jpg,png,jpeg,webp,bmp,tiff 格式\n单边分辨率不超过5000,不小于50,长宽限制1:4 ~ 4:1",
758
+ "example": "无",
759
+ "member": "Image",
760
+ "name": "Image",
761
+ "required": true,
762
+ "type": "object"
763
+ },
764
+ {
765
+ "disabled": false,
766
+ "document": "视频内容的描述,中文正向提示词。最多支持200个 utf-8 字符(首尾空格不计入字符数)。",
767
+ "example": "一只猫在草原上奔跑,写实风格",
768
+ "member": "string",
769
+ "name": "Prompt",
770
+ "required": false,
771
+ "type": "string"
772
+ },
773
+ {
774
+ "disabled": false,
775
+ "document": "为生成视频添加标识的开关,默认为1,0 需前往 控制台 申请开启显示标识自主完成方可生效。 1:添加标识; 0:不添加标识; 其他数值:默认按1处理。",
776
+ "example": "1",
777
+ "member": "int64",
778
+ "name": "LogoAdd",
779
+ "required": false,
780
+ "type": "int"
781
+ },
782
+ {
783
+ "disabled": false,
784
+ "document": "默认在生成视频的右下角添加“ AI 生成”字样,如需替换为其他的标识图片,需前往 控制台 申请开启显示标识自主完成。",
785
+ "example": "无",
786
+ "member": "LogoParam",
787
+ "name": "LogoParam",
788
+ "required": false,
789
+ "type": "object"
790
+ }
791
+ ],
792
+ "type": "object"
793
+ },
794
+ "SubmitImageToVideoGeneralJobResponse": {
795
+ "document": "SubmitImageToVideoGeneralJob返回参数结构体",
796
+ "members": [
797
+ {
798
+ "disabled": false,
799
+ "document": "任务ID",
800
+ "example": "1350360280588853248",
801
+ "member": "string",
802
+ "name": "JobId",
803
+ "output_required": false,
804
+ "type": "string",
805
+ "value_allowed_null": false
806
+ },
807
+ {
808
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
809
+ "member": "string",
810
+ "name": "RequestId",
811
+ "type": "string"
812
+ }
813
+ ],
814
+ "type": "object"
815
+ },
671
816
  "SubmitPortraitSingJobRequest": {
672
817
  "document": "SubmitPortraitSingJob请求参数结构体",
673
818
  "members": [
@@ -16,6 +16,14 @@
16
16
  "title": "调用成功示例"
17
17
  }
18
18
  ],
19
+ "DescribeImageToVideoGeneralJob": [
20
+ {
21
+ "document": "",
22
+ "input": "POST / HTTP/1.1\nHost: vclm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeImageToVideoGeneralJob\n<公共请求参数>\n\n{\n \"JobId\": \"1355169569101660160\"\n}",
23
+ "output": "{\n \"Response\": {\n \"ErrorCode\": \"\",\n \"ErrorMessage\": \"\",\n \"RequestId\": \"6757832e-7ae1-4174-ab0f-278aca3edd75\",\n \"ResultVideoUrl\": \"\",\n \"Status\": \"RUN\"\n }\n}",
24
+ "title": "查询图生视频通用任务"
25
+ }
26
+ ],
19
27
  "DescribePortraitSingJob": [
20
28
  {
21
29
  "document": "任务完成",
@@ -48,6 +56,14 @@
48
56
  "title": "调用成功示例"
49
57
  }
50
58
  ],
59
+ "SubmitImageToVideoGeneralJob": [
60
+ {
61
+ "document": "",
62
+ "input": "POST / HTTP/1.1\nHost: vclm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SubmitImageToVideoGeneralJob\n<公共请求参数>\n\n{\n \"Image\": {\n \"Url\": \"https://test.cos.ap-guangzhou.myqcloud.com/1-fps15.png\"\n }\n}",
63
+ "output": "{\n \"Response\": {\n \"JobId\": \"1355169569101660160\",\n \"RequestId\": \"90eaa0a4-fde3-4df0-a764-8dccaff6bd1c\"\n }\n}",
64
+ "title": "提交图生视频通用任务"
65
+ }
66
+ ],
51
67
  "SubmitPortraitSingJob": [
52
68
  {
53
69
  "document": "调用成功",
@@ -381,6 +381,58 @@ def doSubmitTemplateToVideoJob(args, parsed_globals):
381
381
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
382
382
 
383
383
 
384
+ def doSubmitImageToVideoGeneralJob(args, parsed_globals):
385
+ g_param = parse_global_arg(parsed_globals)
386
+
387
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
388
+ cred = credential.CVMRoleCredential()
389
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
390
+ cred = credential.STSAssumeRoleCredential(
391
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
392
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
393
+ )
394
+ 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):
395
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
396
+ else:
397
+ cred = credential.Credential(
398
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
399
+ )
400
+ http_profile = HttpProfile(
401
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
402
+ reqMethod="POST",
403
+ endpoint=g_param[OptionsDefine.Endpoint],
404
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
405
+ )
406
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
407
+ if g_param[OptionsDefine.Language]:
408
+ profile.language = g_param[OptionsDefine.Language]
409
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
410
+ client = mod.VclmClient(cred, g_param[OptionsDefine.Region], profile)
411
+ client._sdkVersion += ("_CLI_" + __version__)
412
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
413
+ model = models.SubmitImageToVideoGeneralJobRequest()
414
+ model.from_json_string(json.dumps(args))
415
+ start_time = time.time()
416
+ while True:
417
+ rsp = client.SubmitImageToVideoGeneralJob(model)
418
+ result = rsp.to_json_string()
419
+ try:
420
+ json_obj = json.loads(result)
421
+ except TypeError as e:
422
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
423
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
424
+ break
425
+ cur_time = time.time()
426
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
427
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
428
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
429
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
430
+ else:
431
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
432
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
433
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
434
+
435
+
384
436
  def doCheckAnimateImageJob(args, parsed_globals):
385
437
  g_param = parse_global_arg(parsed_globals)
386
438
 
@@ -485,6 +537,58 @@ def doDescribeVideoStylizationJob(args, parsed_globals):
485
537
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
486
538
 
487
539
 
540
+ def doDescribeImageToVideoGeneralJob(args, parsed_globals):
541
+ g_param = parse_global_arg(parsed_globals)
542
+
543
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
544
+ cred = credential.CVMRoleCredential()
545
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
546
+ cred = credential.STSAssumeRoleCredential(
547
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
548
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
549
+ )
550
+ 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):
551
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
552
+ else:
553
+ cred = credential.Credential(
554
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
555
+ )
556
+ http_profile = HttpProfile(
557
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
558
+ reqMethod="POST",
559
+ endpoint=g_param[OptionsDefine.Endpoint],
560
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
561
+ )
562
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
563
+ if g_param[OptionsDefine.Language]:
564
+ profile.language = g_param[OptionsDefine.Language]
565
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
566
+ client = mod.VclmClient(cred, g_param[OptionsDefine.Region], profile)
567
+ client._sdkVersion += ("_CLI_" + __version__)
568
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
569
+ model = models.DescribeImageToVideoGeneralJobRequest()
570
+ model.from_json_string(json.dumps(args))
571
+ start_time = time.time()
572
+ while True:
573
+ rsp = client.DescribeImageToVideoGeneralJob(model)
574
+ result = rsp.to_json_string()
575
+ try:
576
+ json_obj = json.loads(result)
577
+ except TypeError as e:
578
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
579
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
580
+ break
581
+ cur_time = time.time()
582
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
583
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
584
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
585
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
586
+ else:
587
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
588
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
589
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
590
+
591
+
488
592
  CLIENT_MAP = {
489
593
  "v20240523": vclm_client_v20240523,
490
594
 
@@ -503,8 +607,10 @@ ACTION_MAP = {
503
607
  "DescribeImageAnimateJob": doDescribeImageAnimateJob,
504
608
  "SubmitImageAnimateJob": doSubmitImageAnimateJob,
505
609
  "SubmitTemplateToVideoJob": doSubmitTemplateToVideoJob,
610
+ "SubmitImageToVideoGeneralJob": doSubmitImageToVideoGeneralJob,
506
611
  "CheckAnimateImageJob": doCheckAnimateImageJob,
507
612
  "DescribeVideoStylizationJob": doDescribeVideoStylizationJob,
613
+ "DescribeImageToVideoGeneralJob": doDescribeImageToVideoGeneralJob,
508
614
 
509
615
  }
510
616
 
@@ -241,7 +241,7 @@
241
241
  },
242
242
  "metadata": {
243
243
  "apiVersion": "2022-04-10",
244
- "api_brief": "提供音视频终端引擎能力",
244
+ "api_brief": "通过 API 实现 License 文件的创建,续期等管理功能,并分发到CDN。",
245
245
  "serviceNameCN": "音视频终端引擎",
246
246
  "serviceShortName": "vcube"
247
247
  },