tccli 3.0.1357.1__py2.py3-none-any.whl → 3.0.1359.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tccli/__init__.py +1 -1
- tccli/services/__init__.py +3 -0
- tccli/services/ai3d/v20250513/api.json +5 -5
- tccli/services/ai3d/v20250513/examples.json +1 -1
- tccli/services/aiart/v20221229/api.json +34 -34
- tccli/services/aiart/v20221229/examples.json +11 -11
- tccli/services/cdb/v20170320/api.json +103 -101
- tccli/services/cdb/v20170320/examples.json +11 -11
- tccli/services/cdn/v20180606/api.json +8 -8
- tccli/services/cdz/v20221123/api.json +1 -1
- tccli/services/clb/v20180317/api.json +4 -4
- tccli/services/cloudaudit/v20190319/api.json +9 -0
- tccli/services/ctem/ctem_client.py +57 -4
- tccli/services/ctem/v20231128/api.json +70 -0
- tccli/services/ctem/v20231128/examples.json +8 -0
- tccli/services/cwp/v20180228/api.json +13 -3
- tccli/services/dnspod/dnspod_client.py +53 -0
- tccli/services/dnspod/v20210323/api.json +218 -0
- tccli/services/dnspod/v20210323/examples.json +26 -0
- tccli/services/dsgc/v20190723/api.json +1 -1
- tccli/services/emr/v20190103/api.json +10 -0
- tccli/services/ess/ess_client.py +103 -50
- tccli/services/ess/v20201111/api.json +337 -0
- tccli/services/ess/v20201111/examples.json +8 -0
- tccli/services/essbasic/v20210526/api.json +3 -3
- tccli/services/gs/v20191118/api.json +28 -4
- tccli/services/hunyuan/v20230901/api.json +12 -12
- tccli/services/hunyuan/v20230901/examples.json +4 -4
- tccli/services/igtm/v20231024/api.json +1 -1
- tccli/services/lcic/v20220817/api.json +8 -8
- tccli/services/lcic/v20220817/examples.json +1 -1
- tccli/services/live/v20180801/api.json +43 -1
- tccli/services/live/v20180801/examples.json +1 -1
- tccli/services/lke/v20231130/api.json +7 -7
- tccli/services/oceanus/v20190422/api.json +22 -2
- tccli/services/ocr/ocr_client.py +53 -0
- tccli/services/ocr/v20181119/api.json +80 -0
- tccli/services/ocr/v20181119/examples.json +8 -0
- tccli/services/postgres/v20170312/api.json +189 -185
- tccli/services/postgres/v20170312/examples.json +29 -29
- tccli/services/rum/v20210622/api.json +15 -15
- tccli/services/ssl/v20191205/api.json +19 -1
- tccli/services/tat/v20201028/api.json +10 -0
- tccli/services/trtc/v20190722/api.json +21 -10
- tccli/services/trtc/v20190722/examples.json +1 -1
- tccli/services/vclm/v20240523/api.json +15 -6
- tccli/services/vclm/v20240523/examples.json +1 -1
- tccli/services/vod/v20180717/api.json +29 -1
- tccli/services/vod/v20180717/examples.json +2 -2
- tccli/services/weilingwith/v20230427/api.json +2 -2
- tccli/services/wsa/__init__.py +4 -0
- tccli/services/wsa/v20250508/api.json +113 -0
- tccli/services/wsa/v20250508/examples.json +13 -0
- tccli/services/wsa/wsa_client.py +207 -0
- {tccli-3.0.1357.1.dist-info → tccli-3.0.1359.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1357.1.dist-info → tccli-3.0.1359.1.dist-info}/RECORD +59 -55
- {tccli-3.0.1357.1.dist-info → tccli-3.0.1359.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1357.1.dist-info → tccli-3.0.1359.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1357.1.dist-info → tccli-3.0.1359.1.dist-info}/license_files/LICENSE +0 -0
@@ -3,7 +3,7 @@
|
|
3
3
|
"AddDBInstanceToReadOnlyGroup": [
|
4
4
|
{
|
5
5
|
"document": "",
|
6
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddDBInstanceToReadOnlyGroup\n<公共请求参数>\n\n{\n \"ReadOnlyGroupId\": \"
|
6
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddDBInstanceToReadOnlyGroup\n<公共请求参数>\n\n{\n \"ReadOnlyGroupId\": \"pgrogrp-test\",\n \"DBInstanceId\": \"pgro-k95qzetn\"\n}",
|
7
7
|
"output": "{\n \"Response\": {\n \"RequestId\": \"d43b2a9f-070c-480b-a0bb-7c210428cfe8\",\n \"FlowId\": 912\n }\n}",
|
8
8
|
"title": "将实例postgres-k95qzetn加入只读组pgrogrp-test中"
|
9
9
|
}
|
@@ -57,7 +57,7 @@
|
|
57
57
|
"CreateDBInstanceNetworkAccess": [
|
58
58
|
{
|
59
59
|
"document": "创建实例网络",
|
60
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDBInstanceNetworkAccess\n<公共请求参数>\n\n{\n \"SubnetId\": \"subnet-4s9dejli\",\n \"VpcId\": \"vpc-gaestjaf\",\n \"DBInstanceId\": \"postgres-6bwgamo3\",\n \"IsAssignVip\":
|
60
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDBInstanceNetworkAccess\n<公共请求参数>\n\n{\n \"SubnetId\": \"subnet-4s9dejli\",\n \"VpcId\": \"vpc-gaestjaf\",\n \"DBInstanceId\": \"postgres-6bwgamo3\",\n \"IsAssignVip\": false\n}",
|
61
61
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6ace8140-6b9e-4e81-a8ad-ef3f92b2aa90\",\n \"FlowId\": 912\n }\n}",
|
62
62
|
"title": "创建实例网络"
|
63
63
|
}
|
@@ -79,19 +79,19 @@
|
|
79
79
|
"CreateInstances": [
|
80
80
|
{
|
81
81
|
"document": "创建12.4版本中最新内核版的PostgreSQL实例",
|
82
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateInstances\n<公共请求参数>\n\n{\n \"InstanceCount\":
|
82
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateInstances\n<公共请求参数>\n\n{\n \"InstanceCount\": 1,\n \"AutoRenewFlag\": 1,\n \"AdminName\": \"test2313\",\n \"Zone\": \"ap-guangzhou-2\",\n \"AdminPassword\": \" xxxxxxx\",\n \"DBVersion\": \"12.4\",\n \"DBEngine\": \"postgresql\",\n \"Storage\": 10,\n \"Period\": 1,\n \"SpecCode\": \"cdb.pg.z1.2g\",\n \"InstanceChargeType\": \"prepaid\",\n \"AutoVoucher\": 0,\n \"Charset\": \"UTF8\"\n}",
|
83
83
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6ace8140-6b9e-4e81-a8ad-ef3f92b2aa90\",\n \"DealNames\": [\n \"20180119110001\"\n ],\n \"DBInstanceIdSet\": [\n \"postgres-xxxxx\"\n ],\n \"BillId\": \"20181225711000768276471\"\n }\n}",
|
84
84
|
"title": "创建12.4版本的PostgreSQL实例"
|
85
85
|
},
|
86
86
|
{
|
87
87
|
"document": "创建内核版本号为v12.4_r1.0版本的PostgreSQL实例",
|
88
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateInstances\n<公共请求参数>\n\n{\n \"InstanceCount\":
|
88
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateInstances\n<公共请求参数>\n\n{\n \"InstanceCount\": 1,\n \"AutoRenewFlag\": 1,\n \"AdminName\": \"test2313\",\n \"Zone\": \"ap-guangzhou-2\",\n \"AdminPassword\": \" xxxxxxx\",\n \"Charset\": \"UTF8\",\n \"Storage\": 10,\n \"Period\": 1,\n \"SpecCode\": \"cdb.pg.z1.2g\",\n \"DBKernelVersion\": \"v12.4_r1.0\",\n \"DBEngine\": \"postgresql\",\n \"InstanceChargeType\": \"prepaid\",\n \"AutoVoucher\": 0\n}",
|
89
89
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6ace8140-6b9e-4e81-a8ad-ef3f92b2aa90\",\n \"DealNames\": [\n \"20180119110001\"\n ],\n \"DBInstanceIdSet\": [\n \"postgres-xxxxx\"\n ],\n \"BillId\": \"20181225711000768276476\"\n }\n}",
|
90
90
|
"title": "创建指定内核版本号的PostgreSQL实例"
|
91
91
|
},
|
92
92
|
{
|
93
93
|
"document": "创建12版本中最新内核版本的PostgreSQL实例(跨可用区)",
|
94
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateInstances\n<公共请求参数>\n\n{\n \"InstanceCount\":
|
94
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateInstances\n<公共请求参数>\n\n{\n \"InstanceCount\": 1,\n \"AutoRenewFlag\": 1,\n \"DBMajorVersion\": \"12\",\n \"Zone\": \"ap-guangzhou-2\",\n \"AdminPassword\": \" xxxxxxx\",\n \"Charset\": \"UTF8\",\n \"Storage\": 10,\n \"Period\": 1,\n \"SpecCode\": \"cdb.pg.z1.2g\",\n \"InstanceChargeType\": \"prepaid\",\n \"AutoVoucher\": 0,\n \"DBNodeSet\": [\n {\n \"Role\": \"Standby\",\n \"Zone\": \"ap-guangzhou-3\"\n },\n {\n \"Role\": \"Primary\",\n \"Zone\": \"ap-guangzhou-2\"\n }\n ],\n \"AdminName\": \"test2313\"\n}",
|
95
95
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6ace8140-6b9e-4e81-a8ad-ef3f92b2aa90\",\n \"DealNames\": [\n \"20180119110001\"\n ],\n \"DBInstanceIdSet\": [\n \"postgres-xxxxx\"\n ],\n \"BillId\": \"20181225711000768276479\"\n }\n}",
|
96
96
|
"title": "创建12版本中最新内核版本的PostgreSQL实例"
|
97
97
|
}
|
@@ -107,7 +107,7 @@
|
|
107
107
|
"CreateReadOnlyDBInstance": [
|
108
108
|
{
|
109
109
|
"document": "创建只读实例",
|
110
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateReadOnlyDBInstance\n<公共请求参数>\n\n{\n \"InstanceCount\":
|
110
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateReadOnlyDBInstance\n<公共请求参数>\n\n{\n \"InstanceCount\": 1,\n \"AutoRenewFlag\": 1,\n \"Zone\": \"ap-guangzhou-2\",\n \"MasterDBInstanceId\": \"Postgres-testmaster\",\n \"DBVersion\": \"9.3.5\",\n \"Storage\": 10,\n \"Period\": 1,\n \"SpecCode\": \"cdb.pg.z1.2g\",\n \"InstanceChargeType\": \"prepaid\",\n \"AutoVoucher\": 0\n}",
|
111
111
|
"output": "{\n \"Response\": {\n \"BillId\": \"20241205591002398481191\",\n \"DBInstanceIdSet\": [\n \"pgro-kdkdkx68\"\n ],\n \"DealNames\": [\n \"20241205591002398481181\"\n ],\n \"RequestId\": \"5ce80f91-a285-4378-8340-332ab4bfe9cd\"\n }\n}",
|
112
112
|
"title": "CreateReadOnlyDBInstance"
|
113
113
|
}
|
@@ -115,7 +115,7 @@
|
|
115
115
|
"CreateReadOnlyGroup": [
|
116
116
|
{
|
117
117
|
"document": "",
|
118
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateReadOnlyGroup\n<公共请求参数>\n\n{\n \"MaxReplayLag\":
|
118
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateReadOnlyGroup\n<公共请求参数>\n\n{\n \"MaxReplayLag\": 0,\n \"VpcId\": \"\\\"vpc-e0tfm161\\\"\",\n \"Name\": \"\\\"test\\\"\",\n \"ProjectId\": 0,\n \"MasterDBInstanceId\": \"\\\"postgres-k95qzetn\\\"\",\n \"MinDelayEliminateReserve\": 0,\n \"ReplayLagEliminate\": 0,\n \"SubnetId\": \"\\\"subnet-443a3lv6\\\"\"\n}",
|
119
119
|
"output": "{\n \"Response\": {\n \"RequestId\": \"d43b2a9f-070c-480b-a0bb-7c210428cfe8\",\n \"FlowId\": 912,\n \"ReadOnlyGroupId\": \"pgrogrp-dh6873gz\"\n }\n}",
|
120
120
|
"title": "创建只读组"
|
121
121
|
}
|
@@ -123,7 +123,7 @@
|
|
123
123
|
"CreateReadOnlyGroupNetworkAccess": [
|
124
124
|
{
|
125
125
|
"document": "创建RO组网络",
|
126
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateReadOnlyGroupNetworkAccess\n<公共请求参数>\n\n{\n \"SubnetId\": \"subnet-4s9dejli\",\n \"VpcId\": \"vpc-gaestjaf\",\n \"ReadOnlyGroupId\": \"
|
126
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateReadOnlyGroupNetworkAccess\n<公共请求参数>\n\n{\n \"SubnetId\": \"subnet-4s9dejli\",\n \"VpcId\": \"vpc-gaestjaf\",\n \"ReadOnlyGroupId\": \"pgrogrp-4t9c6g7k\",\n \"IsAssignVip\": false\n}",
|
127
127
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6ace8140-6b9e-4e81-a8ad-ef3f92b2aa90\",\n \"FlowId\": 912\n }\n}",
|
128
128
|
"title": "创建RO组网络"
|
129
129
|
}
|
@@ -180,14 +180,14 @@
|
|
180
180
|
{
|
181
181
|
"document": "无",
|
182
182
|
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteParameterTemplate\n<公共请求参数>\n\n{\n \"TemplateId\": \"497857b4-4676-5583-8359-b697fe5968d9\"\n}",
|
183
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
183
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"1777e1f2-75f1-40bc-9662-09d54adcc084\"\n }\n}",
|
184
184
|
"title": "删除参数模板"
|
185
185
|
}
|
186
186
|
],
|
187
187
|
"DeleteReadOnlyGroup": [
|
188
188
|
{
|
189
189
|
"document": "",
|
190
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteReadOnlyGroup\n<公共请求参数>\n\n{\n \"ReadOnlyGroupId\": \"
|
190
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteReadOnlyGroup\n<公共请求参数>\n\n{\n \"ReadOnlyGroupId\": \"pgrogrp-k95qzetn\"\n}",
|
191
191
|
"output": "{\n \"Response\": {\n \"FlowId\": 1000,\n \"RequestId\": \"d43b2a9f-070c-480b-a0bb-7c210428cfe8\"\n }\n}",
|
192
192
|
"title": "删除只读组"
|
193
193
|
}
|
@@ -484,7 +484,7 @@
|
|
484
484
|
{
|
485
485
|
"document": "获取实例的密钥信息列表。",
|
486
486
|
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEncryptionKeys\n<公共请求参数>\n\n{\n \"DBInstanceId\": \" postgres-abcdefg\"\n}",
|
487
|
-
"output": "{\n \"Response\": {\n \"EncryptionKeys\": [\n {\n \"CreateTime\": \"2022-03-24 10:39:14\",\n \"DEKCipherTextBlob\": \"xxxxxxxxxxx\",\n \"IsEnabled\": 1,\n \"KeyAlias\": \"PGSQL-KMS\",\n \"KeyId\": \" f4d88aa7-ae72-11ec-9fcc-5254007ffd46\",\n \"KeyRegion\": \"ap-guangzhou\"\n }\n ],\n \"RequestId\": \"xxxxxxxx\"\n }\n}",
|
487
|
+
"output": "{\n \"Response\": {\n \"EncryptionKeys\": [\n {\n \"CreateTime\": \"2022-03-24 10:39:14\",\n \"DEKCipherTextBlob\": \"xxxxxxxxxxx\",\n \"IsEnabled\": 1,\n \"KeyAlias\": \"PGSQL-KMS\",\n \"KeyId\": \" f4d88aa7-ae72-11ec-9fcc-5254007ffd46\",\n \"KMSClusterId\": \"cls-hsm-tyoxxxx\",\n \"KeyRegion\": \"ap-guangzhou\"\n }\n ],\n \"RequestId\": \"xxxxxxxx\"\n }\n}",
|
488
488
|
"title": "DescribeEncryptionKeys"
|
489
489
|
}
|
490
490
|
],
|
@@ -571,8 +571,8 @@
|
|
571
571
|
"DescribeSlowQueryAnalysis": [
|
572
572
|
{
|
573
573
|
"document": "获取指定时间范围内实例的慢查询统计分析结果。\n",
|
574
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSlowQueryAnalysis\n<公共请求参数>\n\n{\n \"
|
575
|
-
"output": "{\n \"Response\": {\n \"Detail\": {\n \"AnalysisItems\": [\n {\n \"AvgCostTime\":
|
574
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSlowQueryAnalysis\n<公共请求参数>\n\n{\n \"Limit\": 1,\n \"Offset\": 0,\n \"DBInstanceId\": \"postgres-1xm16x1d\",\n \"StartTime\": \"2025-07-21 20:00:00\",\n \"EndTime\": \"2025-07-21 21:00:00\"\n}",
|
575
|
+
"output": "{\n \"Response\": {\n \"Detail\": {\n \"AnalysisItems\": [\n {\n \"AvgCostTime\": 2016,\n \"CallNum\": 1,\n \"CallPercent\": 100,\n \"ClientAddr\": \"11.141.188.142:57346\",\n \"CostPercent\": 100,\n \"CostTime\": 2016,\n \"DatabaseName\": \"postgres\",\n \"FirstTime\": \"2025-07-21 20:56:13\",\n \"LastTime\": \"2025-07-21 20:56:13\",\n \"MaxCostTime\": 2016,\n \"MinCostTime\": 2016,\n \"NormalQuery\": \"SELECT pg_sleep($1);\",\n \"UserName\": \"admin\"\n }\n ],\n \"TotalCallNum\": 1,\n \"TotalTime\": 2016\n },\n \"RequestId\": \"d7436dd0-155d-47c4-9b18-5318019a1706\",\n \"TotalCount\": 1\n }\n}",
|
576
576
|
"title": "慢查询统计分析接口实例"
|
577
577
|
}
|
578
578
|
],
|
@@ -623,7 +623,7 @@
|
|
623
623
|
"DisIsolateDBInstances": [
|
624
624
|
{
|
625
625
|
"document": "实例的解隔离操作。",
|
626
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DisIsolateDBInstances\n<公共请求参数>\n\n{\n \"Period\":
|
626
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DisIsolateDBInstances\n<公共请求参数>\n\n{\n \"Period\": 1,\n \"AutoVoucher\": false,\n \"DBInstanceIdSet\": [\n \"postgres-xxxxxxxx\"\n ]\n}",
|
627
627
|
"output": "{\n \"Response\": {\n \"RequestId\": \"ad1ca88b-5cc8-4c4c-ab10-a882123f8daa\"\n }\n}",
|
628
628
|
"title": "解隔离实例"
|
629
629
|
}
|
@@ -631,7 +631,7 @@
|
|
631
631
|
"InquiryPriceCreateDBInstances": [
|
632
632
|
{
|
633
633
|
"document": "查询实例的售卖价格",
|
634
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceCreateDBInstances\n<公共请求参数>\n\n{\n \"InstanceCount\":
|
634
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceCreateDBInstances\n<公共请求参数>\n\n{\n \"InstanceCount\": 1,\n \"Zone\": \"ap-guangzhou-2\",\n \"Storage\": 100,\n \"Period\": 1,\n \"SpecCode\": \"cdb.pg.z1.2g\",\n \"InstanceChargeType\": \"PREPAID\"\n}",
|
635
635
|
"output": "{\n \"Response\": {\n \"RequestId\": \"8a61e500-aa33-454c-9ec2-da2a368c39ab\",\n \"OriginalPrice\": 27600,\n \"Price\": 27600,\n \"Currency\": \"CNY\"\n }\n}",
|
636
636
|
"title": "查询实例的售卖价格"
|
637
637
|
}
|
@@ -647,7 +647,7 @@
|
|
647
647
|
"InquiryPriceUpgradeDBInstance": [
|
648
648
|
{
|
649
649
|
"document": "",
|
650
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceUpgradeDBInstance\n<公共请求参数>\n\n{\n \"Storage\":
|
650
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceUpgradeDBInstance\n<公共请求参数>\n\n{\n \"Storage\": 500,\n \"DBInstanceId\": \"postgres-6fego161\",\n \"Memory\": 4\n}",
|
651
651
|
"output": "{\n \"Response\": {\n \"Price\": 1300,\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\",\n \"OriginalPrice\": 1300,\n \"Currency\": \"CNY\"\n }\n}",
|
652
652
|
"title": "查询实例扩容价格"
|
653
653
|
}
|
@@ -719,13 +719,13 @@
|
|
719
719
|
"ModifyDBInstanceDeployment": [
|
720
720
|
{
|
721
721
|
"document": "将实例postgres-abcd1234主节点可用区调整广州3区,备节点调整为广州3区。",
|
722
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceDeployment\n<公共请求参数>\n\n{\n \"SwitchStartTime\": \"12:00:00\",\n \"DBNodeSet\": [\n {\n \"Role\": \"Standby\",\n \"Zone\": \"ap-guangzhou-3\"\n },\n {\n \"Role\": \"Primary\",\n \"Zone\": \"ap-guangzhou-3\"\n }\n ],\n \"DBInstanceId\": \"postgres-abcd1234\",\n \"SwitchTag\":
|
722
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceDeployment\n<公共请求参数>\n\n{\n \"SwitchStartTime\": \"12:00:00\",\n \"DBNodeSet\": [\n {\n \"Role\": \"Standby\",\n \"Zone\": \"ap-guangzhou-3\"\n },\n {\n \"Role\": \"Primary\",\n \"Zone\": \"ap-guangzhou-3\"\n }\n ],\n \"DBInstanceId\": \"postgres-abcd1234\",\n \"SwitchTag\": 1,\n \"SwitchEndTime\": \"12:30:00\"\n}",
|
723
723
|
"output": "{\n \"Response\": {\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\"\n }\n}",
|
724
724
|
"title": "实例修改为单可用区"
|
725
725
|
},
|
726
726
|
{
|
727
727
|
"document": "将实例postgres-abcd1234主节点可用区调整广州1区,备节点调整为广州2区。",
|
728
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceDeployment\n<公共请求参数>\n\n{\n \"SwitchStartTime\": \"12:00:00\",\n \"DBNodeSet\": [\n {\n \"Role\": \"Standby\",\n \"Zone\": \"ap-guangzhou-2\"\n },\n {\n \"Role\": \"Primary\",\n \"Zone\": \"ap-guangzhou-1\"\n }\n ],\n \"DBInstanceId\": \"postgres-abcd1234\",\n \"SwitchTag\":
|
728
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceDeployment\n<公共请求参数>\n\n{\n \"SwitchStartTime\": \"12:00:00\",\n \"DBNodeSet\": [\n {\n \"Role\": \"Standby\",\n \"Zone\": \"ap-guangzhou-2\"\n },\n {\n \"Role\": \"Primary\",\n \"Zone\": \"ap-guangzhou-1\"\n }\n ],\n \"DBInstanceId\": \"postgres-abcd1234\",\n \"SwitchTag\": 1,\n \"SwitchEndTime\": \"12:30:00\"\n}",
|
729
729
|
"output": "{\n \"Response\": {\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\"\n }\n}",
|
730
730
|
"title": "实例修改为跨可用区"
|
731
731
|
}
|
@@ -775,7 +775,7 @@
|
|
775
775
|
"ModifyDBInstanceReadOnlyGroup": [
|
776
776
|
{
|
777
777
|
"document": "",
|
778
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceReadOnlyGroup\n<公共请求参数>\n\n{\n \"NewReadOnlyGroupId\": \"pgrogrp-nqwpkjbu\",\n \"ReadOnlyGroupId\": \"pgrogrp-mnwtmp20\",\n \"DBInstanceId\": \"
|
778
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceReadOnlyGroup\n<公共请求参数>\n\n{\n \"NewReadOnlyGroupId\": \"pgrogrp-nqwpkjbu\",\n \"ReadOnlyGroupId\": \"pgrogrp-mnwtmp20\",\n \"DBInstanceId\": \"pgro-k95qzetn\"\n}",
|
779
779
|
"output": "{\n \"Response\": {\n \"RequestId\": \"d43b2a9f-070c-480b-a0bb-7c210428cfe8\",\n \"FlowId\": 912\n }\n}",
|
780
780
|
"title": "ModifyDBInstanceReadOnlyGroup"
|
781
781
|
}
|
@@ -810,7 +810,7 @@
|
|
810
810
|
],
|
811
811
|
"ModifyDBInstanceSpec": [
|
812
812
|
{
|
813
|
-
"document": "修改实例postgres-6bwgamo3配置为Cpu1核、内存
|
813
|
+
"document": "修改实例postgres-6bwgamo3配置为Cpu1核、内存2GiB、存储200GiB。",
|
814
814
|
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceSpec\n<公共请求参数>\n\n{\n \"Storage\": 200,\n \"DBInstanceId\": \"postgres-6bwgamo3\",\n \"Cpu\": 1,\n \"Memory\": 2\n}",
|
815
815
|
"output": "{\n \"Response\": {\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\",\n \"DealName\": \"201806127634\",\n \"BillId\": \"20241204591002395368333\"\n }\n}",
|
816
816
|
"title": "修改实例配置。"
|
@@ -835,7 +835,7 @@
|
|
835
835
|
"ModifyMaintainTimeWindow": [
|
836
836
|
{
|
837
837
|
"document": "修改postgres-c4wtbx1f实例的维护时间窗口为每周一、周二的23:00-00:00",
|
838
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMaintainTimeWindow\n<公共请求参数>\n\n{\n \"MaintainWeekDays\": [\n \"tuesday\",\n \"monday\"\n ],\n \"MaintainDuration\":
|
838
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMaintainTimeWindow\n<公共请求参数>\n\n{\n \"MaintainWeekDays\": [\n \"tuesday\",\n \"monday\"\n ],\n \"MaintainDuration\": 1,\n \"DBInstanceId\": \"postgres-c4wtbx1f\",\n \"MaintainStartTime\": \"23:00\"\n}",
|
839
839
|
"output": "{\n \"Response\": {\n \"RequestId\": \"0f6113e2-f27c-4fe2-a63c-a298f4071e6c\"\n }\n}",
|
840
840
|
"title": "修改维护时间窗口"
|
841
841
|
}
|
@@ -859,7 +859,7 @@
|
|
859
859
|
"ModifyReadOnlyGroupConfig": [
|
860
860
|
{
|
861
861
|
"document": "",
|
862
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyReadOnlyGroupConfig\n<公共请求参数>\n\n{\n \"MaxReplayLag\":
|
862
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyReadOnlyGroupConfig\n<公共请求参数>\n\n{\n \"MaxReplayLag\": 0,\n \"ReplayLagEliminate\": 0,\n \"MaxReplayLatency\": 512,\n \"MinDelayEliminateReserve\": 0,\n \"ReadOnlyGroupName\": \"test\",\n \"ReadOnlyGroupId\": \"pgrogrp-e0tfm161\",\n \"Rebalance\": 1\n}",
|
863
863
|
"output": "{\n \"Response\": {\n \"RequestId\": \"d43b2a9f-070c-480b-a0bb-7c210428cfe8\"\n }\n}",
|
864
864
|
"title": "修改只读组配置信息"
|
865
865
|
}
|
@@ -867,7 +867,7 @@
|
|
867
867
|
"ModifySwitchTimePeriod": [
|
868
868
|
{
|
869
869
|
"document": "",
|
870
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySwitchTimePeriod\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-19nmz2xb\",\n \"SwitchTag\":
|
870
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySwitchTimePeriod\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-19nmz2xb\",\n \"SwitchTag\": 0\n}",
|
871
871
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6ace8140-6b9e-4e81-a8ad-ef3f92b2aa90\"\n }\n}",
|
872
872
|
"title": "立即切换"
|
873
873
|
}
|
@@ -891,7 +891,7 @@
|
|
891
891
|
"RemoveDBInstanceFromReadOnlyGroup": [
|
892
892
|
{
|
893
893
|
"document": "",
|
894
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RemoveDBInstanceFromReadOnlyGroup\n<公共请求参数>\n\n{\n \"ReadOnlyGroupId\": \"
|
894
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RemoveDBInstanceFromReadOnlyGroup\n<公共请求参数>\n\n{\n \"ReadOnlyGroupId\": \"pgrogrp-k95qzetn\",\n \"DBInstanceId\": \"pgro-k95qzetn\"\n}",
|
895
895
|
"output": "{\n \"Response\": {\n \"RequestId\": \"d43b2a9f-070c-480b-a0bb-7c210428cfe8\",\n \"FlowId\": 912\n }\n}",
|
896
896
|
"title": "用户将实例从只读组中移除"
|
897
897
|
}
|
@@ -899,7 +899,7 @@
|
|
899
899
|
"RenewInstance": [
|
900
900
|
{
|
901
901
|
"document": "包年包月实例续费操作。",
|
902
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RenewInstance\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-apzvwncr\",\n \"Period\":
|
902
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RenewInstance\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-apzvwncr\",\n \"Period\": 1\n}",
|
903
903
|
"output": "{\n \"Response\": {\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\",\n \"DealName\": \"201806181256\"\n }\n}",
|
904
904
|
"title": "续费实例postgres-apzvwncr"
|
905
905
|
}
|
@@ -907,13 +907,13 @@
|
|
907
907
|
"ResetAccountPassword": [
|
908
908
|
{
|
909
909
|
"document": "",
|
910
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetAccountPassword\n<公共请求参数>\n\n{\n \"UserName\": \"app_user\",\n \"Password\": \"
|
910
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetAccountPassword\n<公共请求参数>\n\n{\n \"UserName\": \"app_user\",\n \"Password\": \"1234Qwer()\",\n \"DBInstanceId\": \"postgres-lnp6j6172\"\n}",
|
911
911
|
"output": "{\n \"Response\": {\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\",\n \"Error\": {\n \"Message\": \"admin unmatch|oss return failed, code:3, message:admin unmatch\",\n \"Code\": \"FailedOperation.OssOperationFailed\"\n }\n }\n}",
|
912
912
|
"title": "重置postgres-lnp6j6172的账户密码,失败"
|
913
913
|
},
|
914
914
|
{
|
915
915
|
"document": "",
|
916
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetAccountPassword\n<公共请求参数>\n\n{\n \"UserName\": \"test_app\",\n \"Password\": \"
|
916
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetAccountPassword\n<公共请求参数>\n\n{\n \"UserName\": \"test_app\",\n \"Password\": \"1234Qwer()\",\n \"DBInstanceId\": \"postgres-lnp6j6172\"\n}",
|
917
917
|
"output": "{\n \"Response\": {\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\"\n }\n}",
|
918
918
|
"title": "重置postgres-lnp6j6172的账户密码,成功"
|
919
919
|
}
|
@@ -943,7 +943,7 @@
|
|
943
943
|
"SetAutoRenewFlag": [
|
944
944
|
{
|
945
945
|
"document": "",
|
946
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SetAutoRenewFlag\n<公共请求参数>\n\n{\n \"AutoRenewFlag\":
|
946
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SetAutoRenewFlag\n<公共请求参数>\n\n{\n \"AutoRenewFlag\": 1,\n \"DBInstanceIdSet\": [\n \"postgres-6fego161\"\n ]\n}",
|
947
947
|
"output": "{\n \"Response\": {\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\",\n \"Count\": 1\n }\n}",
|
948
948
|
"title": "设置自动续费"
|
949
949
|
}
|
@@ -967,7 +967,7 @@
|
|
967
967
|
"UpgradeDBInstanceKernelVersion": [
|
968
968
|
{
|
969
969
|
"document": "升级实例内核小版本",
|
970
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpgradeDBInstanceKernelVersion\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"pgro-g7w4itfg\",\n \"TargetDBKernelVersion\": \"v12.7_r1.5\",\n \"DryRun\":
|
970
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpgradeDBInstanceKernelVersion\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"pgro-g7w4itfg\",\n \"TargetDBKernelVersion\": \"v12.7_r1.5\",\n \"DryRun\": true\n}",
|
971
971
|
"output": "{\n \"Response\": {\n \"RequestId\": \"2b376d28-d5fd-40b0-9bdc-d992f8fed15d\"\n }\n}",
|
972
972
|
"title": "升级版本号"
|
973
973
|
}
|
@@ -1025,7 +1025,7 @@
|
|
1025
1025
|
{
|
1026
1026
|
"disabled": false,
|
1027
1027
|
"document": "查询指标 fields",
|
1028
|
-
"example": "[[\\\"as\\\",[\\\"
|
1028
|
+
"example": "\"[[\\\"as\\\",\\\"device_id\\\",\\\"device_id\\\"],\\\"entrance_time\\\",[\\\"as\\\",\\\"feature_md5\\\",\\\"feature_md5\\\"],[\\\"as\\\",\\\"version\\\",\\\"version\\\"],[\\\"as\\\",\\\"id\\\",\\\"id\\\"],[\\\"as\\\",\\\"user_id\\\",\\\"user_id\\\"]]\"",
|
1029
1029
|
"member": "string",
|
1030
1030
|
"name": "Fields",
|
1031
1031
|
"required": true,
|
@@ -1034,7 +1034,7 @@
|
|
1034
1034
|
{
|
1035
1035
|
"disabled": false,
|
1036
1036
|
"document": "查询的过滤条件",
|
1037
|
-
"example": "
|
1037
|
+
"example": "\"{\\\"category__in\\\":[\\\"PERF_CRASH\\\"]}\"",
|
1038
1038
|
"member": "string",
|
1039
1039
|
"name": "Filter",
|
1040
1040
|
"required": true,
|
@@ -1043,7 +1043,7 @@
|
|
1043
1043
|
{
|
1044
1044
|
"disabled": false,
|
1045
1045
|
"document": "查询简单过滤条件",
|
1046
|
-
"example": "{\\\"category__in\\\":[\\\"PERF_CRASH\\\",\\\"APP_LAUNCH\\\"
|
1046
|
+
"example": "{\\\"category__in\\\":[\\\"PERF_CRASH\\\",\\\"APP_LAUNCH\\\"]}",
|
1047
1047
|
"member": "string",
|
1048
1048
|
"name": "FilterSimple",
|
1049
1049
|
"required": false,
|
@@ -1103,7 +1103,7 @@
|
|
1103
1103
|
{
|
1104
1104
|
"disabled": false,
|
1105
1105
|
"document": "查询数据返回",
|
1106
|
-
"example": "{
|
1106
|
+
"example": "{\\\"status\\\":\\\"ok\\\",\\\"code\\\":10000,\\\"msg\\\":\\\"ok\\\",\\\"data\\\":[]}",
|
1107
1107
|
"member": "string",
|
1108
1108
|
"name": "Data",
|
1109
1109
|
"output_required": true,
|
@@ -1143,7 +1143,7 @@
|
|
1143
1143
|
{
|
1144
1144
|
"disabled": false,
|
1145
1145
|
"document": "查询指标 field",
|
1146
|
-
"example": "[[\\\"as\\\",[\\\"
|
1146
|
+
"example": "\"[[\\\"as\\\",\\\"device_id\\\",\\\"device_id\\\"],\\\"entrance_time\\\",[\\\"as\\\",\\\"feature_md5\\\",\\\"feature_md5\\\"],[\\\"as\\\",\\\"version\\\",\\\"version\\\"],[\\\"as\\\",\\\"id\\\",\\\"id\\\"],[\\\"as\\\",\\\"user_id\\\",\\\"user_id\\\"]]\"",
|
1147
1147
|
"member": "string",
|
1148
1148
|
"name": "Fields",
|
1149
1149
|
"required": true,
|
@@ -1152,7 +1152,7 @@
|
|
1152
1152
|
{
|
1153
1153
|
"disabled": false,
|
1154
1154
|
"document": "查询的过滤条件",
|
1155
|
-
"example": "
|
1155
|
+
"example": "\"{\\\"category__in\\\":[\\\"PERF_CRASH\\\"]}\"",
|
1156
1156
|
"member": "string",
|
1157
1157
|
"name": "Filter",
|
1158
1158
|
"required": true,
|
@@ -1161,7 +1161,7 @@
|
|
1161
1161
|
{
|
1162
1162
|
"disabled": false,
|
1163
1163
|
"document": "查询简单过滤条件",
|
1164
|
-
"example": "{\\\"category__in\\\":[\\\"PERF_CRASH\\\",\\\"APP_LAUNCH\\\"
|
1164
|
+
"example": "{\\\"category__in\\\":[\\\"PERF_CRASH\\\",\\\"APP_LAUNCH\\\"]}",
|
1165
1165
|
"member": "string",
|
1166
1166
|
"name": "FilterSimple",
|
1167
1167
|
"required": false,
|
@@ -1221,7 +1221,7 @@
|
|
1221
1221
|
{
|
1222
1222
|
"disabled": false,
|
1223
1223
|
"document": "查询数据返回",
|
1224
|
-
"example": "{
|
1224
|
+
"example": "{\\\"status\\\":\\\"ok\\\",\\\"code\\\":10000,\\\"msg\\\":\\\"ok\\\",\\\"data\\\":[]}",
|
1225
1225
|
"member": "string",
|
1226
1226
|
"name": "Data",
|
1227
1227
|
"output_required": true,
|
@@ -1270,7 +1270,7 @@
|
|
1270
1270
|
{
|
1271
1271
|
"disabled": false,
|
1272
1272
|
"document": "查询的过滤条件",
|
1273
|
-
"example": "\"{
|
1273
|
+
"example": "\"{\\\"category__in\\\":[\\\"PERF_CRASH\\\"]}\"",
|
1274
1274
|
"member": "string",
|
1275
1275
|
"name": "Filter",
|
1276
1276
|
"required": true,
|
@@ -1279,7 +1279,7 @@
|
|
1279
1279
|
{
|
1280
1280
|
"disabled": false,
|
1281
1281
|
"document": "查询简单过滤条件",
|
1282
|
-
"example": "{\\\"category__in\\\":[\\\"PERF_CRASH\\\",\\\"APP_LAUNCH\\\"
|
1282
|
+
"example": "{\\\"category__in\\\":[\\\"PERF_CRASH\\\",\\\"APP_LAUNCH\\\"]}",
|
1283
1283
|
"member": "string",
|
1284
1284
|
"name": "FilterSimple",
|
1285
1285
|
"required": false,
|
@@ -1330,7 +1330,7 @@
|
|
1330
1330
|
{
|
1331
1331
|
"disabled": false,
|
1332
1332
|
"document": "查询数据返回",
|
1333
|
-
"example": "{
|
1333
|
+
"example": "{\\\"status\\\":\\\"ok\\\",\\\"code\\\":10000,\\\"msg\\\":\\\"ok\\\",\\\"data\\\":[]}",
|
1334
1334
|
"member": "string",
|
1335
1335
|
"name": "Data",
|
1336
1336
|
"output_required": true,
|
@@ -1370,7 +1370,7 @@
|
|
1370
1370
|
{
|
1371
1371
|
"disabled": false,
|
1372
1372
|
"document": "查询指标 field",
|
1373
|
-
"example": "[[\\\"as\\\",[\\\"
|
1373
|
+
"example": "\"[[\\\"as\\\",\\\"device_id\\\",\\\"device_id\\\"],\\\"entrance_time\\\",[\\\"as\\\",\\\"feature_md5\\\",\\\"feature_md5\\\"],[\\\"as\\\",\\\"version\\\",\\\"version\\\"],[\\\"as\\\",\\\"id\\\",\\\"id\\\"],[\\\"as\\\",\\\"user_id\\\",\\\"user_id\\\"]]\"",
|
1374
1374
|
"member": "string",
|
1375
1375
|
"name": "Fields",
|
1376
1376
|
"required": true,
|
@@ -1379,7 +1379,7 @@
|
|
1379
1379
|
{
|
1380
1380
|
"disabled": false,
|
1381
1381
|
"document": "查询的过滤条件",
|
1382
|
-
"example": "
|
1382
|
+
"example": "\"{\\\"category__in\\\":[\\\"PERF_CRASH\\\"]}\"",
|
1383
1383
|
"member": "string",
|
1384
1384
|
"name": "Filter",
|
1385
1385
|
"required": true,
|
@@ -1388,7 +1388,7 @@
|
|
1388
1388
|
{
|
1389
1389
|
"disabled": false,
|
1390
1390
|
"document": "查询简单过滤条件",
|
1391
|
-
"example": "{\\\"category__in\\\":[\\\"PERF_CRASH\\\",\\\"APP_LAUNCH\\\"
|
1391
|
+
"example": "{\\\"category__in\\\":[\\\"PERF_CRASH\\\",\\\"APP_LAUNCH\\\"]}",
|
1392
1392
|
"member": "string",
|
1393
1393
|
"name": "FilterSimple",
|
1394
1394
|
"required": false,
|
@@ -1439,7 +1439,7 @@
|
|
1439
1439
|
{
|
1440
1440
|
"disabled": false,
|
1441
1441
|
"document": "查询数据返回",
|
1442
|
-
"example": "{
|
1442
|
+
"example": "{\\\"status\\\":\\\"ok\\\",\\\"code\\\":10000,\\\"msg\\\":\\\"ok\\\",\\\"data\\\":[]}",
|
1443
1443
|
"member": "string",
|
1444
1444
|
"name": "Data",
|
1445
1445
|
"output_required": true,
|
@@ -1612,6 +1612,15 @@
|
|
1612
1612
|
"name": "CaType",
|
1613
1613
|
"required": false,
|
1614
1614
|
"type": "string"
|
1615
|
+
},
|
1616
|
+
{
|
1617
|
+
"disabled": false,
|
1618
|
+
"document": "签名算法",
|
1619
|
+
"example": "SHA256",
|
1620
|
+
"member": "string",
|
1621
|
+
"name": "SignAlgo",
|
1622
|
+
"required": false,
|
1623
|
+
"type": "string"
|
1615
1624
|
}
|
1616
1625
|
],
|
1617
1626
|
"type": "object"
|
@@ -9482,7 +9491,7 @@
|
|
9482
9491
|
},
|
9483
9492
|
{
|
9484
9493
|
"disabled": false,
|
9485
|
-
"document": "类型,默认
|
9494
|
+
"document": "类型,默认 original。可选项:original = 原证书 CSR,upload = 手动上传,online = 在线生成。",
|
9486
9495
|
"example": "Upload",
|
9487
9496
|
"member": "string",
|
9488
9497
|
"name": "CsrType",
|
@@ -9533,6 +9542,15 @@
|
|
9533
9542
|
"name": "CertCSRKeyParameter",
|
9534
9543
|
"required": false,
|
9535
9544
|
"type": "string"
|
9545
|
+
},
|
9546
|
+
{
|
9547
|
+
"disabled": false,
|
9548
|
+
"document": "签名算法",
|
9549
|
+
"example": "SHA256",
|
9550
|
+
"member": "string",
|
9551
|
+
"name": "SignAlgo",
|
9552
|
+
"required": false,
|
9553
|
+
"type": "string"
|
9536
9554
|
}
|
9537
9555
|
],
|
9538
9556
|
"type": "object"
|
@@ -1976,6 +1976,16 @@
|
|
1976
1976
|
"type": "string",
|
1977
1977
|
"value_allowed_null": false
|
1978
1978
|
},
|
1979
|
+
{
|
1980
|
+
"disabled": false,
|
1981
|
+
"document": "执行的命令的名称",
|
1982
|
+
"example": "cleanDisk",
|
1983
|
+
"member": "string",
|
1984
|
+
"name": "CommandName",
|
1985
|
+
"output_required": true,
|
1986
|
+
"type": "string",
|
1987
|
+
"value_allowed_null": false
|
1988
|
+
},
|
1979
1989
|
{
|
1980
1990
|
"disabled": false,
|
1981
1991
|
"document": "执行任务状态。取值范围:\n\n- PENDING:等待下发\n- RUNNING:命令运行中\n- CANCELLING:取消中\n- SUCCESS:命令成功\n- TIMEOUT:命令超时\n- FAILED:命令失败\n- CANCELLED:命令全部取消\n- PARTIAL_FAILED:命令部分失败\n- PARTIAL_CANCELLED:命令部分取消",
|
@@ -700,7 +700,7 @@
|
|
700
700
|
{
|
701
701
|
"disabled": false,
|
702
702
|
"document": "环境音设置",
|
703
|
-
"example": "
|
703
|
+
"example": "{\"Scene\": \"coffee_shops\", \"Volume\": 1.0}}",
|
704
704
|
"member": "AmbientSound",
|
705
705
|
"name": "AmbientSound",
|
706
706
|
"output_required": false,
|
@@ -711,7 +711,7 @@
|
|
711
711
|
{
|
712
712
|
"disabled": false,
|
713
713
|
"document": "声纹配置",
|
714
|
-
"example": "
|
714
|
+
"example": "{\"Mode\": 1, \"IdList\": [\"voiceprintid1\"]]}",
|
715
715
|
"member": "VoicePrint",
|
716
716
|
"name": "VoicePrint",
|
717
717
|
"output_required": false,
|
@@ -722,13 +722,24 @@
|
|
722
722
|
{
|
723
723
|
"disabled": false,
|
724
724
|
"document": "语义断句检测",
|
725
|
-
"example": "
|
725
|
+
"example": "{\"SemanticEagerness\": \"auto\"}}",
|
726
726
|
"member": "TurnDetection",
|
727
727
|
"name": "TurnDetection",
|
728
728
|
"output_required": false,
|
729
729
|
"required": false,
|
730
730
|
"type": "object",
|
731
731
|
"value_allowed_null": false
|
732
|
+
},
|
733
|
+
{
|
734
|
+
"disabled": false,
|
735
|
+
"document": "机器人字幕显示模式。\n- 0表示尽快显示,不会和音频播放进行同步。此时字幕全量下发,后面的字幕会包含前面的字幕。\n- 1表示句子级别的实时显示,会和音频播放进行同步,只有当前句子对应的音频播放完后,下一条字幕才会下发。此时字幕增量下发,端上需要把前后的字幕进行拼接才是完整字幕。",
|
736
|
+
"example": "1",
|
737
|
+
"member": "uint64",
|
738
|
+
"name": "SubtitleMode",
|
739
|
+
"output_required": false,
|
740
|
+
"required": false,
|
741
|
+
"type": "int",
|
742
|
+
"value_allowed_null": false
|
732
743
|
}
|
733
744
|
],
|
734
745
|
"usage": "both"
|
@@ -7422,7 +7433,7 @@
|
|
7422
7433
|
{
|
7423
7434
|
"disabled": false,
|
7424
7435
|
"document": "TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),和开启转录任务的房间使用的SdkAppId相同。",
|
7425
|
-
"example": "
|
7436
|
+
"example": "14000000000",
|
7426
7437
|
"member": "uint64",
|
7427
7438
|
"name": "SdkAppId",
|
7428
7439
|
"required": true,
|
@@ -7431,7 +7442,7 @@
|
|
7431
7442
|
{
|
7432
7443
|
"disabled": false,
|
7433
7444
|
"document": "TRTC的[RoomId](https://cloud.tencent.com/document/product/647/46351#roomid),表示开启对话任务的房间号。",
|
7434
|
-
"example": "
|
7445
|
+
"example": "10000",
|
7435
7446
|
"member": "string",
|
7436
7447
|
"name": "RoomId",
|
7437
7448
|
"required": true,
|
@@ -7440,7 +7451,7 @@
|
|
7440
7451
|
{
|
7441
7452
|
"disabled": false,
|
7442
7453
|
"document": "机器人参数",
|
7443
|
-
"example": "
|
7454
|
+
"example": "{ \"UserId\": \"user_12345\", \"UserSig\": \"user_signature_example\", \"MaxIdleTime\": 120, \"TargetUserId\": \"target_user_54321\" }",
|
7444
7455
|
"member": "AgentConfig",
|
7445
7456
|
"name": "AgentConfig",
|
7446
7457
|
"required": true,
|
@@ -7458,7 +7469,7 @@
|
|
7458
7469
|
{
|
7459
7470
|
"disabled": false,
|
7460
7471
|
"document": "TRTC房间号的类型,0代表数字房间号,1代表字符串房间号。不填默认是数字房间号。",
|
7461
|
-
"example": "
|
7472
|
+
"example": "0",
|
7462
7473
|
"member": "uint64",
|
7463
7474
|
"name": "RoomIdType",
|
7464
7475
|
"required": false,
|
@@ -7467,7 +7478,7 @@
|
|
7467
7478
|
{
|
7468
7479
|
"disabled": false,
|
7469
7480
|
"document": "语音识别配置。",
|
7470
|
-
"example": "
|
7481
|
+
"example": " { \"Language\": \"zh\"}",
|
7471
7482
|
"member": "STTConfig",
|
7472
7483
|
"name": "STTConfig",
|
7473
7484
|
"required": false,
|
@@ -7476,7 +7487,7 @@
|
|
7476
7487
|
{
|
7477
7488
|
"disabled": false,
|
7478
7489
|
"document": "LLM配置。需符合openai规范,为JSON字符串,示例如下:\n<pre> { <br>   \"LLMType\": \"大模型类型\", // String 必填,如:\"openai\" <br>   \"Model\": \"您的模型名称\", // String 必填,指定使用的模型<br> \"APIKey\": \"您的LLM API密钥\", // String 必填 <br>   \"APIUrl\": \"https://api.xxx.com/chat/completions\", // String 必填,LLM API访问的URL<br>   \"Streaming\": true // Boolean 非必填,指定是否使用流式传输<br>  } </pre>\n",
|
7479
|
-
"example": "{\\\"LLMType\\\": \\\"openai\\\", \\\"Model\\\": \\\"gpt-xxx\", \\\"APIKey\\\": \\\"xxxxxxxx\\\", \\\"APIUrl\\\": \\\"https://api.xxx.com/v1\\\", \\\"Streaming\\\": true}",
|
7490
|
+
"example": "{\\\"LLMType\\\": \\\"openai\\\", \\\"Model\\\": \\\"gpt-xxx\", \\\"APIKey\\\": \\\"xxxxxxxx\\\", \\\"APIUrl\\\": \\\"https://api.xxx.com/v1/chat/completions\\\", \\\"Streaming\\\": true}",
|
7480
7491
|
"member": "string",
|
7481
7492
|
"name": "LLMConfig",
|
7482
7493
|
"required": false,
|
@@ -7503,7 +7514,7 @@
|
|
7503
7514
|
{
|
7504
7515
|
"disabled": false,
|
7505
7516
|
"document": "实验性参数,联系后台使用",
|
7506
|
-
"example": "
|
7517
|
+
"example": "{\"internal\": \"xxx\"}",
|
7507
7518
|
"member": "string",
|
7508
7519
|
"name": "ExperimentalParams",
|
7509
7520
|
"required": false,
|
@@ -411,7 +411,7 @@
|
|
411
411
|
"StartAIConversation": [
|
412
412
|
{
|
413
413
|
"document": "",
|
414
|
-
"input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartAIConversation\n<公共请求参数>\n\n{\n \"SdkAppId\": 12345678,\n \"RoomId\": \"room_987654321\",\n \"RoomIdType\": 1,\n \"AgentConfig\": {\n \"UserId\": \"user_12345\",\n \"UserSig\": \"user_signature_example\",\n \"MaxIdleTime\": 120,\n \"TargetUserId\": \"target_user_54321\"\n },\n \"SessionId\": \"session_1234567890abcdef\",\n \"STTConfig\": {\n \"Language\": \"
|
414
|
+
"input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartAIConversation\n<公共请求参数>\n\n{\n \"SdkAppId\": 12345678,\n \"RoomId\": \"room_987654321\",\n \"RoomIdType\": 1,\n \"AgentConfig\": {\n \"UserId\": \"user_12345\",\n \"UserSig\": \"user_signature_example\",\n \"MaxIdleTime\": 120,\n \"TargetUserId\": \"target_user_54321\"\n },\n \"SessionId\": \"session_1234567890abcdef\",\n \"STTConfig\": {\n \"Language\": \"zh\"\n },\n \"LLMConfig\": \"{\\\"LLMType\\\": \\\"openai\\\", \\\"Model\\\": \\\"gpt-3.5-turbo\\\", \\\"APIKey\\\": \\\"xxx\\\", \\\"APIUrl\\\": \\\"http://xxxx-api.xxxx.com/v1/chat/completions\\\", \\\"Streaming\\\": true}\",\n \"TTSConfig\": \"{\\\"TTSType\\\": \\\"tencent\\\", \\\"AppId\\\": 130000000, \\\"SecretId\\\": \\\"AKIDxxxxx\\\", \\\"SecretKey\\\": \\\"HlDxxxxxx\\\", \\\"VoiceType\\\": 1008, \\\"Speed\\\": 1}\"\n}",
|
415
415
|
"output": "{\n \"Response\": {\n \"TaskId\": \"v2_20250224_udqgoOzzpAFOoiXR_sHbeVCwys3hy0PLs1uRLvS7wY9mjZMEIQuDPhT\",\n \"RequestId\": \"df81f274-c1b8-4342-b0a1-e552072cc48e\"\n }\n}",
|
416
416
|
"title": "启动一个AI机器人对话"
|
417
417
|
}
|