tccli 3.0.1228.1__py2.py3-none-any.whl → 3.0.1230.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/aiart/aiart_client.py +57 -4
- tccli/services/aiart/v20221229/api.json +101 -3
- tccli/services/aiart/v20221229/examples.json +8 -0
- tccli/services/batch/v20170312/api.json +15 -8
- tccli/services/cam/v20190116/api.json +25 -25
- tccli/services/cam/v20190116/examples.json +8 -8
- tccli/services/cdb/v20170320/api.json +8 -8
- tccli/services/cfw/v20190904/api.json +1 -1
- tccli/services/ckafka/v20190819/api.json +1 -1
- tccli/services/ckafka/v20190819/examples.json +14 -14
- tccli/services/clb/v20180317/api.json +1 -1
- tccli/services/cloudaudit/v20190319/api.json +15 -15
- tccli/services/cloudaudit/v20190319/examples.json +3 -3
- tccli/services/config/v20220802/api.json +70 -68
- tccli/services/config/v20220802/examples.json +6 -6
- tccli/services/cwp/v20180228/api.json +1 -1
- tccli/services/cynosdb/cynosdb_client.py +175 -16
- tccli/services/cynosdb/v20190107/api.json +292 -18
- tccli/services/cynosdb/v20190107/examples.json +30 -0
- tccli/services/dbbrain/v20210527/api.json +3 -1
- tccli/services/emr/emr_client.py +110 -4
- tccli/services/emr/v20190103/api.json +645 -0
- tccli/services/emr/v20190103/examples.json +16 -0
- tccli/services/essbasic/v20210526/api.json +10 -0
- tccli/services/facefusion/v20181201/api.json +12 -6
- tccli/services/hai/v20230812/api.json +6 -6
- tccli/services/hai/v20230812/examples.json +2 -2
- tccli/services/iotexplorer/v20190423/api.json +10 -0
- tccli/services/ivld/v20210903/api.json +25 -25
- tccli/services/ivld/v20210903/examples.json +1 -1
- tccli/services/lcic/v20220817/api.json +2 -2
- tccli/services/lke/v20231130/api.json +4 -4
- tccli/services/mps/v20190612/api.json +54 -1
- tccli/services/mqtt/mqtt_client.py +118 -12
- tccli/services/mqtt/v20240516/api.json +312 -33
- tccli/services/mqtt/v20240516/examples.json +23 -13
- tccli/services/ocr/v20181119/api.json +119 -30
- tccli/services/ocr/v20181119/examples.json +6 -6
- tccli/services/postgres/v20170312/api.json +221 -219
- tccli/services/postgres/v20170312/examples.json +36 -36
- tccli/services/pts/v20210728/api.json +22 -12
- tccli/services/redis/v20180412/api.json +14 -14
- tccli/services/scf/v20180416/api.json +12 -0
- tccli/services/ssl/v20191205/api.json +246 -173
- tccli/services/ssl/v20191205/examples.json +69 -69
- tccli/services/sts/v20180813/api.json +17 -11
- tccli/services/sts/v20180813/examples.json +6 -6
- tccli/services/tcr/v20190924/api.json +17 -17
- tccli/services/tdmq/tdmq_client.py +4 -57
- tccli/services/tdmq/v20200217/api.json +121 -202
- tccli/services/tdmq/v20200217/examples.json +29 -49
- tccli/services/trtc/v20190722/api.json +5 -9
- tccli/services/vclm/v20240523/api.json +28 -18
- tccli/services/vclm/v20240523/examples.json +2 -2
- tccli/services/vod/v20180717/api.json +18 -18
- tccli/services/vpc/v20170312/api.json +658 -163
- tccli/services/vpc/v20170312/examples.json +70 -14
- tccli/services/vpc/vpc_client.py +475 -104
- {tccli-3.0.1228.1.dist-info → tccli-3.0.1230.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1228.1.dist-info → tccli-3.0.1230.1.dist-info}/RECORD +64 -64
- {tccli-3.0.1228.1.dist-info → tccli-3.0.1230.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1228.1.dist-info → tccli-3.0.1230.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1228.1.dist-info → tccli-3.0.1230.1.dist-info}/license_files/LICENSE +0 -0
@@ -20,14 +20,14 @@
|
|
20
20
|
{
|
21
21
|
"document": "关闭实例postgres-apzvwncr外网。",
|
22
22
|
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CloseDBExtranetAccess\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-apzvwncr\"\n}",
|
23
|
-
"output": "{\n \"Response\": {\n \"FlowId\":
|
23
|
+
"output": "{\n \"Response\": {\n \"FlowId\": 25104,\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\"\n }\n}",
|
24
24
|
"title": "关闭实例外网"
|
25
25
|
}
|
26
26
|
],
|
27
27
|
"CloseServerlessDBExtranetAccess": [
|
28
28
|
{
|
29
29
|
"document": "关闭serverless公网地址",
|
30
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CloseServerlessDBExtranetAccess\n<公共请求参数>\n\n{\n \"DBInstanceName\": \"test\",\n \"DBInstanceId\": \"postgres-apzvwncr\"\n}",
|
30
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CloseServerlessDBExtranetAccess\n<公共请求参数>\n\n{\n \"DBInstanceName\": \"test-db-instance\",\n \"DBInstanceId\": \"postgres-apzvwncr\"\n}",
|
31
31
|
"output": "{\n \"Response\": {\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\"\n }\n}",
|
32
32
|
"title": "关闭serverless公网地址"
|
33
33
|
}
|
@@ -35,7 +35,7 @@
|
|
35
35
|
"CreateAccount": [
|
36
36
|
{
|
37
37
|
"document": "创建数据库普通账号",
|
38
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAccount\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-5cz25tr5\",\n \"UserName\": \"user_normal\",\n \"Password\": \"Test_password1\",\n \"Type\": \"normal\",\n \"Remark\": \"
|
38
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAccount\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-5cz25tr5\",\n \"UserName\": \"user_normal\",\n \"Password\": \"Test_password1\",\n \"Type\": \"normal\",\n \"Remark\": \"普通账号\"\n}",
|
39
39
|
"output": "{\n \"Response\": {\n \"RequestId\": \"5d19322f-50fe-4084-a5d3-b0bc680fd3a1\"\n }\n}",
|
40
40
|
"title": "创建数据库普通账号"
|
41
41
|
},
|
@@ -73,13 +73,13 @@
|
|
73
73
|
"CreateDatabase": [
|
74
74
|
{
|
75
75
|
"document": "",
|
76
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDatabase\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-5cz25tr5\",\n \"DatabaseName\": \"mydatabase\",\n \"DatabaseOwner\": \"
|
76
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDatabase\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-5cz25tr5\",\n \"DatabaseName\": \"mydatabase\",\n \"DatabaseOwner\": \"data_team\"\n}",
|
77
77
|
"output": "{\n \"Response\": {\n \"RequestId\": \"28004847-7a50-4740-a536-19ee9db9ccc0\"\n }\n}",
|
78
78
|
"title": "创建数据库"
|
79
79
|
},
|
80
80
|
{
|
81
81
|
"document": "",
|
82
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDatabase\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-5cz25tr5\",\n \"DatabaseName\": \"mydatabase\",\n \"DatabaseOwner\": \"
|
82
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDatabase\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-5cz25tr5\",\n \"DatabaseName\": \"mydatabase\",\n \"DatabaseOwner\": \"data_team\",\n \"Encoding\": \"UTF8\",\n \"Collate\": \"zh_CN.utf8\",\n \"Ctype\": \"zh_CN.utf8\"\n}",
|
83
83
|
"output": "{\n \"Response\": {\n \"RequestId\": \"28004847-7a50-4740-a536-19ee9db9ccc0\"\n }\n}",
|
84
84
|
"title": "创建指定字符编码、排序规则及字符分类的数据库"
|
85
85
|
}
|
@@ -88,26 +88,26 @@
|
|
88
88
|
{
|
89
89
|
"document": "创建12.4版本中最新内核版的PostgreSQL实例",
|
90
90
|
"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}",
|
91
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"6ace8140-6b9e-4e81-a8ad-ef3f92b2aa90\",\n \"DealNames\": [\n \"20180119110001\"\n ],\n \"DBInstanceIdSet\": [\n \"postgres-xxxxx\"\n ],\n \"BillId\": \"
|
91
|
+
"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}",
|
92
92
|
"title": "创建12.4版本的PostgreSQL实例"
|
93
93
|
},
|
94
94
|
{
|
95
95
|
"document": "创建内核版本号为v12.4_r1.0版本的PostgreSQL实例",
|
96
96
|
"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}",
|
97
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"6ace8140-6b9e-4e81-a8ad-ef3f92b2aa90\",\n \"DealNames\": [\n \"20180119110001\"\n ],\n \"DBInstanceIdSet\": [\n \"postgres-xxxxx\"\n ],\n \"BillId\": \"
|
97
|
+
"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}",
|
98
98
|
"title": "创建指定内核版本号的PostgreSQL实例"
|
99
99
|
},
|
100
100
|
{
|
101
101
|
"document": "创建12版本中最新内核版本的PostgreSQL实例(跨可用区)",
|
102
102
|
"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}",
|
103
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"6ace8140-6b9e-4e81-a8ad-ef3f92b2aa90\",\n \"DealNames\": [\n \"20180119110001\"\n ],\n \"DBInstanceIdSet\": [\n \"postgres-xxxxx\"\n ],\n \"BillId\": \"
|
103
|
+
"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}",
|
104
104
|
"title": "创建12版本中最新内核版本的PostgreSQL实例"
|
105
105
|
}
|
106
106
|
],
|
107
107
|
"CreateParameterTemplate": [
|
108
108
|
{
|
109
109
|
"document": "数据库版本为14,引擎为postgresql,参数模板名称和描述自定义。",
|
110
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateParameterTemplate\n<公共请求参数>\n\n{\n \"TemplateName\": \"test_template\",\n \"DBMajorVersion\": \"13\",\n \"DBEngine\": \"postgresql\",\n \"TemplateDescription\": \"
|
110
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateParameterTemplate\n<公共请求参数>\n\n{\n \"TemplateName\": \"test_template\",\n \"DBMajorVersion\": \"13\",\n \"DBEngine\": \"postgresql\",\n \"TemplateDescription\": \"This template is used for testing environment\"\n}",
|
111
111
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6ace8140-6b9e-4e81-a8ad-ef3f92b2aa90\",\n \"TemplateId\": \"497857b4-4676-5583-8359-b697fe5968d9\"\n }\n}",
|
112
112
|
"title": "创建参数模板示例"
|
113
113
|
}
|
@@ -116,7 +116,7 @@
|
|
116
116
|
{
|
117
117
|
"document": "创建只读实例",
|
118
118
|
"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}",
|
119
|
-
"output": "{\n \"Response\": {\n \"
|
119
|
+
"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}",
|
120
120
|
"title": "CreateReadOnlyDBInstance"
|
121
121
|
}
|
122
122
|
],
|
@@ -163,7 +163,7 @@
|
|
163
163
|
"DeleteDBInstanceNetworkAccess": [
|
164
164
|
{
|
165
165
|
"document": "",
|
166
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteDBInstanceNetworkAccess\n<公共请求参数>\n\n{\n \"SubnetId\": \"subnet-4s9dejli\",\n \"Vip\": \"127
|
166
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteDBInstanceNetworkAccess\n<公共请求参数>\n\n{\n \"SubnetId\": \"subnet-4s9dejli\",\n \"Vip\": \"127.*.*.*\",\n \"VpcId\": \"vpc-gaestjaf\",\n \"DBInstanceId\": \"postgres-6bwgamo3\"\n}",
|
167
167
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6ace8140-6b9e-4e81-a8ad-ef3f92b2aa90\",\n \"FlowId\": 912\n }\n}",
|
168
168
|
"title": "删除实例网络"
|
169
169
|
}
|
@@ -195,7 +195,7 @@
|
|
195
195
|
"DeleteReadOnlyGroupNetworkAccess": [
|
196
196
|
{
|
197
197
|
"document": "",
|
198
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteReadOnlyGroupNetworkAccess\n<公共请求参数>\n\n{\n \"SubnetId\": \"subnet-4s9dejli\",\n \"VpcId\": \"vpc-gaestjaf\",\n \"Vip\": \"127
|
198
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteReadOnlyGroupNetworkAccess\n<公共请求参数>\n\n{\n \"SubnetId\": \"subnet-4s9dejli\",\n \"VpcId\": \"vpc-gaestjaf\",\n \"Vip\": \"127.*.*.*\",\n \"ReadOnlyGroupId\": \"pgro-4t9c6g7k\"\n}",
|
199
199
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6ace8140-6b9e-4e81-a8ad-ef3f92b2aa90\",\n \"FlowId\": 912\n }\n}",
|
200
200
|
"title": "删除RO组网络"
|
201
201
|
}
|
@@ -244,7 +244,7 @@
|
|
244
244
|
{
|
245
245
|
"document": "获取实例postgres-hpe52jnz的账户列表",
|
246
246
|
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAccounts\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-hpe52jnz\"\n}",
|
247
|
-
"output": "{\n \"Response\": {\n \"Details\": [\n {\n \"CreateTime\": \"
|
247
|
+
"output": "{\n \"Response\": {\n \"Details\": [\n {\n \"CreateTime\": \"2024-05-06 21:00:12\",\n \"DBInstanceId\": \"postgres-hpe52jnz\",\n \"Remark\": \"\",\n \"Status\": 2,\n \"UpdateTime\": \"2024-06-06 21:00:12\",\n \"UserName\": \"app_user\",\n \"UserType\": \"tencentDBSuper\"\n }\n ],\n \"RequestId\": \"1299fe3a-9958-440a-bfd0-e4eb1e71b7eb\",\n \"TotalCount\": 1\n }\n}",
|
248
248
|
"title": "获取实例postgres-hpe52jnz的账户列表"
|
249
249
|
}
|
250
250
|
],
|
@@ -390,13 +390,13 @@
|
|
390
390
|
{
|
391
391
|
"document": "按指定分页查询实例列表",
|
392
392
|
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstances\n<公共请求参数>\n\n{\n \"Limit\": \"10\",\n \"Offset\": \"0\"\n}",
|
393
|
-
"output": "{\n \"Response\": {\n \"
|
393
|
+
"output": "{\n \"Response\": {\n \"DBInstanceSet\": [\n {\n \"AppId\": 2512400000,\n \"AutoRenew\": 0,\n \"CreateTime\": \"2024-09-01 16:00:45\",\n \"DBCharset\": \"UTF8\",\n \"DBEngine\": \"postgresql\",\n \"DBEngineConfig\": \"\",\n \"DBInstanceClass\": \"pg.it.small2\",\n \"DBInstanceCpu\": 1,\n \"DBInstanceId\": \"postgres-dnlizio3\",\n \"DBInstanceMemory\": 2,\n \"DBInstanceName\": \"Unnamed\",\n \"DBInstanceNetInfo\": [\n {\n \"Address\": \"\",\n \"Ip\": \"10.*.*.*\",\n \"NetType\": \"private\",\n \"Port\": 5432,\n \"ProtocolType\": \"postgresql\",\n \"Status\": \"opened\",\n \"SubnetId\": \"subnet-b23o6b22\",\n \"VpcId\": \"vpc-49ab5lb9\"\n },\n {\n \"Address\": \"\",\n \"Ip\": \"\",\n \"NetType\": \"public\",\n \"Port\": 0,\n \"ProtocolType\": \"\",\n \"Status\": \"initing\",\n \"SubnetId\": \"\",\n \"VpcId\": \"\"\n }\n ],\n \"DBInstanceStatus\": \"running\",\n \"DBInstanceStorage\": 100,\n \"DBInstanceType\": \"primary\",\n \"DBInstanceVersion\": \"standard\",\n \"DBKernelVersion\": \"v16.2_r1.5\",\n \"DBMajorVersion\": \"16\",\n \"DBNodeSet\": [\n {\n \"DedicatedClusterId\": \"\",\n \"Role\": \"Primary\",\n \"Zone\": \"ap-guangzhou-2\"\n },\n {\n \"DedicatedClusterId\": \"\",\n \"Role\": \"Standby\",\n \"Zone\": \"ap-guangzhou-2\"\n }\n ],\n \"DBVersion\": \"16.2\",\n \"ExpireTime\": \"0000-00-00 00:00:00\",\n \"IsSupportTDE\": 0,\n \"IsolatedTime\": \"0000-00-00 00:00:00\",\n \"MasterDBInstanceId\": \"\",\n \"NetworkAccessList\": null,\n \"OfflineTime\": \"0001-01-04 00:00:00\",\n \"PayType\": \"postpaid\",\n \"ProjectId\": 0,\n \"ReadOnlyInstanceNum\": 0,\n \"Region\": \"ap-guangzhou\",\n \"StatusInReadonlyGroup\": \"\",\n \"SubnetId\": \"subnet-b23o6b22\",\n \"SupportIpv6\": 0,\n \"TagList\": [],\n \"Type\": \"\",\n \"Uid\": 421842,\n \"UpdateTime\": \"2024-09-29 10:10:57\",\n \"VpcId\": \"vpc-49ab5lb9\",\n \"Zone\": \"ap-guangzhou-2\"\n }\n ],\n \"RequestId\": \"9e87cd50-5daf-44bf-8f67-3d3f017a87e7\",\n \"TotalCount\": 1\n }\n}",
|
394
394
|
"title": "查询所有实例列表"
|
395
395
|
},
|
396
396
|
{
|
397
397
|
"document": "例如:查询实例ID为postgres-xxxxx的实例信息",
|
398
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstances\n<公共请求参数>\n\n{\n \"Limit\": \"10\",\n \"Filters\": [\n {\n \"Values\": [\n \"postgres-
|
399
|
-
"output": "{\n \"Response\": {\n \"
|
398
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstances\n<公共请求参数>\n\n{\n \"Limit\": \"10\",\n \"Filters\": [\n {\n \"Values\": [\n \"postgres-dnlizio3\"\n ],\n \"Name\": \"db-instance-id\"\n }\n ],\n \"Offset\": \"0\"\n}",
|
399
|
+
"output": "{\n \"Response\": {\n \"DBInstanceSet\": [\n {\n \"AppId\": 2512400000,\n \"AutoRenew\": 0,\n \"CreateTime\": \"2024-09-01 16:00:45\",\n \"DBCharset\": \"UTF8\",\n \"DBEngine\": \"postgresql\",\n \"DBEngineConfig\": \"\",\n \"DBInstanceClass\": \"pg.it.small2\",\n \"DBInstanceCpu\": 1,\n \"DBInstanceId\": \"postgres-dnlizio3\",\n \"DBInstanceMemory\": 2,\n \"DBInstanceName\": \"Unnamed\",\n \"DBInstanceNetInfo\": [\n {\n \"Address\": \"\",\n \"Ip\": \"10.*.*.*\",\n \"NetType\": \"private\",\n \"Port\": 5432,\n \"ProtocolType\": \"postgresql\",\n \"Status\": \"opened\",\n \"SubnetId\": \"subnet-b23o6b22\",\n \"VpcId\": \"vpc-49ab5lb9\"\n },\n {\n \"Address\": \"\",\n \"Ip\": \"\",\n \"NetType\": \"public\",\n \"Port\": 0,\n \"ProtocolType\": \"\",\n \"Status\": \"initing\",\n \"SubnetId\": \"\",\n \"VpcId\": \"\"\n }\n ],\n \"DBInstanceStatus\": \"running\",\n \"DBInstanceStorage\": 100,\n \"DBInstanceType\": \"primary\",\n \"DBInstanceVersion\": \"standard\",\n \"DBKernelVersion\": \"v16.2_r1.5\",\n \"DBMajorVersion\": \"16\",\n \"DBNodeSet\": [\n {\n \"DedicatedClusterId\": \"\",\n \"Role\": \"Primary\",\n \"Zone\": \"ap-guangzhou-2\"\n },\n {\n \"DedicatedClusterId\": \"\",\n \"Role\": \"Standby\",\n \"Zone\": \"ap-guangzhou-2\"\n }\n ],\n \"DBVersion\": \"16.2\",\n \"ExpireTime\": \"0000-00-00 00:00:00\",\n \"IsSupportTDE\": 0,\n \"IsolatedTime\": \"0000-00-00 00:00:00\",\n \"MasterDBInstanceId\": \"\",\n \"NetworkAccessList\": null,\n \"OfflineTime\": \"0001-01-04 00:00:00\",\n \"PayType\": \"postpaid\",\n \"ProjectId\": 0,\n \"ReadOnlyInstanceNum\": 0,\n \"Region\": \"ap-guangzhou\",\n \"StatusInReadonlyGroup\": \"\",\n \"SubnetId\": \"subnet-b23o6b22\",\n \"SupportIpv6\": 0,\n \"TagList\": [],\n \"Type\": \"\",\n \"Uid\": 421842,\n \"UpdateTime\": \"2024-09-29 10:10:57\",\n \"VpcId\": \"vpc-49ab5lb9\",\n \"Zone\": \"ap-guangzhou-2\"\n }\n ],\n \"RequestId\": \"9e87cd50-5daf-44bf-8f67-3d3f017a87e7\",\n \"TotalCount\": 1\n }\n}",
|
400
400
|
"title": "根据实例ID查询实例信息"
|
401
401
|
}
|
402
402
|
],
|
@@ -555,8 +555,8 @@
|
|
555
555
|
"DescribeServerlessDBInstances": [
|
556
556
|
{
|
557
557
|
"document": "",
|
558
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeServerlessDBInstances\n<公共请求参数>\n\n{\n \"Filter\": [\n {\n \"Name\": \"
|
559
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"DBInstanceSet\": [\n {\n \"DBInstanceId\": \"postgres-
|
558
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeServerlessDBInstances\n<公共请求参数>\n\n{\n \"Filter\": [\n {\n \"Name\": \"db-instance-name\",\n \"Values\": [\n \"user-data-db\"\n ]\n }\n ],\n \"Limit\": \"0\",\n \"Offset\": \"1\"\n}",
|
559
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"DBInstanceSet\": [\n {\n \"DBInstanceId\": \"postgres-dnlizio3\",\n \"DBInstanceName\": \"user-data-db\",\n \"DBInstanceStatus\": \"running\",\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-3\",\n \"ProjectId\": 0,\n \"VpcId\": \"vpc-49ab5lb9\",\n \"SubnetId\": \"subnet-b23o6b22\",\n \"DBCharset\": \"UTF8\",\n \"DBVersion\": \"10\",\n \"DBKernelVersion\": \"v10.4_r1.0\",\n \"CreateTime\": \"2020-03-20 12:19:14\",\n \"DBInstanceNetInfo\": [\n {\n \"Address\": \"\",\n \"Ip\": \"10.*.*.*\",\n \"Port\": 5432,\n \"Status\": \"opened\",\n \"NetType\": \"private\"\n },\n {\n \"Address\": \"\",\n \"Ip\": \"\",\n \"Port\": 0,\n \"Status\": \"initing\",\n \"NetType\": \"public\"\n }\n ],\n \"DBAccountSet\": [],\n \"DBDatabaseList\": null\n }\n ],\n \"RequestId\": \"d43b2a9f-070c-480b-a0bb-7c210428cfe8\"\n }\n}",
|
560
560
|
"title": "查询ServerlessDB实例列表"
|
561
561
|
}
|
562
562
|
],
|
@@ -649,7 +649,7 @@
|
|
649
649
|
"LockAccount": [
|
650
650
|
{
|
651
651
|
"document": "锁定数据库账号",
|
652
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: LockAccount\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-4sfuv15b\",\n \"UserName\": \"
|
652
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: LockAccount\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-4sfuv15b\",\n \"UserName\": \"app_user\"\n}",
|
653
653
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6ace8140-6b9e-4e81-a8ad-ef3f92b2aa90\"\n }\n}",
|
654
654
|
"title": "锁定数据库账号"
|
655
655
|
}
|
@@ -665,7 +665,7 @@
|
|
665
665
|
"ModifyAccountRemark": [
|
666
666
|
{
|
667
667
|
"document": "",
|
668
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAccountRemark\n<公共请求参数>\n\n{\n \"UserName\": \"
|
668
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAccountRemark\n<公共请求参数>\n\n{\n \"UserName\": \"webapp_user\",\n \"Remark\": \"testModifyRemark\",\n \"DBInstanceId\": \"postgres-6bwgamo3\"\n}",
|
669
669
|
"output": "{\n \"Response\": {\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\"\n }\n}",
|
670
670
|
"title": "修改账号备注"
|
671
671
|
}
|
@@ -673,7 +673,7 @@
|
|
673
673
|
"ModifyBackupDownloadRestriction": [
|
674
674
|
{
|
675
675
|
"document": " 修改备份下载限制",
|
676
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyBackupDownloadRestriction\n<公共请求参数>\n\n{\n \"RestrictionType\": \"CUSTOMIZE\",\n \"VpcRestrictionEffect\": \"ALLOW\",\n \"VpcIdSet\": [\n \"vpc-15ld6dhr\"\n ],\n \"IpRestrictionEffect\": \"\",\n \"IpSet\": []\n}",
|
676
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyBackupDownloadRestriction\n<公共请求参数>\n\n{\n \"RestrictionType\": \"CUSTOMIZE\",\n \"VpcRestrictionEffect\": \"ALLOW\",\n \"VpcIdSet\": [\n \"vpc-15ld6dhr\"\n ],\n \"IpRestrictionEffect\": \"ALLOW\",\n \"IpSet\": [\n \"10.*.*.*\"\n ]\n}",
|
677
677
|
"output": "{\n \"Response\": {\n \"RequestId\": \"be3bafde-f34e-4fda-9f40-04c5515e2148\"\n }\n}",
|
678
678
|
"title": "修改备份下载限制"
|
679
679
|
}
|
@@ -761,7 +761,7 @@
|
|
761
761
|
"ModifyDBInstanceReadOnlyGroup": [
|
762
762
|
{
|
763
763
|
"document": "",
|
764
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceReadOnlyGroup\n<公共请求参数>\n\n{\n \"NewReadOnlyGroupId\": \"
|
764
|
+
"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\": \"postgres-k95qzetn\"\n}",
|
765
765
|
"output": "{\n \"Response\": {\n \"RequestId\": \"d43b2a9f-070c-480b-a0bb-7c210428cfe8\",\n \"FlowId\": 912\n }\n}",
|
766
766
|
"title": "ModifyDBInstanceReadOnlyGroup"
|
767
767
|
}
|
@@ -784,7 +784,7 @@
|
|
784
784
|
{
|
785
785
|
"document": "修改实例postgres-6bwgamo3配置为Cpu1核、内存2GB、存储200GB。",
|
786
786
|
"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}",
|
787
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\",\n \"DealName\": \"201806127634\",\n \"BillId\": \"
|
787
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\",\n \"DealName\": \"201806127634\",\n \"BillId\": \"20241204591002395368333\"\n }\n}",
|
788
788
|
"title": "修改实例配置。"
|
789
789
|
}
|
790
790
|
],
|
@@ -799,15 +799,15 @@
|
|
799
799
|
"ModifyDatabaseOwner": [
|
800
800
|
{
|
801
801
|
"document": "",
|
802
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDatabaseOwner\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-mnhbbw99\",\n \"DatabaseName\": \"
|
802
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDatabaseOwner\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-mnhbbw99\",\n \"DatabaseName\": \"alice_database\",\n \"DatabaseOwner\": \"alice\"\n}",
|
803
803
|
"output": "{\n \"Response\": {\n \"RequestId\": \"a11906eb-75b4-43c4-8d3e-aa6b2991c8f5\"\n }\n}",
|
804
804
|
"title": "修改数据库所有者"
|
805
805
|
}
|
806
806
|
],
|
807
807
|
"ModifyParameterTemplate": [
|
808
808
|
{
|
809
|
-
"document": "
|
810
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyParameterTemplate\n<公共请求参数>\n\n{\n \"TemplateId\": \"497857b4-4676-5583-8359-b697fe5968d9\",\n \"TemplateName\": \"test_template\",\n \"TemplateDescription\": \"
|
809
|
+
"document": "修改模版中的参数项",
|
810
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyParameterTemplate\n<公共请求参数>\n\n{\n \"TemplateId\": \"497857b4-4676-5583-8359-b697fe5968d9\",\n \"TemplateName\": \"test_template\",\n \"TemplateDescription\": \"This template is used for testing environment\",\n \"ModifyParamEntrySet\": [\n {\n \"Name\": \"max_wal_senders\",\n \"ExpectedValue\": \"360\"\n },\n {\n \"Name\": \"max_logical_replication_workers\",\n \"ExpectedValue\": \"360\"\n }\n ],\n \"DeleteParamSet\": [\n \"wal_level\"\n ]\n}",
|
811
811
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6ace8140-6b9e-4e81-a8ad-ef3f92b2aa90\"\n }\n}",
|
812
812
|
"title": "修改参数模板"
|
813
813
|
}
|
@@ -832,7 +832,7 @@
|
|
832
832
|
{
|
833
833
|
"document": "开通实例postgres-apzvwncr外网。",
|
834
834
|
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: OpenDBExtranetAccess\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-apzvwncr\"\n}",
|
835
|
-
"output": "{\n \"Response\": {\n \"FlowId\":
|
835
|
+
"output": "{\n \"Response\": {\n \"FlowId\": 23515,\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\"\n }\n}",
|
836
836
|
"title": "开通实例外网"
|
837
837
|
}
|
838
838
|
],
|
@@ -877,13 +877,13 @@
|
|
877
877
|
"ResetAccountPassword": [
|
878
878
|
{
|
879
879
|
"document": "",
|
880
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetAccountPassword\n<公共请求参数>\n\n{\n \"UserName\": \"
|
880
|
+
"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}",
|
881
881
|
"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}",
|
882
882
|
"title": "重置postgres-lnp6j6172的账户密码,失败"
|
883
883
|
},
|
884
884
|
{
|
885
885
|
"document": "",
|
886
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetAccountPassword\n<公共请求参数>\n\n{\n \"UserName\": \"
|
886
|
+
"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}",
|
887
887
|
"output": "{\n \"Response\": {\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\"\n }\n}",
|
888
888
|
"title": "重置postgres-lnp6j6172的账户密码,成功"
|
889
889
|
}
|
@@ -892,20 +892,20 @@
|
|
892
892
|
{
|
893
893
|
"document": "",
|
894
894
|
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RestartDBInstance\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-apzvwncr\"\n}",
|
895
|
-
"output": "{\n \"Response\": {\n \"FlowId\":
|
895
|
+
"output": "{\n \"Response\": {\n \"FlowId\": 15486,\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\"\n }\n}",
|
896
896
|
"title": "重启实例"
|
897
897
|
}
|
898
898
|
],
|
899
899
|
"RestoreDBInstanceObjects": [
|
900
900
|
{
|
901
|
-
"document": "在原实例上指定恢复时间,恢复某些数据库相关对象。例如在postgres-abcd1234实例上,恢复时间点2024-03-25 01:27:35上的
|
902
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RestoreDBInstance\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-abcd1234\",\n \"RestoreTargetTime\": \"2024-03-25 01:27:35\",\n \"RestoreObjects\": [\n \"
|
901
|
+
"document": "在原实例上指定恢复时间,恢复某些数据库相关对象。例如在postgres-abcd1234实例上,恢复时间点2024-03-25 01:27:35上的user数据库。",
|
902
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RestoreDBInstance\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-abcd1234\",\n \"RestoreTargetTime\": \"2024-03-25 01:27:35\",\n \"RestoreObjects\": [\n \"user\"\n ]\n}",
|
903
903
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6ace8140-6b9e-4e81-a8ad-ef3f92b2aa90\"\n }\n}",
|
904
904
|
"title": "指定恢复时间,恢复数据库对象"
|
905
905
|
},
|
906
906
|
{
|
907
|
-
"document": "在原实例上选定备份集,恢复某些数据库相关对象。例如在postgres-abcd1234实例上,使用备份集28aa61ac-1b1f-566a-bedb-6e918024be02恢复
|
908
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RestoreDBInstance\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-abcd1234\",\n \"BackupSetId\": \"28aa61ac-1b1f-566a-bedb-6e918024be02\",\n \"RestoreObjects\": [\n \"
|
907
|
+
"document": "在原实例上选定备份集,恢复某些数据库相关对象。例如在postgres-abcd1234实例上,使用备份集28aa61ac-1b1f-566a-bedb-6e918024be02恢复user数据库。",
|
908
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RestoreDBInstance\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-abcd1234\",\n \"BackupSetId\": \"28aa61ac-1b1f-566a-bedb-6e918024be02\",\n \"RestoreObjects\": [\n \"user\"\n ]\n}",
|
909
909
|
"output": "{\n \"Response\": {\n \"RequestId\": \"3d49f48c-7d27-4820-8724-ed5b15787373\"\n }\n}",
|
910
910
|
"title": "选定备份集,恢复数据库对象"
|
911
911
|
}
|
@@ -929,7 +929,7 @@
|
|
929
929
|
"UnlockAccount": [
|
930
930
|
{
|
931
931
|
"document": "账号锁定之后,通过此操作解锁。",
|
932
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UnlockAccount\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-4sfuv15b\",\n \"UserName\": \"
|
932
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UnlockAccount\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-4sfuv15b\",\n \"UserName\": \"bob_admin\"\n}",
|
933
933
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6ace8140-6b9e-4e81-a8ad-ef3f92b2aa90\"\n }\n}",
|
934
934
|
"title": "解除数据库账号锁定"
|
935
935
|
}
|
@@ -938,7 +938,7 @@
|
|
938
938
|
{
|
939
939
|
"document": "调整实例postgres-6bwgamo3规格为内存2GB、存储100GB。",
|
940
940
|
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpgradeDBInstance\n<公共请求参数>\n\n{\n \"Storage\": \"200\",\n \"DBInstanceId\": \"postgres-6bwgamo3\",\n \"Memory\": \"2\"\n}",
|
941
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\",\n \"DealName\": \"201806127634\",\n \"BillId\": \"
|
941
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\",\n \"DealName\": \"201806127634\",\n \"BillId\": \"20241204591002321368561\"\n }\n}",
|
942
942
|
"title": "升级实例"
|
943
943
|
}
|
944
944
|
],
|
@@ -5817,7 +5817,7 @@
|
|
5817
5817
|
"example": "http://www.baidu.com",
|
5818
5818
|
"member": "string",
|
5819
5819
|
"name": "Service",
|
5820
|
-
"
|
5820
|
+
"output_required": true,
|
5821
5821
|
"type": "string",
|
5822
5822
|
"value_allowed_null": false
|
5823
5823
|
},
|
@@ -5827,7 +5827,7 @@
|
|
5827
5827
|
"example": "GET",
|
5828
5828
|
"member": "string",
|
5829
5829
|
"name": "Method",
|
5830
|
-
"
|
5830
|
+
"output_required": true,
|
5831
5831
|
"type": "string",
|
5832
5832
|
"value_allowed_null": false
|
5833
5833
|
},
|
@@ -5837,7 +5837,7 @@
|
|
5837
5837
|
"example": "100",
|
5838
5838
|
"member": "int64",
|
5839
5839
|
"name": "Count",
|
5840
|
-
"
|
5840
|
+
"output_required": true,
|
5841
5841
|
"type": "int",
|
5842
5842
|
"value_allowed_null": false
|
5843
5843
|
},
|
@@ -5847,7 +5847,7 @@
|
|
5847
5847
|
"example": "0.50",
|
5848
5848
|
"member": "float",
|
5849
5849
|
"name": "Average",
|
5850
|
-
"
|
5850
|
+
"output_required": true,
|
5851
5851
|
"type": "float",
|
5852
5852
|
"value_allowed_null": false
|
5853
5853
|
},
|
@@ -5857,7 +5857,7 @@
|
|
5857
5857
|
"example": "0.90",
|
5858
5858
|
"member": "float",
|
5859
5859
|
"name": "P90",
|
5860
|
-
"
|
5860
|
+
"output_required": true,
|
5861
5861
|
"type": "float",
|
5862
5862
|
"value_allowed_null": false
|
5863
5863
|
},
|
@@ -5867,7 +5867,7 @@
|
|
5867
5867
|
"example": "0.95",
|
5868
5868
|
"member": "float",
|
5869
5869
|
"name": "P95",
|
5870
|
-
"
|
5870
|
+
"output_required": true,
|
5871
5871
|
"type": "float",
|
5872
5872
|
"value_allowed_null": false
|
5873
5873
|
},
|
@@ -5877,7 +5877,7 @@
|
|
5877
5877
|
"example": "0.10",
|
5878
5878
|
"member": "float",
|
5879
5879
|
"name": "Min",
|
5880
|
-
"
|
5880
|
+
"output_required": true,
|
5881
5881
|
"type": "float",
|
5882
5882
|
"value_allowed_null": false
|
5883
5883
|
},
|
@@ -5887,7 +5887,7 @@
|
|
5887
5887
|
"example": "0.99",
|
5888
5888
|
"member": "float",
|
5889
5889
|
"name": "Max",
|
5890
|
-
"
|
5890
|
+
"output_required": true,
|
5891
5891
|
"type": "float",
|
5892
5892
|
"value_allowed_null": false
|
5893
5893
|
},
|
@@ -5897,7 +5897,7 @@
|
|
5897
5897
|
"example": "1,代表错误率1%",
|
5898
5898
|
"member": "float",
|
5899
5899
|
"name": "ErrorPercentage",
|
5900
|
-
"
|
5900
|
+
"output_required": true,
|
5901
5901
|
"type": "float",
|
5902
5902
|
"value_allowed_null": false
|
5903
5903
|
},
|
@@ -5907,7 +5907,7 @@
|
|
5907
5907
|
"example": "0.55",
|
5908
5908
|
"member": "float",
|
5909
5909
|
"name": "P99",
|
5910
|
-
"
|
5910
|
+
"output_required": true,
|
5911
5911
|
"type": "float",
|
5912
5912
|
"value_allowed_null": false
|
5913
5913
|
},
|
@@ -5917,7 +5917,7 @@
|
|
5917
5917
|
"example": "200",
|
5918
5918
|
"member": "string",
|
5919
5919
|
"name": "Status",
|
5920
|
-
"
|
5920
|
+
"output_required": true,
|
5921
5921
|
"type": "string",
|
5922
5922
|
"value_allowed_null": false
|
5923
5923
|
},
|
@@ -5927,9 +5927,19 @@
|
|
5927
5927
|
"example": "ok",
|
5928
5928
|
"member": "string",
|
5929
5929
|
"name": "Result",
|
5930
|
-
"
|
5930
|
+
"output_required": true,
|
5931
5931
|
"type": "string",
|
5932
5932
|
"value_allowed_null": false
|
5933
|
+
},
|
5934
|
+
{
|
5935
|
+
"disabled": false,
|
5936
|
+
"document": "平均rps, 单位req/s",
|
5937
|
+
"example": "100",
|
5938
|
+
"member": "float",
|
5939
|
+
"name": "RPS",
|
5940
|
+
"output_required": false,
|
5941
|
+
"type": "float",
|
5942
|
+
"value_allowed_null": false
|
5933
5943
|
}
|
5934
5944
|
],
|
5935
5945
|
"usage": "out"
|
@@ -1906,7 +1906,7 @@
|
|
1906
1906
|
{
|
1907
1907
|
"disabled": false,
|
1908
1908
|
"document": "自定义的访问数据库的账号名称。\n- 仅由字母、数字、下划线、中划线组成。\n- 长度不能大于32位。",
|
1909
|
-
"example": "
|
1909
|
+
"example": "username_01",
|
1910
1910
|
"member": "string",
|
1911
1911
|
"name": "AccountName",
|
1912
1912
|
"required": true,
|
@@ -1942,7 +1942,7 @@
|
|
1942
1942
|
{
|
1943
1943
|
"disabled": false,
|
1944
1944
|
"document": "子账号描述信息,长度[0,64] 字节,支持中文。",
|
1945
|
-
"example": "\"
|
1945
|
+
"example": "\"生产账号\"",
|
1946
1946
|
"member": "string",
|
1947
1947
|
"name": "Remark",
|
1948
1948
|
"required": false,
|
@@ -1957,7 +1957,7 @@
|
|
1957
1957
|
{
|
1958
1958
|
"disabled": false,
|
1959
1959
|
"document": "任务ID",
|
1960
|
-
"example": "
|
1960
|
+
"example": "29600111",
|
1961
1961
|
"member": "int64",
|
1962
1962
|
"name": "TaskId",
|
1963
1963
|
"output_required": true,
|
@@ -2333,7 +2333,7 @@
|
|
2333
2333
|
{
|
2334
2334
|
"disabled": false,
|
2335
2335
|
"document": "配置复制组名称。仅支持长度为2-64个字符的中文、英文、数字、下划线_、分隔符-。",
|
2336
|
-
"example": "
|
2336
|
+
"example": "example_group_name",
|
2337
2337
|
"member": "string",
|
2338
2338
|
"name": "GroupName",
|
2339
2339
|
"required": false,
|
@@ -2424,7 +2424,7 @@
|
|
2424
2424
|
{
|
2425
2425
|
"disabled": false,
|
2426
2426
|
"document": "子账号名称。请登录[Redis控制台](https://console.cloud.tencent.com/redis),切换至**账号管理**页面获取。具体信息,请参见[管理账号](https://cloud.tencent.com/document/product/239/36710)。",
|
2427
|
-
"example": "
|
2427
|
+
"example": "example_name",
|
2428
2428
|
"member": "string",
|
2429
2429
|
"name": "AccountName",
|
2430
2430
|
"required": true,
|
@@ -2439,7 +2439,7 @@
|
|
2439
2439
|
{
|
2440
2440
|
"disabled": false,
|
2441
2441
|
"document": "任务ID",
|
2442
|
-
"example": "
|
2442
|
+
"example": "101",
|
2443
2443
|
"member": "int64",
|
2444
2444
|
"name": "TaskId",
|
2445
2445
|
"output_required": true,
|
@@ -4710,7 +4710,7 @@
|
|
4710
4710
|
{
|
4711
4711
|
"disabled": false,
|
4712
4712
|
"document": "设置模糊查询关键字段,仅实例名称支持模糊查询。",
|
4713
|
-
"example": "
|
4713
|
+
"example": "模糊查询实例名称",
|
4714
4714
|
"member": "string",
|
4715
4715
|
"name": "SearchKey",
|
4716
4716
|
"required": false,
|
@@ -4728,7 +4728,7 @@
|
|
4728
4728
|
{
|
4729
4729
|
"disabled": false,
|
4730
4730
|
"document": "实例名称。",
|
4731
|
-
"example": "
|
4731
|
+
"example": "example_InstanceName",
|
4732
4732
|
"member": "string",
|
4733
4733
|
"name": "InstanceName",
|
4734
4734
|
"required": false,
|
@@ -4854,7 +4854,7 @@
|
|
4854
4854
|
{
|
4855
4855
|
"disabled": false,
|
4856
4856
|
"document": "根据标签的 Key 筛选资源,该参数不配置或者数组设置为空值,则不根据标签Key进行过滤。",
|
4857
|
-
"example": "
|
4857
|
+
"example": "keyname",
|
4858
4858
|
"member": "string",
|
4859
4859
|
"name": "TagKeys",
|
4860
4860
|
"required": false,
|
@@ -8678,7 +8678,7 @@
|
|
8678
8678
|
{
|
8679
8679
|
"disabled": false,
|
8680
8680
|
"document": "手动备份任务的备注信息。",
|
8681
|
-
"example": "
|
8681
|
+
"example": "Backup instructions",
|
8682
8682
|
"member": "string",
|
8683
8683
|
"name": "Remark",
|
8684
8684
|
"required": false,
|
@@ -9045,7 +9045,7 @@
|
|
9045
9045
|
{
|
9046
9046
|
"disabled": false,
|
9047
9047
|
"document": "子账号名称,如果要修改主账号,填 root。",
|
9048
|
-
"example": "
|
9048
|
+
"example": "example_name",
|
9049
9049
|
"member": "string",
|
9050
9050
|
"name": "AccountName",
|
9051
9051
|
"required": true,
|
@@ -9063,7 +9063,7 @@
|
|
9063
9063
|
{
|
9064
9064
|
"disabled": false,
|
9065
9065
|
"document": "子账号描述信息",
|
9066
|
-
"example": "
|
9066
|
+
"example": "some account instruction",
|
9067
9067
|
"member": "string",
|
9068
9068
|
"name": "Remark",
|
9069
9069
|
"required": false,
|
@@ -9105,7 +9105,7 @@
|
|
9105
9105
|
{
|
9106
9106
|
"disabled": false,
|
9107
9107
|
"document": "任务ID",
|
9108
|
-
"example": "
|
9108
|
+
"example": "11011",
|
9109
9109
|
"member": "int64",
|
9110
9110
|
"name": "TaskId",
|
9111
9111
|
"output_required": true,
|
@@ -9327,7 +9327,7 @@
|
|
9327
9327
|
{
|
9328
9328
|
"disabled": false,
|
9329
9329
|
"document": "日志集所在地域,不传默认使用实例所在地域。",
|
9330
|
-
"example": "
|
9330
|
+
"example": "ap-shanghai",
|
9331
9331
|
"member": "string",
|
9332
9332
|
"name": "LogRegion",
|
9333
9333
|
"required": false,
|
@@ -5512,9 +5512,21 @@
|
|
5512
5512
|
"example": "x",
|
5513
5513
|
"member": "NamespaceResourceEnvTKE",
|
5514
5514
|
"name": "TKE",
|
5515
|
+
"output_required": true,
|
5515
5516
|
"required": false,
|
5516
5517
|
"type": "object",
|
5517
5518
|
"value_allowed_null": true
|
5519
|
+
},
|
5520
|
+
{
|
5521
|
+
"disabled": false,
|
5522
|
+
"document": "近离线计算类型的命名空间",
|
5523
|
+
"example": "true",
|
5524
|
+
"member": "bool",
|
5525
|
+
"name": "OFFLINE",
|
5526
|
+
"output_required": false,
|
5527
|
+
"required": false,
|
5528
|
+
"type": "bool",
|
5529
|
+
"value_allowed_null": false
|
5518
5530
|
}
|
5519
5531
|
],
|
5520
5532
|
"usage": "both"
|