tccli-intl-en 3.1.5.1__py2.py3-none-any.whl → 3.1.6.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/faceid/v20180301/api.json +9 -0
- tccli/services/kms/v20190118/api.json +1 -1
- tccli/services/mongodb/mongodb_client.py +619 -115
- tccli/services/mongodb/v20190725/api.json +834 -2
- tccli/services/mongodb/v20190725/examples.json +72 -0
- 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_intl_en-3.1.5.1.dist-info → tccli_intl_en-3.1.6.1.dist-info}/METADATA +2 -2
- {tccli_intl_en-3.1.5.1.dist-info → tccli_intl_en-3.1.6.1.dist-info}/RECORD +15 -15
- {tccli_intl_en-3.1.5.1.dist-info → tccli_intl_en-3.1.6.1.dist-info}/LICENSE +0 -0
- {tccli_intl_en-3.1.5.1.dist-info → tccli_intl_en-3.1.6.1.dist-info}/WHEEL +0 -0
- {tccli_intl_en-3.1.5.1.dist-info → tccli_intl_en-3.1.6.1.dist-info}/entry_points.txt +0 -0
- {tccli_intl_en-3.1.5.1.dist-info → tccli_intl_en-3.1.6.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.",
|
|
@@ -48,6 +56,14 @@
|
|
|
48
56
|
"title": "Creating a Log Download Task"
|
|
49
57
|
}
|
|
50
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
|
+
],
|
|
51
67
|
"DeleteLogDownloadTask": [
|
|
52
68
|
{
|
|
53
69
|
"document": "This example shows you how to delete a log download task.",
|
|
@@ -72,6 +88,14 @@
|
|
|
72
88
|
"title": "Querying a Backup Download Task"
|
|
73
89
|
}
|
|
74
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
|
+
],
|
|
75
99
|
"DescribeClientConnections": [
|
|
76
100
|
{
|
|
77
101
|
"document": "This example shows you how to query the client connection information on a TencentDB for MongoDB instance.",
|
|
@@ -80,6 +104,14 @@
|
|
|
80
104
|
"title": "Querying the Client Connection Information on a TencentDB for MongoDB Instance"
|
|
81
105
|
}
|
|
82
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
|
+
],
|
|
83
115
|
"DescribeDBBackups": [
|
|
84
116
|
{
|
|
85
117
|
"document": " ",
|
|
@@ -198,6 +230,14 @@
|
|
|
198
230
|
"title": "Querying Saleable TencentDB for MongoDB Specifications"
|
|
199
231
|
}
|
|
200
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
|
+
],
|
|
201
241
|
"FlushInstanceRouterConfig": [
|
|
202
242
|
{
|
|
203
243
|
"document": " ",
|
|
@@ -246,6 +286,14 @@
|
|
|
246
286
|
"title": "Terminating a pay-as-you-go TencentDB instance"
|
|
247
287
|
}
|
|
248
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
|
+
],
|
|
249
297
|
"ModifyDBInstanceNetworkAddress": [
|
|
250
298
|
{
|
|
251
299
|
"document": "This example shows you how to modify the VIP information on a TencentDB for MongoDB instance.",
|
|
@@ -282,6 +330,14 @@
|
|
|
282
330
|
"title": "Adding Secondary Nodes to a TencentDB for MongoDB Instance"
|
|
283
331
|
}
|
|
284
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
|
+
],
|
|
285
341
|
"OfflineIsolatedDBInstance": [
|
|
286
342
|
{
|
|
287
343
|
"document": " ",
|
|
@@ -314,6 +370,14 @@
|
|
|
314
370
|
"title": "Changing the Password of the User Accessing the Instance"
|
|
315
371
|
}
|
|
316
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
|
+
],
|
|
317
381
|
"SetDBInstanceDeletionProtection": [
|
|
318
382
|
{
|
|
319
383
|
"document": "",
|
|
@@ -322,6 +386,14 @@
|
|
|
322
386
|
"title": "Setting Instance Termination Protection"
|
|
323
387
|
}
|
|
324
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
|
+
],
|
|
325
397
|
"TerminateDBInstances": [
|
|
326
398
|
{
|
|
327
399
|
"document": "",
|