tccli-intl-en 3.0.1237.1__py2.py3-none-any.whl → 3.0.1282.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 +17 -1
- tccli/services/advisor/advisor_client.py +8 -2
- tccli/services/aiart/aiart_client.py +4 -1
- tccli/services/ams/ams_client.py +16 -4
- tccli/services/antiddos/antiddos_client.py +280 -70
- tccli/services/apigateway/apigateway_client.py +372 -93
- tccli/services/apm/apm_client.py +52 -13
- tccli/services/asr/asr_client.py +8 -2
- tccli/services/autoscaling/autoscaling_client.py +232 -58
- tccli/services/autoscaling/v20180419/api.json +1 -1
- tccli/services/batch/batch_client.py +112 -28
- tccli/services/bi/bi_client.py +1242 -4
- tccli/services/bi/v20220105/api.json +5340 -107
- tccli/services/bi/v20220105/examples.json +196 -1
- tccli/services/billing/billing_client.py +168 -42
- tccli/services/cam/cam_client.py +324 -81
- tccli/services/captcha/captcha_client.py +4 -1
- tccli/services/car/car_client.py +132 -33
- tccli/services/cbs/cbs_client.py +152 -38
- tccli/services/ccc/ccc_client.py +732 -98
- tccli/services/ccc/v20200210/api.json +1727 -196
- tccli/services/ccc/v20200210/examples.json +64 -0
- tccli/services/cdb/cdb_client.py +532 -133
- tccli/services/cdc/cdc_client.py +80 -20
- tccli/services/cdc/v20201214/api.json +2 -2
- tccli/services/cdc/v20201214/examples.json +4 -4
- tccli/services/cdn/cdn_client.py +176 -44
- tccli/services/cdwdoris/cdwdoris_client.py +308 -77
- tccli/services/cdwpg/cdwpg_client.py +96 -24
- tccli/services/cdz/__init__.py +4 -0
- tccli/services/cdz/cdz_client.py +210 -0
- tccli/services/cdz/v20221123/api.json +233 -0
- tccli/services/cdz/v20221123/examples.json +12 -0
- tccli/services/cfg/cfg_client.py +64 -16
- tccli/services/cfs/cfs_client.py +156 -39
- tccli/services/cfw/cfw_client.py +264 -66
- tccli/services/chdfs/chdfs_client.py +116 -29
- tccli/services/ciam/ciam_client.py +64 -16
- tccli/services/ckafka/ckafka_client.py +575 -77
- tccli/services/ckafka/v20190819/api.json +2749 -1470
- tccli/services/ckafka/v20190819/examples.json +209 -155
- tccli/services/clb/clb_client.py +332 -83
- tccli/services/clb/v20180317/api.json +29 -14
- tccli/services/cloudaudit/cloudaudit_client.py +72 -18
- tccli/services/cls/cls_client.py +348 -87
- tccli/services/cmq/cmq_client.py +12 -801
- tccli/services/cmq/v20190304/api.json +173 -1367
- tccli/services/cmq/v20190304/examples.json +0 -120
- tccli/services/config/config_client.py +24 -6
- tccli/services/controlcenter/controlcenter_client.py +4 -1
- tccli/services/csip/csip_client.py +136 -34
- tccli/services/ctsdb/ctsdb_client.py +8 -2
- tccli/services/cvm/cvm_client.py +627 -110
- tccli/services/cvm/v20170312/api.json +750 -340
- tccli/services/cvm/v20170312/examples.json +105 -59
- tccli/services/cwp/cwp_client.py +1860 -465
- tccli/services/cynosdb/cynosdb_client.py +1749 -439
- tccli/services/cynosdb/v20190107/api.json +11763 -7697
- tccli/services/cynosdb/v20190107/examples.json +132 -4
- tccli/services/dataintegration/dataintegration_client.py +4 -1
- tccli/services/dayu/dayu_client.py +412 -103
- tccli/services/dbbrain/dbbrain_client.py +168 -42
- tccli/services/dc/dc_client.py +72 -18
- tccli/services/dcdb/dcdb_client.py +248 -62
- tccli/services/dlc/dlc_client.py +756 -111
- tccli/services/dlc/v20210125/api.json +637 -13
- tccli/services/dlc/v20210125/examples.json +48 -0
- tccli/services/dms/dms_client.py +8 -2
- tccli/services/dnspod/dnspod_client.py +353 -74
- tccli/services/dnspod/v20210323/api.json +196 -0
- tccli/services/dnspod/v20210323/examples.json +24 -0
- tccli/services/domain/domain_client.py +96 -24
- tccli/services/dts/dts_client.py +332 -83
- tccli/services/eb/eb_client.py +104 -26
- tccli/services/ecdn/ecdn_client.py +60 -15
- tccli/services/ecm/ecm_client.py +496 -124
- tccli/services/eiam/eiam_client.py +160 -40
- tccli/services/emr/emr_client.py +2784 -115
- tccli/services/emr/v20190103/api.json +14647 -4756
- tccli/services/emr/v20190103/examples.json +408 -40
- tccli/services/es/es_client.py +84 -21
- tccli/services/facefusion/facefusion_client.py +12 -3
- tccli/services/faceid/faceid_client.py +76 -19
- tccli/services/faceid/v20180301/api.json +79 -14
- tccli/services/faceid/v20180301/examples.json +3 -3
- tccli/services/gaap/gaap_client.py +352 -88
- tccli/services/gme/gme_client.py +40 -10
- tccli/services/gpm/gpm_client.py +72 -18
- tccli/services/gse/gse_client.py +88 -22
- tccli/services/gwlb/gwlb_client.py +72 -18
- tccli/services/iai/iai_client.py +116 -29
- tccli/services/iap/iap_client.py +24 -6
- tccli/services/ims/ims_client.py +4 -1
- tccli/services/intlpartnersmgt/intlpartnersmgt_client.py +168 -42
- tccli/services/intlpartnersmgt/v20220928/api.json +11 -11
- tccli/services/iotcloud/iotcloud_client.py +80 -20
- tccli/services/ip/ip_client.py +24 -6
- tccli/services/kms/kms_client.py +272 -68
- tccli/services/lcic/lcic_client.py +212 -53
- tccli/services/lighthouse/lighthouse_client.py +296 -74
- tccli/services/lighthouse/v20200324/api.json +14 -14
- tccli/services/lighthouse/v20200324/examples.json +5 -5
- tccli/services/live/live_client.py +480 -120
- tccli/services/lke/lke_client.py +360 -90
- tccli/services/lke/v20231130/api.json +182 -39
- tccli/services/lkeap/__init__.py +4 -0
- tccli/services/lkeap/lkeap_client.py +546 -0
- tccli/services/lkeap/v20240522/api.json +855 -0
- tccli/services/lkeap/v20240522/examples.json +72 -0
- tccli/services/mariadb/mariadb_client.py +200 -50
- tccli/services/mdc/mdc_client.py +72 -18
- tccli/services/mdl/mdl_client.py +132 -33
- tccli/services/mdl/v20200326/api.json +186 -12
- tccli/services/mdl/v20200326/examples.json +16 -16
- tccli/services/mdp/mdp_client.py +680 -70
- tccli/services/mdp/v20200527/api.json +748 -23
- tccli/services/mdp/v20200527/examples.json +143 -79
- tccli/services/message/__init__.py +4 -0
- tccli/services/message/message_client.py +210 -0
- tccli/services/message/v20181225/api.json +72 -0
- tccli/services/message/v20181225/examples.json +13 -0
- tccli/services/mongodb/mongodb_client.py +340 -29
- tccli/services/mongodb/v20190725/api.json +811 -226
- tccli/services/mongodb/v20190725/examples.json +54 -22
- tccli/services/monitor/monitor_client.py +864 -152
- tccli/services/monitor/v20180724/api.json +657 -8
- tccli/services/monitor/v20180724/examples.json +152 -4
- tccli/services/mps/mps_client.py +592 -92
- tccli/services/mps/v20190612/api.json +2931 -399
- tccli/services/mps/v20190612/examples.json +64 -14
- tccli/services/msp/msp_client.py +28 -7
- tccli/services/ocr/ocr_client.py +212 -45
- tccli/services/ocr/v20181119/api.json +872 -112
- tccli/services/ocr/v20181119/examples.json +12 -4
- tccli/services/omics/omics_client.py +80 -20
- tccli/services/organization/organization_client.py +464 -116
- tccli/services/postgres/postgres_client.py +364 -91
- tccli/services/postgres/v20170312/api.json +134 -109
- tccli/services/postgres/v20170312/examples.json +14 -14
- tccli/services/privatedns/privatedns_client.py +124 -31
- tccli/services/pts/pts_client.py +192 -48
- tccli/services/quota/__init__.py +4 -0
- tccli/services/quota/quota_client.py +434 -0
- tccli/services/quota/v20241204/api.json +548 -0
- tccli/services/quota/v20241204/examples.json +51 -0
- tccli/services/rce/rce_client.py +4 -1
- tccli/services/redis/redis_client.py +592 -106
- tccli/services/redis/v20180412/api.json +636 -240
- tccli/services/redis/v20180412/examples.json +98 -56
- tccli/services/region/region_client.py +12 -3
- tccli/services/rum/rum_client.py +240 -60
- tccli/services/scf/scf_client.py +168 -42
- tccli/services/ses/ses_client.py +116 -29
- tccli/services/sms/sms_client.py +72 -18
- tccli/services/sqlserver/sqlserver_client.py +3772 -387
- tccli/services/sqlserver/v20180328/api.json +9760 -3380
- tccli/services/sqlserver/v20180328/examples.json +478 -18
- tccli/services/ssl/ssl_client.py +152 -38
- tccli/services/ssm/ssm_client.py +96 -24
- tccli/services/sts/sts_client.py +20 -5
- tccli/services/tag/tag_client.py +120 -30
- tccli/services/tat/tat_client.py +76 -19
- tccli/services/tbaas/tbaas_client.py +16 -4
- tccli/services/tcaplusdb/tcaplusdb_client.py +208 -52
- tccli/services/tcaplusdb/v20190823/api.json +836 -760
- tccli/services/tcaplusdb/v20190823/examples.json +3 -3
- tccli/services/tchd/tchd_client.py +4 -1
- tccli/services/tcmpp/tcmpp_client.py +416 -104
- tccli/services/tcr/tcr_client.py +304 -76
- tccli/services/tcsas/tcsas_client.py +236 -59
- tccli/services/tcsas/v20250106/api.json +155 -79
- tccli/services/tcsas/v20250106/examples.json +3 -3
- tccli/services/tcss/tcss_client.py +1320 -330
- tccli/services/tdid/tdid_client.py +192 -48
- tccli/services/tdmq/tdmq_client.py +376 -94
- tccli/services/tem/tem_client.py +224 -56
- tccli/services/teo/teo_client.py +1127 -245
- tccli/services/teo/v20220901/api.json +382 -58
- tccli/services/teo/v20220901/examples.json +24 -0
- tccli/services/tione/__init__.py +4 -0
- tccli/services/tione/tione_client.py +210 -0
- tccli/services/tione/v20211111/api.json +3074 -0
- tccli/services/tione/v20211111/examples.json +12 -0
- tccli/services/tiw/tiw_client.py +204 -51
- tccli/services/tke/tke_client.py +552 -138
- tccli/services/tms/tms_client.py +4 -1
- tccli/services/tmt/tmt_client.py +4 -1
- tccli/services/trabbit/trabbit_client.py +116 -29
- tccli/services/trro/trro_client.py +76 -19
- tccli/services/trtc/trtc_client.py +420 -55
- tccli/services/trtc/v20190722/api.json +685 -23
- tccli/services/trtc/v20190722/examples.json +39 -7
- tccli/services/tts/tts_client.py +4 -1
- tccli/services/vclm/vclm_client.py +8 -2
- tccli/services/vm/vm_client.py +16 -4
- tccli/services/vod/v20180717/examples.json +1 -1
- tccli/services/vod/vod_client.py +716 -179
- tccli/services/vpc/v20170312/api.json +970 -75
- tccli/services/vpc/v20170312/examples.json +106 -10
- tccli/services/vpc/vpc_client.py +1876 -361
- tccli/services/waf/v20180125/api.json +1372 -194
- tccli/services/waf/v20180125/examples.json +89 -1
- tccli/services/waf/waf_client.py +1051 -147
- tccli/services/wedata/v20250806/api.json +13644 -0
- tccli/services/wedata/v20250806/examples.json +621 -0
- tccli/services/wedata/wedata_client.py +5830 -1026
- tccli/services/yunjing/yunjing_client.py +284 -71
- {tccli_intl_en-3.0.1237.1.dist-info → tccli_intl_en-3.0.1282.1.dist-info}/METADATA +4 -7
- {tccli_intl_en-3.0.1237.1.dist-info → tccli_intl_en-3.0.1282.1.dist-info}/RECORD +214 -192
- {tccli_intl_en-3.0.1237.1.dist-info → tccli_intl_en-3.0.1282.1.dist-info}/WHEEL +1 -1
- {tccli_intl_en-3.0.1237.1.dist-info → tccli_intl_en-3.0.1282.1.dist-info}/entry_points.txt +0 -1
- {tccli_intl_en-3.0.1237.1.dist-info → tccli_intl_en-3.0.1282.1.dist-info}/LICENSE +0 -0
- {tccli_intl_en-3.0.1237.1.dist-info → tccli_intl_en-3.0.1282.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,18 @@
|
|
|
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
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"DescribeDBInstanceNodeProperty": [
|
|
98
|
+
{
|
|
99
|
+
"document": "This example shows you how to query the detailed attributes of an instance node.",
|
|
100
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstanceNodeProperty\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-by909vwp\"\n}",
|
|
101
|
+
"output": "{\n \"Response\": {\n \"Mongos\": [\n {\n \"Address\": \"10.8.16.37:30000\",\n \"Hidden\": false,\n \"NodeName\": \"mongos-0\",\n \"Priority\": 0,\n \"ReplicateSetId\": \"\",\n \"Role\": \"MONGOS\",\n \"SlaveDelay\": 0,\n \"Status\": \"NORMAL\",\n \"Tags\": [\n {\n \"TagKey\": \"role-cmgo\",\n \"TagValue\": \"primary-secondary-group\"\n }\n ],\n \"Votes\": 0,\n \"Zone\": \"ap-guangzhou-3\",\n \"WanServiceAddress\": \"\"\n }\n ],\n \"ReplicateSets\": [\n {\n \"Nodes\": [\n {\n \"Address\": \"\",\n \"Hidden\": false,\n \"NodeName\": \"cmgo-by909vwp_0-node-slave0\",\n \"Priority\": 1,\n \"ReplicateSetId\": \"cmgo-by909vwp_0\",\n \"Role\": \"SECONDARY\",\n \"SlaveDelay\": 0,\n \"Status\": \"NORMAL\",\n \"WanServiceAddress\": \"\",\n \"Tags\": [\n {\n \"TagKey\": \"role-cmgo\",\n \"TagValue\": \"primary-secondary-group\"\n }\n ],\n \"Votes\": 1,\n \"Zone\": \"ap-guangzhou-3\"\n }\n ]\n },\n {\n \"Nodes\": [\n {\n \"Address\": \"\",\n \"Hidden\": false,\n \"NodeName\": \"cmgo-by909vwp_1-node-slave0\",\n \"Priority\": 1,\n \"ReplicateSetId\": \"cmgo-by909vwp_1\",\n \"Role\": \"SECONDARY\",\n \"SlaveDelay\": 0,\n \"Status\": \"NORMAL\",\n \"WanServiceAddress\": \"\",\n \"Tags\": [\n {\n \"TagKey\": \"role-cmgo\",\n \"TagValue\": \"primary-secondary-group\"\n }\n ],\n \"Votes\": 1,\n \"Zone\": \"ap-guangzhou-3\"\n },\n {\n \"Address\": \"\",\n \"Hidden\": false,\n \"NodeName\": \"cmgo-by909vwp_1-node-primary\",\n \"Priority\": 1,\n \"ReplicateSetId\": \"cmgo-by909vwp_1\",\n \"Role\": \"PRIMARY\",\n \"SlaveDelay\": 0,\n \"Status\": \"NORMAL\",\n \"WanServiceAddress\": \"\",\n \"Tags\": [\n {\n \"TagKey\": \"role-cmgo\",\n \"TagValue\": \"primary-secondary-group\"\n }\n ],\n \"Votes\": 1,\n \"Zone\": \"ap-guangzhou-3\"\n },\n {\n \"Address\": \"\",\n \"Hidden\": true,\n \"NodeName\": \"cmgo-by909vwp_1-node-slave1\",\n \"Priority\": 0,\n \"ReplicateSetId\": \"cmgo-by909vwp_1\",\n \"Role\": \"SECONDARY\",\n \"SlaveDelay\": 0,\n \"Status\": \"NORMAL\",\n \"WanServiceAddress\": \"\",\n \"Tags\": [\n {\n \"TagKey\": \"role-cmgo\",\n \"TagValue\": \"primary-secondary-group\"\n }\n ],\n \"Votes\": 1,\n \"Zone\": \"ap-guangzhou-3\"\n }\n ]\n }\n ],\n \"RequestId\": \"14ab088a-9d69-44b4-b39d-e4b8fbbb8f25\"\n }\n}",
|
|
102
|
+
"title": "Querying the Information on an Instance Node"
|
|
95
103
|
}
|
|
96
104
|
],
|
|
97
105
|
"DescribeDBInstances": [
|
|
@@ -102,6 +110,14 @@
|
|
|
102
110
|
"title": "Query Instance List"
|
|
103
111
|
}
|
|
104
112
|
],
|
|
113
|
+
"DescribeDetailedSlowLogs": [
|
|
114
|
+
{
|
|
115
|
+
"document": "",
|
|
116
|
+
"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}",
|
|
117
|
+
"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}",
|
|
118
|
+
"title": "Querying Slow Log Details"
|
|
119
|
+
}
|
|
120
|
+
],
|
|
105
121
|
"DescribeInstanceParams": [
|
|
106
122
|
{
|
|
107
123
|
"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 +130,23 @@
|
|
|
114
130
|
{
|
|
115
131
|
"document": "This example shows you how to query all security groups bound to the current instance.",
|
|
116
132
|
"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
|
|
133
|
+
"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}",
|
|
134
|
+
"title": "Querying an Instance Security Group"
|
|
119
135
|
}
|
|
120
136
|
],
|
|
121
137
|
"DescribeSlowLogPatterns": [
|
|
122
138
|
{
|
|
123
139
|
"document": " ",
|
|
124
|
-
"input": "https://mongodb.tencentcloudapi.com/?Action=DescribeSlowLogPatterns\n&InstanceId=cmgo-
|
|
140
|
+
"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
141
|
"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
|
|
142
|
+
"title": "Querying Database Slow Log Statistics Information"
|
|
127
143
|
}
|
|
128
144
|
],
|
|
129
145
|
"DescribeSlowLogs": [
|
|
130
146
|
{
|
|
131
147
|
"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}",
|
|
148
|
+
"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}",
|
|
149
|
+
"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
150
|
"title": "Obtaining the Slow Log Information on an Instance"
|
|
135
151
|
}
|
|
136
152
|
],
|
|
@@ -185,7 +201,7 @@
|
|
|
185
201
|
"ModifyDBInstanceNetworkAddress": [
|
|
186
202
|
{
|
|
187
203
|
"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-
|
|
204
|
+
"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
205
|
"output": "{\n \"Response\": {\n \"FlowId\": 1679402995,\n \"RequestId\": \"8279f6c2-db93-4b2e-931b-233d780b1a91\"\n }\n}",
|
|
190
206
|
"title": "Modifying the Network Information on a TencentDB for MongoDB Instance"
|
|
191
207
|
}
|
|
@@ -193,7 +209,7 @@
|
|
|
193
209
|
"ModifyDBInstanceSecurityGroup": [
|
|
194
210
|
{
|
|
195
211
|
"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-
|
|
212
|
+
"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
213
|
"output": "{\n \"Response\": {\n \"RequestId\": \"bc59fa05-d429-4bcf-863f-1f6f99295485\"\n }\n}",
|
|
198
214
|
"title": "Modifying the Security Group Information on an Instance"
|
|
199
215
|
}
|
|
@@ -213,7 +229,7 @@
|
|
|
213
229
|
},
|
|
214
230
|
{
|
|
215
231
|
"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-
|
|
232
|
+
"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
233
|
"output": "{\n \"Response\": {\n \"DealId\": \"7142863\",\n \"RequestId\": \"d88095e5-50e8-4245-a0cf-993a536f9b20\"\n }\n}",
|
|
218
234
|
"title": "Adding Secondary Nodes to a TencentDB for MongoDB Instance"
|
|
219
235
|
}
|
|
@@ -244,10 +260,26 @@
|
|
|
244
260
|
],
|
|
245
261
|
"ResetDBInstancePassword": [
|
|
246
262
|
{
|
|
247
|
-
"document": " ",
|
|
248
|
-
"input": "
|
|
263
|
+
"document": "This example shows you how to change the password of the user accessing the instance.",
|
|
264
|
+
"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
265
|
"output": "{\n \"Response\": {\n \"AsyncRequestId\": \"4769\",\n \"RequestId\": \"e600a8d0-9014-11ea-84c1-01cccde830c6\"\n }\n}",
|
|
250
|
-
"title": "
|
|
266
|
+
"title": "Changing the Password of the User Accessing the Instance"
|
|
267
|
+
}
|
|
268
|
+
],
|
|
269
|
+
"SetDBInstanceDeletionProtection": [
|
|
270
|
+
{
|
|
271
|
+
"document": "",
|
|
272
|
+
"input": "https://mongodb.tencentcloudapi.com/?Action=SetDBInstanceDeletionProtection\n&InstanceIds.0=cmgo-8l3r6yyt\n&EnableDeletionProtection=1\n&<Common request parameters>",
|
|
273
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"1d0d55f9-15ee-4f00-b460-7b645a62cc3a\"\n }\n}",
|
|
274
|
+
"title": "Setting Instance Termination Protection"
|
|
275
|
+
}
|
|
276
|
+
],
|
|
277
|
+
"TerminateDBInstances": [
|
|
278
|
+
{
|
|
279
|
+
"document": "",
|
|
280
|
+
"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}",
|
|
281
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"ccfe11c0-b1d3-11ea-8b51-552abe435100\"\n }\n}",
|
|
282
|
+
"title": "Return and Refund for Monthly Subscription Instance"
|
|
251
283
|
}
|
|
252
284
|
]
|
|
253
285
|
},
|