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.
- tccli/__init__.py +1 -1
- tccli/services/__init__.py +2 -1
- tccli/services/ai3d/v20250513/api.json +22 -4
- tccli/services/aiart/aiart_client.py +173 -67
- tccli/services/aiart/v20221229/api.json +193 -0
- tccli/services/aiart/v20221229/examples.json +16 -0
- tccli/services/apm/apm_client.py +53 -0
- tccli/services/apm/v20210622/api.json +354 -0
- tccli/services/apm/v20210622/examples.json +8 -0
- tccli/services/asr/v20190614/api.json +3 -3
- tccli/services/autoscaling/v20180419/api.json +24 -2
- tccli/services/batch/v20170312/api.json +1 -1
- tccli/services/bda/bda_client.py +15 -704
- tccli/services/bda/v20200324/api.json +107 -1819
- tccli/services/bda/v20200324/examples.json +0 -176
- tccli/services/billing/billing_client.py +326 -8
- tccli/services/billing/v20180709/api.json +2200 -255
- tccli/services/billing/v20180709/examples.json +48 -0
- tccli/services/cam/v20190116/api.json +4 -4
- tccli/services/captcha/v20190722/api.json +3 -3
- tccli/services/cat/v20180409/api.json +7 -7
- tccli/services/ccc/ccc_client.py +235 -76
- tccli/services/ccc/v20200210/api.json +502 -18
- tccli/services/ccc/v20200210/examples.json +24 -0
- tccli/services/cdb/cdb_client.py +106 -0
- tccli/services/cdb/v20170320/api.json +257 -44
- tccli/services/cdb/v20170320/examples.json +22 -6
- tccli/services/cdn/cdn_client.py +4 -163
- tccli/services/cdn/v20180606/api.json +61 -310
- tccli/services/cdn/v20180606/examples.json +1 -25
- tccli/services/cdwdoris/v20211228/api.json +51 -12
- tccli/services/cdwpg/v20201230/api.json +11 -1
- tccli/services/cdwpg/v20201230/examples.json +1 -1
- tccli/services/cfg/v20210820/api.json +11 -1
- tccli/services/cfs/cfs_client.py +41 -94
- tccli/services/cfs/v20190719/api.json +171 -55
- tccli/services/cfs/v20190719/examples.json +1 -9
- tccli/services/cfw/v20190904/api.json +122 -10
- tccli/services/ckafka/ckafka_client.py +188 -29
- tccli/services/ckafka/v20190819/api.json +277 -4
- tccli/services/ckafka/v20190819/examples.json +25 -1
- tccli/services/clb/clb_client.py +0 -265
- tccli/services/clb/v20180317/api.json +130 -296
- tccli/services/clb/v20180317/examples.json +12 -40
- tccli/services/cloudapp/v20220530/api.json +55 -0
- tccli/services/cloudaudit/v20190319/api.json +11 -0
- tccli/services/cloudhsm/v20191112/api.json +10 -10
- tccli/services/cls/v20201016/api.json +63 -45
- tccli/services/cls/v20201016/examples.json +10 -4
- tccli/services/csip/v20221121/api.json +53 -3
- tccli/services/ctem/v20231128/api.json +320 -0
- tccli/services/ctem/v20231128/examples.json +3 -3
- tccli/services/cvm/cvm_client.py +0 -212
- tccli/services/cvm/v20170312/api.json +91 -843
- tccli/services/cvm/v20170312/examples.json +32 -58
- tccli/services/cynosdb/cynosdb_client.py +167 -8
- tccli/services/cynosdb/v20190107/api.json +1126 -148
- tccli/services/cynosdb/v20190107/examples.json +31 -7
- tccli/services/dbbrain/dbbrain_client.py +246 -87
- tccli/services/dbbrain/v20191016/api.json +74 -62
- tccli/services/dbbrain/v20191016/examples.json +1 -1
- tccli/services/dbbrain/v20210527/api.json +601 -177
- tccli/services/dbbrain/v20210527/examples.json +28 -4
- tccli/services/dc/v20180410/api.json +101 -3
- tccli/services/dcdb/v20180411/api.json +1 -1
- tccli/services/dlc/dlc_client.py +53 -0
- tccli/services/dlc/v20210125/api.json +237 -24
- tccli/services/dlc/v20210125/examples.json +12 -4
- tccli/services/dnspod/dnspod_client.py +106 -0
- tccli/services/dnspod/v20210323/api.json +126 -20
- tccli/services/dnspod/v20210323/examples.json +17 -7
- tccli/services/dsgc/v20190723/api.json +73 -15
- tccli/services/dts/v20180330/api.json +4 -4
- tccli/services/dts/v20211206/api.json +408 -127
- tccli/services/dts/v20211206/examples.json +15 -9
- tccli/services/eb/v20210416/api.json +41 -1
- tccli/services/eb/v20210416/examples.json +1 -1
- tccli/services/emr/v20190103/api.json +56 -9
- tccli/services/emr/v20190103/examples.json +5 -5
- tccli/services/es/es_client.py +273 -8
- tccli/services/es/v20180416/api.json +845 -33
- tccli/services/es/v20180416/examples.json +33 -1
- tccli/services/es/v20250101/api.json +135 -2
- tccli/services/es/v20250101/examples.json +8 -0
- tccli/services/ess/ess_client.py +509 -32
- tccli/services/ess/v20201111/api.json +1366 -113
- tccli/services/ess/v20201111/examples.json +94 -10
- tccli/services/essbasic/v20210526/api.json +265 -27
- tccli/services/essbasic/v20210526/examples.json +12 -12
- tccli/services/facefusion/v20220927/api.json +1 -1
- tccli/services/gaap/v20180529/api.json +18 -8
- tccli/services/gme/gme_client.py +53 -0
- tccli/services/gme/v20180711/api.json +241 -1
- tccli/services/gme/v20180711/examples.json +8 -0
- tccli/services/gs/gs_client.py +216 -4
- tccli/services/gs/v20191118/api.json +202 -1
- tccli/services/gs/v20191118/examples.json +32 -0
- tccli/services/gwlb/gwlb_client.py +53 -0
- tccli/services/gwlb/v20240906/api.json +150 -0
- tccli/services/gwlb/v20240906/examples.json +8 -0
- tccli/services/hai/v20230812/api.json +5 -5
- tccli/services/hunyuan/v20230901/api.json +3 -3
- tccli/services/hunyuan/v20230901/examples.json +1 -1
- tccli/services/iai/v20180301/api.json +227 -207
- tccli/services/iai/v20180301/examples.json +26 -26
- tccli/services/iai/v20200303/api.json +4 -4
- tccli/services/iai/v20200303/examples.json +1 -1
- tccli/services/ioa/ioa_client.py +265 -0
- tccli/services/ioa/v20220601/api.json +781 -85
- tccli/services/ioa/v20220601/examples.json +46 -0
- tccli/services/iotexplorer/iotexplorer_client.py +387 -16
- tccli/services/iotexplorer/v20190423/api.json +1183 -63
- tccli/services/iotexplorer/v20190423/examples.json +92 -0
- tccli/services/keewidb/v20220308/api.json +69 -17
- tccli/services/keewidb/v20220308/examples.json +5 -5
- tccli/services/lcic/v20220817/api.json +61 -15
- tccli/services/lighthouse/v20200324/api.json +193 -24
- tccli/services/lighthouse/v20200324/examples.json +9 -3
- tccli/services/live/v20180801/api.json +6 -6
- tccli/services/live/v20180801/examples.json +7 -1
- tccli/services/lke/lke_client.py +40 -93
- tccli/services/lke/v20231130/api.json +943 -390
- tccli/services/lke/v20231130/examples.json +38 -46
- tccli/services/lkeap/v20240522/api.json +39 -12
- tccli/services/lkeap/v20240522/examples.json +12 -0
- tccli/services/mariadb/v20170312/api.json +1 -1
- tccli/services/mna/v20210119/api.json +11 -2
- tccli/services/mna/v20210119/examples.json +1 -1
- tccli/services/mongodb/mongodb_client.py +334 -16
- tccli/services/mongodb/v20190725/api.json +1092 -383
- tccli/services/mongodb/v20190725/examples.json +69 -21
- tccli/services/monitor/monitor_client.py +106 -0
- tccli/services/monitor/v20180724/api.json +383 -12
- tccli/services/monitor/v20180724/examples.json +24 -2
- tccli/services/mps/mps_client.py +220 -8
- tccli/services/mps/v20190612/api.json +1999 -179
- tccli/services/mps/v20190612/examples.json +56 -6
- tccli/services/mqtt/v20240516/api.json +10 -0
- tccli/services/mqtt/v20240516/examples.json +3 -9
- tccli/services/nlp/v20190408/api.json +6 -6
- tccli/services/oceanus/oceanus_client.py +318 -0
- tccli/services/oceanus/v20190422/api.json +461 -26
- tccli/services/oceanus/v20190422/examples.json +50 -2
- tccli/services/ocr/ocr_client.py +41 -253
- tccli/services/ocr/v20181119/api.json +153 -659
- tccli/services/ocr/v20181119/examples.json +8 -40
- tccli/services/omics/v20221128/api.json +90 -7
- tccli/services/organization/v20210331/api.json +46 -7
- tccli/services/postgres/v20170312/api.json +333 -77
- tccli/services/postgres/v20170312/examples.json +37 -31
- tccli/services/privatedns/privatedns_client.py +641 -58
- tccli/services/privatedns/v20201028/api.json +930 -19
- tccli/services/privatedns/v20201028/examples.json +91 -3
- tccli/services/pts/v20210728/api.json +2 -2
- tccli/services/redis/v20180412/api.json +303 -109
- tccli/services/redis/v20180412/examples.json +12 -12
- tccli/services/region/v20220627/api.json +1 -1
- tccli/services/rum/v20210622/api.json +22 -4
- tccli/services/rum/v20210622/examples.json +2 -2
- tccli/services/sms/v20190711/api.json +12 -12
- tccli/services/sms/v20190711/examples.json +9 -3
- tccli/services/sms/v20210111/api.json +13 -13
- tccli/services/sms/v20210111/examples.json +8 -2
- tccli/services/sqlserver/v20180328/api.json +46 -7
- tccli/services/sqlserver/v20180328/examples.json +2 -2
- tccli/services/ssl/v20191205/api.json +28 -0
- tccli/services/svp/v20240125/api.json +14 -4
- tccli/services/tag/v20180813/api.json +3 -3
- tccli/services/tat/v20201028/api.json +22 -3
- tccli/services/tcb/v20180608/api.json +1 -1
- tccli/services/tcss/tcss_client.py +228 -69
- tccli/services/tcss/v20201101/api.json +273 -25
- tccli/services/tcss/v20201101/examples.json +26 -2
- tccli/services/teo/teo_client.py +317 -52
- tccli/services/teo/v20220901/api.json +1824 -242
- tccli/services/teo/v20220901/examples.json +109 -21
- tccli/services/thpc/thpc_client.py +57 -4
- tccli/services/thpc/v20230321/api.json +163 -21
- tccli/services/thpc/v20230321/examples.json +13 -5
- tccli/services/tione/tione_client.py +163 -4
- tccli/services/tione/v20211111/api.json +285 -21
- tccli/services/tione/v20211111/examples.json +27 -3
- tccli/services/tke/tke_client.py +8 -8
- tccli/services/tke/v20180525/api.json +168 -130
- tccli/services/tke/v20180525/examples.json +20 -20
- tccli/services/tke/v20220501/api.json +215 -3
- tccli/services/tke/v20220501/examples.json +8 -0
- tccli/services/tms/tms_client.py +106 -0
- tccli/services/tms/v20201229/api.json +249 -3
- tccli/services/tms/v20201229/examples.json +16 -0
- tccli/services/tmt/v20180321/api.json +78 -1
- tccli/services/trabbit/v20230418/api.json +271 -4
- tccli/services/trabbit/v20230418/examples.json +9 -3
- tccli/services/trocket/v20230308/api.json +4 -4
- tccli/services/trro/trro_client.py +106 -0
- tccli/services/trro/v20220325/api.json +456 -0
- tccli/services/trro/v20220325/examples.json +16 -0
- tccli/services/trtc/v20190722/api.json +197 -49
- tccli/services/trtc/v20190722/examples.json +4 -4
- tccli/services/tse/v20201207/api.json +69 -2
- tccli/services/tse/v20201207/examples.json +3 -3
- tccli/services/tsf/v20180326/api.json +70 -7
- tccli/services/tsf/v20180326/examples.json +2 -2
- tccli/services/vclm/v20240523/api.json +145 -0
- tccli/services/vclm/v20240523/examples.json +16 -0
- tccli/services/vclm/vclm_client.py +106 -0
- tccli/services/vcube/v20220410/api.json +1 -1
- tccli/services/vod/v20180717/api.json +7 -7
- tccli/services/vpc/v20170312/api.json +1216 -70
- tccli/services/vpc/v20170312/examples.json +139 -3
- tccli/services/vpc/vpc_client.py +1023 -122
- tccli/services/vrs/v20200824/api.json +11 -11
- tccli/services/vrs/v20200824/examples.json +1 -1
- tccli/services/vtc/v20240223/api.json +14 -14
- tccli/services/waf/v20180125/api.json +812 -143
- tccli/services/waf/v20180125/examples.json +2 -2
- tccli/services/wedata/v20210820/api.json +1281 -601
- tccli/services/wedata/v20210820/examples.json +127 -157
- tccli/services/wedata/v20250806/api.json +19335 -0
- tccli/services/wedata/v20250806/examples.json +999 -0
- tccli/services/wedata/wedata_client.py +7072 -1131
- {tccli-3.0.1391.1.dist-info → tccli-3.0.1414.1.dist-info}/METADATA +9 -7
- {tccli-3.0.1391.1.dist-info → tccli-3.0.1414.1.dist-info}/RECORD +226 -224
- {tccli-3.0.1391.1.dist-info → tccli-3.0.1414.1.dist-info}/WHEEL +1 -1
- {tccli-3.0.1391.1.dist-info → tccli-3.0.1414.1.dist-info}/entry_points.txt +0 -0
- {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": "
|
|
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列表,调用[
|
|
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": "
|
|
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":
|
|
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
|
|
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\": \"
|
|
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
|
|