tccli 3.0.1229.1__py2.py3-none-any.whl → 3.0.1231.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/aiart/aiart_client.py +110 -4
  3. tccli/services/aiart/v20221229/api.json +197 -10
  4. tccli/services/aiart/v20221229/examples.json +16 -0
  5. tccli/services/batch/v20170312/api.json +19 -14
  6. tccli/services/cam/cam_client.py +53 -0
  7. tccli/services/cam/v20190116/api.json +125 -52
  8. tccli/services/cam/v20190116/examples.json +12 -4
  9. tccli/services/cfg/v20210820/api.json +9 -0
  10. tccli/services/cfw/v20190904/api.json +1 -1
  11. tccli/services/cloudaudit/v20190319/api.json +39 -39
  12. tccli/services/cloudaudit/v20190319/examples.json +5 -5
  13. tccli/services/cvm/v20170312/api.json +53 -55
  14. tccli/services/cvm/v20170312/examples.json +3 -3
  15. tccli/services/cwp/v20180228/api.json +1 -1
  16. tccli/services/cynosdb/cynosdb_client.py +110 -57
  17. tccli/services/cynosdb/v20190107/api.json +166 -18
  18. tccli/services/cynosdb/v20190107/examples.json +14 -0
  19. tccli/services/dbbrain/v20210527/api.json +3 -1
  20. tccli/services/emr/emr_client.py +110 -4
  21. tccli/services/emr/v20190103/api.json +645 -0
  22. tccli/services/emr/v20190103/examples.json +16 -0
  23. tccli/services/es/v20180416/api.json +106 -8
  24. tccli/services/essbasic/v20210526/api.json +2 -2
  25. tccli/services/iotexplorer/v20190423/api.json +10 -0
  26. tccli/services/ivld/v20210903/api.json +25 -25
  27. tccli/services/ivld/v20210903/examples.json +1 -1
  28. tccli/services/lcic/v20220817/api.json +2 -2
  29. tccli/services/lke/v20231130/api.json +4 -4
  30. tccli/services/memcached/v20190318/api.json +20 -20
  31. tccli/services/mps/v20190612/api.json +65 -1
  32. tccli/services/mqtt/mqtt_client.py +283 -71
  33. tccli/services/mqtt/v20240516/api.json +312 -0
  34. tccli/services/mqtt/v20240516/examples.json +32 -0
  35. tccli/services/ocr/v20181119/api.json +251 -28
  36. tccli/services/ocr/v20181119/examples.json +1 -1
  37. tccli/services/postgres/v20170312/api.json +232 -228
  38. tccli/services/postgres/v20170312/examples.json +38 -38
  39. tccli/services/redis/v20180412/examples.json +2 -2
  40. tccli/services/ssl/v20191205/api.json +4 -4
  41. tccli/services/ssl/v20191205/examples.json +1 -1
  42. tccli/services/sts/v20180813/api.json +9 -9
  43. tccli/services/tdmq/v20200217/api.json +2 -2
  44. tccli/services/trtc/v20190722/api.json +4 -8
  45. tccli/services/tse/tse_client.py +228 -16
  46. tccli/services/tse/v20201207/api.json +476 -0
  47. tccli/services/tse/v20201207/examples.json +32 -0
  48. tccli/services/vclm/v20240523/api.json +3 -3
  49. tccli/services/vdb/v20230616/api.json +3 -3
  50. tccli/services/vdb/v20230616/examples.json +1 -1
  51. tccli/services/vod/v20180717/api.json +17 -17
  52. tccli/services/vpc/v20170312/api.json +510 -34
  53. tccli/services/vpc/v20170312/examples.json +68 -12
  54. tccli/services/vpc/vpc_client.py +475 -104
  55. {tccli-3.0.1229.1.dist-info → tccli-3.0.1231.1.dist-info}/METADATA +2 -2
  56. {tccli-3.0.1229.1.dist-info → tccli-3.0.1231.1.dist-info}/RECORD +59 -59
  57. {tccli-3.0.1229.1.dist-info → tccli-3.0.1231.1.dist-info}/WHEEL +0 -0
  58. {tccli-3.0.1229.1.dist-info → tccli-3.0.1231.1.dist-info}/entry_points.txt +0 -0
  59. {tccli-3.0.1229.1.dist-info → tccli-3.0.1231.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\": 1234,\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\"\n }\n}",
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\": \"\"\n}",
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\": \"test\"\n}",
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\": \"test\",\n \"Encoding\": \"UTF8\",\n \"Collate\": \"zh_CN.utf8\",\n \"Ctype\": \"zh_CN.utf8\"\n}",
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\": \"123\"\n }\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\": \"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\": \"123\"\n }\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\": \"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\": \"123\"\n }\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\": \"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\": \"test\"\n}",
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 \"RequestId\": \"6ace8140-6b9e-4e81-a8ad-ef3f92b2aa90\",\n \"DealNames\": [\n \"20180119110001\"\n ],\n \"DBInstanceIdSet\": [\n \"123\"\n ],\n \"BillId\": \"123\"\n }\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.0.01\",\n \"VpcId\": \"vpc-gaestjaf\",\n \"DBInstanceId\": \"postgres-6bwgamo3\"\n}",
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.0.0.1\",\n \"ReadOnlyGroupId\": \"pgro-4t9c6g7k\"\n}",
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\": \"0000-00-00 00:00:00\",\n \"DBInstanceId\": \"postgres-hpe52jnz\",\n \"Remark\": \"\",\n \"Status\": 2,\n \"UpdateTime\": \"2024-06-06 21:00:12\",\n \"UserName\": \"test\",\n \"UserType\": \"tencentDBSuper\"\n }\n ],\n \"RequestId\": \"1299fe3a-9958-440a-bfd0-e4eb1e71b7eb\",\n \"TotalCount\": 1\n }\n}",
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 \"TotalCount\": 1,\n \"DBInstanceSet\": [\n {\n \"AppId\": 123456789,\n \"AutoRenew\": 1,\n \"CreateTime\": \"2022-03-16 18:12:10\",\n \"DBCharset\": \"UTF8\",\n \"DBEngine\": \"postgresql\",\n \"DBEngineConfig\": \"\",\n \"DBInstanceClass\": \"cdb.pg.ts1.8g\",\n \"DBInstanceCpu\": 4,\n \"DBInstanceId\": \"postgres-xxxxxx\",\n \"DBInstanceMemory\": 8,\n \"DBInstanceName\": \"test\",\n \"DBInstanceNetInfo\": [\n {\n \"Address\": \"\",\n \"Ip\": \"xx.xx.xx.xx\",\n \"NetType\": \"private\",\n \"Port\": 5432,\n \"ProtocolType\": \"postgresql\",\n \"Status\": \"opened\",\n \"SubnetId\": \"subnet-xxxx\",\n \"VpcId\": \"vpc-xxxx\"\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\": 20,\n \"DBInstanceType\": \"primary\",\n \"DBInstanceVersion\": \"standard\",\n \"DBKernelVersion\": \"v13.3_r1.1\",\n \"DBMajorVersion\": \"13\",\n \"DBNodeSet\": [\n {\n \"Role\": \"Primary\",\n \"Zone\": \"ap-guangzhou-6\",\n \"DedicatedClusterId\": \"\"\n },\n {\n \"Role\": \"Standby\",\n \"Zone\": \"ap-guangzhou-6\",\n \"DedicatedClusterId\": \"\"\n }\n ],\n \"DBVersion\": \"13.3\",\n \"ExpireTime\": \"2023-04-16 18:14:49\",\n \"IsSupportTDE\": 0,\n \"IsolatedTime\": \"0000-00-00 00:00:00\",\n \"MasterDBInstanceId\": \"\",\n \"NetworkAccessList\": null,\n \"OfflineTime\": \"0001-01-08 00:00:00\",\n \"PayType\": \"prepaid\",\n \"ProjectId\": 0,\n \"ReadOnlyInstanceNum\": 0,\n \"Region\": \"ap-guangzhou\",\n \"StatusInReadonlyGroup\": \"\",\n \"SubnetId\": \"subnet-xxxx\",\n \"SupportIpv6\": 0,\n \"TagList\": [\n {\n \"TagKey\": \"tag_key_test\",\n \"TagValue\": \"tag_value_test\"\n }\n ],\n \"Type\": \"TS85\",\n \"Uid\": 1234,\n \"UpdateTime\": \"2023-03-15 17:31:58\",\n \"VpcId\": \"vpc-xxxx\",\n \"Zone\": \"ap-guangzhou-6\"\n }\n ],\n \"RequestId\": \"d849664a-191c-48bf-b42f-444caa189557\"\n }\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-xxxxx\"\n ],\n \"Name\": \"db-instance-id\"\n }\n ],\n \"Offset\": \"0\"\n}",
399
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"DBInstanceSet\": [\n {\n \"AppId\": 123456789,\n \"AutoRenew\": 1,\n \"CreateTime\": \"2022-03-16 18:12:10\",\n \"DBCharset\": \"UTF8\",\n \"DBEngine\": \"postgresql\",\n \"DBEngineConfig\": \"\",\n \"DBInstanceClass\": \"cdb.pg.ts1.8g\",\n \"DBInstanceCpu\": 4,\n \"DBInstanceId\": \"postgres-xxxxx\",\n \"DBInstanceMemory\": 8,\n \"DBInstanceName\": \"test\",\n \"DBInstanceNetInfo\": [\n {\n \"Address\": \"\",\n \"Ip\": \"xx.xx.xx.xx\",\n \"NetType\": \"private\",\n \"Port\": 5432,\n \"ProtocolType\": \"postgresql\",\n \"Status\": \"opened\",\n \"SubnetId\": \"subnet-xxxx\",\n \"VpcId\": \"vpc-xxxx\"\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\": 20,\n \"DBInstanceType\": \"primary\",\n \"DBInstanceVersion\": \"standard\",\n \"DBKernelVersion\": \"v13.3_r1.1\",\n \"DBMajorVersion\": \"13\",\n \"DBNodeSet\": [\n {\n \"Role\": \"Primary\",\n \"Zone\": \"ap-guangzhou-6\",\n \"DedicatedClusterId\": \"\"\n },\n {\n \"Role\": \"Standby\",\n \"Zone\": \"ap-guangzhou-6\",\n \"DedicatedClusterId\": \"\"\n }\n ],\n \"DBVersion\": \"13.3\",\n \"ExpireTime\": \"2023-04-16 18:14:49\",\n \"IsSupportTDE\": 0,\n \"IsolatedTime\": \"0000-00-00 00:00:00\",\n \"MasterDBInstanceId\": \"\",\n \"NetworkAccessList\": null,\n \"OfflineTime\": \"0001-01-08 00:00:00\",\n \"PayType\": \"prepaid\",\n \"ProjectId\": 0,\n \"ReadOnlyInstanceNum\": 0,\n \"Region\": \"ap-guangzhou\",\n \"StatusInReadonlyGroup\": \"\",\n \"SubnetId\": \"subnet-xxxx\",\n \"SupportIpv6\": 0,\n \"TagList\": [\n {\n \"TagKey\": \"tag_key_test\",\n \"TagValue\": \"tag_value_test\"\n }\n ],\n \"Type\": \"TS85\",\n \"Uid\": 1234,\n \"UpdateTime\": \"2023-03-15 17:31:58\",\n \"VpcId\": \"vpc-xxxx\",\n \"Zone\": \"ap-guangzhou-6\"\n }\n ],\n \"RequestId\": \"d849664a-191c-48bf-b42f-444caa189557\"\n }\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
  ],
