tccli-intl-en 3.1.1.1__py2.py3-none-any.whl → 3.1.11.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 +6 -0
- tccli/services/autoscaling/v20180419/api.json +36 -14
- tccli/services/ckafka/ckafka_client.py +288 -8
- tccli/services/ckafka/v20190819/api.json +494 -76
- tccli/services/ckafka/v20190819/examples.json +45 -5
- tccli/services/clb/clb_client.py +636 -300
- tccli/services/clb/v20180317/api.json +1245 -367
- tccli/services/clb/v20180317/examples.json +172 -112
- tccli/services/controlcenter/controlcenter_client.py +224 -0
- tccli/services/controlcenter/v20230110/api.json +528 -5
- tccli/services/controlcenter/v20230110/examples.json +32 -0
- tccli/services/cvm/v20170312/examples.json +1 -1
- tccli/services/faceid/v20180301/api.json +31 -3
- tccli/services/kms/v20190118/api.json +80 -3
- tccli/services/kms/v20190118/examples.json +3 -3
- tccli/services/mdl/v20200326/api.json +165 -5
- tccli/services/mongodb/mongodb_client.py +1048 -96
- tccli/services/mongodb/v20190725/api.json +1765 -108
- tccli/services/mongodb/v20190725/examples.json +136 -0
- tccli/services/monitor/v20180724/api.json +3 -3
- tccli/services/mps/mps_client.py +713 -209
- tccli/services/mps/v20190612/api.json +1009 -67
- tccli/services/mps/v20190612/examples.json +100 -52
- tccli/services/ocr/ocr_client.py +112 -0
- tccli/services/ocr/v20181119/api.json +514 -0
- tccli/services/ocr/v20181119/examples.json +22 -0
- tccli/services/smh/__init__.py +4 -0
- tccli/services/smh/smh_client.py +714 -0
- tccli/services/smh/v20210712/api.json +1287 -0
- tccli/services/smh/v20210712/examples.json +85 -0
- tccli/services/tdmq/tdmq_client.py +2406 -278
- tccli/services/tdmq/v20200217/api.json +11607 -3958
- tccli/services/tdmq/v20200217/examples.json +562 -264
- tccli/services/teo/teo_client.py +169 -57
- tccli/services/teo/v20220901/api.json +218 -9
- tccli/services/teo/v20220901/examples.json +56 -22
- tccli/services/trocket/__init__.py +4 -0
- tccli/services/trocket/trocket_client.py +2450 -0
- tccli/services/trocket/v20230308/api.json +6062 -0
- tccli/services/trocket/v20230308/examples.json +339 -0
- tccli/services/vpc/v20170312/api.json +19 -16
- tccli/services/vpc/v20170312/examples.json +4 -4
- {tccli_intl_en-3.1.1.1.dist-info → tccli_intl_en-3.1.11.1.dist-info}/METADATA +2 -2
- {tccli_intl_en-3.1.1.1.dist-info → tccli_intl_en-3.1.11.1.dist-info}/RECORD +49 -41
- {tccli_intl_en-3.1.1.1.dist-info → tccli_intl_en-3.1.11.1.dist-info}/LICENSE +0 -0
- {tccli_intl_en-3.1.1.1.dist-info → tccli_intl_en-3.1.11.1.dist-info}/WHEEL +0 -0
- {tccli_intl_en-3.1.1.1.dist-info → tccli_intl_en-3.1.11.1.dist-info}/entry_points.txt +0 -0
- {tccli_intl_en-3.1.1.1.dist-info → tccli_intl_en-3.1.11.1.dist-info}/top_level.txt +0 -0
|
@@ -8,6 +8,14 @@
|
|
|
8
8
|
"title": "Specifying the Associated Project of a TencentDB for MongoDB Instance"
|
|
9
9
|
}
|
|
10
10
|
],
|
|
11
|
+
"CreateAccountUser": [
|
|
12
|
+
{
|
|
13
|
+
"document": "This example shows you how to customize an instance account.",
|
|
14
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAccountUser\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-9d0p****\",\n \"UserName\": \"test_user\",\n \"Password\": \"Abc@123...\",\n \"MongoUserPassword\": \"Abc@123...\",\n \"UserDesc\": \"Test user\",\n \"AuthRole\": [\n {\n \"Mask\": 0,\n \"NameSpace\": \"collection\"\n }\n ]\n}",
|
|
15
|
+
"output": "{\n \"Response\": {\n \"FlowId\": 1680767468,\n \"RequestId\": \"1df930fb-eb7e-4e3f-bcab-15a1aa5fede0\"\n }\n}",
|
|
16
|
+
"title": "Customizing an Account"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
11
19
|
"CreateBackupDBInstance": [
|
|
12
20
|
{
|
|
13
21
|
"document": "This example shows how to back up an instance.",
|
|
@@ -40,6 +48,30 @@
|
|
|
40
48
|
"title": "Creating a TencentDB for MongoDB Instance (Pay-as-You-Go)"
|
|
41
49
|
}
|
|
42
50
|
],
|
|
51
|
+
"CreateLogDownloadTask": [
|
|
52
|
+
{
|
|
53
|
+
"document": "This example shows you how to create a log download task.",
|
|
54
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLogDownloadTask\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-k2p5su09\",\n \"StartTime\": \"2024-03-07 9:22:15\",\n \"EndTime\": \"2024-03-07 15:33:15\",\n \"LogComponents\": [\n \"NETWORK\"\n ],\n \"LogConnections\": [],\n \"LogIds\": [],\n \"LogDetailParams\": [\n \"client metadata\"\n ]\n}",
|
|
55
|
+
"output": "{\n \"Response\": {\n \"Status\": 0,\n \"RequestId\": \"1233vvae-23f9dfd\"\n }\n}",
|
|
56
|
+
"title": "Creating a Log Download Task"
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"DeleteAccountUser": [
|
|
60
|
+
{
|
|
61
|
+
"document": "This example shows you how to delete an instance account.",
|
|
62
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAccountUser\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-9d0p****\",\n \"UserName\": \"test_user\",\n \"MongoUserPassword\": \"Abc@123\"\n}",
|
|
63
|
+
"output": "{\n \"Response\": {\n \"FlowId\": 0,\n \"RequestId\": \"1df930fb-eb7e-4e3f-bcab-15a1aa5fede0\"\n }\n}",
|
|
64
|
+
"title": "Deleting an Instance Account"
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"DeleteLogDownloadTask": [
|
|
68
|
+
{
|
|
69
|
+
"document": "This example shows you how to delete a log download task.",
|
|
70
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteLogDownloadTask\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-k2p5su09\",\n \"TaskId\": \"export-28439fb3-90a6-4ca2-bd2f-ad99e99a14e9\"\n}",
|
|
71
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"q87sfsfds-897asd\",\n \"Status\": 0\n }\n}",
|
|
72
|
+
"title": "Deleting a Log Download Task"
|
|
73
|
+
}
|
|
74
|
+
],
|
|
43
75
|
"DescribeAsyncRequestInfo": [
|
|
44
76
|
{
|
|
45
77
|
"document": " ",
|
|
@@ -56,6 +88,14 @@
|
|
|
56
88
|
"title": "Querying a Backup Download Task"
|
|
57
89
|
}
|
|
58
90
|
],
|
|
91
|
+
"DescribeBackupRules": [
|
|
92
|
+
{
|
|
93
|
+
"document": "This example shows you how to query the automatic backup rule information of an instance.",
|
|
94
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBackupRules\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-9d0p****\"\n}",
|
|
95
|
+
"output": "{\n \"Response\": {\n \"BackupMethod\": 0,\n \"BackupSaveTime\": 7,\n \"BackupTime\": 1,\n \"RequestId\": \"07ec4290-d682-11ed-aa06-f56fb86dae78\"\n }\n}",
|
|
96
|
+
"title": "Querying the Automatic Backup Rule Information of an Instance"
|
|
97
|
+
}
|
|
98
|
+
],
|
|
59
99
|
"DescribeClientConnections": [
|
|
60
100
|
{
|
|
61
101
|
"document": "This example shows you how to query the client connection information on a TencentDB for MongoDB instance.",
|
|
@@ -64,6 +104,14 @@
|
|
|
64
104
|
"title": "Querying the Client Connection Information on a TencentDB for MongoDB Instance"
|
|
65
105
|
}
|
|
66
106
|
],
|
|
107
|
+
"DescribeCurrentOp": [
|
|
108
|
+
{
|
|
109
|
+
"document": "This example shows you how to query the current operation on the TencentDB for MongoDB instance.",
|
|
110
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCurrentOp\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-r3p8****\",\n \"State\": \"primary\"\n}",
|
|
111
|
+
"output": "{\n \"Response\": {\n \"CurrentOps\": [\n {\n \"ExecNode\": \"Primary node\",\n \"MicrosecsRunning\": 103,\n \"NodeName\": \"**.**.**.**:****:*********\",\n \"Ns\": \"admin.$cmd.aggregate\",\n \"Op\": \"command\",\n \"OpId\": 42431451,\n \"Operation\": \"{\\\"Active\\\":true,\\\"AppName\\\":\\\"CMongo\\\",\\\"Client\\\":\\\"**.**.**.**:**\\\",\\\"ClientMetadata\\\":{\\\"application\\\":{\\\"name\\\":\\\"CMongo\\\"},\\\"driver\\\":{\\\"name\\\":\\\"mongo-go-driver\\\",\\\"version\\\":\\\"v1.*.*\\\"},\\\"os\\\":{\\\"architecture\\\":\\\"amd64\\\",\\\"type\\\":\\\"linux\\\"},\\\"platform\\\":\\\"***.**.*\\\"},\\\"Command\\\":{\\\"$db\\\":\\\"admin\\\",\\\"$readPreference\\\":{\\\"mode\\\":\\\"primaryPreferred\\\"},\\\"currentOp\\\":1,\\\"lsid\\\":{\\\"id\\\":{\\\"Data\\\":\\\"************************==\\\",\\\"Subtype\\\":4}},\\\"microsecs_running\\\":{\\\"$gt\\\":0}},\\\"ConnectionId\\\":********,\\\"CurrentOpTime\\\":\\\"2025-09-25T17:41:42.146+0800\\\",\\\"Desc\\\":\\\"conn*******\\\",\\\"Host\\\":\\\"*******64.site:7029\\\",\\\"Insert\\\":null,\\\"KillPending\\\":false,\\\"LockStats\\\":{},\\\"Locks\\\":{},\\\"Lsid\\\":{\\\"id\\\":{\\\"Data\\\":\\\"*******************==\\\",\\\"Subtype\\\":4},\\\"uid\\\":{\\\"Data\\\":\\\"********************************=\\\",\\\"Subtype\\\":0}},\\\"MicroSecsRunning\\\":103,\\\"Msg\\\":\\\"\\\",\\\"Ns\\\":\\\"admin.$cmd.aggregate\\\",\\\"NumYields\\\":0,\\\"Op\\\":\\\"command\\\",\\\"OpId\\\":********,\\\"OriginatingCommand\\\":null,\\\"PlanSummary\\\":\\\"\\\",\\\"Progress\\\":null,\\\"Query\\\":null,\\\"SecsRunning\\\":0,\\\"Transaction\\\":null,\\\"WaitingForLock\\\":false}\",\n \"Query\": \"{\\\"$db\\\":\\\"admin\\\",\\\"$readPreference\\\":{\\\"mode\\\":\\\"primaryPreferred\\\"},\\\"currentOp\\\":1,\\\"lsid\\\":{\\\"id\\\":{\\\"Data\\\":\\\"***********************==\\\",\\\"Subtype\\\":4}},\\\"microsecs_running\\\":{\\\"$gt\\\":0}}\",\n \"ReplicaSetName\": \"cmgo-r3p8****_0\",\n \"State\": \"primary\"\n }\n ],\n \"RequestId\": \"a1f20aaa-83c2-4062-b4f3-7c46ad2e1157\",\n \"TotalCount\": 1\n }\n}",
|
|
112
|
+
"title": "Querying the Current Operation on the TencentDB for MongoDB Instance"
|
|
113
|
+
}
|
|
114
|
+
],
|
|
67
115
|
"DescribeDBBackups": [
|
|
68
116
|
{
|
|
69
117
|
"document": " ",
|
|
@@ -126,6 +174,30 @@
|
|
|
126
174
|
"title": "InstanceEnumParam"
|
|
127
175
|
}
|
|
128
176
|
],
|
|
177
|
+
"DescribeInstanceSSL": [
|
|
178
|
+
{
|
|
179
|
+
"document": " ",
|
|
180
|
+
"input": "https://mongodb.tencentcloudapi.com/?Action=DescribeInstanceSSL\n&InstanceId=cmgo-eqmoaxxx\n&<Common request parameters>",
|
|
181
|
+
"output": "{\n \"Response\": {\n \"Status\": 1,\n \"ExpiredTime\": \"2023-05-04 12:13:00\",\n \"CertUrl\": \"http://sample/cert\",\n \"RequestId\": \"12345-abcdef\"\n }\n}",
|
|
182
|
+
"title": "Viewing the Enabling Status of SSL for an Instance"
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"DescribeLogDownloadTasks": [
|
|
186
|
+
{
|
|
187
|
+
"document": "This example shows you how to query a log download task.",
|
|
188
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLogDownloadTasks\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-k2p5su09\",\n \"StartTime\": \"2024-03-07 9:22:15\",\n \"EndTime\": \"2024-03-07 15:33:15\"\n}",
|
|
189
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"832423fdfsfsd-312jdsf\",\n \"Tasks\": [\n {\n \"CreateTime\": \"2024-03-07 21:01:00\",\n \"FileSize\": 372432,\n \"Percent\": 100,\n \"Status\": 2,\n \"TaskId\": \"export-28439fb3-90a6-4ca2-bd2f-ad99e99a14e9\",\n \"TaskType\": 0,\n \"UpdateTime\": \"2024-03-07 21:14:02\",\n \"Url\": \"\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
|
|
190
|
+
"title": "Querying a Log Download Task"
|
|
191
|
+
}
|
|
192
|
+
],
|
|
193
|
+
"DescribeMongodbLogs": [
|
|
194
|
+
{
|
|
195
|
+
"document": "This example shows you how to query instance logs.",
|
|
196
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMongodbLogs\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-k2p5su09\",\n \"StartTime\": \"2024-03-07 9:22:15\",\n \"EndTime\": \"2024-03-07 15:33:15\",\n \"LogComponents\": [\n \"NETWORK\"\n ],\n \"LogConnections\": [],\n \"LogIds\": [],\n \"LogDetailParams\": [\n \"client metadata\"\n ]\n}",
|
|
197
|
+
"output": "{\n \"Response\": {\n \"LogList\": [\n {\n \"LogComponent\": \"NETWORK\",\n \"LogConnection\": \"conn269939\",\n \"LogDetail\": \"{\\\"t\\\":{\\\"$date\\\":\\\"2024-03-07T10:29:50.027+08:00\\\"},\\\"s\\\":\\\"I\\\", \\\"c\\\":\\\"NETWORK\\\", \\\"id\\\":51800, \\\"ctx\\\":\\\"conn269939\\\",\\\"msg\\\":\\\"client metadata\\\",\\\"attr\\\":{\\\"remote\\\":\\\"127.0.0.1:39024\\\",\\\"client\\\":\\\"conn269939\\\",\\\"doc\\\":{\\\"driver\\\":{\\\"name\\\":\\\"mongo-go-driver\\\",\\\"version\\\":\\\"v1.10.6\\\"},\\\"os\\\":{\\\"type\\\":\\\"linux\\\",\\\"architecture\\\":\\\"amd64\\\"},\\\"platform\\\":\\\"go1.20.4\\\",\\\"application\\\":{\\\"name\\\":\\\"CMongo\\\"}}}}\",\n \"LogId\": \"51800\",\n \"LogLevel\": \"WARNING\",\n \"LogTime\": \"2024-03-07T10:29:50.027+08:00\"\n }\n ],\n \"RequestId\": \"ab2323tf-rqew1111\",\n \"TotalCount\": 1\n }\n}",
|
|
198
|
+
"title": "Querying Logs"
|
|
199
|
+
}
|
|
200
|
+
],
|
|
129
201
|
"DescribeSecurityGroup": [
|
|
130
202
|
{
|
|
131
203
|
"document": "This example shows you how to query all security groups bound to the current instance.",
|
|
@@ -158,6 +230,14 @@
|
|
|
158
230
|
"title": "Querying Saleable TencentDB for MongoDB Specifications"
|
|
159
231
|
}
|
|
160
232
|
],
|
|
233
|
+
"EnableTransparentDataEncryption": [
|
|
234
|
+
{
|
|
235
|
+
"document": "",
|
|
236
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnableTransparentDataEncryption\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-igjy****\",\n \"KmsRegion\": \"ap-guangzhou\",\n \"KeyId\": \"AKID********************************\"\n}",
|
|
237
|
+
"output": "{\n \"Response\": {\n \"FlowId\": 17316505316,\n \"RequestId\": \"a8dce7a4-d488-49c9-8d24-33cf623f5992\"\n }\n}",
|
|
238
|
+
"title": "Enabling TDE for an Instance"
|
|
239
|
+
}
|
|
240
|
+
],
|
|
161
241
|
"FlushInstanceRouterConfig": [
|
|
162
242
|
{
|
|
163
243
|
"document": " ",
|
|
@@ -190,6 +270,14 @@
|
|
|
190
270
|
"title": "Querying the renewal price of an instance"
|
|
191
271
|
}
|
|
192
272
|
],
|
|
273
|
+
"InstanceEnableSSL": [
|
|
274
|
+
{
|
|
275
|
+
"document": "This example shows you how to disable SSL.",
|
|
276
|
+
"input": "https://mongodb.tencentcloudapi.com/?Action=InstanceEnableSSL\n&InstanceId=cmgo-eqmoaxxx\n&Enable=true\n&<Common request parameters>",
|
|
277
|
+
"output": "{\n \"Response\": {\n \"CertUrl\": \"https://cert-****\",\n \"ExpiredTime\": \"2024-03-29 13:40:56\",\n \"RequestId\": \"5297ebe2-63f8-465f-be7d-41058ce438\",\n \"Status\": 1\n }\n}",
|
|
278
|
+
"title": "Setting the SSL Status for an Instance"
|
|
279
|
+
}
|
|
280
|
+
],
|
|
193
281
|
"IsolateDBInstance": [
|
|
194
282
|
{
|
|
195
283
|
"document": " ",
|
|
@@ -198,6 +286,14 @@
|
|
|
198
286
|
"title": "Terminating a pay-as-you-go TencentDB instance"
|
|
199
287
|
}
|
|
200
288
|
],
|
|
289
|
+
"KillOps": [
|
|
290
|
+
{
|
|
291
|
+
"document": " ",
|
|
292
|
+
"input": "https://mongodb.tencentcloudapi.com/?Action=KillOps\n&InstanceId=cmgo-p8vnipr5\n&Operations.0.ReplicaSetName=cmgo-p8vnipr5_0\n&Operations.0.NodeName=10.108.93.135:7017:39920912\n&Operations.0.OpId=61\n&<Common request parameters>",
|
|
293
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"302530d2-ee57-495e-89d0-51e03b11815e\"\n }\n}",
|
|
294
|
+
"title": "Terminating a Specific Operation Performed on a TencentDB for MongoDB Instance"
|
|
295
|
+
}
|
|
296
|
+
],
|
|
201
297
|
"ModifyDBInstanceNetworkAddress": [
|
|
202
298
|
{
|
|
203
299
|
"document": "This example shows you how to modify the VIP information on a TencentDB for MongoDB instance.",
|
|
@@ -234,6 +330,14 @@
|
|
|
234
330
|
"title": "Adding Secondary Nodes to a TencentDB for MongoDB Instance"
|
|
235
331
|
}
|
|
236
332
|
],
|
|
333
|
+
"ModifyInstanceParams": [
|
|
334
|
+
{
|
|
335
|
+
"document": "This example shows you how to initiate a modification task of the parameter configuration for a TencentDB for MongoDB instance.",
|
|
336
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstanceParams\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-9d0p6umb\",\n \"InstanceParams\": [\n {\n \"Value\": \"operation.profiling.slowOpThresholdMs\",\n \"Key\": \"operation.profiling.slowOpThresholdMs\"\n }\n ]\n}",
|
|
337
|
+
"output": "{\n \"Response\": {\n \"Changed\": true,\n \"RequestId\": \"e51b4590-db7b-4835-9899-1f5c33f92fbf\",\n \"TaskId\": 0\n }\n}",
|
|
338
|
+
"title": "Modifying the Parameter for a TencentDB for MongoDB Instance"
|
|
339
|
+
}
|
|
340
|
+
],
|
|
237
341
|
"OfflineIsolatedDBInstance": [
|
|
238
342
|
{
|
|
239
343
|
"document": " ",
|
|
@@ -266,6 +370,14 @@
|
|
|
266
370
|
"title": "Changing the Password of the User Accessing the Instance"
|
|
267
371
|
}
|
|
268
372
|
],
|
|
373
|
+
"SetAccountUserPrivilege": [
|
|
374
|
+
{
|
|
375
|
+
"document": "This example shows you how to set operation permissions for the specified account of the current instance.",
|
|
376
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SetAccountUserPrivilege\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-9d0p6umb\",\n \"UserName\": \"test_user\",\n \"AuthRole\": [\n {\n \"Mask\": 0,\n \"NameSpace\": \"eg_collection\"\n }\n ]\n}",
|
|
377
|
+
"output": "{\n \"Response\": {\n \"FlowId\": 1680767468,\n \"RequestId\": \"1df930fb-eb7e-4e3f-bcab-15a1aa5fede0\"\n }\n}",
|
|
378
|
+
"title": "Setting Account Permissions for the Current Instance"
|
|
379
|
+
}
|
|
380
|
+
],
|
|
269
381
|
"SetDBInstanceDeletionProtection": [
|
|
270
382
|
{
|
|
271
383
|
"document": "",
|
|
@@ -274,6 +386,14 @@
|
|
|
274
386
|
"title": "Setting Instance Termination Protection"
|
|
275
387
|
}
|
|
276
388
|
],
|
|
389
|
+
"SetInstanceMaintenance": [
|
|
390
|
+
{
|
|
391
|
+
"document": "This example shows how to modify the instance maintenance window.",
|
|
392
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SetInstanceMaintenance\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-9d0p****\",\n \"MaintenanceEnd\": \"21:00\",\n \"MaintenanceStart\": \"20:00\"\n}",
|
|
393
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"1df930fb-eb7e-4e3f-bcab-15a1aa5fede0\"\n }\n}",
|
|
394
|
+
"title": "Modifying the Instance Maintenance Window"
|
|
395
|
+
}
|
|
396
|
+
],
|
|
277
397
|
"TerminateDBInstances": [
|
|
278
398
|
{
|
|
279
399
|
"document": "",
|
|
@@ -281,6 +401,22 @@
|
|
|
281
401
|
"output": "{\n \"Response\": {\n \"RequestId\": \"ccfe11c0-b1d3-11ea-8b51-552abe435100\"\n }\n}",
|
|
282
402
|
"title": "Return and Refund for Monthly Subscription Instance"
|
|
283
403
|
}
|
|
404
|
+
],
|
|
405
|
+
"UpgradeDBInstanceKernelVersion": [
|
|
406
|
+
{
|
|
407
|
+
"document": "When a new kernel version is launched, you can upgrade the kernel to the latest version.",
|
|
408
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpgradeDBInstanceKernelVersion\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-p8vnipr5\"\n}",
|
|
409
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"2efcf780-9970-11ec-8975-6bc44e3bfad7\",\n \"FlowId\": 19677\n }\n}",
|
|
410
|
+
"title": "Upgrading the Current Kernel Version Number of the Instance"
|
|
411
|
+
}
|
|
412
|
+
],
|
|
413
|
+
"UpgradeDbInstanceVersion": [
|
|
414
|
+
{
|
|
415
|
+
"document": "This example shows you how to upgrade a TencentDB for MongoDB instance from 3.6 to 4.0.",
|
|
416
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpgradeDbInstanceVersion\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-p8vnipr5\",\n \"MongoVersion\": \"MONGO_42_WT\"\n}",
|
|
417
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"2efcf780-9970-11ec-8975-6bc44e3bfad7\",\n \"FlowId\": 19677\n }\n}",
|
|
418
|
+
"title": "Upgrading an Instance from 3.6 to 4.0"
|
|
419
|
+
}
|
|
284
420
|
]
|
|
285
421
|
},
|
|
286
422
|
"version": "1.0"
|
|
@@ -2247,7 +2247,7 @@
|
|
|
2247
2247
|
"document": "BindPrometheusManagedGrafana response structure.",
|
|
2248
2248
|
"members": [
|
|
2249
2249
|
{
|
|
2250
|
-
"document": "The unique request ID,
|
|
2250
|
+
"document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
|
|
2251
2251
|
"member": "string",
|
|
2252
2252
|
"name": "RequestId",
|
|
2253
2253
|
"type": "string"
|
|
@@ -3172,12 +3172,12 @@
|
|
|
3172
3172
|
"example": "arule-f2vx2owo",
|
|
3173
3173
|
"member": "string",
|
|
3174
3174
|
"name": "RuleId",
|
|
3175
|
-
"
|
|
3175
|
+
"output_required": true,
|
|
3176
3176
|
"type": "string",
|
|
3177
3177
|
"value_allowed_null": true
|
|
3178
3178
|
},
|
|
3179
3179
|
{
|
|
3180
|
-
"document": "The unique request ID,
|
|
3180
|
+
"document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
|
|
3181
3181
|
"member": "string",
|
|
3182
3182
|
"name": "RequestId",
|
|
3183
3183
|
"type": "string"
|