tccli 3.0.1208.1__py2.py3-none-any.whl → 3.0.1210.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/batch/v20170312/api.json +20 -2
- tccli/services/bma/v20221115/api.json +26 -1
- tccli/services/bma/v20221115/examples.json +7 -7
- tccli/services/cam/v20190116/api.json +38 -30
- tccli/services/cam/v20190116/examples.json +2 -2
- tccli/services/ccc/v20200210/api.json +28 -1
- tccli/services/cdwdoris/v20211228/api.json +20 -1
- tccli/services/cfg/v20210820/api.json +21 -1
- tccli/services/cls/cls_client.py +216 -4
- tccli/services/cls/v20201016/api.json +497 -11
- tccli/services/cls/v20201016/examples.json +32 -0
- tccli/services/cynosdb/v20190107/api.json +30 -9
- tccli/services/cynosdb/v20190107/examples.json +2 -2
- tccli/services/dasb/v20191018/api.json +19 -10
- tccli/services/dasb/v20191018/examples.json +1 -1
- tccli/services/dc/dc_client.py +126 -73
- tccli/services/dc/v20180410/api.json +300 -0
- tccli/services/dc/v20180410/examples.json +8 -0
- tccli/services/dnspod/v20210323/api.json +3 -1
- tccli/services/emr/emr_client.py +238 -26
- tccli/services/emr/v20190103/api.json +1012 -116
- tccli/services/emr/v20190103/examples.json +32 -0
- tccli/services/es/v20180416/api.json +144 -2
- tccli/services/ess/v20201111/api.json +4 -4
- tccli/services/ess/v20201111/examples.json +10 -10
- tccli/services/essbasic/v20210526/api.json +15 -6
- tccli/services/faceid/v20180301/api.json +10 -0
- tccli/services/gwlb/__init__.py +4 -0
- tccli/services/gwlb/gwlb_client.py +1096 -0
- tccli/services/gwlb/v20240906/api.json +1807 -0
- tccli/services/gwlb/v20240906/examples.json +155 -0
- tccli/services/hunyuan/v20230901/api.json +85 -9
- tccli/services/hunyuan/v20230901/examples.json +1 -1
- tccli/services/iss/v20230517/api.json +62 -14
- tccli/services/iss/v20230517/examples.json +19 -13
- tccli/services/oceanus/v20190422/api.json +4 -4
- tccli/services/privatedns/privatedns_client.py +57 -4
- tccli/services/privatedns/v20201028/api.json +101 -0
- tccli/services/privatedns/v20201028/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +2 -2
- tccli/services/sms/v20210111/api.json +3 -3
- tccli/services/sms/v20210111/examples.json +2 -2
- tccli/services/sqlserver/v20180328/api.json +32 -11
- tccli/services/sqlserver/v20180328/examples.json +1 -1
- tccli/services/sts/v20180813/api.json +11 -10
- tccli/services/sts/v20180813/examples.json +2 -2
- tccli/services/tcss/v20201101/api.json +136 -19
- tccli/services/teo/v20220901/api.json +23 -23
- tccli/services/teo/v20220901/examples.json +4 -58
- tccli/services/tke/tke_client.py +118 -12
- tccli/services/tke/v20180525/api.json +154 -2
- tccli/services/tke/v20180525/examples.json +16 -0
- tccli/services/vclm/v20240523/api.json +9 -0
- tccli/services/vpc/v20170312/api.json +59 -43
- tccli/services/vpc/v20170312/examples.json +1 -1
- tccli/services/vtc/v20240223/api.json +9 -0
- {tccli-3.0.1208.1.dist-info → tccli-3.0.1210.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1208.1.dist-info → tccli-3.0.1210.1.dist-info}/RECORD +63 -59
- {tccli-3.0.1208.1.dist-info → tccli-3.0.1210.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1208.1.dist-info → tccli-3.0.1210.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1208.1.dist-info → tccli-3.0.1210.1.dist-info}/license_files/LICENSE +0 -0
@@ -0,0 +1,155 @@
|
|
1
|
+
{
|
2
|
+
"actions": {
|
3
|
+
"AssociateTargetGroups": [
|
4
|
+
{
|
5
|
+
"document": "",
|
6
|
+
"input": "https://gwlb.tencentcloudapi.com/?Action=AssociateTargetGroups\n&Associations.0.LoadBalancerId=gwlb-20dhh498\n&Associations.0.TargetGroupId=lbtg-5xunivs0\n&<公共请求参数>",
|
7
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"dd2f3116-421c-4eda-8401-b9ddefcc65d5\"\n }\n}",
|
8
|
+
"title": "负载均衡关联目标组"
|
9
|
+
}
|
10
|
+
],
|
11
|
+
"CreateGatewayLoadBalancer": [
|
12
|
+
{
|
13
|
+
"document": "在私有网络中创建一个网关负载均衡",
|
14
|
+
"input": "POST / HTTP/1.1\nHost: gwlb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateGatewayLoadBalancer\n<公共请求参数>\n\n{\n \"VpcId\": \"vpc-30xq****\",\n \"SubnetId\": \"subnet-****\",\n \"LoadBalancerName\": \"test\"\n}",
|
15
|
+
"output": "{\n \"Response\": {\n \"LoadBalancerIds\": [\n \"gwlb-kmfr****\"\n ],\n \"DealName\": \"20211230660009761735781\",\n \"RequestId\": \"7ffa6830-cd1b-4bc4-8e24-1688885f594a\"\n }\n}",
|
16
|
+
"title": "创建一个网关负载均衡实例"
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"CreateTargetGroup": [
|
20
|
+
{
|
21
|
+
"document": "创建目标组",
|
22
|
+
"input": "POST / HTTP/1.1\nHost: gwlb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTargetGroup\n<公共请求参数>\n\n{\n \"VpcId\": \"vpc-i1cnjuhx\",\n \"Port\": \"80\",\n \"TargetGroupName\": \"czhtest\"\n}",
|
23
|
+
"output": "{\n \"Response\": {\n \"TargetGroupId\": \"lbtg-81******\",\n \"RequestId\": \"9a4096dd-45a1-4e03-be8e-482a2fb48b59\"\n }\n}",
|
24
|
+
"title": "创建目标组"
|
25
|
+
}
|
26
|
+
],
|
27
|
+
"DeleteGatewayLoadBalancer": [
|
28
|
+
{
|
29
|
+
"document": "删除一个网负载均衡实例",
|
30
|
+
"input": "POST / HTTP/1.1\nHost: gwlb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteGatewayLoadBalancer\n<公共请求参数>\n\n{\n \"LoadBalancerIds\": [\n \"gwlb-hsb9****\"\n ]\n}",
|
31
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"db141822-c025-4765-88d4-02bdec0e67ed\"\n }\n}",
|
32
|
+
"title": "删除一个网关负载均衡实例"
|
33
|
+
}
|
34
|
+
],
|
35
|
+
"DeleteTargetGroups": [
|
36
|
+
{
|
37
|
+
"document": "",
|
38
|
+
"input": "https://gwlb.tencentcloudapi.com/?Action=DeleteTargetGroups\n&TargetGroupIds.0=lbtg-f1phe5j6\n&<公共请求参数>",
|
39
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"4e0ec156-655b-47e4-a483-a954b632a49a\"\n }\n}",
|
40
|
+
"title": "删除目标组"
|
41
|
+
}
|
42
|
+
],
|
43
|
+
"DeregisterTargetGroupInstances": [
|
44
|
+
{
|
45
|
+
"document": "",
|
46
|
+
"input": "https://gwlb.tencentcloudapi.com/?Action=DeregisterTargetGroupInstances\n&TargetGroupId=lbtg-815iz538\n&TargetGroupInstances.0.BindIP=172.16.0.34\n&TargetGroupInstances.0.Port=1234\n&<公共请求参数>",
|
47
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"4b4987ca-58d0-4bad-9ded-344fa4011bda\"\n }\n}",
|
48
|
+
"title": "从目标组中解绑服务器"
|
49
|
+
}
|
50
|
+
],
|
51
|
+
"DescribeGatewayLoadBalancers": [
|
52
|
+
{
|
53
|
+
"document": "指定实例ID查询网关负载均衡",
|
54
|
+
"input": "POST / HTTP/1.1\nHost: gwlb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGatewayLoadBalancers\n<公共请求参数>\n\n{\n \"LoadBalancerIds\": [\n \"abc\"\n ]\n}",
|
55
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"LoadBalancerSet\": [\n {\n \"LoadBalancerId\": \"abc\",\n \"LoadBalancerName\": \"abc\",\n \"Vips\": [\n \"abc\"\n ],\n \"SubnetId\": \"abc\",\n \"Status\": 1,\n \"DeleteProtect\": true,\n \"TargetGroupId\": \"abc\",\n \"VpcId\": \"abc\",\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ],\n \"CreateTime\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
56
|
+
"title": "指定实例ID查询网关负载均衡"
|
57
|
+
}
|
58
|
+
],
|
59
|
+
"DescribeTargetGroupInstanceStatus": [
|
60
|
+
{
|
61
|
+
"document": "批量查询gwlb目标组后端服务状态",
|
62
|
+
"input": "POST / HTTP/1.1\nHost: gwlb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTargetGroupInstanceStatus\n<公共请求参数>\n\n{\n \"TargetGroupId\": \"lbtg-3j3****\",\n \"TargetGroupInstanceIps\": [\n \"10.0.1.13\",\n \"10.0.1.5\"\n ]\n}",
|
63
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"b3ba6587-1a1c-47eb-ac8b-0424bf3fdc86\",\n \"TargetGroupInstanceSet\": [\n {\n \"InstanceIp\": \"10.0.1.13\",\n \"Status\": \"on\"\n },\n {\n \"InstanceIp\": \"10.0.1.5\",\n \"Status\": \"on\"\n }\n ]\n }\n}",
|
64
|
+
"title": "批量查询gwlb目标组后端服务状态"
|
65
|
+
}
|
66
|
+
],
|
67
|
+
"DescribeTargetGroupInstances": [
|
68
|
+
{
|
69
|
+
"document": "显示目标组绑定的服务器信息",
|
70
|
+
"input": "https://gwlb.tencentcloudapi.com/?Action=DescribeTargetGroupInstances\n&Filters.0.Name=TargetGroupId\n&Filters.0.Values.0=lbtg-5xunivs0\n&<公共请求参数>",
|
71
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 2,\n \"TargetGroupInstanceSet\": [\n {\n \"TargetGroupId\": \"lbtg-5xunivs0\",\n \"Type\": \"CVM\",\n \"InstanceId\": \"ins-197234qt\",\n \"InstanceName\": \"未命名\",\n \"Port\": 3333,\n \"Weight\": 43,\n \"PublicIpAddresses\": [],\n \"PrivateIpAddresses\": [\n \"172.16.0.32\"\n ],\n \"EniId\": null,\n \"ZoneId\": \"400001\",\n \"RegisteredTime\": \"2019-07-24T20:02:43+08:00\"\n },\n {\n \"TargetGroupId\": \"lbtg-5xunivs0\",\n \"Type\": \"CVM\",\n \"InstanceId\": \"ins-197234qt\",\n \"InstanceName\": \"未命名\",\n \"Port\": 2222,\n \"Weight\": 55,\n \"PublicIpAddresses\": [],\n \"PrivateIpAddresses\": [\n \"172.16.0.32\"\n ],\n \"EniId\": null,\n \"ZoneId\": \"400001\",\n \"RegisteredTime\": \"2019-07-23T21:01:08+08:00\"\n }\n ],\n \"RealCount\": 2,\n \"RequestId\": \"94240d7f-8bc1-422a-81b9-5ea76d486a66\"\n }\n}",
|
72
|
+
"title": "显示目标组绑定的服务器信息"
|
73
|
+
}
|
74
|
+
],
|
75
|
+
"DescribeTargetGroupList": [
|
76
|
+
{
|
77
|
+
"document": "获取目标组列表",
|
78
|
+
"input": "https://gwlb.tencentcloudapi.com/?Action=DescribeTargetGroupList\n&<公共请求参数>",
|
79
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"TargetGroupSet\": [\n {\n \"TargetGroupId\": \"abc\",\n \"VpcId\": \"abc\",\n \"TargetGroupName\": \"abc\",\n \"Port\": 1,\n \"CreatedTime\": \"2020-09-22T00:00:00+00:00\",\n \"UpdatedTime\": \"2020-09-22T00:00:00+00:00\",\n \"AssociatedRule\": [\n {\n \"LoadBalancerId\": \"abc\",\n \"LoadBalancerName\": \"abc\"\n }\n ],\n \"Protocol\": \"abc\",\n \"ScheduleAlgorithm\": \"abc\",\n \"HealthCheck\": {\n \"HealthSwitch\": true,\n \"Protocol\": \"abc\",\n \"Port\": 0,\n \"Timeout\": 0,\n \"IntervalTime\": 0,\n \"HealthNum\": 0,\n \"UnHealthNum\": 0\n },\n \"AllDeadToAlive\": true,\n \"AssociatedRuleCount\": 0\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
80
|
+
"title": "获取目标组列表"
|
81
|
+
}
|
82
|
+
],
|
83
|
+
"DescribeTargetGroups": [
|
84
|
+
{
|
85
|
+
"document": "根据ID查询目标组信息",
|
86
|
+
"input": "POST / HTTP/1.1\nHost: gwlb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTargetGroups\n<公共请求参数>\n\n{\n \"TargetGroupIds\": [\n \"lbtg-5xunivs0\"\n ]\n}",
|
87
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"7ae76f16-a859-449a-a43e-674c229999cc\",\n \"TargetGroupSet\": [\n {\n \"AllDeadToAlive\": false,\n \"AssociatedRule\": [\n {\n \"LoadBalancerId\": \"gwlb-poqv7z4y\",\n \"LoadBalancerName\": \"test-gwlb-2\"\n }\n ],\n \"CreatedTime\": \"2024-09-04T14:30:45+08:00\",\n \"HealthCheck\": {\n \"HealthNum\": 3,\n \"HealthSwitch\": true,\n \"IntervalTime\": 5,\n \"Port\": 0,\n \"Protocol\": \"icmp\",\n \"Timeout\": 2,\n \"UnHealthNum\": 3\n },\n \"Port\": 6081,\n \"Protocol\": \"geneve\",\n \"ScheduleAlgorithm\": \"ip_hash_3\",\n \"TargetGroupId\": \"lbtg-5xunivs0\",\n \"TargetGroupName\": \"gwlb-tar-5\",\n \"UpdatedTime\": \"2024-09-04T14:30:44+08:00\",\n \"VpcId\": \"vpc-drpj1tv1\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
|
88
|
+
"title": "根据ID查询目标组信息"
|
89
|
+
},
|
90
|
+
{
|
91
|
+
"document": "根据条件查询目标组信息",
|
92
|
+
"input": "POST / HTTP/1.1\nHost: gwlb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTargetGroups\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Values\": [\n \"vpc-drpj1tv1\"\n ],\n \"Name\": \"TargetGroupVpcId\"\n }\n ]\n}",
|
93
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"7ae76f16-a859-449a-a43e-674c229999cc\",\n \"TargetGroupSet\": [\n {\n \"AllDeadToAlive\": false,\n \"AssociatedRule\": [\n {\n \"LoadBalancerId\": \"gwlb-poqv7z4y\",\n \"LoadBalancerName\": \"test-gwlb-2\"\n }\n ],\n \"CreatedTime\": \"2024-09-04T14:30:45+08:00\",\n \"HealthCheck\": {\n \"HealthNum\": 3,\n \"HealthSwitch\": true,\n \"IntervalTime\": 5,\n \"Port\": 0,\n \"Protocol\": \"icmp\",\n \"Timeout\": 2,\n \"UnHealthNum\": 3\n },\n \"Port\": 6081,\n \"Protocol\": \"geneve\",\n \"ScheduleAlgorithm\": \"ip_hash_3\",\n \"TargetGroupId\": \"lbtg-5xunivs0\",\n \"TargetGroupName\": \"gwlb-tar-5\",\n \"UpdatedTime\": \"2024-09-04T14:30:44+08:00\",\n \"VpcId\": \"vpc-drpj1tv1\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
|
94
|
+
"title": "根据条件查询目标组信息"
|
95
|
+
}
|
96
|
+
],
|
97
|
+
"DescribeTaskStatus": [
|
98
|
+
{
|
99
|
+
"document": "假设某次调用创建负载均衡接口返回成功,且返回的 RequestId 为 55c85074-3e7f-4c6d-864f-673660d4f8de,则需要查询该异步任务最终是否执行成功。响应中,Status 为 0 表示任务执行成功。",
|
100
|
+
"input": "POST / HTTP/1.1\nHost: gwlb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTaskStatus\n<公共请求参数>\n\n{\n \"TaskId\": \"55c85074-3e7f-4c6d-864f-673660d4f8de\"\n}",
|
101
|
+
"output": "{\n \"Response\": {\n \"Status\": 0,\n \"LoadBalancerIds\": [\n \"gwlb-6efswuxa\"\n ],\n \"RequestId\": \"917384bc-5b8d-4b68-a0bc-a58f815e8e3b\"\n }\n}",
|
102
|
+
"title": "查询异步任务状态"
|
103
|
+
}
|
104
|
+
],
|
105
|
+
"DisassociateTargetGroups": [
|
106
|
+
{
|
107
|
+
"document": "",
|
108
|
+
"input": "https://gwlb.tencentcloudapi.com/?Action=DisassociateTargetGroups\n&Associations.0.LoadBalancerId=gwlb-20dhh498\n&Associations.0.TargetGroupId=lbtg-xxqr0ric\n&<公共请求参数>",
|
109
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"bc953deb-02d7-4bd3-86a6-80421ec37776\"\n }\n}",
|
110
|
+
"title": "解除负载均衡和目标组的关联关系"
|
111
|
+
}
|
112
|
+
],
|
113
|
+
"InquirePriceCreateGatewayLoadBalancer": [
|
114
|
+
{
|
115
|
+
"document": "",
|
116
|
+
"input": "POST / HTTP/1.1\nHost: gwlb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquirePriceCreateGatewayLoadBalancer\n<公共请求参数>\n\n{\n \"GoodsNum\": 1\n}",
|
117
|
+
"output": "{\n \"Response\": {\n \"Price\": {\n \"InstancePrice\": {\n \"ChargeUnit\": \"HOUR\",\n \"Discount\": 100,\n \"DiscountPrice\": null,\n \"OriginalPrice\": null,\n \"UnitPrice\": 0.098,\n \"UnitPriceDiscount\": 0.098\n },\n \"LcuPrice\": {\n \"ChargeUnit\": \"HOUR\",\n \"Discount\": 100,\n \"DiscountPrice\": null,\n \"OriginalPrice\": null,\n \"UnitPrice\": 0.028,\n \"UnitPriceDiscount\": 0.028\n }\n },\n \"RequestId\": \"9938ffa4-795a-4eb7-90be-3960b0659a6e\"\n }\n}",
|
118
|
+
"title": "创建网关负载均衡询价"
|
119
|
+
}
|
120
|
+
],
|
121
|
+
"ModifyGatewayLoadBalancerAttribute": [
|
122
|
+
{
|
123
|
+
"document": "修改网关负载均衡实例名称",
|
124
|
+
"input": "POST / HTTP/1.1\nHost: gwlb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyGatewayLoadBalancerAttribute\n<公共请求参数>\n\n{\n \"LoadBalancerId\": \"gwlb-6efswuxa\",\n \"LoadBalancerName\": \"newlbname\"\n}",
|
125
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"78a40898-8210-44c7-8bc6-f83e50878d12\"\n }\n}",
|
126
|
+
"title": "修改网关负载均衡实例名称"
|
127
|
+
}
|
128
|
+
],
|
129
|
+
"ModifyTargetGroupAttribute": [
|
130
|
+
{
|
131
|
+
"document": "修改目标组名称",
|
132
|
+
"input": "POST / HTTP/1.1\nHost: gwlb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyTargetGroupAttribute\n<公共请求参数>\n\n{\n \"TargetGroupId\": \"lbtg-815iz538\",\n \"TargetGroupName\": \"xxxxholic\"\n}",
|
133
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"73d80971-512f-400e-9c73-c0c135c04871\"\n }\n}",
|
134
|
+
"title": "修改目标组名称"
|
135
|
+
}
|
136
|
+
],
|
137
|
+
"ModifyTargetGroupInstancesWeight": [
|
138
|
+
{
|
139
|
+
"document": "",
|
140
|
+
"input": "https://gwlb.tencentcloudapi.com/?Action=ModifyTargetGroupInstancesWeight\n&TargetGroupId=lbtg-815iz538\n&TargetGroupInstances.0.BindIP=172.16.0.34\n&TargetGroupInstances.0.Port=1234\n&TargetGroupInstances.0.Weight=55\n&<公共请求参数>",
|
141
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"ed90470e-eade-423f-aae6-264d814d0d65\"\n }\n}",
|
142
|
+
"title": "批量修改目标组服务器权重"
|
143
|
+
}
|
144
|
+
],
|
145
|
+
"RegisterTargetGroupInstances": [
|
146
|
+
{
|
147
|
+
"document": "",
|
148
|
+
"input": "https://gwlb.tencentcloudapi.com/?Action=RegisterTargetGroupInstances\n&TargetGroupId=lbtg-815iz538\n&TargetGroupInstances.0.BindIP=172.16.0.34\n&TargetGroupInstances.0.Port=443\n&TargetGroupInstances.0.Weight=10\n&<公共请求参数>",
|
149
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"acf6c2b3-b18d-4d2e-91e4-4eacff16c07e\"\n }\n}",
|
150
|
+
"title": "添加服务器到目标组中"
|
151
|
+
}
|
152
|
+
]
|
153
|
+
},
|
154
|
+
"version": "1.0"
|
155
|
+
}
|
@@ -119,7 +119,7 @@
|
|
119
119
|
},
|
120
120
|
{
|
121
121
|
"disabled": false,
|
122
|
-
"document": "聊天上下文信息。\n说明:\n1. 长度最多为 40,按对话时间从旧到新在数组中排列。\n2. Message.Role 可选值:system、user、assistant、 tool
|
122
|
+
"document": "聊天上下文信息。\n说明:\n1. 长度最多为 40,按对话时间从旧到新在数组中排列。\n2. Message.Role 可选值:system、user、assistant、 tool(functioncall场景)。\n其中,system 角色可选,如存在则必须位于列表的最开始。user(tool) 和 assistant 需交替出现(一问一答),以 user 提问开始,user(tool)提问结束,其中tool可以连续出现多次,且 Content 不能为空。Role 的顺序示例:[system(可选) user assistant user(tool tool ...) assistant user(tool tool ...) ...]。\n3. Messages 中 Content 总长度不能超过模型输入长度上限(可参考 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 文档),超过则会截断最前面的内容,只保留尾部内容。",
|
123
123
|
"example": "无",
|
124
124
|
"member": "Message",
|
125
125
|
"name": "Messages",
|
@@ -227,7 +227,7 @@
|
|
227
227
|
},
|
228
228
|
{
|
229
229
|
"disabled": false,
|
230
|
-
"document": "
|
230
|
+
"document": "多媒体开关。\n详细介绍请阅读 [多媒体介绍](https://cloud.tencent.com/document/product/1729/111178) 中的说明。\n说明:\n1. 该参数目前仅对白名单内用户生效,如您想体验该功能请 [联系我们](https://cloud.tencent.com/act/event/Online_service)。\n2. 该参数仅在功能增强(如搜索)开关开启(EnableEnhancement=true)并且极速版搜索开关关闭(EnableSpeedSearch=false)时生效。\n3. hunyuan-lite 无多媒体能力,该参数对 hunyuan-lite 版本不生效。\n4. 未传值时默认关闭。\n5. 开启并搜索到对应的多媒体信息时,会输出对应的多媒体地址,可以定制个性化的图文消息。",
|
231
231
|
"example": "false",
|
232
232
|
"member": "bool",
|
233
233
|
"name": "EnableMultimedia",
|
@@ -322,7 +322,7 @@
|
|
322
322
|
},
|
323
323
|
{
|
324
324
|
"disabled": false,
|
325
|
-
"document": "多媒体信息。\n说明:\n1.
|
325
|
+
"document": "多媒体信息。\n说明:\n1. 可以用多媒体信息替换回复内容里的占位符,得到完整的消息。\n2. 可能会出现回复内容里存在占位符,但是因为审核等原因没有返回多媒体信息。",
|
326
326
|
"example": "无",
|
327
327
|
"member": "Replace",
|
328
328
|
"name": "Replaces",
|
@@ -846,11 +846,11 @@
|
|
846
846
|
"usage": "both"
|
847
847
|
},
|
848
848
|
"Multimedia": {
|
849
|
-
"document": "
|
849
|
+
"document": "多媒体详情",
|
850
850
|
"members": [
|
851
851
|
{
|
852
852
|
"disabled": false,
|
853
|
-
"document": "
|
853
|
+
"document": "多媒体类型,可选值包括 image、music、album、playlist。\n说明:\n1. image:图片;music:单曲,类型为单曲时,会返回详细歌手和歌曲信息;album:专辑;playlist:歌单。\n2. 当 type 为 music、album、playlist 时,需要配合 [QQ音乐SDK](https://developer.y.qq.com/) 使用。",
|
854
854
|
"example": "image",
|
855
855
|
"member": "string",
|
856
856
|
"name": "Type",
|
@@ -860,7 +860,7 @@
|
|
860
860
|
},
|
861
861
|
{
|
862
862
|
"disabled": false,
|
863
|
-
"document": "
|
863
|
+
"document": "多媒体地址。\n说明:\n1. type 为 image 时,地址为图片的预览地址;其他类型时,地址为封面图地址。",
|
864
864
|
"example": "无",
|
865
865
|
"member": "string",
|
866
866
|
"name": "Url",
|
@@ -870,13 +870,53 @@
|
|
870
870
|
},
|
871
871
|
{
|
872
872
|
"disabled": false,
|
873
|
-
"document": "
|
873
|
+
"document": "多媒体详情地址。\n说明:\n1. 仅 type 为 image 时,该字段有值。\n注意:此字段可能返回 null,表示取不到有效值。",
|
874
874
|
"example": "无",
|
875
875
|
"member": "string",
|
876
876
|
"name": "JumpUrl",
|
877
877
|
"output_required": false,
|
878
878
|
"type": "string",
|
879
|
-
"value_allowed_null":
|
879
|
+
"value_allowed_null": true
|
880
|
+
},
|
881
|
+
{
|
882
|
+
"disabled": false,
|
883
|
+
"document": "名称。\n说明:\n1. type 为 image 时,该字段为空。\n注意:此字段可能返回 null,表示取不到有效值。",
|
884
|
+
"example": "无",
|
885
|
+
"member": "string",
|
886
|
+
"name": "Title",
|
887
|
+
"output_required": false,
|
888
|
+
"type": "string",
|
889
|
+
"value_allowed_null": true
|
890
|
+
},
|
891
|
+
{
|
892
|
+
"disabled": false,
|
893
|
+
"document": "描述。\n注意:此字段可能返回 null,表示取不到有效值。",
|
894
|
+
"example": "无",
|
895
|
+
"member": "string",
|
896
|
+
"name": "Desc",
|
897
|
+
"output_required": false,
|
898
|
+
"type": "string",
|
899
|
+
"value_allowed_null": true
|
900
|
+
},
|
901
|
+
{
|
902
|
+
"disabled": false,
|
903
|
+
"document": "歌手名称。\n说明:\n1. 仅 type 为 music 时,该字段有值。\n注意:此字段可能返回 null,表示取不到有效值。",
|
904
|
+
"example": "无",
|
905
|
+
"member": "string",
|
906
|
+
"name": "Singer",
|
907
|
+
"output_required": false,
|
908
|
+
"type": "string",
|
909
|
+
"value_allowed_null": true
|
910
|
+
},
|
911
|
+
{
|
912
|
+
"disabled": false,
|
913
|
+
"document": "歌曲详情。\n说明:\n1. 仅 type 为 music 时,该字段有值。\n注意:此字段可能返回 null,表示取不到有效值。",
|
914
|
+
"example": "无",
|
915
|
+
"member": "SongExt",
|
916
|
+
"name": "Ext",
|
917
|
+
"output_required": false,
|
918
|
+
"type": "object",
|
919
|
+
"value_allowed_null": true
|
880
920
|
}
|
881
921
|
],
|
882
922
|
"usage": "out"
|
@@ -1086,7 +1126,7 @@
|
|
1086
1126
|
"type": "object"
|
1087
1127
|
},
|
1088
1128
|
"Replace": {
|
1089
|
-
"document": "
|
1129
|
+
"document": "多媒体占位符替换信息",
|
1090
1130
|
"members": [
|
1091
1131
|
{
|
1092
1132
|
"disabled": false,
|
@@ -1194,6 +1234,42 @@
|
|
1194
1234
|
],
|
1195
1235
|
"type": "object"
|
1196
1236
|
},
|
1237
|
+
"SongExt": {
|
1238
|
+
"document": "歌曲详情。具体含义参考 [QQ音乐SDK](https://developer.y.qq.com/)",
|
1239
|
+
"members": [
|
1240
|
+
{
|
1241
|
+
"disabled": false,
|
1242
|
+
"document": "歌曲id",
|
1243
|
+
"example": "97773",
|
1244
|
+
"member": "int64",
|
1245
|
+
"name": "SongId",
|
1246
|
+
"output_required": false,
|
1247
|
+
"type": "int",
|
1248
|
+
"value_allowed_null": false
|
1249
|
+
},
|
1250
|
+
{
|
1251
|
+
"disabled": false,
|
1252
|
+
"document": "歌曲mid",
|
1253
|
+
"example": "0039MnYb0qxYhV",
|
1254
|
+
"member": "string",
|
1255
|
+
"name": "SongMid",
|
1256
|
+
"output_required": false,
|
1257
|
+
"type": "string",
|
1258
|
+
"value_allowed_null": false
|
1259
|
+
},
|
1260
|
+
{
|
1261
|
+
"disabled": false,
|
1262
|
+
"document": "歌曲是否为vip。1:vip歌曲; 0:普通歌曲。",
|
1263
|
+
"example": "1",
|
1264
|
+
"member": "int64",
|
1265
|
+
"name": "Vip",
|
1266
|
+
"output_required": false,
|
1267
|
+
"type": "int",
|
1268
|
+
"value_allowed_null": false
|
1269
|
+
}
|
1270
|
+
],
|
1271
|
+
"usage": "out"
|
1272
|
+
},
|
1197
1273
|
"SubmitHunyuanImageChatJobRequest": {
|
1198
1274
|
"document": "SubmitHunyuanImageChatJob请求参数结构体",
|
1199
1275
|
"members": [
|
@@ -59,7 +59,7 @@
|
|
59
59
|
},
|
60
60
|
{
|
61
61
|
"document": "推荐使用 API Explorer 调用接口,见本文档顶部说明。该示例说明hunyuan-vision模型如何调用接口。\n\nImageUrl.Url 支持图片链接以及图片 base64 两种方式\njpeg 图片转 base64 示例 (其他图片格式注意修改为对应的 MIME 类型, 如 image/png, image/webp, image/bmp 等):\n\n```python\nimport base64\n\nwith open(\"1.jpeg\", 'rb') as image_file:\n encoded_image = base64.b64encode(image_file.read())\n print(\"data:image/jpeg;base64,\"+encoded_image.decode('utf-8'))\n```",
|
62
|
-
"input": "POST / HTTP/1.1\nHost: hunyuan.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChatCompletions\n<公共请求参数>\n\n{\n \"Model\": \"hunyuan-vision\",\n \"Messages\": [\n {\n \"Role\": \"user\",\n \"Contents\": [\n {\n \"Type\": \"text\",\n \"Text\": \"下面图片中是哪个公司的 Logo?\"\n },\n {\n \"Type\": \"image_url\",\n \"ImageUrl\": {\n \"Url\": \"https://cloudcache.tencent-cloud.com/qcloud/ui/portal-set/build/About/images/bg-product-series_87d.png\"\n }\n }\n ]\n }\n ],\n \"Stream\": false\n}",
|
62
|
+
"input": "POST / HTTP/1.1\nHost: hunyuan.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChatCompletions\n<公共请求参数>\n\n{\n \"Model\": \"hunyuan-vision\",\n \"Messages\": [\n {\n \"Role\": \"user\",\n \"Contents\": [\n {\n \"Type\": \"text\",\n \"Text\": \"下面图片中是哪个公司的 Logo?\"\n },\n {\n \"Type\": \"image_url\",\n \"ImageUrl\": {\n \"Url\": \"https://cloudcache.tencent-cloud.com/qcloud/ui/portal-set/build/About/images/bg-product-series_87d.png\"\n }\n },\n {\n \"Type\": \"image_url\",\n \"ImageUrl\": {\n \"Url\": \"https://cloudcache.tencent-cloud.com/qcloud/ui/portal-set/build/About/images/bg-product-series_87d.png\"\n }\n }\n ]\n }\n ],\n \"Stream\": false\n}",
|
63
63
|
"output": "{\n \"Response\": {\n \"RequestId\": \"a21f9d7e-c18a-438b-bfb4-7941a2adf8ae\",\n \"Note\": \"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\n \"Choices\": [\n {\n \"Message\": {\n \"Role\": \"assistant\",\n \"Content\": \"这张图片中展示的Logo属于腾讯公司。\"\n },\n \"FinishReason\": \"stop\"\n }\n ],\n \"Created\": 1714290436,\n \"Id\": \"a21f9d7e-c18a-438b-bfb4-7941a2adf8ae\",\n \"Usage\": {\n \"PromptTokens\": 7,\n \"CompletionTokens\": 10,\n \"TotalTokens\": 17\n }\n }\n}",
|
64
64
|
"title": "图片理解示例"
|
65
65
|
}
|
@@ -498,9 +498,9 @@
|
|
498
498
|
"status": "online"
|
499
499
|
},
|
500
500
|
"RefreshDeviceChannel": {
|
501
|
-
"document": "
|
501
|
+
"document": "用于同步国标设备的通道(接口调用后,触发向设备请求通道列表,新增的通道入库,设备上已删除的通道需自行删除、后台不自动删除)。",
|
502
502
|
"input": "RefreshDeviceChannelRequest",
|
503
|
-
"name": "
|
503
|
+
"name": "同步设备通道",
|
504
504
|
"output": "RefreshDeviceChannelResponse",
|
505
505
|
"status": "online"
|
506
506
|
},
|
@@ -1267,7 +1267,7 @@
|
|
1267
1267
|
"members": [
|
1268
1268
|
{
|
1269
1269
|
"disabled": false,
|
1270
|
-
"document": "
|
1270
|
+
"document": "组织名称(仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过64位,且组织名称不能重复)",
|
1271
1271
|
"example": "组织123",
|
1272
1272
|
"member": "string",
|
1273
1273
|
"name": "Name",
|
@@ -1691,6 +1691,15 @@
|
|
1691
1691
|
"name": "OrganizationId",
|
1692
1692
|
"required": false,
|
1693
1693
|
"type": "list"
|
1694
|
+
},
|
1695
|
+
{
|
1696
|
+
"disabled": false,
|
1697
|
+
"document": "录像补录模式(0:不启用,1:启用),无该字段,默认不启用",
|
1698
|
+
"example": "0",
|
1699
|
+
"member": "int64",
|
1700
|
+
"name": "RepairMode",
|
1701
|
+
"required": false,
|
1702
|
+
"type": "int"
|
1694
1703
|
}
|
1695
1704
|
],
|
1696
1705
|
"type": "object"
|
@@ -1818,7 +1827,7 @@
|
|
1818
1827
|
"members": [
|
1819
1828
|
{
|
1820
1829
|
"disabled": false,
|
1821
|
-
"document": "任务名称,仅支持中文、英文、数字、_、-,长度不超过32
|
1830
|
+
"document": "任务名称,仅支持中文、英文、数字、_、-,长度不超过32个字符,名称全局唯一,不能为空,不能重复",
|
1822
1831
|
"example": "task1",
|
1823
1832
|
"member": "string",
|
1824
1833
|
"name": "TaskName",
|
@@ -2132,7 +2141,7 @@
|
|
2132
2141
|
"members": [
|
2133
2142
|
{
|
2134
2143
|
"disabled": false,
|
2135
|
-
"document": "
|
2144
|
+
"document": "设备名称,仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过128位;(设备名称无需全局唯一,可以重复)",
|
2136
2145
|
"example": "设备1",
|
2137
2146
|
"member": "string",
|
2138
2147
|
"name": "Name",
|
@@ -2186,7 +2195,7 @@
|
|
2186
2195
|
},
|
2187
2196
|
{
|
2188
2197
|
"disabled": false,
|
2189
|
-
"document": "
|
2198
|
+
"document": "设备密码(国标,网关设备必填,长度为1-64个字符)",
|
2190
2199
|
"example": "111111",
|
2191
2200
|
"member": "string",
|
2192
2201
|
"name": "Password",
|
@@ -2195,7 +2204,7 @@
|
|
2195
2204
|
},
|
2196
2205
|
{
|
2197
2206
|
"disabled": false,
|
2198
|
-
"document": "
|
2207
|
+
"document": "设备描述,长度不超过128个字符",
|
2199
2208
|
"example": "这是设备1",
|
2200
2209
|
"member": "string",
|
2201
2210
|
"name": "Description",
|
@@ -2258,7 +2267,7 @@
|
|
2258
2267
|
},
|
2259
2268
|
{
|
2260
2269
|
"disabled": false,
|
2261
|
-
"document": "RTMP推流地址自定义AppName(仅RTMP
|
2270
|
+
"document": "RTMP推流地址自定义AppName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)",
|
2262
2271
|
"example": "live",
|
2263
2272
|
"member": "string",
|
2264
2273
|
"name": "AppName",
|
@@ -2267,7 +2276,7 @@
|
|
2267
2276
|
},
|
2268
2277
|
{
|
2269
2278
|
"disabled": false,
|
2270
|
-
"document": "RTMP推流地址自定义StreamName(仅RTMP
|
2279
|
+
"document": "RTMP推流地址自定义StreamName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)",
|
2271
2280
|
"example": "00cuDZBadN",
|
2272
2281
|
"member": "string",
|
2273
2282
|
"name": "StreamName",
|
@@ -2365,7 +2374,7 @@
|
|
2365
2374
|
},
|
2366
2375
|
{
|
2367
2376
|
"disabled": false,
|
2368
|
-
"document": "操作命令(enable:启用;disable:禁用;delete:删除;upgrade:固件升级;reset:恢复出厂设置;reboot:重启)",
|
2377
|
+
"document": "操作命令(enable:启用;disable:禁用;delete:删除;sync:同步设备通道;upgrade:固件升级;reset:恢复出厂设置;reboot:重启)",
|
2369
2378
|
"example": "enable",
|
2370
2379
|
"member": "string",
|
2371
2380
|
"name": "Cmd",
|
@@ -8323,6 +8332,16 @@
|
|
8323
8332
|
"output_required": true,
|
8324
8333
|
"type": "int",
|
8325
8334
|
"value_allowed_null": false
|
8335
|
+
},
|
8336
|
+
{
|
8337
|
+
"disabled": false,
|
8338
|
+
"document": "录像补录模式(0:不启用,1:启用)",
|
8339
|
+
"example": "0",
|
8340
|
+
"member": "int64",
|
8341
|
+
"name": "RepairMode",
|
8342
|
+
"output_required": false,
|
8343
|
+
"type": "int",
|
8344
|
+
"value_allowed_null": false
|
8326
8345
|
}
|
8327
8346
|
],
|
8328
8347
|
"usage": "out"
|
@@ -8379,6 +8398,16 @@
|
|
8379
8398
|
"output_required": true,
|
8380
8399
|
"type": "string",
|
8381
8400
|
"value_allowed_null": true
|
8401
|
+
},
|
8402
|
+
{
|
8403
|
+
"disabled": false,
|
8404
|
+
"document": "通道所属设备的接入协议类型",
|
8405
|
+
"example": "2",
|
8406
|
+
"member": "int64",
|
8407
|
+
"name": "AccessProtocol",
|
8408
|
+
"output_required": false,
|
8409
|
+
"type": "int",
|
8410
|
+
"value_allowed_null": false
|
8382
8411
|
}
|
8383
8412
|
],
|
8384
8413
|
"usage": "out"
|
@@ -8445,6 +8474,16 @@
|
|
8445
8474
|
"output_required": true,
|
8446
8475
|
"type": "string",
|
8447
8476
|
"value_allowed_null": true
|
8477
|
+
},
|
8478
|
+
{
|
8479
|
+
"disabled": false,
|
8480
|
+
"document": "录像补录模式(0:不启用,1:启用)",
|
8481
|
+
"example": "0",
|
8482
|
+
"member": "int64",
|
8483
|
+
"name": "RepairMode",
|
8484
|
+
"output_required": false,
|
8485
|
+
"type": "int",
|
8486
|
+
"value_allowed_null": false
|
8448
8487
|
}
|
8449
8488
|
],
|
8450
8489
|
"usage": "out"
|
@@ -9949,7 +9988,7 @@
|
|
9949
9988
|
},
|
9950
9989
|
{
|
9951
9990
|
"disabled": false,
|
9952
|
-
"document": "
|
9991
|
+
"document": "组织名称,支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过64位,且组织名称不能重复",
|
9953
9992
|
"example": "组织2371",
|
9954
9993
|
"member": "string",
|
9955
9994
|
"name": "Name",
|
@@ -10430,6 +10469,15 @@
|
|
10430
10469
|
"name": "OrganizationId",
|
10431
10470
|
"required": false,
|
10432
10471
|
"type": "list"
|
10472
|
+
},
|
10473
|
+
{
|
10474
|
+
"disabled": false,
|
10475
|
+
"document": "录像补录模式(0:不启用,1:启用)",
|
10476
|
+
"example": "0",
|
10477
|
+
"member": "int64",
|
10478
|
+
"name": "RepairMode",
|
10479
|
+
"required": false,
|
10480
|
+
"type": "int"
|
10433
10481
|
}
|
10434
10482
|
],
|
10435
10483
|
"usage": "in"
|
@@ -10564,7 +10612,7 @@
|
|
10564
10612
|
},
|
10565
10613
|
{
|
10566
10614
|
"disabled": false,
|
10567
|
-
"document": "
|
10615
|
+
"document": "设备名称(仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过128位)",
|
10568
10616
|
"example": "设备1",
|
10569
10617
|
"member": "string",
|
10570
10618
|
"name": "Name",
|
@@ -10582,7 +10630,7 @@
|
|
10582
10630
|
},
|
10583
10631
|
{
|
10584
10632
|
"disabled": false,
|
10585
|
-
"document": "
|
10633
|
+
"document": "设备密码(仅国标,网关设备支持,长度不超过 64 位)",
|
10586
10634
|
"example": "111111",
|
10587
10635
|
"member": "string",
|
10588
10636
|
"name": "Password",
|
@@ -10591,7 +10639,7 @@
|
|
10591
10639
|
},
|
10592
10640
|
{
|
10593
10641
|
"disabled": false,
|
10594
|
-
"document": "
|
10642
|
+
"document": "设备描述(长度不超过128位)",
|
10595
10643
|
"example": "这个一个设备",
|
10596
10644
|
"member": "string",
|
10597
10645
|
"name": "Description",
|