@@ -515,8 +515,8 @@
515
515
  "DescribeParameterTemplates": [
516
516
  {
517
517
  "document": "无",
518
- "input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeParameterTemplates\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"TemplateName\",\n \"Values\": [\n \"test\"\n ]\n }\n ],\n \"Limit\": 0,\n \"Offset\": 10,\n \"OrderBy\": \"CreateTime\",\n \"OrderByType\": \"desc\"\n}",
519
- "output": "{\n \"Response\": {\n \"ParameterTemplateSet\": [\n {\n \"DBEngine\": \"postgresql\",\n \"DBMajorVersion\": \"13\",\n \"TemplateDescription\": \"test1\",\n \"TemplateId\": \"674538e8-4a03-5103-896c-9785c960bf02\",\n \"TemplateName\": \"test1\"\n },\n {\n \"DBEngine\": \"postgresql\",\n \"DBMajorVersion\": \"13\",\n \"TemplateDescription\": \"test2\",\n \"TemplateId\": \"423984bb-97fe-5693-a74f-63cc8dfb6c5d\",\n \"TemplateName\": \"test2\"\n }\n ],\n \"RequestId\": \"6224e7ed-d7d8-494c-835f-e1612345383f\",\n \"TotalCount\": 2\n }\n}",
518
+ "input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeParameterTemplates\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"TemplateName\",\n \"Values\": [\n \"my_custom_template\"\n ]\n }\n ],\n \"Limit\": 0,\n \"Offset\": 10,\n \"OrderBy\": \"CreateTime\",\n \"OrderByType\": \"desc\"\n}",
519
+ "output": "{\n \"Response\": {\n \"ParameterTemplateSet\": [\n {\n \"DBEngine\": \"postgresql\",\n \"DBMajorVersion\": \"13\",\n \"TemplateDescription\": \"my template1\",\n \"TemplateId\": \"674538e8-4a03-5103-896c-9785c960bf02\",\n \"TemplateName\": \"my_custom_template\"\n },\n {\n \"DBEngine\": \"postgresql\",\n \"DBMajorVersion\": \"13\",\n \"TemplateDescription\": \"my template2\",\n \"TemplateId\": \"423984bb-97fe-5693-a74f-63cc8dfb6c5d\",\n \"TemplateName\": \"my_custom_template\"\n }\n ],\n \"RequestId\": \"6224e7ed-d7d8-494c-835f-e1612345383f\",\n \"TotalCount\": 2\n }\n}",
520
520
  "title": "查询参数模板信息"
521
521
  }
522
522
  ],
