tccli 3.0.1236.1__py2.py3-none-any.whl → 3.0.1238.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/__init__.py +3 -0
- tccli/services/aca/__init__.py +4 -0
- tccli/services/aca/aca_client.py +578 -0
- tccli/services/aca/v20210323/api.json +3715 -0
- tccli/services/aca/v20210323/examples.json +69 -0
- tccli/services/aiart/v20221229/api.json +18 -9
- tccli/services/aiart/v20221229/examples.json +2 -2
- tccli/services/apm/v20210622/api.json +25 -22
- tccli/services/apm/v20210622/examples.json +16 -22
- tccli/services/ba/v20200720/api.json +3 -2
- tccli/services/batch/v20170312/api.json +641 -566
- tccli/services/batch/v20170312/examples.json +7 -7
- tccli/services/bi/v20220105/api.json +9 -0
- tccli/services/billing/v20180709/api.json +2 -2
- tccli/services/bpaas/v20181217/examples.json +1 -1
- tccli/services/cam/v20190116/api.json +116 -99
- tccli/services/cam/v20190116/examples.json +11 -11
- tccli/services/ccc/v20200210/api.json +40 -1
- tccli/services/ccc/v20200210/examples.json +1 -1
- tccli/services/cdb/cdb_client.py +53 -0
- tccli/services/cdb/v20170320/api.json +257 -207
- tccli/services/cdb/v20170320/examples.json +18 -10
- tccli/services/cdwch/v20200915/api.json +6 -6
- tccli/services/cdwdoris/v20211228/api.json +16 -5
- tccli/services/cdwdoris/v20211228/examples.json +1 -1
- tccli/services/cfg/v20210820/api.json +29 -13
- tccli/services/cfg/v20210820/examples.json +1 -1
- tccli/services/cfs/v20190719/api.json +84 -84
- tccli/services/cfs/v20190719/examples.json +6 -6
- tccli/services/chdfs/v20201112/api.json +18 -17
- tccli/services/chdfs/v20201112/examples.json +2 -2
- tccli/services/clb/v20180317/api.json +184 -162
- tccli/services/cloudapp/v20220530/api.json +11 -1
- tccli/services/cloudapp/v20220530/examples.json +3 -3
- tccli/services/cloudaudit/v20190319/api.json +64 -53
- tccli/services/cloudaudit/v20190319/examples.json +5 -5
- tccli/services/cls/v20201016/api.json +21 -21
- tccli/services/cls/v20201016/examples.json +1 -1
- tccli/services/config/v20220802/api.json +2 -0
- tccli/services/config/v20220802/examples.json +2 -2
- tccli/services/cvm/v20170312/api.json +5 -5
- tccli/services/cynosdb/cynosdb_client.py +53 -0
- tccli/services/cynosdb/v20190107/api.json +110 -0
- tccli/services/cynosdb/v20190107/examples.json +8 -0
- tccli/services/dcdb/v20180411/api.json +390 -387
- tccli/services/dcdb/v20180411/examples.json +14 -14
- tccli/services/dlc/v20210125/api.json +162 -7
- tccli/services/dlc/v20210125/examples.json +1 -1
- tccli/services/domain/v20180808/api.json +55 -54
- tccli/services/domain/v20180808/examples.json +38 -32
- tccli/services/dsgc/v20190723/api.json +1796 -1623
- tccli/services/dsgc/v20190723/examples.json +217 -211
- tccli/services/dts/v20180330/api.json +143 -106
- tccli/services/dts/v20211206/api.json +57 -46
- tccli/services/dts/v20211206/examples.json +1 -1
- tccli/services/ecm/v20190719/api.json +6 -6
- tccli/services/emr/v20190103/api.json +80 -20
- tccli/services/ess/ess_client.py +118 -12
- tccli/services/ess/v20201111/api.json +320 -37
- tccli/services/ess/v20201111/examples.json +19 -3
- tccli/services/essbasic/essbasic_client.py +167 -8
- tccli/services/essbasic/v20210526/api.json +528 -55
- tccli/services/essbasic/v20210526/examples.json +46 -16
- tccli/services/facefusion/v20220927/api.json +12 -1
- tccli/services/fmu/v20191213/api.json +8 -8
- tccli/services/gaap/v20180529/api.json +200 -209
- tccli/services/gwlb/v20240906/api.json +16 -16
- tccli/services/gwlb/v20240906/examples.json +2 -2
- tccli/services/hai/v20230812/api.json +1 -1
- tccli/services/hunyuan/v20230901/api.json +6 -6
- tccli/services/iss/v20230517/api.json +11 -11
- tccli/services/iss/v20230517/examples.json +31 -31
- tccli/services/keewidb/v20220308/api.json +92 -82
- tccli/services/keewidb/v20220308/examples.json +5 -5
- tccli/services/lcic/v20220817/api.json +3 -3
- tccli/services/lcic/v20220817/examples.json +2 -2
- tccli/services/lighthouse/v20200324/api.json +18 -18
- tccli/services/lighthouse/v20200324/examples.json +6 -6
- tccli/services/live/v20180801/api.json +32 -14
- tccli/services/lke/v20231130/examples.json +1 -1
- tccli/services/mariadb/v20170312/api.json +285 -263
- tccli/services/mariadb/v20170312/examples.json +12 -12
- tccli/services/mongodb/v20180408/api.json +52 -40
- tccli/services/mongodb/v20180408/examples.json +4 -4
- tccli/services/mongodb/v20190725/api.json +119 -109
- tccli/services/mongodb/v20190725/examples.json +5 -5
- tccli/services/monitor/monitor_client.py +106 -0
- tccli/services/monitor/v20180724/api.json +222 -0
- tccli/services/monitor/v20180724/examples.json +17 -1
- tccli/services/mps/mps_client.py +228 -16
- tccli/services/mps/v20190612/api.json +385 -23
- tccli/services/mps/v20190612/examples.json +32 -0
- tccli/services/mqtt/v20240516/api.json +1 -1
- tccli/services/mqtt/v20240516/examples.json +1 -1
- tccli/services/msp/v20180319/api.json +2 -2
- tccli/services/ocr/v20181119/api.json +11 -1
- tccli/services/omics/v20221128/api.json +14 -2
- tccli/services/organization/v20210331/api.json +45 -18
- tccli/services/privatedns/v20201028/api.json +90 -81
- tccli/services/privatedns/v20201028/examples.json +18 -18
- tccli/services/pts/v20210728/api.json +8 -0
- tccli/services/redis/redis_client.py +106 -0
- tccli/services/redis/v20180412/api.json +178 -16
- tccli/services/redis/v20180412/examples.json +16 -0
- tccli/services/region/v20220627/api.json +5 -3
- tccli/services/region/v20220627/examples.json +1 -1
- tccli/services/ssl/v20191205/api.json +6 -4
- tccli/services/ssl/v20191205/examples.json +1 -1
- tccli/services/sts/v20180813/examples.json +1 -1
- tccli/services/tag/v20180813/api.json +4 -5
- tccli/services/tcb/v20180608/api.json +36 -16
- tccli/services/tdid/v20210519/api.json +30 -38
- tccli/services/tdid/v20210519/examples.json +5 -5
- tccli/services/tdmq/tdmq_client.py +53 -0
- tccli/services/tdmq/v20200217/api.json +64 -1
- tccli/services/tdmq/v20200217/examples.json +9 -1
- tccli/services/teo/teo_client.py +485 -8
- tccli/services/teo/v20220901/api.json +837 -39
- tccli/services/teo/v20220901/examples.json +108 -0
- tccli/services/thpc/v20211109/api.json +32 -34
- tccli/services/thpc/v20220401/api.json +31 -33
- tccli/services/thpc/v20230321/api.json +55 -57
- tccli/services/thpc/v20230321/examples.json +1 -1
- tccli/services/tiia/v20190529/api.json +307 -293
- tccli/services/tiia/v20190529/examples.json +41 -41
- tccli/services/tione/v20211111/api.json +4 -4
- tccli/services/tione/v20211111/examples.json +2 -2
- tccli/services/tke/v20180525/api.json +1 -1
- tccli/services/trocket/trocket_client.py +53 -0
- tccli/services/trocket/v20230308/api.json +119 -3
- tccli/services/trocket/v20230308/examples.json +14 -0
- tccli/services/tse/v20201207/api.json +188 -120
- tccli/services/tse/v20201207/examples.json +30 -30
- tccli/services/tsf/v20180326/api.json +826 -745
- tccli/services/tsf/v20180326/examples.json +99 -111
- tccli/services/vclm/v20240523/api.json +1 -1
- tccli/services/vdb/v20230616/api.json +80 -80
- tccli/services/vdb/v20230616/examples.json +1 -1
- tccli/services/vpc/v20170312/api.json +64 -44
- tccli/services/vpc/v20170312/examples.json +6 -6
- tccli/services/vrs/v20200824/api.json +3 -2
- tccli/services/wedata/v20210820/api.json +550 -40
- tccli/services/wedata/v20210820/examples.json +10 -4
- {tccli-3.0.1236.1.dist-info → tccli-3.0.1238.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1236.1.dist-info → tccli-3.0.1238.1.dist-info}/RECORD +149 -145
- {tccli-3.0.1236.1.dist-info → tccli-3.0.1238.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1236.1.dist-info → tccli-3.0.1238.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1236.1.dist-info → tccli-3.0.1238.1.dist-info}/license_files/LICENSE +0 -0
@@ -27,7 +27,7 @@
|
|
27
27
|
"CreateTaskTemplate": [
|
28
28
|
{
|
29
29
|
"document": "",
|
30
|
-
"input": "https://batch.tencentcloudapi.com/?Action=CreateTaskTemplate\n&TaskTemplateName=A\n&TaskTemplateDescription=
|
30
|
+
"input": "https://batch.tencentcloudapi.com/?Action=CreateTaskTemplate\n&TaskTemplateName=A\n&TaskTemplateDescription=demo_task_template\n&TaskTemplateInfo.TaskName=A\n&TaskTemplateInfo.TaskInstanceNum=1\n&TaskTemplateInfo.Application.DeliveryForm=LOCAL\n&TaskTemplateInfo.Application.Command=python-c\"fib=lambdan:1ifn<=2elsefib(n-1)+fib(n-2);print(fib(20))\"\n&TaskTemplateInfo.ComputeEnv.EnvType=MANAGED\n&TaskTemplateInfo.ComputeEnv.EnvData.InstanceType=S1.SMALL1\n&TaskTemplateInfo.ComputeEnv.EnvData.ImageId=img-bd78fy2t\n&TaskTemplateInfo.RedirectInfo.StdoutRedirectPath=cos://bucket-appid.cosgz.myqcloud.com/hello2/logs/\n&TaskTemplateInfo.RedirectInfo.StderrRedirectPath=cos://bucket-appid.cosgz.myqcloud.com/hello2/logs/\n&<公共请求参数>",
|
31
31
|
"output": "{\n \"Response\": {\n \"TaskTemplateId\": \"task-tmpl-7vtx96n2\",\n \"RequestId\": \"83cd875b-7ac0-4e5b-b150-0e69c59e5e52\"\n }\n}",
|
32
32
|
"title": "创建任务模板"
|
33
33
|
}
|
@@ -68,7 +68,7 @@
|
|
68
68
|
{
|
69
69
|
"document": "",
|
70
70
|
"input": "https://batch.tencentcloudapi.com/?Action=DescribeComputeEnv\n&EnvId=env-lcpcej85\n&<公共请求参数>",
|
71
|
-
"output": "{\n \"Response\": {\n \"EnvId\": \"env-lcpcej85\",\n \"ComputeNodeMetrics\": {\n \"CreatedCount\": 0,\n \"DeletingCount\": 0,\n \"CreationFailedCount\": 0,\n \"SubmittedCount\": 0,\n \"CreatingCount\": 0,\n \"AbnormalCount\": 1,\n \"RunningCount\": 1\n },\n \"ResourceType\": \"CVM\",\n \"EnvType\": \"MANAGED\",\n \"CreateTime\": \"2018-03-08T11:48:43Z\",\n \"EnvName\": \"test compute env\",\n \"NextAction\": \"\",\n \"Placement\": {\n \"Zone\": \"ap-guangzhou-2\"\n },\n \"ComputeNodeSet\": [\n {\n \"ComputeNodeId\": \"node-noa8vefu\",\n \"ComputeNodeState\": \"ABNORMAL\",\n \"Mem\": 2,\n \"ResourceCreatedTime\": \"2018-03-08T11:49:17Z\",\n \"ResourceType\": \"CVM\",\n \"ResourceOrigin\": \"BATCH_CREATED\",\n \"ComputeNodeInstanceId\": \"ins-0kj3gz6s\",\n \"AgentVersion\": \"1.1.9\",\n \"TaskInstanceNumAvailable\": 1,\n \"Cpu\": 1,\n \"PublicIpAddresses\": [\n \"132.20.19.18\"\n ],\n \"PrivateIpAddresses\": [\n \"10.10.8.3\"\n ]\n },\n {\n \"ComputeNodeId\": \"node-9yzd5jei\",\n \"ComputeNodeState\": \"RUNNING\",\n \"Mem\": 2,\n \"ResourceCreatedTime\": \"2018-03-09T13:15:44Z\",\n \"ResourceType\": \"CVM\",\n \"ResourceOrigin\": \"BATCH_CREATED\",\n \"ComputeNodeInstanceId\": \"ins-jyafz2sk\",\n \"AgentVersion\": \"1.1.9\",\n \"TaskInstanceNumAvailable\": 1,\n \"Cpu\": 1,\n \"PublicIpAddresses\": [\n \"132.20.19.18\"\n ],\n \"PrivateIpAddresses\": [\n \"10.10.8.3\"\n ]\n }\n ],\n \"DesiredComputeNodeCount\": 2,\n \"AttachedComputeNodeCount\": 0,\n \"Tags\": [\n {\n \"Key\": \"batch-test-tag-env-key\",\n \"Value\": \"batch-test-tag-env-value1\"\n }\n ],\n \"RequestId\": \"274cbd4f-77d2-4bf6-9984-643318ed3ef8\"\n }\n}",
|
71
|
+
"output": "{\n \"Response\": {\n \"EnvId\": \"env-lcpcej85\",\n \"ComputeNodeMetrics\": {\n \"CreatedCount\": 0,\n \"DeletingCount\": 0,\n \"CreationFailedCount\": 0,\n \"SubmittedCount\": 0,\n \"CreatingCount\": 0,\n \"AbnormalCount\": 1,\n \"RunningCount\": 1\n },\n \"ResourceType\": \"CVM\",\n \"EnvType\": \"MANAGED\",\n \"CreateTime\": \"2018-03-08T11:48:43Z\",\n \"EnvName\": \"test compute env\",\n \"NextAction\": \"\",\n \"Placement\": {\n \"ProjectId\": 0,\n \"Zone\": \"ap-guangzhou-2\"\n },\n \"ComputeNodeSet\": [\n {\n \"ComputeNodeId\": \"node-noa8vefu\",\n \"ComputeNodeState\": \"ABNORMAL\",\n \"Mem\": 2,\n \"ResourceCreatedTime\": \"2018-03-08T11:49:17Z\",\n \"ResourceType\": \"CVM\",\n \"ResourceOrigin\": \"BATCH_CREATED\",\n \"ComputeNodeInstanceId\": \"ins-0kj3gz6s\",\n \"AgentVersion\": \"1.1.9\",\n \"TaskInstanceNumAvailable\": 1,\n \"Cpu\": 1,\n \"PublicIpAddresses\": [\n \"132.20.19.18\"\n ],\n \"PrivateIpAddresses\": [\n \"10.10.8.3\"\n ]\n },\n {\n \"ComputeNodeId\": \"node-9yzd5jei\",\n \"ComputeNodeState\": \"RUNNING\",\n \"Mem\": 2,\n \"ResourceCreatedTime\": \"2018-03-09T13:15:44Z\",\n \"ResourceType\": \"CVM\",\n \"ResourceOrigin\": \"BATCH_CREATED\",\n \"ComputeNodeInstanceId\": \"ins-jyafz2sk\",\n \"AgentVersion\": \"1.1.9\",\n \"TaskInstanceNumAvailable\": 1,\n \"Cpu\": 1,\n \"PublicIpAddresses\": [\n \"132.20.19.18\"\n ],\n \"PrivateIpAddresses\": [\n \"10.10.8.3\"\n ]\n }\n ],\n \"DesiredComputeNodeCount\": 2,\n \"AttachedComputeNodeCount\": 0,\n \"Tags\": [\n {\n \"Key\": \"batch-test-tag-env-key\",\n \"Value\": \"batch-test-tag-env-value1\"\n }\n ],\n \"RequestId\": \"274cbd4f-77d2-4bf6-9984-643318ed3ef8\"\n }\n}",
|
72
72
|
"title": "查看计算环境详细信息"
|
73
73
|
}
|
74
74
|
],
|
@@ -92,7 +92,7 @@
|
|
92
92
|
{
|
93
93
|
"document": "",
|
94
94
|
"input": "https://batch.tencentcloudapi.com/?Action=DescribeComputeEnvCreateInfos\n&EnvIds.0=env-lcx7qbbr\n&<公共请求参数>",
|
95
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"bb976df4-42a0-41cc-82d4-69bea1007083\",\n \"ComputeEnvCreateInfoSet\": [\n {\n \"EnvId\": \"env-lcx7qbbr\",\n \"Notifications\": [\n {\n \"EventConfigs\": [\n {\n \"EventName\": \"COMPUTE_ENV_CREATED_SUCCESS\",\n \"EventVars\": [\n {\n \"Name\": \"COMPUTE_ENV_CREATED_SUCCESS\",\n \"Value\": \"COMPUTE_ENV_CREATED_SUCCESS\"\n }\n ]\n }\n ],\n \"TopicName\": \"compute-env-topic\"\n }\n ],\n \"Tags\": [\n {\n \"Value\": \"
|
95
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"bb976df4-42a0-41cc-82d4-69bea1007083\",\n \"ComputeEnvCreateInfoSet\": [\n {\n \"EnvId\": \"env-lcx7qbbr\",\n \"Notifications\": [\n {\n \"EventConfigs\": [\n {\n \"EventName\": \"COMPUTE_ENV_CREATED_SUCCESS\",\n \"EventVars\": [\n {\n \"Name\": \"COMPUTE_ENV_CREATED_SUCCESS\",\n \"Value\": \"COMPUTE_ENV_CREATED_SUCCESS\"\n }\n ]\n }\n ],\n \"TopicName\": \"compute-env-topic\"\n }\n ],\n \"Tags\": [\n {\n \"Value\": \"demo-tag\",\n \"Key\": \"demo-env1\"\n }\n ],\n \"Authentications\": [\n {\n \"SecretKey\": \"AKIDUdi1************9ThAzpuXIjNx\",\n \"SecretId\": \"Udi16***********Q9ThAzpuXIjN\",\n \"Scene\": \"COS\"\n }\n ],\n \"EnvData\": {\n \"VirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-23syenxk\",\n \"AsVpcGateway\": true,\n \"Ipv6AddressCount\": 1,\n \"VpcId\": \"vpc-1xnwrxw2\",\n \"PrivateIpAddresses\": [\n \"10.10.2.29\"\n ]\n },\n \"LoginSettings\": {\n \"Password\": \"Aa12**5678\",\n \"KeepImageLogin\": \"True\",\n \"KeyIds\": [\n \"Qa123\"\n ]\n },\n \"InstanceMarketOptions\": {\n \"SpotOptions\": {\n \"SpotInstanceType\": \"one-time\",\n \"MaxPrice\": \"1\"\n },\n \"MarketType\": \"spot\"\n },\n \"SystemDisk\": {\n \"DiskSize\": 0,\n \"CdcId\": \"1\",\n \"DiskId\": \"disk-sdfk23nw\",\n \"DiskType\": \"CLOUD_SSD\"\n },\n \"InstanceTypes\": [\n \"S5.SMALL2\"\n ],\n \"Zones\": [\n \"ap-guangzhou-2\"\n ],\n \"InstanceChargeType\": \"POSTPAID_BY_HOUR\",\n \"EnhancedService\": {\n \"SecurityService\": {\n \"Enabled\": true\n },\n \"MonitorService\": {\n \"Enabled\": true\n },\n \"AutomationService\": {\n \"Enabled\": true\n }\n },\n \"SecurityGroupIds\": [\n \"sg-1234t1\"\n ],\n \"InternetAccessible\": {\n \"PublicIpAssigned\": true,\n \"InternetChargeType\": \"POSTPAID_BY_HOUR\",\n \"BandwidthPackageId\": \"dcaew\",\n \"InternetMaxBandwidthOut\": 0\n },\n \"VirtualPrivateClouds\": [\n {\n \"SubnetId\": \"subnet-23syenxk\",\n \"AsVpcGateway\": true,\n \"Ipv6AddressCount\": 1,\n \"VpcId\": \"vpc-1xnwrxw2\",\n \"PrivateIpAddresses\": [\n \"10.10.2.29\"\n ]\n }\n ],\n \"ImageId\": \"img-3sdke3x2\",\n \"InstanceName\": \"test-env\",\n \"InstanceType\": \"S5.SMALL2\",\n \"InstanceTypeOptions\": {\n \"Memory\": 1,\n \"CPU\": 1,\n \"InstanceCategories\": [\n \"ALL\"\n ]\n },\n \"DataDisks\": [\n {\n \"DeleteWithInstance\": true,\n \"Encrypt\": true,\n \"CdcId\": \"2\",\n \"DiskType\": \"CLOUD_SSD\",\n \"ThroughputPerformance\": 0,\n \"KmsKeyId\": \"kms-213k73kx\",\n \"DiskSize\": 0,\n \"SnapshotId\": \"snap-fsdekxe2\",\n \"DiskId\": \"disk-ecqwbck\"\n }\n ]\n },\n \"EnvDescription\": \"test-env\",\n \"MountDataDisks\": [\n {\n \"FileSystemType\": \"EXT4\",\n \"LocalPath\": \"/mnt\"\n }\n ],\n \"DesiredComputeNodeCount\": 1,\n \"EnvName\": \"test-env\",\n \"InputMappings\": [\n {\n \"SourcePath\": \"cos://test-1111123424.cos.ap-guangzhou.myqcloud.com/batchtest/input/\",\n \"DestinationPath\": \"/opt/data\",\n \"MountOptionParameter\": \"\"\n }\n ],\n \"EnvType\": \"MANAGED\"\n }\n ]\n }\n}",
|
96
96
|
"title": "查看计算环境创建信息列表"
|
97
97
|
}
|
98
98
|
],
|
@@ -148,7 +148,7 @@
|
|
148
148
|
{
|
149
149
|
"document": "",
|
150
150
|
"input": "https://batch.tencentcloudapi.com/?Action=DescribeJobs\n&JobIds.0=job-7e7evk2x\n&JobIds.1=job-3n2weaqt\n&<公共请求参数>",
|
151
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 2,\n \"JobSet\": [\n {\n \"EndTime\": null,\n \"JobState\": \"STARTING\",\n \"Tags\": [\n {\n \"Key\": \"batch-test-tag-job-key\",\n \"Value\": \"batch-test-tag-job-value\"\n }\n ],\n \"TaskMetrics\": {\n \"PendingCount\": 0,\n \"FailedCount\": 0,\n \"StartingCount\": 1,\n \"SucceedCount\": 0,\n \"FailedInterruptedCount\": 0,\n \"SubmittedCount\": 0,\n \"RunnableCount\": 0,\n \"RunningCount\": 0\n },\n \"JobId\": \"job-3n2weaqt\",\n \"Priority\": 1,\n \"Placement\": {\n \"Zone\": \"ap-guangzhou-4\",\n \"ProjectId\": 0,\n \"HostIds\": [\n \"
|
151
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 2,\n \"JobSet\": [\n {\n \"EndTime\": null,\n \"JobState\": \"STARTING\",\n \"Tags\": [\n {\n \"Key\": \"batch-test-tag-job-key\",\n \"Value\": \"batch-test-tag-job-value\"\n }\n ],\n \"TaskMetrics\": {\n \"PendingCount\": 0,\n \"FailedCount\": 0,\n \"StartingCount\": 1,\n \"SucceedCount\": 0,\n \"FailedInterruptedCount\": 0,\n \"SubmittedCount\": 0,\n \"RunnableCount\": 0,\n \"RunningCount\": 0\n },\n \"JobId\": \"job-3n2weaqt\",\n \"Priority\": 1,\n \"Placement\": {\n \"Zone\": \"ap-guangzhou-4\",\n \"ProjectId\": 0,\n \"HostIds\": [\n \"host-o5i742go\"\n ],\n \"HostId\": \"host-o5i742go\"\n },\n \"JobName\": \"hello-test-job\",\n \"CreateTime\": \"2020-09-22T07:14:54Z\"\n },\n {\n \"EndTime\": \"2020-09-21T08:59:45Z\",\n \"JobState\": \"FAILED\",\n \"Tags\": [\n {\n \"Key\": \"job-key1\",\n \"Value\": \"job-value1\"\n },\n {\n \"Key\": \"job-key\",\n \"Value\": \"job-value\"\n }\n ],\n \"TaskMetrics\": {\n \"PendingCount\": 0,\n \"FailedCount\": 1,\n \"StartingCount\": 0,\n \"SucceedCount\": 0,\n \"FailedInterruptedCount\": 0,\n \"SubmittedCount\": 0,\n \"RunnableCount\": 0,\n \"RunningCount\": 0\n },\n \"JobId\": \"job-7e7evk2x\",\n \"Priority\": 1,\n \"Placement\": {\n \"Zone\": \"ap-guangzhou-4\",\n \"ProjectId\": 1,\n \"HostIds\": [\n \"host-o5i737go\"\n ],\n \"HostId\": \"host-o5i737go\"\n },\n \"JobName\": \"hello-test-job\",\n \"CreateTime\": \"2020-09-21T08:57:01Z\"\n }\n ],\n \"RequestId\": \"ba5df388-51bd-434d-81aa-d640f284b4e7\"\n }\n}",
|
152
152
|
"title": "查询作业信息"
|
153
153
|
}
|
154
154
|
],
|
@@ -156,7 +156,7 @@
|
|
156
156
|
{
|
157
157
|
"document": "",
|
158
158
|
"input": "https://batch.tencentcloudapi.com/?Action=DescribeTask\n&JobId=job-97zcl3wt\n&TaskName=A\n&Filters.0.Name=task-instance-state\n&Filters.0.Values.0=SUCCEED\n&<公共请求参数>",
|
159
|
-
"output": "{\n \"Response\": {\n \"TaskInstanceSet\": [\n {\n \"TaskInstanceIndex\": 1,\n \"RedirectInfo\": {\n \"StderrRedirectFileName\": \"stderr.job-97zcl3wt.A.1.log\",\n \"StdoutRedirectFileName\": \"stdout.job-97zcl3wt.A.1.log\",\n \"StdoutRedirectPath\": \"cos://dondonbatch-1251783334.cosgz.myqcloud.com/hello2/logs/\",\n \"StderrRedirectPath\": \"cos://dondonbatch-1251783334.cosgz.myqcloud.com/hello2/logs/\"\n },\n \"RunningTime\": \"2018-02-07T09:29:55Z\",\n \"LaunchTime\": \"2018-02-07T09:29:09Z\",\n \"StateReason\": \"\",\n \"StateDetailedReason\": \"
|
159
|
+
"output": "{\n \"Response\": {\n \"TaskInstanceSet\": [\n {\n \"TaskInstanceIndex\": 1,\n \"RedirectInfo\": {\n \"StderrRedirectFileName\": \"stderr.job-97zcl3wt.A.1.log\",\n \"StdoutRedirectFileName\": \"stdout.job-97zcl3wt.A.1.log\",\n \"StdoutRedirectPath\": \"cos://dondonbatch-1251783334.cosgz.myqcloud.com/hello2/logs/\",\n \"StderrRedirectPath\": \"cos://dondonbatch-1251783334.cosgz.myqcloud.com/hello2/logs/\"\n },\n \"RunningTime\": \"2018-02-07T09:29:55Z\",\n \"LaunchTime\": \"2018-02-07T09:29:09Z\",\n \"StateReason\": \"\",\n \"StateDetailedReason\": \"successful\",\n \"ComputeNodeInstanceId\": null,\n \"EndTime\": \"2018-02-07T09:30:23Z\",\n \"TaskInstanceState\": \"SUCCEED\",\n \"CreateTime\": \"2018-02-07T09:29:09Z\",\n \"ExitCode\": 0\n },\n {\n \"TaskInstanceIndex\": 0,\n \"RedirectInfo\": {\n \"StderrRedirectFileName\": \"stderr.job-97zcl3wt.A.0.log\",\n \"StdoutRedirectFileName\": \"stdout.job-97zcl3wt.A.0.log\",\n \"StdoutRedirectPath\": \"cos://dondonbatch-1251783334.cosgz.myqcloud.com/hello2/logs/\",\n \"StderrRedirectPath\": \"cos://dondonbatch-1251783334.cosgz.myqcloud.com/hello2/logs/\"\n },\n \"RunningTime\": \"2018-02-07T09:30:02Z\",\n \"LaunchTime\": \"2018-02-07T09:29:09Z\",\n \"StateReason\": \"\",\n \"StateDetailedReason\": \"successful\",\n \"ComputeNodeInstanceId\": null,\n \"EndTime\": \"2018-02-07T09:30:31Z\",\n \"TaskInstanceState\": \"SUCCEED\",\n \"CreateTime\": \"2018-02-07T09:29:09Z\",\n \"ExitCode\": 0\n }\n ],\n \"TaskState\": \"SUCCEED\",\n \"JobId\": \"job-97zcl3wt\",\n \"TaskInstanceMetrics\": {\n \"PendingCount\": 0,\n \"FailedCount\": 0,\n \"StartingCount\": 0,\n \"SucceedCount\": 2,\n \"FailedInterruptedCount\": 0,\n \"SubmittedCount\": 0,\n \"RunnableCount\": 0,\n \"RunningCount\": 0\n },\n \"TaskInstanceTotalCount\": 2,\n \"TaskName\": \"A\",\n \"EndTime\": \"2018-02-07T09:30:31Z\",\n \"CreateTime\": \"2018-02-07T09:29:09Z\",\n \"RequestId\": \"f4723b24-e080-4599-b12d-b7eb657faefe\"\n }\n}",
|
160
160
|
"title": "查询任务详情"
|
161
161
|
}
|
162
162
|
],
|
@@ -195,7 +195,7 @@
|
|
195
195
|
"ModifyTaskTemplate": [
|
196
196
|
{
|
197
197
|
"document": "",
|
198
|
-
"input": "https://batch.tencentcloudapi.com/?Action=ModifyTaskTemplate\n&TaskTemplateId=task-tmpl-606i415o\n&TaskTemplateName=A\n&TaskTemplateDescription=
|
198
|
+
"input": "https://batch.tencentcloudapi.com/?Action=ModifyTaskTemplate\n&TaskTemplateId=task-tmpl-606i415o\n&TaskTemplateName=A\n&TaskTemplateDescription=demo_task\n&TaskTemplateInfo.TaskName=A\n&TaskTemplateInfo.TaskInstanceNum=1\n&TaskTemplateInfo.Application.DeliveryForm=LOCAL\n&TaskTemplateInfo.Application.Command=python -c \"fib=lambda n:1 if n<=2 else fib(n-1)+fib(n-2); print(fib(20))\"\n&TaskTemplateInfo.ComputeEnv.EnvType=MANAGED\n&TaskTemplateInfo.ComputeEnv.EnvData.InstanceType=S1.SMALL1\n&TaskTemplateInfo.ComputeEnv.EnvData.ImageId=img-bd78fy2t\n&TaskTemplateInfo.RedirectInfo.StdoutRedirectPath=cos://bucket-appid.cos.ap-guangzhou.myqcloud.com/hello2/logs/\n&TaskTemplateInfo.RedirectInfo.StderrRedirectPath=cos://bucket-appid.ap-guangzhou.myqcloud.com/hello2/logs/\n&<公共请求参数>",
|
199
199
|
"output": "{\n \"Response\": {\n \"RequestId\": \"8a56bd93-688e-41c3-bc8b-f9867ffb0dd0\"\n }\n}",
|
200
200
|
"title": "更改任务模板"
|
201
201
|
}
|
@@ -211,7 +211,7 @@
|
|
211
211
|
"SubmitJob": [
|
212
212
|
{
|
213
213
|
"document": "",
|
214
|
-
"input": "https://batch.tencentcloudapi.com/?Action=SubmitJob\n&Placement.Zone=ap-guangzhou-2\n&Job.JobName=
|
214
|
+
"input": "https://batch.tencentcloudapi.com/?Action=SubmitJob\n&Placement.Zone=ap-guangzhou-2\n&Job.JobName=normal_job\n&Job.JobDescription=normal_job\n&Job.Priority=1\n&Job.Tasks.0.TaskName=hello2\n&Job.Tasks.0.TaskInstanceNum=1\n&Job.Tasks.0.Application.DeliveryForm=LOCAL\n&Job.Tasks.0.Application.Command=python -c \"fib=lambda n:1 if n<=2 else fib(n-1)+fib(n-2); print(fib(20))\"\n&Job.Tasks.0.ComputeEnv.EnvType=MANAGED\n&Job.Tasks.0.ComputeEnv.EnvData.InstanceType=S1.SMALL1\n&Job.Tasks.0.ComputeEnv.EnvData.ImageId=img-bd78fy2t\n&Job.Tasks.0.RedirectInfo.StdoutRedirectPath=cos://dondonbatch-1251783334.cosgz.myqcloud.com/hello2/logs/\n&Job.Tasks.0.RedirectInfo.StderrRedirectPath=cos://dondonbatch-1251783334.cosgz.myqcloud.com/hello2/logs/\n&<公共请求参数>",
|
215
215
|
"output": "{\n \"Response\": {\n \"JobId\": \"job-4yn0we13\",\n \"RequestId\": \"bf2a9734-e485-423f-9d73-a93f5e6c6a0c\"\n }\n}",
|
216
216
|
"title": "提交作业"
|
217
217
|
},
|
@@ -2456,6 +2456,15 @@
|
|
2456
2456
|
"name": "ModuleCollection",
|
2457
2457
|
"required": false,
|
2458
2458
|
"type": "string"
|
2459
|
+
},
|
2460
|
+
{
|
2461
|
+
"disabled": false,
|
2462
|
+
"document": "moduleId集合",
|
2463
|
+
"example": "[“111”]",
|
2464
|
+
"member": "string",
|
2465
|
+
"name": "ModuleIdList",
|
2466
|
+
"required": false,
|
2467
|
+
"type": "list"
|
2459
2468
|
}
|
2460
2469
|
],
|
2461
2470
|
"type": "object"
|
@@ -8271,7 +8271,7 @@
|
|
8271
8271
|
"value_allowed_null": false
|
8272
8272
|
},
|
8273
8273
|
{
|
8274
|
-
"disabled":
|
8274
|
+
"disabled": true,
|
8275
8275
|
"document": "是否允许欠费消费",
|
8276
8276
|
"example": "true",
|
8277
8277
|
"member": "bool",
|
@@ -8281,7 +8281,7 @@
|
|
8281
8281
|
"value_allowed_null": false
|
8282
8282
|
},
|
8283
8283
|
{
|
8284
|
-
"disabled":
|
8284
|
+
"disabled": true,
|
8285
8285
|
"document": "是否限制信用额度",
|
8286
8286
|
"example": "true",
|
8287
8287
|
"member": "bool",
|
@@ -4,7 +4,7 @@
|
|
4
4
|
{
|
5
5
|
"document": "查看审批详情",
|
6
6
|
"input": "POST / HTTP/1.1\nHost: bpaas.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetBpaasApproveDetail\n<公共请求参数>\n\n{\n \"ApproveId\": 1000000001\n}",
|
7
|
-
"output": "{\n \"Response\": {\n \"ApplyUin\": 1,\n \"ApplyOwnUin\": 1,\n \"ApplyUinNick\": \"jack\",\n \"BpaasId\": 1,\n \"BpaasName\": \"申请mysql\",\n \"ApplicationParams\": [\n {\n \"Key\": \"name\",\n \"Value\": [\n \"jack\"\n ],\n \"Name\": \"子用户\"\n }\n ],\n \"Reason\": \"业务需要\",\n \"CreateTime\": \"2024-11-27 19:26:57\",\n \"Status\": 1,\n \"Nodes\": [\n {\n \"NodeId\": \"1\",\n \"NodeName\": \"管理员审批\",\n \"NodeType\": 1,\n \"NextNode\": \"2\",\n \"Opinion\": {\n \"Type\": 1,\n \"Content\": [\n \"
|
7
|
+
"output": "{\n \"Response\": {\n \"ApplyUin\": 1,\n \"ApplyOwnUin\": 1,\n \"ApplyUinNick\": \"jack\",\n \"BpaasId\": 1,\n \"BpaasName\": \"申请mysql\",\n \"ApplicationParams\": [\n {\n \"Key\": \"name\",\n \"Value\": [\n \"jack\"\n ],\n \"Name\": \"子用户\"\n }\n ],\n \"Reason\": \"业务需要\",\n \"CreateTime\": \"2024-11-27 19:26:57\",\n \"Status\": 1,\n \"Nodes\": [\n {\n \"NodeId\": \"1\",\n \"NodeName\": \"管理员审批\",\n \"NodeType\": 1,\n \"NextNode\": \"2\",\n \"Opinion\": {\n \"Type\": 1,\n \"Content\": [\n \"同意\"\n ]\n },\n \"ScfName\": \"get-names\",\n \"SubStatus\": 1,\n \"ApprovedUin\": [\n 1\n ],\n \"CreateTime\": \"2024-11-27 19:30:29\",\n \"Msg\": \"管理员审批\",\n \"Users\": {\n \"Uin\": 1,\n \"Type\": 1,\n \"Desc\": \"普通用户\",\n \"Nick\": \"jack\",\n \"Scf\": {\n \"ScfName\": \"get-approvers\",\n \"ScfRegion\": \"ap-guangdong\",\n \"ScfRegionName\": \"广东\",\n \"Params\": [\n {\n \"Key\": \"total\",\n \"Name\": \"总数\",\n \"Type\": 1,\n \"Values\": [\n \"1\"\n ]\n }\n ]\n },\n \"ApproveStatus\": 1,\n \"ApproveMsg\": \"同意\",\n \"ApproveTime\": \"2024-11-27 19:30:29\",\n \"ApproveGroup\": \"1\"\n },\n \"IsApprove\": true,\n \"ApproveId\": \"1\",\n \"ApproveMethod\": 1,\n \"ApproveType\": 1,\n \"CallMethod\": 1,\n \"DataHubId\": \"data94\",\n \"TaskName\": \"data\",\n \"CKafkaRegion\": \"ap-guangzhou\",\n \"ExternalUrl\": \"\",\n \"ParallelNodes\": \"3-2\",\n \"RejectedCloudFunctionMsg\": \"\",\n \"PrevNode\": \"\"\n }\n ],\n \"ApprovingNodeId\": \"2\",\n \"ModifyTime\": \"2024-11-27 19:30:29\",\n \"RequestId\": \"63a03810-f188-40ab-91ed-11fd81d6f9ce\"\n }\n}",
|
8
8
|
"title": "查看审批详情"
|
9
9
|
}
|
10
10
|
],
|