tccli 3.0.1237.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 +10 -7
- 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/bpaas/v20181217/examples.json +1 -1
- tccli/services/cam/v20190116/api.json +32 -30
- tccli/services/cam/v20190116/examples.json +4 -4
- tccli/services/ccc/v20200210/api.json +31 -1
- tccli/services/ccc/v20200210/examples.json +1 -1
- tccli/services/cdb/v20170320/api.json +214 -207
- tccli/services/cdb/v20170320/examples.json +10 -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 +8 -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 +1 -1
- tccli/services/cloudapp/v20220530/examples.json +3 -3
- tccli/services/cloudaudit/v20190319/api.json +21 -17
- tccli/services/cloudaudit/v20190319/examples.json +3 -3
- 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/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 +37 -37
- tccli/services/domain/v20180808/examples.json +16 -10
- 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 +61 -8
- tccli/services/ess/v20201111/api.json +267 -37
- tccli/services/ess/v20201111/examples.json +11 -3
- tccli/services/essbasic/essbasic_client.py +167 -8
- tccli/services/essbasic/v20210526/api.json +527 -54
- 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/hai/v20230812/api.json +1 -1
- 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/lighthouse/v20200324/api.json +18 -18
- tccli/services/lighthouse/v20200324/examples.json +5 -5
- tccli/services/live/v20180801/api.json +27 -9
- 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/monitor/monitor_client.py +106 -0
- tccli/services/monitor/v20180724/api.json +222 -0
- tccli/services/monitor/v20180724/examples.json +16 -0
- 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/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/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/tag/v20180813/api.json +4 -5
- tccli/services/tcb/v20180608/api.json +36 -16
- 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 +116 -0
- 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 +42 -41
- tccli/services/vpc/v20170312/examples.json +5 -5
- {tccli-3.0.1237.1.dist-info → tccli-3.0.1238.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1237.1.dist-info → tccli-3.0.1238.1.dist-info}/RECORD +122 -118
- {tccli-3.0.1237.1.dist-info → tccli-3.0.1238.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1237.1.dist-info → tccli-3.0.1238.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1237.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"
|
@@ -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
|
],
|
@@ -1920,7 +1920,7 @@
|
|
1920
1920
|
{
|
1921
1921
|
"disabled": false,
|
1922
1922
|
"document": "角色名称。长度为1~128个字符,可包含英文字母、数字和+=,.@-_。",
|
1923
|
-
"example": "
|
1923
|
+
"example": "AdminRole",
|
1924
1924
|
"member": "string",
|
1925
1925
|
"name": "RoleName",
|
1926
1926
|
"required": true,
|
@@ -1938,7 +1938,7 @@
|
|
1938
1938
|
{
|
1939
1939
|
"disabled": false,
|
1940
1940
|
"document": "角色描述",
|
1941
|
-
"example": "
|
1941
|
+
"example": "管理角色",
|
1942
1942
|
"member": "string",
|
1943
1943
|
"name": "Description",
|
1944
1944
|
"required": false,
|
@@ -1980,7 +1980,7 @@
|
|
1980
1980
|
{
|
1981
1981
|
"disabled": false,
|
1982
1982
|
"document": "角色ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
1983
|
-
"example": "
|
1983
|
+
"example": "4611**************1",
|
1984
1984
|
"member": "string",
|
1985
1985
|
"name": "RoleId",
|
1986
1986
|
"output_required": true,
|
@@ -2066,7 +2066,7 @@
|
|
2066
2066
|
{
|
2067
2067
|
"disabled": false,
|
2068
2068
|
"document": "自定义后缀,根据您提供的字符串,与服务提供的前缀组合在一起以形成完整的角色名称。",
|
2069
|
-
"example": "
|
2069
|
+
"example": "forAdmin",
|
2070
2070
|
"member": "string",
|
2071
2071
|
"name": "CustomSuffix",
|
2072
2072
|
"required": false,
|
@@ -2084,7 +2084,7 @@
|
|
2084
2084
|
{
|
2085
2085
|
"disabled": false,
|
2086
2086
|
"document": "角色绑定标签。",
|
2087
|
-
"example": "
|
2087
|
+
"example": "[{\"TagKey\":\"管理人员\",\"TagValue\":\"运营主管\"}]",
|
2088
2088
|
"member": "RoleTags",
|
2089
2089
|
"name": "Tags",
|
2090
2090
|
"required": false,
|
@@ -2099,7 +2099,7 @@
|
|
2099
2099
|
{
|
2100
2100
|
"disabled": false,
|
2101
2101
|
"document": "角色ID",
|
2102
|
-
"example": "
|
2102
|
+
"example": "4611**************1",
|
2103
2103
|
"member": "string",
|
2104
2104
|
"name": "RoleId",
|
2105
2105
|
"output_required": true,
|
@@ -5577,7 +5577,7 @@
|
|
5577
5577
|
{
|
5578
5578
|
"disabled": false,
|
5579
5579
|
"document": "偏移量",
|
5580
|
-
"example": "",
|
5580
|
+
"example": "1",
|
5581
5581
|
"member": "uint64",
|
5582
5582
|
"name": "Offset",
|
5583
5583
|
"required": true,
|
@@ -5586,7 +5586,7 @@
|
|
5586
5586
|
{
|
5587
5587
|
"disabled": false,
|
5588
5588
|
"document": "限制数目",
|
5589
|
-
"example": "",
|
5589
|
+
"example": "10",
|
5590
5590
|
"member": "uint64",
|
5591
5591
|
"name": "Limit",
|
5592
5592
|
"required": true,
|
@@ -5601,18 +5601,20 @@
|
|
5601
5601
|
{
|
5602
5602
|
"disabled": false,
|
5603
5603
|
"document": "企业微信子用户列表。",
|
5604
|
-
"example": "",
|
5604
|
+
"example": " [ { \"Uin\": 1000005433333533, \"Name\": \"test124\", \"Uid\": 1001774, \"Remark\": \"account_test\", \"ConsoleLogin\": 1, \"PhoneNum\": \"10086\", \"CountryCode\": \"86\", \"Email\": \"123@qq.com\", \"WeChatWorkUserId\": \"45657\", \"CreateTime\": \"2020-10-10 00:00:00\" } ]",
|
5605
5605
|
"member": "WeChatWorkSubAccount",
|
5606
5606
|
"name": "Data",
|
5607
|
+
"output_required": true,
|
5607
5608
|
"type": "list",
|
5608
5609
|
"value_allowed_null": false
|
5609
5610
|
},
|
5610
5611
|
{
|
5611
5612
|
"disabled": false,
|
5612
5613
|
"document": "总数目。",
|
5613
|
-
"example": "",
|
5614
|
+
"example": "10",
|
5614
5615
|
"member": "uint64",
|
5615
5616
|
"name": "TotalCount",
|
5617
|
+
"output_required": true,
|
5616
5618
|
"type": "int",
|
5617
5619
|
"value_allowed_null": false
|
5618
5620
|
},
|
@@ -7631,100 +7633,100 @@
|
|
7631
7633
|
{
|
7632
7634
|
"disabled": false,
|
7633
7635
|
"document": "子用户用户 ID",
|
7634
|
-
"example": "",
|
7636
|
+
"example": "234234",
|
7635
7637
|
"member": "uint64",
|
7636
7638
|
"name": "Uin",
|
7637
|
-
"
|
7639
|
+
"output_required": true,
|
7638
7640
|
"type": "int",
|
7639
7641
|
"value_allowed_null": false
|
7640
7642
|
},
|
7641
7643
|
{
|
7642
7644
|
"disabled": false,
|
7643
7645
|
"document": "子用户用户名",
|
7644
|
-
"example": "",
|
7646
|
+
"example": "accountName",
|
7645
7647
|
"member": "string",
|
7646
7648
|
"name": "Name",
|
7647
|
-
"
|
7649
|
+
"output_required": true,
|
7648
7650
|
"type": "string",
|
7649
7651
|
"value_allowed_null": false
|
7650
7652
|
},
|
7651
7653
|
{
|
7652
7654
|
"disabled": false,
|
7653
7655
|
"document": "子用户 UID",
|
7654
|
-
"example": "",
|
7656
|
+
"example": "245423424",
|
7655
7657
|
"member": "uint64",
|
7656
7658
|
"name": "Uid",
|
7657
|
-
"
|
7659
|
+
"output_required": true,
|
7658
7660
|
"type": "int",
|
7659
7661
|
"value_allowed_null": false
|
7660
7662
|
},
|
7661
7663
|
{
|
7662
7664
|
"disabled": false,
|
7663
7665
|
"document": "备注",
|
7664
|
-
"example": "",
|
7666
|
+
"example": "测试账号",
|
7665
7667
|
"member": "string",
|
7666
7668
|
"name": "Remark",
|
7667
|
-
"
|
7669
|
+
"output_required": true,
|
7668
7670
|
"type": "string",
|
7669
7671
|
"value_allowed_null": false
|
7670
7672
|
},
|
7671
7673
|
{
|
7672
7674
|
"disabled": false,
|
7673
7675
|
"document": "子用户能否登录控制台",
|
7674
|
-
"example": "",
|
7676
|
+
"example": "1",
|
7675
7677
|
"member": "uint64",
|
7676
7678
|
"name": "ConsoleLogin",
|
7677
|
-
"
|
7679
|
+
"output_required": true,
|
7678
7680
|
"type": "int",
|
7679
7681
|
"value_allowed_null": false
|
7680
7682
|
},
|
7681
7683
|
{
|
7682
7684
|
"disabled": false,
|
7683
7685
|
"document": "手机号",
|
7684
|
-
"example": "",
|
7686
|
+
"example": "187******123",
|
7685
7687
|
"member": "string",
|
7686
7688
|
"name": "PhoneNum",
|
7687
|
-
"
|
7689
|
+
"output_required": true,
|
7688
7690
|
"type": "string",
|
7689
7691
|
"value_allowed_null": false
|
7690
7692
|
},
|
7691
7693
|
{
|
7692
7694
|
"disabled": false,
|
7693
7695
|
"document": "区号",
|
7694
|
-
"example": "",
|
7696
|
+
"example": "010",
|
7695
7697
|
"member": "string",
|
7696
7698
|
"name": "CountryCode",
|
7697
|
-
"
|
7699
|
+
"output_required": true,
|
7698
7700
|
"type": "string",
|
7699
7701
|
"value_allowed_null": false
|
7700
7702
|
},
|
7701
7703
|
{
|
7702
7704
|
"disabled": false,
|
7703
7705
|
"document": "邮箱",
|
7704
|
-
"example": "",
|
7706
|
+
"example": "123@qq.com",
|
7705
7707
|
"member": "string",
|
7706
7708
|
"name": "Email",
|
7707
|
-
"
|
7709
|
+
"output_required": true,
|
7708
7710
|
"type": "string",
|
7709
7711
|
"value_allowed_null": false
|
7710
7712
|
},
|
7711
7713
|
{
|
7712
7714
|
"disabled": false,
|
7713
7715
|
"document": "企业微信UserId\n注意:此字段可能返回 null,表示取不到有效值。",
|
7714
|
-
"example": "",
|
7716
|
+
"example": "23423424",
|
7715
7717
|
"member": "string",
|
7716
7718
|
"name": "WeChatWorkUserId",
|
7717
|
-
"
|
7719
|
+
"output_required": true,
|
7718
7720
|
"type": "string",
|
7719
7721
|
"value_allowed_null": true
|
7720
7722
|
},
|
7721
7723
|
{
|
7722
7724
|
"disabled": false,
|
7723
7725
|
"document": "创建时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
7724
|
-
"example": "",
|
7726
|
+
"example": "2024-12-19 10:49:12",
|
7725
7727
|
"member": "datetime",
|
7726
7728
|
"name": "CreateTime",
|
7727
|
-
"
|
7729
|
+
"output_required": true,
|
7728
7730
|
"type": "string",
|
7729
7731
|
"value_allowed_null": true
|
7730
7732
|
}
|
@@ -107,7 +107,7 @@
|
|
107
107
|
"CreateRole": [
|
108
108
|
{
|
109
109
|
"document": "以下示例将创建一个以日志服务和操作审计为载体的角色",
|
110
|
-
"input": "https://cam.tencentcloudapi.com/?Action=CreateRole\n&RoleName=test_1234544\n&PolicyDocument=%7B%22version%22%3A%222.0%22%2C%22statement%22%3A%5B%7B%22action%22%3A%22name%2Fsts%3AAssumeRole%22%2C%22effect%22%3A%22allow%22%2C%22principal%22%3A%7B%22service%22%3A%5B%22cloudaudit.cloud.tencent.com%22%2C%22cls.cloud.tencent.com%22%5D%7D%7D%5D%7D\n&Description=
|
110
|
+
"input": "https://cam.tencentcloudapi.com/?Action=CreateRole\n&RoleName=test_1234544\n&PolicyDocument=%7B%22version%22%3A%222.0%22%2C%22statement%22%3A%5B%7B%22action%22%3A%22name%2Fsts%3AAssumeRole%22%2C%22effect%22%3A%22allow%22%2C%22principal%22%3A%7B%22service%22%3A%5B%22cloudaudit.cloud.tencent.com%22%2C%22cls.cloud.tencent.com%22%5D%7D%7D%5D%7D\n&Description=adminRole remark\n&<公共请求参数>",
|
111
111
|
"output": "{\n \"Response\": {\n \"RoleId\": \"123456789000\",\n \"RequestId\": \"0bac591a-6cc7-4e9d-8d01-74618f1a9611\"\n }\n}",
|
112
112
|
"title": "创建一个角色"
|
113
113
|
}
|
@@ -123,8 +123,8 @@
|
|
123
123
|
"CreateServiceLinkedRole": [
|
124
124
|
{
|
125
125
|
"document": "",
|
126
|
-
"input": "https://cam.tencentcloudapi.com/?Action=CreateServiceLinkedRole\n&QCSServiceName.0=ccs.qcloud.com\n&CustomSuffix=
|
127
|
-
"output": "{\n \"Response\": {\n \"RoleId\": \"
|
126
|
+
"input": "https://cam.tencentcloudapi.com/?Action=CreateServiceLinkedRole\n&QCSServiceName.0=ccs.qcloud.com\n&CustomSuffix=forAdmin\n&Description=ccsLinkedRole\n&<公共请求参数>",
|
127
|
+
"output": "{\n \"Response\": {\n \"RoleId\": \"4611**************1\",\n \"RequestId\": \"c3da1c1c-df35-467d-9335-99c68d993e0a\"\n }\n}",
|
128
128
|
"title": "创建服务相关角色"
|
129
129
|
}
|
130
130
|
],
|
@@ -584,7 +584,7 @@
|
|
584
584
|
{
|
585
585
|
"document": "",
|
586
586
|
"input": "https://cam.tencentcloudapi.com/?Action=ListWeChatWorkSubAccounts\n&Offset=0\n&Limit=10\n&<公共请求参数>",
|
587
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 100,\n \"Data\": [\n {\n \"Uin\": 100000546533,\n \"Name\": \"test124\",\n \"Uid\": 1001774,\n \"Remark\": \"
|
587
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 100,\n \"Data\": [\n {\n \"Uin\": 100000546533,\n \"Name\": \"test124\",\n \"Uid\": 1001774,\n \"Remark\": \"account_test\",\n \"ConsoleLogin\": 1,\n \"PhoneNum\": \"10086\",\n \"CountryCode\": \"86\",\n \"Email\": \"123@qq.com\",\n \"WeChatWorkUserId\": \"2343455\",\n \"CreateTime\": \"2020-10-10 00:00:00\"\n }\n ],\n \"RequestId\": \"33674182-e53d-416b-b6ce-bd7e7536b5d6\"\n }\n}",
|
588
588
|
"title": "拉取企业微信子用户"
|
589
589
|
}
|
590
590
|
],
|
@@ -6047,6 +6047,15 @@
|
|
6047
6047
|
"name": "UseMobileAccept",
|
6048
6048
|
"required": false,
|
6049
6049
|
"type": "int"
|
6050
|
+
},
|
6051
|
+
{
|
6052
|
+
"disabled": false,
|
6053
|
+
"document": "座席分机号(1 到 8 打头,4 - 6 位)",
|
6054
|
+
"example": "1003",
|
6055
|
+
"member": "string",
|
6056
|
+
"name": "ExtensionNumber",
|
6057
|
+
"required": false,
|
6058
|
+
"type": "string"
|
6050
6059
|
}
|
6051
6060
|
],
|
6052
6061
|
"type": "object"
|
@@ -6830,7 +6839,7 @@
|
|
6830
6839
|
{
|
6831
6840
|
"disabled": false,
|
6832
6841
|
"document": "座席关联的技能组列表",
|
6833
|
-
"example": "\"
|
6842
|
+
"example": "[\"测试技能组\"]",
|
6834
6843
|
"member": "string",
|
6835
6844
|
"name": "SkillGroupNameList",
|
6836
6845
|
"output_required": true,
|
@@ -6848,6 +6857,17 @@
|
|
6848
6857
|
"required": false,
|
6849
6858
|
"type": "int",
|
6850
6859
|
"value_allowed_null": false
|
6860
|
+
},
|
6861
|
+
{
|
6862
|
+
"disabled": false,
|
6863
|
+
"document": "座席分机号(1 到 8 打头,4 - 6 位)",
|
6864
|
+
"example": "1003",
|
6865
|
+
"member": "string",
|
6866
|
+
"name": "ExtensionNumber",
|
6867
|
+
"output_required": false,
|
6868
|
+
"required": false,
|
6869
|
+
"type": "string",
|
6870
|
+
"value_allowed_null": false
|
6851
6871
|
}
|
6852
6872
|
],
|
6853
6873
|
"usage": "both"
|
@@ -7308,6 +7328,16 @@
|
|
7308
7328
|
"output_required": true,
|
7309
7329
|
"type": "int",
|
7310
7330
|
"value_allowed_null": false
|
7331
|
+
},
|
7332
|
+
{
|
7333
|
+
"disabled": false,
|
7334
|
+
"document": "座席分机号(1 到 8 打头,4 - 6 位)",
|
7335
|
+
"example": "1003",
|
7336
|
+
"member": "string",
|
7337
|
+
"name": "ExtensionNumber",
|
7338
|
+
"output_required": false,
|
7339
|
+
"type": "string",
|
7340
|
+
"value_allowed_null": false
|
7311
7341
|
}
|
7312
7342
|
],
|
7313
7343
|
"usage": "out"
|
@@ -27,7 +27,7 @@
|
|
27
27
|
"CreateAICall": [
|
28
28
|
{
|
29
29
|
"document": "本示例模拟某医院调用大模型对手术出院患者家长进行电话随访调查。",
|
30
|
-
"input": "POST / HTTP/1.1\nHost: ccc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAICall\n<公共请求参数>\n\n{\n \"Callee\": \"008612300000000\",\n \"SdkAppId\": 1400000000,\n \"SystemPrompt\": \"
|
30
|
+
"input": "POST / HTTP/1.1\nHost: ccc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAICall\n<公共请求参数>\n\n{\n \"Callee\": \"008612300000000\",\n \"SdkAppId\": 1400000000,\n \"SystemPrompt\": \"你是人民医院友善、和蔼的随访医生李医生,正在给患者小明的家长打电话。\",\n \"WelcomeMessage\": \"您好\",\n \"LLMType\": \"openai\",\n \"Model\": \"gpt-4o-mini\",\n \"APIKey\": \"sk-proj-xxxxx\",\n \"APIUrl\": \"https://api.openai.com/v1/\",\n \"VoiceType\": \"ZhiXi\",\n \"EndFunctionEnable\": true\n}",
|
31
31
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6bb56a09-2787-40bc-80c5-dc6dab783eff\",\n \"SessionId\": \"6bb56a09278740bc80c5dc6dab783eff\"\n }\n}",
|
32
32
|
"title": "创建AI通话示例(患者随访场景)"
|
33
33
|
}
|