@@ -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\": \"\\\"xxx\\\",\"\n }\n ],\n \"Limit\": \"0\",\n \"Offset\": \"1\"\n}",
559
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"DBInstanceSet\": [\n {\n \"DBInstanceId\": \"postgres-xxxxxxxx\",\n \"DBInstanceName\": \"xxx\",\n \"DBInstanceStatus\": \"running\",\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-3\",\n \"ProjectId\": 0,\n \"VpcId\": \"vpc-xxxxxxxx\",\n \"SubnetId\": \"subnet-xxxxxxxx\",\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.10.10.111\",\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}",
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\": \"test\"\n}",
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\": \"test\",\n \"Remark\": \"testModifyRemark\",\n \"DBInstanceId\": \"postgres-6bwgamo3\"\n}",
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\": \"NewGroup\",\n \"ReadOnlyGroupId\": \"OldGroup\",\n \"DBInstanceId\": \"postgres-k95qzetn\"\n}",
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\": \"123\"\n }\n}",
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\": \"testdatabase\",\n \"DatabaseOwner\": \"test\"\n}",
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\": \"test\",\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}",
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\": 1234,\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\"\n }\n}",
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\": \"test\",\n \"Password\": \"1234qwer()\",\n \"DBInstanceId\": \"postgres-lnp6j6172\"\n}",
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\": \"test\",\n \"Password\": \"1234qwer()\",\n \"DBInstanceId\": \"postgres-lnp6j6172\"\n}",
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\": 1234,\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\"\n }\n}",
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上的test数据库。",
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 \"test\"\n ]\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恢复test数据库。",
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 \"test\"\n ]\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\": \"test\"\n}",
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\": \"123\"\n }\n}",
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
  ],
