tccli-intl-en 3.0.1271.1__py2.py3-none-any.whl → 3.0.1272.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/mongodb/mongodb_client.py +159 -0
- tccli/services/mongodb/v20190725/api.json +533 -226
- tccli/services/mongodb/v20190725/examples.json +46 -22
- {tccli_intl_en-3.0.1271.1.dist-info → tccli_intl_en-3.0.1272.1.dist-info}/METADATA +2 -2
- {tccli_intl_en-3.0.1271.1.dist-info → tccli_intl_en-3.0.1272.1.dist-info}/RECORD +10 -10
- {tccli_intl_en-3.0.1271.1.dist-info → tccli_intl_en-3.0.1272.1.dist-info}/LICENSE +0 -0
- {tccli_intl_en-3.0.1271.1.dist-info → tccli_intl_en-3.0.1272.1.dist-info}/WHEEL +0 -0
- {tccli_intl_en-3.0.1271.1.dist-info → tccli_intl_en-3.0.1272.1.dist-info}/entry_points.txt +0 -0
- {tccli_intl_en-3.0.1271.1.dist-info → tccli_intl_en-3.0.1272.1.dist-info}/top_level.txt +0 -0
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
"AssignProject": [
|
|
4
4
|
{
|
|
5
5
|
"document": " ",
|
|
6
|
-
"input": "https://mongodb.tencentcloudapi.com/?Action=AssignProject\n&InstanceIds.0=cmgo-
|
|
6
|
+
"input": "https://mongodb.tencentcloudapi.com/?Action=AssignProject\n&InstanceIds.0=cmgo-eqmo****\n&ProjectId=12\n&<Common request parameters>",
|
|
7
7
|
"output": "{\n \"Response\": {\n \"FlowIds\": [\n 1081\n ],\n \"RequestId\": \"8e2a339e-5ba9-4da3-8dc2-65a0a6314811\"\n }\n}",
|
|
8
|
-
"title": "Specifying the
|
|
8
|
+
"title": "Specifying the Associated Project of a TencentDB for MongoDB Instance"
|
|
9
9
|
}
|
|
10
10
|
],
|
|
11
11
|
"CreateBackupDBInstance": [
|
|
12
12
|
{
|
|
13
|
-
"document": "This example shows
|
|
13
|
+
"document": "This example shows how to back up an instance.",
|
|
14
14
|
"input": "https://mongodb.tencentcloudapi.com/?Action=CreateBackupDBInstance\n&InstanceId=cmgo-ayxpky6l\n&BackupRemark=remarkInfo\n&BackupMethod=0\n&<Common request parameters>",
|
|
15
15
|
"output": "{\n \"Response\": {\n \"AsyncRequestId\": \"1680780049\",\n \"RequestId\": \"1df930fb-eb7e-4e3f-bcab-15a1aa5fede0\"\n }\n}",
|
|
16
16
|
"title": "Backing Up an Instance"
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"DescribeBackupDownloadTask": [
|
|
52
52
|
{
|
|
53
53
|
"document": " ",
|
|
54
|
-
"input": "
|
|
55
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
|
56
|
-
"title": "Querying
|
|
54
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBackupDownloadTask\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-fdzf****\",\n \"Status\": [\n \"2\"\n ]\n}",
|
|
55
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"c7c0c495-4826-4938-a6d7-32146cad2632\",\n \"Tasks\": [\n {\n \"BackupDesc\": \"Set daily scheduled automatic backup in the system background.\",\n \"BackupMethod\": 0,\n \"BackupName\": \"cmgo-fdzf****_2025-09-23 22:03\",\n \"BackupSize\": 5747378,\n \"Bucket\": \"sh-backup-remote-125758****\",\n \"CreateTime\": \"2025-09-24 10:58:55\",\n \"Percent\": 100,\n \"Region\": \"ap-shanghai\",\n \"ReplicaSetId\": \"cmgo-fdzf******\",\n \"Status\": 2,\n \"TimeSpend\": 1,\n \"Url\": \"https://sh-backup-remote-tar-**************\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
|
|
56
|
+
"title": "Querying a Backup Download Task"
|
|
57
57
|
}
|
|
58
58
|
],
|
|
59
59
|
"DescribeClientConnections": [
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
"DescribeDBBackups": [
|
|
68
68
|
{
|
|
69
69
|
"document": " ",
|
|
70
|
-
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBBackups\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-
|
|
71
|
-
"output": "{\n \"Response\": {\n \"
|
|
70
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBBackups\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-fdzf****\",\n \"BackupMethod\": 0\n}",
|
|
71
|
+
"output": "{\n \"Response\": {\n \"BackupList\": [\n {\n \"BackId\": 10657020,\n \"BackupDesc\": \"Set daily scheduled automatic backup in the system background.\",\n \"BackupMethod\": 0,\n \"BackupName\": \"cmgo-fdzf****_2025-09-17 22:01\",\n \"BackupRegion\": \"\",\n \"BackupSize\": 5747379,\n \"BackupType\": 0,\n \"DeleteTime\": \"2025-09-24 22:01:58\",\n \"EndTime\": \"2025-09-17 22:01:58\",\n \"InstanceId\": \"cmgo-fdzf****\",\n \"RestoreTime\": \"\",\n \"StartTime\": \"2025-09-17 22:01:52\",\n \"Status\": 2\n },\n {\n \"BackId\": 10688339,\n \"BackupDesc\": \"Set daily scheduled automatic backup in the system background.\",\n \"BackupMethod\": 0,\n \"BackupName\": \"cmgo-fdzf****_2025-09-18 22:03\",\n \"BackupRegion\": \"ap-shanghai\",\n \"BackupSize\": 5747378,\n \"BackupType\": 0,\n \"DeleteTime\": \"2025-09-20 22:03:37\",\n \"EndTime\": \"2025-09-18 22:03:44\",\n \"InstanceId\": \"cmgo-fdzf****\",\n \"RestoreTime\": \"\",\n \"StartTime\": \"2025-09-18 22:03:42\",\n \"Status\": 2\n }\n ],\n \"RequestId\": \"0e2eb0e1-f775-4ba8-af9f-e5650a55dce1\",\n \"TotalCount\": 2\n }\n}",
|
|
72
72
|
"title": "Querying the Backup File Information on a TencentDB for MongoDB Instance"
|
|
73
73
|
}
|
|
74
74
|
],
|
|
@@ -88,10 +88,10 @@
|
|
|
88
88
|
"title": "Querying the Database List of the Current Instance"
|
|
89
89
|
},
|
|
90
90
|
{
|
|
91
|
-
"document": "This example shows you how to query the information on all collections of
|
|
91
|
+
"document": "This example shows you how to query the information on all collections of the database when DbName is specified.",
|
|
92
92
|
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstanceNamespace\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-qny2****\",\n \"DbName\": \"demo_db0\"\n}",
|
|
93
93
|
"output": "{\n \"Response\": {\n \"Collections\": [\n \"col148\",\n \"col108\",\n \"col120\"\n ],\n \"RequestId\": \"21b503b5-6606-4efb-b250-63071c2fe565\"\n }\n}",
|
|
94
|
-
"title": "Querying All Collections
|
|
94
|
+
"title": "Querying All Collections of the Specified Database"
|
|
95
95
|
}
|
|
96
96
|
],
|
|
97
97
|
"DescribeDBInstances": [
|
|
@@ -102,6 +102,14 @@
|
|
|
102
102
|
"title": "Query Instance List"
|
|
103
103
|
}
|
|
104
104
|
],
|
|
105
|
+
"DescribeDetailedSlowLogs": [
|
|
106
|
+
{
|
|
107
|
+
"document": "",
|
|
108
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDetailedSlowLogs\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-r3p8****\",\n \"StartTime\": \"2025-09-22 11:53:15\",\n \"EndTime\": \"2025-09-23 11:53:15\"\n}",
|
|
109
|
+
"output": "{\n \"Response\": {\n \"DetailedSlowLogs\": [\n {\n \"Log\": \"Mon Sep 22 20:30:19.980 I COMMAND [conn3725696] command admin.$cmd command: saslContinue { saslContinue: 1, conversationId: 1, payload: BinData(0, ), $clusterTime: { clusterTime: Timestamp(1758544211, 1), signature: { hash: BinData(0, C28B5E1C1EE29**************************), keyId: 75428892796********* } }, $db: \\\"admin\\\", $readPreference: { mode: \\\"primaryPreferred\\\" } } numYields:0 reslen:204 locks:{} protocol:op_msg 184ms\",\n \"NodeName\": \"cmgo-r3p8****_0-node-primary\",\n \"QueryHash\": \"admin..****Continue\"\n }\n ],\n \"RequestId\": \"5e35a1bd-60e6-4a45-8792-d033581b9209\",\n \"TotalCount\": 1\n }\n}",
|
|
110
|
+
"title": "Querying Slow Log Details"
|
|
111
|
+
}
|
|
112
|
+
],
|
|
105
113
|
"DescribeInstanceParams": [
|
|
106
114
|
{
|
|
107
115
|
"document": "This example shows you how to call this API to obtain the list of configurable parameters for a TencentDB for MongoDB instance.",
|
|
@@ -114,23 +122,23 @@
|
|
|
114
122
|
{
|
|
115
123
|
"document": "This example shows you how to query all security groups bound to the current instance.",
|
|
116
124
|
"input": "https://mongodb.tencentcloudapi.com/?Action=DescribeSecurityGroup\n&InstanceId=cmgo-p8vn****\n&<Common request parameters>",
|
|
117
|
-
"output": "{\n \"Response\": {\n \"Groups\": [\n {\n \"
|
|
118
|
-
"title": "Querying Instance Security
|
|
125
|
+
"output": "{\n \"Response\": {\n \"Groups\": [\n {\n \"CreateTime\": \"2022-06-08 17:06:38\",\n \"Inbound\": [\n {\n \"Action\": \"ACCEPT\",\n \"AddressModule\": \"\",\n \"CidrIp\": \"**.**.**.**/24\",\n \"Desc\": \"\",\n \"Id\": \"\",\n \"IpProtocol\": \"tcp\",\n \"PortRange\": \"8086\",\n \"ServiceModule\": \"\"\n },\n {\n \"Action\": \"ACCEPT\",\n \"AddressModule\": \"\",\n \"CidrIp\": \"**.**.**.**/24\",\n \"Desc\": \"\",\n \"Id\": \"\",\n \"IpProtocol\": \"tcp\",\n \"PortRange\": \"****\",\n \"ServiceModule\": \"\"\n },\n {\n \"Action\": \"ACCEPT\",\n \"AddressModule\": \"\",\n \"CidrIp\": \"**.**.**.**/24\",\n \"Desc\": \"\",\n \"Id\": \"\",\n \"IpProtocol\": \"tcp\",\n \"PortRange\": \"****\",\n \"ServiceModule\": \"\"\n },\n {\n \"Action\": \"ACCEPT\",\n \"AddressModule\": \"\",\n \"CidrIp\": \"**.**.**.**/24\",\n \"Desc\": \"\",\n \"Id\": \"\",\n \"IpProtocol\": \"tcp\",\n \"PortRange\": \"****\",\n \"ServiceModule\": \"\"\n },\n {\n \"Action\": \"ACCEPT\",\n \"AddressModule\": \"\",\n \"CidrIp\": \"**.**.**.**/24\",\n \"Desc\": \"\",\n \"Id\": \"\",\n \"IpProtocol\": \"tcp\",\n \"PortRange\": \"****\",\n \"ServiceModule\": \"\"\n },\n {\n \"Action\": \"ACCEPT\",\n \"AddressModule\": \"ipm-pvcdf2ty\",\n \"CidrIp\": \"\",\n \"Desc\": \"\",\n \"Id\": \"\",\n \"IpProtocol\": \"tcp\",\n \"PortRange\": \"**,**,**,****,**,****\",\n \"ServiceModule\": \"\"\n }\n ],\n \"Outbound\": [],\n \"ProjectId\": 0,\n \"SecurityGroupId\": \"sg-0klp****\",\n \"SecurityGroupName\": \"default\",\n \"SecurityGroupRemark\": \"System created security group\"\n }\n ],\n \"RequestId\": \"21d6a495-f46d-4440-bd25-d4e36f51afdd\"\n }\n}",
|
|
126
|
+
"title": "Querying an Instance Security Group"
|
|
119
127
|
}
|
|
120
128
|
],
|
|
121
129
|
"DescribeSlowLogPatterns": [
|
|
122
130
|
{
|
|
123
131
|
"document": " ",
|
|
124
|
-
"input": "https://mongodb.tencentcloudapi.com/?Action=DescribeSlowLogPatterns\n&InstanceId=cmgo-
|
|
132
|
+
"input": "https://mongodb.tencentcloudapi.com/?Action=DescribeSlowLogPatterns\n&InstanceId=cmgo-a3bm****\n&StartTime=2020-04-20 00:00:00\n&EndTime=2020-04-20 22:00:00\n&SlowMS=100\n&Offset=0\n&Limit=100\n&<Common request parameters>",
|
|
125
133
|
"output": "{\n \"Response\": {\n \"Count\": 2,\n \"RequestId\": \"895de939-f726-4cb0-bb02-3890289479e3\",\n \"SlowLogPatterns\": [\n {\n \"AverageTime\": 699,\n \"MaxTime\": 5335,\n \"Pattern\": \"admin.$cmd.command\",\n \"Total\": 12\n },\n {\n \"AverageTime\": 271,\n \"MaxTime\": 423,\n \"Pattern\": \"local.system.replset.command\",\n \"Total\": 8\n }\n ]\n }\n}",
|
|
126
|
-
"title": "Querying
|
|
134
|
+
"title": "Querying Database Slow Log Statistics Information"
|
|
127
135
|
}
|
|
128
136
|
],
|
|
129
137
|
"DescribeSlowLogs": [
|
|
130
138
|
{
|
|
131
139
|
"document": "This example shows you how to obtain the slow log information on an instance.",
|
|
132
|
-
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSlowLogs\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-
|
|
133
|
-
"output": "{\n \"Response\": {\n \"Count\": 20,\n \"RequestId\": \"3a36aa6e-67e2-42a9-adfe-fc694334cc78\",\n \"SlowLogs\": [\n \"Mon Apr 20 13:55:21.623 I COMMAND [conn16903] command admin.$cmd command: _flushRoutingTableCacheUpdates { forceRoutingTableRefresh: \\\"config.system.sessions\\\", maxTimeMS: 30000, $clusterTime: { clusterTime: Timestamp(1587362114, 1), signature: { hash: BinData(0, 259955995BDC7E0CA35C4276EB23341C03910A48), keyId: 6817613949303783443 } }, $configServerState: { opTime: { ts: Timestamp(1587362108, 1), t: 1 } }, $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 4 } }, Database: { acquireCount: { r: 2 } }, Collection: { acquireCount: { r: 2 } } } protocol:op_msg 5335ms\",\n \"Mon Apr 20 14:01:00.309 I COMMAND [conn1313] command admin.$cmd command: _flushRoutingTableCacheUpdates { forceRoutingTableRefresh: \\\"config.system.sessions\\\", maxTimeMS: 30000, $clusterTime: { clusterTime: Timestamp(1587362457, 1), signature: { hash: BinData(0, DC2B16681C70845D7B6C8C6C97400D4DFB394CA0), keyId: 6817613949303783443 } }, $configServerState: { opTime: { ts: Timestamp(1587362455, 1), t: 1 } }, $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 4 } }, Database: { acquireCount: { r: 2 } }, Collection: { acquireCount: { r: 2 } } } protocol:op_msg 1264ms\",\n \"Mon Apr 20 14:20:15.283 I COMMAND [conn586] command admin.$cmd command: _flushRoutingTableCacheUpdates { forceRoutingTableRefresh: \\\"config.system.sessions\\\", maxTimeMS: 30000, $clusterTime: { clusterTime: Timestamp(1587363613, 1), signature: { hash: BinData(0, 72D24884320C8A9A26AF8C4DD1127874085DFAE5), keyId: 6817613949303783443 } }, $configServerState: { opTime: { ts: Timestamp(1587363603, 1), t: 1 } }, $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 4 } }, Database: { acquireCount: { r: 2 } }, Collection: { acquireCount: { r: 2 } } } protocol:op_msg 426ms\",\n \"Mon Apr 20 10:25:45.487 I COMMAND [conn48] command local.system.replset command: replSetReconfig { replSetReconfig: { _id: \\\"cmgo-a3bm93hf_1\\\", version: 3, protocolVersion: 1, members: [ { _id: 1, host: \\\"100.93.44.85:7005\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 2, host: \\\"10.112.91.43:7009\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 3, host: \\\"10.53.61.24:7004\\\" } ], settings: { chainingAllowed: true, heartbeatIntervalMillis: 2000, heartbeatTimeoutSecs: 10, electionTimeoutMillis: 10000, catchUpTimeoutMillis: -1, catchUpTakeoverDelayMillis: 30000, getLastErrorDefaults: { wtimeout: 0, w: 1 }, replicaSetId: ObjectId('5e9d08160c269352426f9575') } }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 3, w: 2, W: 1 } }, Database: { acquireCount: { w: 1, W: 1 } }, oplog: { acquireCount: { w: 1 } } } protocol:op_query 423ms\",\n \"Mon Apr 20 10:25:34.934 I COMMAND [conn28] command local.system.replset command: replSetReconfig { replSetReconfig: { _id: \\\"cmgo-a3bm93hf_1\\\", version: 2, protocolVersion: 1, members: [ { _id: 1, host: \\\"100.93.44.85:7005\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 2, host: \\\"10.112.91.43:7009\\\" } ], settings: { chainingAllowed: true, heartbeatIntervalMillis: 2000, heartbeatTimeoutSecs: 10, electionTimeoutMillis: 10000, catchUpTimeoutMillis: -1, catchUpTakeoverDelayMillis: 30000, getLastErrorDefaults: { w: 1, wtimeout: 0 }, replicaSetId: ObjectId('5e9d08160c269352426f9575') } }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 3, w: 2, W: 1 } }, Database: { acquireCount: { w: 1, W: 1 } }, oplog: { acquireCount: { w: 1 } } } protocol:op_query 414ms\",\n \"Mon Apr 20 10:24:52.278 I COMMAND [conn30] command local.system.replset command: replSetReconfig { replSetReconfig: { _id: \\\"cmgo-a3bm93hf_0\\\", version: 2, protocolVersion: 1, members: [ { _id: 1, host: \\\"10.53.80.6:7011\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 2, host: \\\"100.93.44.26:7012\\\" } ], settings: { chainingAllowed: true, heartbeatIntervalMillis: 2000, heartbeatTimeoutSecs: 10, electionTimeoutMillis: 10000, catchUpTimeoutMillis: -1, catchUpTakeoverDelayMillis: 30000, getLastErrorDefaults: { w: 1, wtimeout: 0 }, replicaSetId: ObjectId('5e9d07ebf3f99b58c95a33fb') } }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 3, w: 2, W: 1 } }, Database: { acquireCount: { w: 1, W: 1 } }, oplog: { acquireCount: { w: 1 } } } protocol:op_query 406ms\",\n \"Mon Apr 20 10:25:02.675 I COMMAND [conn50] command local.system.replset command: replSetReconfig { replSetReconfig: { _id: \\\"cmgo-a3bm93hf_0\\\", version: 3, protocolVersion: 1, members: [ { _id: 1, host: \\\"10.53.80.6:7011\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 2, host: \\\"100.93.44.26:7012\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 3, host: \\\"9.34.46.139:7003\\\" } ], settings: { chainingAllowed: true, heartbeatIntervalMillis: 2000, heartbeatTimeoutSecs: 10, electionTimeoutMillis: 10000, catchUpTimeoutMillis: -1, catchUpTakeoverDelayMillis: 30000, getLastErrorDefaults: { w: 1, wtimeout: 0 }, replicaSetId: ObjectId('5e9d07ebf3f99b58c95a33fb') } }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 3, w: 2, W: 1 } }, Database: { acquireCount: { w: 1, W: 1 } }, oplog: { acquireCount: { w: 1 } } } protocol:op_query 373ms\",\n \"Mon Apr 20 18:35:15.103 I COMMAND [conn586] command admin.$cmd command: _flushRoutingTableCacheUpdates { forceRoutingTableRefresh: \\\"config.system.sessions\\\", maxTimeMS: 30000, $clusterTime: { clusterTime: Timestamp(1587378913, 1), signature: { hash: BinData(0, A3C176F81B64A7473F88F3F40B84C59EC9E1E1AE), keyId: 6817613949303783443 } }, $configServerState: { opTime: { ts: Timestamp(1587378912, 1), t: 2 } }, $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 4 } }, Database: { acquireCount: { r: 2 } }, Collection: { acquireCount: { r: 2 } } } protocol:op_msg 248ms\",\n \"Mon Apr 20 10:27:38.171 I COMMAND [conn281] command admin.$cmd command: setFeatureCompatibilityVersion { setFeatureCompatibilityVersion: \\\"4.0\\\", $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 5, w: 4, R: 1 } }, Database: { acquireCount: { w: 2, W: 2 } }, Collection: { acquireCount: { w: 2 } }, Mutex: { acquireCount: { W: 1 } }, oplog: { acquireCount: { w: 2 } } } protocol:op_msg 212ms\",\n \"Mon Apr 20 10:26:27.924 I COMMAND [conn111] command local.system.replset command: replSetReconfig { replSetReconfig: { _id: \\\"cmgo-a3bm93hf_2\\\", version: 3, protocolVersion: 1, members: [ { _id: 1, host: \\\"10.112.90.165:7002\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 2, host: \\\"10.53.80.6:7012\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 3, host: \\\"100.93.44.26:7013\\\" } ], settings: { chainingAllowed: true, heartbeatIntervalMillis: 2000, heartbeatTimeoutSecs: 10, electionTimeoutMillis: 10000, catchUpTimeoutMillis: -1, catchUpTakeoverDelayMillis: 30000, getLastErrorDefaults: { w: 1, wtimeout: 0 }, replicaSetId: ObjectId('5e9d0841f0f688fc992fd087') } }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 3, w: 2, W: 1 } }, Database: { acquireCount: { w: 1, W: 1 } }, oplog: { acquireCount: { w: 1 } } } protocol:op_query 212ms\",\n \"Mon Apr 20 13:55:15.051 I COMMAND [conn586] command admin.$cmd command: _flushRoutingTableCacheUpdates { forceRoutingTableRefresh: \\\"config.system.sessions\\\", maxTimeMS: 30000, $clusterTime: { clusterTime: Timestamp(1587362114, 1), signature: { hash: BinData(0, 259955995BDC7E0CA35C4276EB23341C03910A48), keyId: 6817613949303783443 } }, $configServerState: { opTime: { ts: Timestamp(1587362085, 6), t: 1 } }, $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 4 } }, Database: { acquireCount: { r: 2 } }, Collection: { acquireCount: { r: 2 } } } protocol:op_msg 192ms\",\n \"Mon Apr 20 10:27:39.400 I COMMAND [conn213] command admin.$cmd command: setFeatureCompatibilityVersion { setFeatureCompatibilityVersion: \\\"4.0\\\", $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 5, w: 4, R: 1 } }, Database: { acquireCount: { w: 2, W: 2 } }, Collection: { acquireCount: { w: 2 } }, Mutex: { acquireCount: { W: 1 } }, oplog: { acquireCount: { w: 2 } } } protocol:op_msg 183ms\",\n \"Mon Apr 20 10:26:09.357 I COMMAND [conn36] command local.system.replset command: replSetInitiate { replSetInitiate: { _id: \\\"cmgo-a3bm93hf_2\\\", version: 1, members: [ { _id: 1, host: \\\"10.112.90.165:7002\\\" } ] }, $readPreference: { mode: \\\"secondaryPreferred\\\" }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 23, w: 7, W: 2 }, acquireWaitCount: { W: 1 }, timeAcquiringMicros: { W: 59 } }, Database: { acquireCount: { r: 7, w: 4, W: 3 } }, Collection: { acquireCount: { r: 3, w: 2 } }, oplog: { acquireCount: { r: 2, w: 3 } } } protocol:op_query 134ms\",\n \"Mon Apr 20 13:00:16.363 I COMMAND [conn16903] command admin.$cmd command: _flushRoutingTableCacheUpdates { forceRoutingTableRefresh: \\\"config.system.sessions\\\", maxTimeMS: 30000, $clusterTime: { clusterTime: Timestamp(1587358814, 1), signature: { hash: BinData(0, 90BD7BB9B481B9825527D89A3579B52E6C0C3915), keyId: 6817613949303783443 } }, $configServerState: { opTime: { ts: Timestamp(1587358809, 2), t: 1 } }, $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 4 } }, Database: { acquireCount: { r: 2 } }, Collection: { acquireCount: { r: 2 } } } protocol:op_msg 123ms\",\n \"Mon Apr 20 13:35:14.983 I COMMAND [conn586] command admin.$cmd command: _flushRoutingTableCacheUpdates { forceRoutingTableRefresh: \\\"config.system.sessions\\\", maxTimeMS: 30000, $clusterTime: { clusterTime: Timestamp(1587360912, 1), signature: { hash: BinData(0, 06A84575A66B9316D1ECBFB9FB1C7B2F605AB3A8), keyId: 6817613949303783443 } }, $configServerState: { opTime: { ts: Timestamp(1587360909, 5), t: 1 } }, $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 4 } }, Database: { acquireCount: { r: 2 } }, Collection: { acquireCount: { r: 2 } } } protocol:op_msg 122ms\",\n \"Mon Apr 20 10:24:43.760 I COMMAND [conn16] command local.system.replset command: replSetInitiate { replSetInitiate: { _id: \\\"cmgo-a3bm93hf_0\\\", version: 1, members: [ { _id: 1, host: \\\"10.53.80.6:7011\\\" } ] }, $readPreference: { mode: \\\"secondaryPreferred\\\" }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 23, w: 7, W: 2 }, acquireWaitCount: { W: 1 }, timeAcquiringMicros: { W: 39 } }, Database: { acquireCount: { r: 7, w: 4, W: 3 } }, Collection: { acquireCount: { r: 3, w: 2 } }, oplog: { acquireCount: { r: 2, w: 3 } } } protocol:op_query 112ms\",\n \"Mon Apr 20 10:25:26.300 I COMMAND [conn15] command local.system.replset command: replSetInitiate { replSetInitiate: { _id: \\\"cmgo-a3bm93hf_1\\\", version: 1, members: [ { _id: 1, host: \\\"100.93.44.85:7005\\\" } ] }, $readPreference: { mode: \\\"secondaryPreferred\\\" }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 23, w: 7, W: 2 }, acquireWaitCount: { W: 1 }, timeAcquiringMicros: { W: 24 } }, Database: { acquireCount: { r: 7, w: 4, W: 3 }, acquireWaitCount: { W: 1 }, timeAcquiringMicros: { W: 7 } }, Collection: { acquireCount: { r: 3, w: 2 } }, oplog: { acquireCount: { r: 2, w: 3 } } } protocol:op_query 110ms\",\n \"Mon Apr 20 10:27:39.400 I COMMAND [conn213] command admin.$cmd command: update { update: \\\"system.version\\\", writeConcern: { w: \\\"majority\\\" }, $db: \\\"admin\\\" } numYields:0 reslen:370 locks:{ Global: { acquireCount: { r: 5, w: 4, R: 1 } }, Database: { acquireCount: { w: 2, W: 2 } }, Collection: { acquireCount: { w: 2 } }, Mutex: { acquireCount: { W: 1 } }, oplog: { acquireCount: { w: 2 } } } protocol:op_msg 107ms\",\n \"Mon Apr 20 10:27:38.065 I COMMAND [conn281] command admin.$cmd command: update { update: \\\"system.version\\\", writeConcern: { w: \\\"majority\\\" }, $db: \\\"admin\\\" } numYields:0 reslen:370 locks:{ Global: { acquireCount: { r: 2, w: 2 } }, Database: { acquireCount: { w: 1, W: 1 } }, Collection: { acquireCount: { w: 1 } }, Mutex: { acquireCount: { W: 1 } }, oplog: { acquireCount: { w: 1 } } } protocol:op_msg 107ms\",\n \"Mon Apr 20 10:27:38.170 I COMMAND [conn281] command admin.$cmd command: update { update: \\\"system.version\\\", writeConcern: { w: \\\"majority\\\" }, $db: \\\"admin\\\" } numYields:0 reslen:370 locks:{ Global: { acquireCount: { r: 5, w: 4, R: 1 } }, Database: { acquireCount: { w: 2, W: 2 } }, Collection: { acquireCount: { w: 2 } }, Mutex: { acquireCount: { W: 1 } }, oplog: { acquireCount: { w: 2 } } } protocol:op_msg 105ms\"\n ]\n }\n}",
|
|
140
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSlowLogs\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-r3p8****\",\n \"StartTime\": \"2025-09-22 00:00:00\",\n \"EndTime\": \"2025-09-23 00:00:00\",\n \"SlowMS\": 100,\n \"Offset\": 1,\n \"Limit\": 1,\n \"Format\": \"json\"\n}",
|
|
141
|
+
"output": "{\n \"Response\": {\n \"Count\": 1,\n \"RequestId\": \"ec514cb8-55a6-41d4-a6e4-896da43886db\",\n \"SlowLogs\": [\n \"Mon Sep 22 20:30:19.980 I COMMAND [conn3725696] command admin.$cmd command: ****Continue { ****Continue: 1, conversationId: 1, payload: BinData(0, ), $clusterTime: { clusterTime: Timestamp(1758544211, 1), signature: { hash: BinData(0, *************************************), keyId: 7542889************ } }, $db: \\\"admin\\\", $readPreference: { mode: \\\"primaryPreferred\\\" } } numYields:0 reslen:204 locks:{} protocol:op_msg 184ms\"\n ]\n }\n}",
|
|
134
142
|
"title": "Obtaining the Slow Log Information on an Instance"
|
|
135
143
|
}
|
|
136
144
|
],
|
|
@@ -185,7 +193,7 @@
|
|
|
185
193
|
"ModifyDBInstanceNetworkAddress": [
|
|
186
194
|
{
|
|
187
195
|
"document": "This example shows you how to modify the VIP information on a TencentDB for MongoDB instance.",
|
|
188
|
-
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceNetworkAddress\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-9d0p****\",\n \"OldIpExpiredTime\": 1,\n \"NetworkAddresses\": [\n {\n \"NewIPAddress\": \"10.0.0.10\",\n \"OldIpAddress\": \"10.0.0.1\"\n }\n ],\n \"NewUniqVpcId\": \"vpc-
|
|
196
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceNetworkAddress\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-9d0p****\",\n \"OldIpExpiredTime\": 1,\n \"NetworkAddresses\": [\n {\n \"NewIPAddress\": \"10.0.0.10\",\n \"OldIpAddress\": \"10.0.0.1\"\n }\n ],\n \"NewUniqVpcId\": \"vpc-gfb3****\",\n \"NewUniqSubnetId\": \"subnet-6fe2****\"\n}",
|
|
189
197
|
"output": "{\n \"Response\": {\n \"FlowId\": 1679402995,\n \"RequestId\": \"8279f6c2-db93-4b2e-931b-233d780b1a91\"\n }\n}",
|
|
190
198
|
"title": "Modifying the Network Information on a TencentDB for MongoDB Instance"
|
|
191
199
|
}
|
|
@@ -193,7 +201,7 @@
|
|
|
193
201
|
"ModifyDBInstanceSecurityGroup": [
|
|
194
202
|
{
|
|
195
203
|
"document": "This example shows you how to modify the inbound rules of security groups for a specified instance.",
|
|
196
|
-
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceSecurityGroup\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-
|
|
204
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceSecurityGroup\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-14i5****'\",\n \"SecurityGroupIds\": [\n \"sg-l7ip****\"\n ]\n}",
|
|
197
205
|
"output": "{\n \"Response\": {\n \"RequestId\": \"bc59fa05-d429-4bcf-863f-1f6f99295485\"\n }\n}",
|
|
198
206
|
"title": "Modifying the Security Group Information on an Instance"
|
|
199
207
|
}
|
|
@@ -213,7 +221,7 @@
|
|
|
213
221
|
},
|
|
214
222
|
{
|
|
215
223
|
"document": "This example shows you how to add 2 secondary nodes in total to Guangzhou Zone 2 and Zone 3. The final number of nodes changes to 5.",
|
|
216
|
-
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceSpec\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-
|
|
224
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceSpec\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-p8vn****\",\n \"Memory\": 4,\n \"Volume\": 100,\n \"OplogSize\": 30,\n \"NodeNum\": 5,\n \"ReplicateSetNum\": 1,\n \"InMaintenance\": 1,\n \"AddNodeList\": [\n {\n \"Role\": \"SECONDARY\",\n \"Zone\": \"ap-guangzhou-2\"\n },\n {\n \"Role\": \"SECONDARY\",\n \"Zone\": \"ap-guangzhou-3\"\n }\n ]\n}",
|
|
217
225
|
"output": "{\n \"Response\": {\n \"DealId\": \"7142863\",\n \"RequestId\": \"d88095e5-50e8-4245-a0cf-993a536f9b20\"\n }\n}",
|
|
218
226
|
"title": "Adding Secondary Nodes to a TencentDB for MongoDB Instance"
|
|
219
227
|
}
|
|
@@ -244,10 +252,26 @@
|
|
|
244
252
|
],
|
|
245
253
|
"ResetDBInstancePassword": [
|
|
246
254
|
{
|
|
247
|
-
"document": " ",
|
|
248
|
-
"input": "
|
|
255
|
+
"document": "This example shows you how to change the password of the user accessing the instance.",
|
|
256
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetDBInstancePassword\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-7pje****\",\n \"UserName\": \"rwuser\",\n \"Password\": \"*******\"\n}",
|
|
249
257
|
"output": "{\n \"Response\": {\n \"AsyncRequestId\": \"4769\",\n \"RequestId\": \"e600a8d0-9014-11ea-84c1-01cccde830c6\"\n }\n}",
|
|
250
|
-
"title": "
|
|
258
|
+
"title": "Changing the Password of the User Accessing the Instance"
|
|
259
|
+
}
|
|
260
|
+
],
|
|
261
|
+
"SetDBInstanceDeletionProtection": [
|
|
262
|
+
{
|
|
263
|
+
"document": "",
|
|
264
|
+
"input": "https://mongodb.tencentcloudapi.com/?Action=SetDBInstanceDeletionProtection\n&InstanceIds.0=cmgo-8l3r6yyt\n&EnableDeletionProtection=1\n&<Common request parameters>",
|
|
265
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"1d0d55f9-15ee-4f00-b460-7b645a62cc3a\"\n }\n}",
|
|
266
|
+
"title": "Setting Instance Termination Protection"
|
|
267
|
+
}
|
|
268
|
+
],
|
|
269
|
+
"TerminateDBInstances": [
|
|
270
|
+
{
|
|
271
|
+
"document": "",
|
|
272
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TerminateDBInstances\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-7pje****\"\n}",
|
|
273
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"ccfe11c0-b1d3-11ea-8b51-552abe435100\"\n }\n}",
|
|
274
|
+
"title": "Return and Refund for Monthly Subscription Instance"
|
|
251
275
|
}
|
|
252
276
|
]
|
|
253
277
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tccli-intl-en
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.1272.1
|
|
4
4
|
Summary: Universal Command Line Environment for Tencent Cloud
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-cli-intl-en.git
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -22,7 +22,7 @@ Classifier: Programming Language :: Python :: 3.4
|
|
|
22
22
|
Classifier: Programming Language :: Python :: 3.5
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.6
|
|
24
24
|
License-File: LICENSE
|
|
25
|
-
Requires-Dist: tencentcloud-sdk-python-intl-en (>=3.0.
|
|
25
|
+
Requires-Dist: tencentcloud-sdk-python-intl-en (>=3.0.1272)
|
|
26
26
|
Requires-Dist: jmespath (==0.10.0)
|
|
27
27
|
Requires-Dist: six (==1.16.0)
|
|
28
28
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
tccli/__init__.py,sha256=
|
|
1
|
+
tccli/__init__.py,sha256=UMjml0GTdn6-HwqFpplizp3iaXIseDDDEdHBO1thKjo,28
|
|
2
2
|
tccli/argparser.py,sha256=WtfpBhj2R6JHSzagy6w6Q4y3YVmyIC_yK80w3tqBPgU,5589
|
|
3
3
|
tccli/argument.py,sha256=ZtVo3AySpzM-Hw6_hPdU27FjUsc8QPB2fIuLy7JSBAk,8091
|
|
4
4
|
tccli/base_command.py,sha256=rFWNAwfS0GA6LLGNOM-iPI0RV81Jag5cZn536ZQN0pw,2859
|
|
@@ -373,9 +373,9 @@ tccli/services/message/message_client.py,sha256=GJRZ7V8wV3qQOmWMqRQQprEdcGkLSETQ
|
|
|
373
373
|
tccli/services/message/v20181225/api.json,sha256=0b7N_NnQbMS9W3zgCwCAakJG9aGMuKV7ChF7J1Xf52Q,2095
|
|
374
374
|
tccli/services/message/v20181225/examples.json,sha256=fnOlNGWK56ef0FASe2MwKz7Mk-FCwgfwaiGcp7YnNFY,485
|
|
375
375
|
tccli/services/mongodb/__init__.py,sha256=Xj1cMJt16_OaoYzXR0TgIRPw-DADd-yJkmk3CeEpvk0,93
|
|
376
|
-
tccli/services/mongodb/mongodb_client.py,sha256=
|
|
377
|
-
tccli/services/mongodb/v20190725/api.json,sha256=
|
|
378
|
-
tccli/services/mongodb/v20190725/examples.json,sha256=
|
|
376
|
+
tccli/services/mongodb/mongodb_client.py,sha256=7OudFH6rqX7l7N1Ba2xZnTkFnLFtCmBg47aJfI41STA,105761
|
|
377
|
+
tccli/services/mongodb/v20190725/api.json,sha256=4-F3zq4OYnAB0QHIHL1JfeE-1DcFbTk1p-gLtyGTr54,198383
|
|
378
|
+
tccli/services/mongodb/v20190725/examples.json,sha256=le5RNANseaTED0-aHw7Z3PL3fXLHHjPzJV-sW2t2Ecs,39861
|
|
379
379
|
tccli/services/monitor/__init__.py,sha256=Fqyy64XBMByiqJHyjxbaJeQDJAGMyktujsYRmXhosc8,93
|
|
380
380
|
tccli/services/monitor/monitor_client.py,sha256=fFdnKO5jhDDXz_eXVKqR6kZBPjnnd-g1TdooMMEOmb4,471203
|
|
381
381
|
tccli/services/monitor/v20180724/api.json,sha256=UdIvQPCjSf5x6ePGhyK06TXCWMezI1NldtoSWcrJ8y0,660877
|
|
@@ -592,9 +592,9 @@ tccli/services/yunjing/__init__.py,sha256=8HTKN8_ow1j67tspqAbBMQgeteXAagLvtb9WAf
|
|
|
592
592
|
tccli/services/yunjing/yunjing_client.py,sha256=Vh5vFOLjDJ53q_RX9WADwLT610kGcUxwCmtny95k3js,226485
|
|
593
593
|
tccli/services/yunjing/v20180228/api.json,sha256=zYojacZyPgPCi71CLBjuHsQR9mIxcZjCX5JwA9TYr1s,173428
|
|
594
594
|
tccli/services/yunjing/v20180228/examples.json,sha256=j3GL3TtNTkZpNLlksz0nJNCVDxYGUqfRqOt94Y-P8OE,58723
|
|
595
|
-
tccli_intl_en-3.0.
|
|
596
|
-
tccli_intl_en-3.0.
|
|
597
|
-
tccli_intl_en-3.0.
|
|
598
|
-
tccli_intl_en-3.0.
|
|
599
|
-
tccli_intl_en-3.0.
|
|
600
|
-
tccli_intl_en-3.0.
|
|
595
|
+
tccli_intl_en-3.0.1272.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
596
|
+
tccli_intl_en-3.0.1272.1.dist-info/METADATA,sha256=xoUMHdYHzldQp9ncWitskn02DNKMl19E9C3H9W7NiEc,3092
|
|
597
|
+
tccli_intl_en-3.0.1272.1.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
598
|
+
tccli_intl_en-3.0.1272.1.dist-info/entry_points.txt,sha256=68P7ZjqXFm4zPWf5RsAVabzbECUWYFB2VyUnnv8XgMI,86
|
|
599
|
+
tccli_intl_en-3.0.1272.1.dist-info/top_level.txt,sha256=gYFrQRE3IqZ_46Syp-vkVwwvNaYEtKcM4fE_C4Puomk,6
|
|
600
|
+
tccli_intl_en-3.0.1272.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|