@@ -400,10 +400,10 @@
400
400
  ],
401
401
  "DescribeMaintenanceWindow": [
402
402
  {
403
- "document": "修改实例的维护时间窗为03:00-06:00",
403
+ "document": "查询实例的维护时间窗,结果为03:00-06:00",
404
404
  "input": "https://redis.tencentcloudapi.com/?Action=DescribeMaintenanceWindow\n&InstanceId=crs-5a4p****\n&<公共请求参数>",
405
405
  "output": "{\n \"Response\": {\n \"StartTime\": \"03:00\",\n \"EndTime\": \"06:00\",\n \"RequestId\": \"0e728fa9-c2e5-4bf8-8d6b-c1c4fab7b6db\"\n }\n}",
406
- "title": "配置实例访问时间窗"
406
+ "title": "查询实例维护时间窗"
407
407
  }
408
408
  ],
409
409
  "DescribeParamTemplateInfo": [
@@ -5088,7 +5088,7 @@
5088
5088
  {
5089
5089
  "disabled": false,
5090
5090
  "document": "每页数量,默认10。\t",
5091
- "example": "10",
5091
+ "example": "\"10\"",
5092
5092
  "member": "uint64",
5093
5093
  "name": "Limit",
5094
5094
  "required": false,
@@ -5097,7 +5097,7 @@
5097
5097
  {
5098
5098
  "disabled": false,
5099
5099
  "document": "分页偏移量,从0开始。\t",
5100
- "example": "0",
5100
+ "example": "\"0\"",
5101
5101
  "member": "string",
5102
5102
  "name": "Offset",
5103
5103
  "required": false,
@@ -6222,7 +6222,7 @@
6222
6222
  {
6223
6223
  "disabled": false,
6224
6224
  "document": "每页数量,默认10。",
6225
- "example": "10",
6225
+ "example": "\"10\"",
6226
6226
  "member": "string",
6227
6227
  "name": "Limit",
6228
6228
  "required": false,
@@ -6231,7 +6231,7 @@
6231
6231
  {
6232
6232
  "disabled": false,
6233
6233
  "document": "分页偏移量,从0开始。",
6234
- "example": "0",
6234
+ "example": "\"0\"",
6235
6235
  "member": "string",
6236
6236
  "name": "Offset",
6237
6237
  "required": false,
@@ -325,7 +325,7 @@
325
325
  "DescribeHostUpdateRecordDetail": [
326
326
  {
327
327
  "document": "查询证书云资源更新记录详情列表",
328
- "input": "POST / HTTP/1.1\nHost: ssl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeHostUpdateRecordDetail\n<公共请求参数>\n\n{\n \"DeployRecordId\": \"748332\",\n \"Limit\": \"0\",\n \"Offset\": \"10\"\n}",
328
+ "input": "POST / HTTP/1.1\nHost: ssl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeHostUpdateRecordDetail\n<公共请求参数>\n\n{\n \"DeployRecordId\": \"748332\",\n \"Limit\": \"10\",\n \"Offset\": \"0\"\n}",
329
329
  "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RecordDetailList\": [\n {\n \"ResourceType\": \"teo\",\n \"List\": [\n {\n \"Id\": 788838,\n \"CertId\": \"txhs***j\",\n \"OldCertId\": \"wjhs**jj\",\n \"Domains\": [\n \"www.test.com\"\n ],\n \"ResourceType\": \"teo\",\n \"Region\": \"ap-guangzhou\",\n \"Status\": 1,\n \"ErrorMsg\": \"\",\n \"CreateTime\": \"2023-12-12 12:00:00\",\n \"UpdateTime\": \"2023-12-12 12:00:00\",\n \"InstanceId\": \"eo-******\",\n \"InstanceName\": \"test\",\n \"ListenerId\": \"\",\n \"ListenerName\": \"\",\n \"Protocol\": \"\",\n \"SniSwitch\": 1,\n \"Bucket\": \"\",\n \"Port\": 0,\n \"Namespace\": \"\",\n \"SecretName\": \"test\",\n \"EnvId\": \"\",\n \"TCBType\": \"\"\n }\n ],\n \"TotalCount\": 1\n }\n ],\n \"SuccessTotalCount\": 0,\n \"FailedTotalCount\": 0,\n \"RunningTotalCount\": 0,\n \"RequestId\": \"14727a68-3b90-4408-99c9-dea6d7de9456\"\n }\n}",
330
330
  "title": "查询证书云资源更新记录详情列表"
331
331
  }
@@ -230,7 +230,7 @@
230
230
  {
231
231
  "disabled": false,
232
232
  "document": "会话名称",
233
- "example": "test",
233
+ "example": "readOnlySession",
234
234
  "member": "string",
235
235
  "name": "RoleSessionName",
236
236
  "required": true,
@@ -254,7 +254,7 @@
254
254
  {
255
255
  "disabled": false,
256
256
  "document": "对象里面包含 Token,TmpSecretId,TmpSecretKey 三元组",
257
- "example": "",
257
+ "example": "{\"Token\":\"1siMD***\",\"TmpSecretId\":\"AKID***\",\"TmpSecretKey\":\"q95K***\"}",
258
258
  "member": "Credentials",
259
259
  "name": "Credentials",
260
260
  "output_required": true,
@@ -389,30 +389,30 @@
389
389
  {
390
390
  "disabled": false,
391
391
  "document": "token。token长度和绑定的策略有关,最长不超过4096字节。",
392
- "example": "",
392
+ "example": "da1e***",
393
393
  "member": "string",
394
394
  "name": "Token",
395
- "required": true,
395
+ "output_required": true,
396
396
  "type": "string",
397
397
  "value_allowed_null": false
398
398
  },
399
399
  {
400
400
  "disabled": false,
401
401
  "document": "临时证书密钥ID。最长不超过1024字节。",
402
- "example": "",
402
+ "example": "AKID***",
403
403
  "member": "string",
404
404
  "name": "TmpSecretId",
405
- "required": true,
405
+ "output_required": true,
406
406
  "type": "string",
407
407
  "value_allowed_null": false
408
408
  },
409
409
  {
410
410
  "disabled": false,
411
411
  "document": "临时证书密钥Key。最长不超过1024字节。",
412
- "example": "",
412
+ "example": "q95K***",
413
413
  "member": "string",
414
414
  "name": "TmpSecretKey",
415
- "required": true,
415
+ "output_required": true,
416
416
  "type": "string",
417
417
  "value_allowed_null": false
418
418
  }
@@ -487,7 +487,7 @@
487
487
  {
488
488
  "disabled": false,
489
489
  "document": "您可以自定义调用方英文名称,由字母组成。",
490
- "example": "test",
490
+ "example": "readOnly",
491
491
  "member": "string",
492
492
  "name": "Name",
493
493
  "required": true,
@@ -540,11 +540,11 @@
540
540
  "status": "online"
541
541
  },
542
542
  "DescribeRabbitMQVirtualHostList": {
543
- "document": "RabbitMQ专享版查询虚拟主机列表",
543
+ "document": "消息队列TDMQ RabbitMQ 有一个存量旧接口没下线,目前实际上已经不在产品中使用:DescribeRabbitMQVirtualHostList,这个接口很久前已经被 DescribeRabbitMQVirtualHost 替换掉。已无用户在调用。\n\nRabbitMQ专享版查询虚拟主机列表",
544
544
  "input": "DescribeRabbitMQVirtualHostListRequest",
545
545
  "name": "RabbitMQ专享版查询虚拟主机列表",
546
546
  "output": "DescribeRabbitMQVirtualHostListResponse",
547
- "status": "online"
547
+ "status": "deprecated"
548
548
  },
549
549
  "DescribeRocketMQCluster": {
550
550
  "document": "获取单个RocketMQ集群信息",
@@ -7154,8 +7154,7 @@
7154
7154
  "member": "string",
7155
7155
  "name": "SubscribeAudioUserIds",
7156
7156
  "required": false,
7157
- "type": "list",
7158
- "value_allowed_null": false
7157
+ "type": "list"
7159
7158
  },
7160
7159
  {
7161
7160
  "disabled": false,
@@ -7164,8 +7163,7 @@
7164
7163
  "member": "string",
7165
7164
  "name": "UnSubscribeAudioUserIds",
7166
7165
  "required": false,
7167
- "type": "list",
7168
- "value_allowed_null": false
7166
+ "type": "list"
7169
7167
  },
7170
7168
  {
7171
7169
  "disabled": false,
@@ -7174,8 +7172,7 @@
7174
7172
  "member": "string",
7175
7173
  "name": "SubscribeVideoUserIds",
7176
7174
  "required": false,
7177
- "type": "list",
7178
- "value_allowed_null": false
7175
+ "type": "list"
7179
7176
  },
7180
7177
  {
7181
7178
  "disabled": false,
@@ -7184,8 +7181,7 @@
7184
7181
  "member": "string",
7185
7182
  "name": "UnSubscribeVideoUserIds",
7186
7183
  "required": false,
7187
- "type": "list",
7188
- "value_allowed_null": false
7184
+ "type": "list"
7189
7185
  }
7190
7186
  ],
7191
7187
  "usage": "in"