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
|
@@ -120,18 +120,18 @@
|
|
|
120
120
|
],
|
|
121
121
|
"CreateReplicationGroup": [
|
|
122
122
|
{
|
|
123
|
-
"document": "This example shows you how to create a replication group.",
|
|
123
|
+
"document": "This example shows you how to create a replication group instance.",
|
|
124
124
|
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateReplicationGroup\n<Common request parameters>\n\n{\n \"InstanceId\": \"crs-5qlr****\",\n \"GroupName\": \"name\"\n}",
|
|
125
|
-
"output": "{\n \"Response\": {\n \"TaskId\": 327,\n \"RequestId\": \"e546784b-709c-401d-aba6-73037eb4e522\"\n }\n}",
|
|
126
|
-
"title": "Request
|
|
125
|
+
"output": "{\n \"Response\": {\n \"TaskId\": 327,\n \"GroupId\": \"crs-repl-eewq*****\",\n \"RequestId\": \"e546784b-709c-401d-aba6-73037eb4e522\"\n }\n}",
|
|
126
|
+
"title": "Request Example"
|
|
127
127
|
}
|
|
128
128
|
],
|
|
129
129
|
"DeleteInstanceAccount": [
|
|
130
130
|
{
|
|
131
131
|
"document": " ",
|
|
132
|
-
"input": "https://redis.tencentcloudapi.com/?Action=DeleteInstanceAccount\n&InstanceId=crs-5a4py64p\n&AccountName=
|
|
132
|
+
"input": "https://redis.tencentcloudapi.com/?Action=DeleteInstanceAccount\n&InstanceId=crs-5a4py64p\n&AccountName=example_account\n&<Common request parameters>",
|
|
133
133
|
"output": "{\n \"Response\": {\n \"TaskId\": 123456,\n \"RequestId\": \"0e728fa9-c2e5-4bf8-8d6b-c1c4fab7b6db\"\n }\n}",
|
|
134
|
-
"title": "
|
|
134
|
+
"title": "Request Example"
|
|
135
135
|
}
|
|
136
136
|
],
|
|
137
137
|
"DeleteParamTemplate": [
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
{
|
|
179
179
|
"document": "This example shows you how to query the download address for RDB files through this API.",
|
|
180
180
|
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBackupUrl\n<Common request parameters>\n\n{\n \"InstanceId\": \"crs-4y9t57vt\",\n \"BackupId\": \"678362566696298532848117\"\n}",
|
|
181
|
-
"output": "{\n \"Response\": {\n \"Filenames\": [\n \"9527208-4633789-redis-server-4.0.8-1001463-ignore-1-ignore.rdb\",\n \"9527208-4633789-redis-server-4.0.8-1001463-ignore-2-ignore.rdb\",\n \"9527208-4633789-redis-server-4.0.8-1001463-ignore-3-ignore.rdb\",\n \"9527208-4633789-redis-server-4.0.8-1001463-ignore-4-ignore.rdb\",\n \"9527208-4633789-redis-server-4.0.8-1001463-ignore-5-ignore.rdb\"\n ],\n \"DownloadUrl\": [\n \"https://redis-database-backup-1251937656.cos.ap-chengdu.myqcloud.com/251005863/redis/1001463/data/2019-03-07/-9527208-4633789-redis-server-4.0.8-1001463-ignore-1-ignore.rdb?sign=q-sign-algorithm%3Dsha1%26q-ak%3D************************************%26q-sign-time%3D1551952863%3B1551974523%26q-key-time%3D1551952863%3B1551974523%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3D28cc6edebf7f9d8e34aa3daf19d30ec521c03b5b\",\n \"https://redis-database-backup-1251937656.cos.ap-chengdu.myqcloud.com/251005863/redis/1001463/data/2019-03-07/-9527208-4633789-redis-server-4.0.8-1001463-ignore-2-ignore.rdb?sign=q-sign-algorithm%3Dsha1%26q-ak%3D************************************%26q-sign-time%3D1551952863%3B1551974523%26q-key-time%3D1551952863%3B1551974523%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3D2b081fdb65c591f8e000ed55625af24049b15795\",\n \"https://redis-database-backup-1251937656.cos.ap-chengdu.myqcloud.com/251005863/redis/1001463/data/2019-03-07/-9527208-4633789-redis-server-4.0.8-1001463-ignore-3-ignore.rdb?sign=q-sign-algorithm%3Dsha1%26q-ak%3D************************************%26q-sign-time%3D1551952864%3B1551974524%26q-key-time%3D1551952864%3B1551974524%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3D87eda5611679fb9bc2529631ae97b218317e9598\",\n \"https://redis-database-backup-1251937656.cos.ap-chengdu.myqcloud.com/251005863/redis/1001463/data/2019-03-07/-9527208-4633789-redis-server-4.0.8-1001463-ignore-4-ignore.rdb?sign=q-sign-algorithm%3Dsha1%26q-ak%3D************************************%26q-sign-time%3D1551952864%3B1551974524%26q-key-time%3D1551952864%3B1551974524%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3Db17a8297bf5637f0ce7ddb970ffd566b484a5063\",\n \"https://redis-database-backup-1251937656.cos.ap-chengdu.myqcloud.com/251005863/redis/1001463/data/2019-03-07/-9527208-4633789-redis-server-4.0.8-1001463-ignore-5-ignore.rdb?sign=q-sign-algorithm%3Dsha1%26q-ak%3D************************************%26q-sign-time%3D1551952865%3B1551974525%26q-key-time%3D1551952865%3B1551974525%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3De69f614cffd54c1be7d609e05d20be15eb82fc13\"\n ],\n \"InnerDownloadUrl\": [\n \"https://redis-database-backup-1251937656.cos.ap-chengdu.myqcloud.com/251005863/redis/1001463/data/2019-03-07/-9527208-4633789-redis-server-4.0.8-1001463-ignore-1-ignore.rdb?sign=q-sign-algorithm%3Dsha1%26q-ak%3D************************************%26q-sign-time%3D1551952863%3B1551974523%26q-key-time%3D1551952863%3B1551974523%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3D28cc6edebf7f9d8e34aa3daf19d30ec521c03b5b\",\n \"https://redis-database-backup-1251937656.cos.ap-chengdu.myqcloud.com/251005863/redis/1001463/data/2019-03-07/-9527208-4633789-redis-server-4.0.8-1001463-ignore-2-ignore.rdb?sign=q-sign-algorithm%3Dsha1%26q-ak%3D************************************%26q-sign-time%3D1551952863%3B1551974523%26q-key-time%3D1551952863%3B1551974523%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3D2b081fdb65c591f8e000ed55625af24049b15795\",\n \"https://redis-database-backup-1251937656.cos.ap-chengdu.myqcloud.com/251005863/redis/1001463/data/2019-03-07/-9527208-4633789-redis-server-4.0.8-1001463-ignore-3-ignore.rdb?sign=q-sign-algorithm%3Dsha1%26q-ak%3D************************************%26q-sign-time%3D1551952864%3B1551974524%26q-key-time%3D1551952864%3B1551974524%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3D87eda5611679fb9bc2529631ae97b218317e9598\",\n \"https://redis-database-backup-1251937656.cos.ap-chengdu.myqcloud.com/251005863/redis/1001463/data/2019-03-07/-9527208-4633789-redis-server-4.0.8-1001463-ignore-4-ignore.rdb?sign=q-sign-algorithm%3Dsha1%26q-ak%3D************************************%26q-sign-time%3D1551952864%3B1551974524%26q-key-time%3D1551952864%3B1551974524%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3Db17a8297bf5637f0ce7ddb970ffd566b484a5063\",\n \"https://redis-database-backup-1251937656.cos.ap-chengdu.myqcloud.com/251005863/redis/1001463/data/2019-03-07/-9527208-4633789-redis-server-4.0.8-1001463-ignore-5-ignore.rdb?sign=q-sign-algorithm%3Dsha1%26q-ak%3D************************************%26q-sign-time%3D1551952865%3B1551974525%26q-key-time%3D1551952865%3B1551974525%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3De69f614cffd54c1be7d609e05d20be15eb82fc13\"\n ],\n \"BackupInfos\": [\n {\n \"FileName\": \"9527208-4633789-redis-server-4.0.8-1001463-ignore-1-ignore.rdb\",\n \"FileSize\": 1264547,\n \"DownloadUrl\": \"https://redis-database-backup-1251937656.cos.ap-chengdu.myqcloud.com/251005863/redis/1001463/data/2019-03-07/-9527208-4633789-redis-server-4.0.8-1001463-ignore-1-ignore.rdb?sign=q-sign-algorithm%3Dsha1%26q-ak%3D************************************%26q-sign-time%3D1551952863%3B1551974523%26q-key-time%3D1551952863%3B1551974523%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3D28cc6edebf7f9d8e34aa3daf19d30ec521c03b5b\",\n \"InnerDownloadUrl\": \"https://redis-database-backup-1251937656.cos.ap-chengdu.myqcloud.com/251005863/redis/1001463/data/2019-03-07/-9527208-4633789-redis-server-4.0.8-1001463-ignore-1-ignore.rdb?sign=q-sign-algorithm%3Dsha1%26q-ak%3D************************************%26q-sign-time%3D1551952863%3B1551974523%26q-key-time%3D1551952863%3B1551974523%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3D28cc6edebf7f9d8e34aa3daf19d30ec521c03b5b\"\n },\n {\n \"FileName\": \"9527208-4633789-redis-server-4.0.8-1001463-ignore-2-ignore.rdb\",\n \"FileSize\": 1278586,\n \"DownloadUrl\": \"https://redis-database-backup-1251937656.cos.ap-chengdu.myqcloud.com/251005863/redis/1001463/data/2019-03-07/-9527208-4633789-redis-server-4.0.8-1001463-ignore-2-ignore.rdb?sign=q-sign-algorithm%3Dsha1%26q-ak%3D************************************%26q-sign-time%3D1551952863%3B1551974523%26q-key-time%3D1551952863%3B1551974523%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3D2b081fdb65c591f8e000ed55625af24049b15795\",\n \"InnerDownloadUrl\": \"https://redis-database-backup-1251937656.cos.ap-chengdu.myqcloud.com/251005863/redis/1001463/data/2019-03-07/-9527208-4633789-redis-server-4.0.8-1001463-ignore-2-ignore.rdb?sign=q-sign-algorithm%3Dsha1%26q-ak%3D************************************%26q-sign-time%3D1551952863%3B1551974523%26q-key-time%3D1551952863%3B1551974523%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3D2b081fdb65c591f8e000ed55625af24049b15795\"\n },\n {\n \"FileName\": \"9527208-4633789-redis-server-4.0.8-1001463-ignore-3-ignore.rdb\",\n \"FileSize\": 1467647,\n \"DownloadUrl\": \"https://redis-database-backup-1251937656.cos.ap-chengdu.myqcloud.com/251005863/redis/1001463/data/2019-03-07/-9527208-4633789-redis-server-4.0.8-1001463-ignore-3-ignore.rdb?sign=q-sign-algorithm%3Dsha1%26q-ak%3D************************************%26q-sign-time%3D1551952864%3B1551974524%26q-key-time%3D1551952864%3B1551974524%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3D87eda5611679fb9bc2529631ae97b218317e9598\",\n \"InnerDownloadUrl\": \"https://redis-database-backup-1251937656.cos.ap-chengdu.myqcloud.com/251005863/redis/1001463/data/2019-03-07/-9527208-4633789-redis-server-4.0.8-1001463-ignore-3-ignore.rdb?sign=q-sign-algorithm%3Dsha1%26q-ak%3D************************************%26q-sign-time%3D1551952864%3B1551974524%26q-key-time%3D1551952864%3B1551974524%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3D87eda5611679fb9bc2529631ae97b218317e9598\"\n },\n {\n \"FileName\": \"9527208-4633789-redis-server-4.0.8-1001463-ignore-4-ignore.rdb\",\n \"FileSize\": 1264987,\n \"DownloadUrl\": \"https://redis-database-backup-1251937656.cos.ap-chengdu.myqcloud.com/251005863/redis/1001463/data/2019-03-07/-9527208-4633789-redis-server-4.0.8-1001463-ignore-4-ignore.rdb?sign=q-sign-algorithm%3Dsha1%26q-ak%3D************************************g%26q-sign-time%3D1551952864%3B1551974524%26q-key-time%3D1551952864%3B1551974524%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3Db17a8297bf5637f0ce7ddb970ffd566b484a5063\",\n \"InnerDownloadUrl\": \"https://redis-database-backup-1251937656.cos.ap-chengdu.myqcloud.com/251005863/redis/1001463/data/2019-03-07/-9527208-4633789-redis-server-4.0.8-1001463-ignore-4-ignore.rdb?sign=q-sign-algorithm%3Dsha1%26q-ak%3D************************************%26q-sign-time%3D1551952864%3B1551974524%26q-key-time%3D1551952864%3B1551974524%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3Db17a8297bf5637f0ce7ddb970ffd566b484a5063\"\n },\n {\n \"FileName\": \"9527208-4633789-redis-server-4.0.8-1001463-ignore-5-ignore.rdb\",\n \"FileSize\": 1268499,\n \"DownloadUrl\": \"https://redis-database-backup-1251937656.cos.ap-chengdu.myqcloud.com/251005863/redis/1001463/data/2019-03-07/-9527208-4633789-redis-server-4.0.8-1001463-ignore-5-ignore.rdb?sign=q-sign-algorithm%3Dsha1%26q-ak%3D************************************%26q-sign-time%3D1551952865%3B1551974525%26q-key-time%3D1551952865%3B1551974525%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3De69f614cffd54c1be7d609e05d20be15eb82fc13\",\n \"InnerDownloadUrl\": \"https://redis-database-backup-1251937656.cos.ap-chengdu.myqcloud.com/251005863/redis/1001463/data/2019-03-07/-9527208-4633789-redis-server-4.0.8-1001463-ignore-5-ignore.rdb?sign=q-sign-algorithm%3Dsha1%26q-ak%3D************************************%26q-sign-time%3D1551952865%3B1551974525%26q-key-time%3D1551952865%3B1551974525%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3De69f614cffd54c1be7d609e05d20be15eb82fc13\"\n }\n ],\n \"RequestId\": \"f1b5aabe-806a-4886-b839-9907baa24c85\"\n }\n}",
|
|
181
|
+
"output": "{\n \"Response\": {\n \"BackupInfos\": [\n {\n \"FileName\": \"9527208-4633789-redis-server-4.0.8-1001463-ignore-1-ignore.rdb\",\n \"FileSize\": 1264547,\n \"DownloadUrl\": \"https://redis-database-backup-1251937656.cos.ap-chengdu.myqcloud.com/251005863/redis/1001463/data/2019-03-07/-9527208-4633789-redis-server-4.0.8-1001463-ignore-1-ignore.rdb?sign=q-sign-algorithm%3Dsha1%26q-ak%3D************************************%26q-sign-time%3D1551952863%3B1551974523%26q-key-time%3D1551952863%3B1551974523%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3D28cc6edebf7f9d8e34aa3daf19d30ec521c03b5b\",\n \"InnerDownloadUrl\": \"https://redis-database-backup-1251937656.cos.ap-chengdu.myqcloud.com/251005863/redis/1001463/data/2019-03-07/-9527208-4633789-redis-server-4.0.8-1001463-ignore-1-ignore.rdb?sign=q-sign-algorithm%3Dsha1%26q-ak%3D************************************%26q-sign-time%3D1551952863%3B1551974523%26q-key-time%3D1551952863%3B1551974523%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3D28cc6edebf7f9d8e34aa3daf19d30ec521c03b5b\"\n },\n {\n \"FileName\": \"9527208-4633789-redis-server-4.0.8-1001463-ignore-2-ignore.rdb\",\n \"FileSize\": 1278586,\n \"DownloadUrl\": \"https://redis-database-backup-1251937656.cos.ap-chengdu.myqcloud.com/251005863/redis/1001463/data/2019-03-07/-9527208-4633789-redis-server-4.0.8-1001463-ignore-2-ignore.rdb?sign=q-sign-algorithm%3Dsha1%26q-ak%3D************************************%26q-sign-time%3D1551952863%3B1551974523%26q-key-time%3D1551952863%3B1551974523%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3D2b081fdb65c591f8e000ed55625af24049b15795\",\n \"InnerDownloadUrl\": \"https://redis-database-backup-1251937656.cos.ap-chengdu.myqcloud.com/251005863/redis/1001463/data/2019-03-07/-9527208-4633789-redis-server-4.0.8-1001463-ignore-2-ignore.rdb?sign=q-sign-algorithm%3Dsha1%26q-ak%3D************************************%26q-sign-time%3D1551952863%3B1551974523%26q-key-time%3D1551952863%3B1551974523%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3D2b081fdb65c591f8e000ed55625af24049b15795\"\n },\n {\n \"FileName\": \"9527208-4633789-redis-server-4.0.8-1001463-ignore-3-ignore.rdb\",\n \"FileSize\": 1467647,\n \"DownloadUrl\": \"https://redis-database-backup-1251937656.cos.ap-chengdu.myqcloud.com/251005863/redis/1001463/data/2019-03-07/-9527208-4633789-redis-server-4.0.8-1001463-ignore-3-ignore.rdb?sign=q-sign-algorithm%3Dsha1%26q-ak%3D************************************%26q-sign-time%3D1551952864%3B1551974524%26q-key-time%3D1551952864%3B1551974524%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3D87eda5611679fb9bc2529631ae97b218317e9598\",\n \"InnerDownloadUrl\": \"https://redis-database-backup-1251937656.cos.ap-chengdu.myqcloud.com/251005863/redis/1001463/data/2019-03-07/-9527208-4633789-redis-server-4.0.8-1001463-ignore-3-ignore.rdb?sign=q-sign-algorithm%3Dsha1%26q-ak%3D************************************%26q-sign-time%3D1551952864%3B1551974524%26q-key-time%3D1551952864%3B1551974524%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3D87eda5611679fb9bc2529631ae97b218317e9598\"\n },\n {\n \"FileName\": \"9527208-4633789-redis-server-4.0.8-1001463-ignore-4-ignore.rdb\",\n \"FileSize\": 1264987,\n \"DownloadUrl\": \"https://redis-database-backup-1251937656.cos.ap-chengdu.myqcloud.com/251005863/redis/1001463/data/2019-03-07/-9527208-4633789-redis-server-4.0.8-1001463-ignore-4-ignore.rdb?sign=q-sign-algorithm%3Dsha1%26q-ak%3D************************************g%26q-sign-time%3D1551952864%3B1551974524%26q-key-time%3D1551952864%3B1551974524%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3Db17a8297bf5637f0ce7ddb970ffd566b484a5063\",\n \"InnerDownloadUrl\": \"https://redis-database-backup-1251937656.cos.ap-chengdu.myqcloud.com/251005863/redis/1001463/data/2019-03-07/-9527208-4633789-redis-server-4.0.8-1001463-ignore-4-ignore.rdb?sign=q-sign-algorithm%3Dsha1%26q-ak%3D************************************%26q-sign-time%3D1551952864%3B1551974524%26q-key-time%3D1551952864%3B1551974524%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3Db17a8297bf5637f0ce7ddb970ffd566b484a5063\"\n },\n {\n \"FileName\": \"9527208-4633789-redis-server-4.0.8-1001463-ignore-5-ignore.rdb\",\n \"FileSize\": 1268499,\n \"DownloadUrl\": \"https://redis-database-backup-1251937656.cos.ap-chengdu.myqcloud.com/251005863/redis/1001463/data/2019-03-07/-9527208-4633789-redis-server-4.0.8-1001463-ignore-5-ignore.rdb?sign=q-sign-algorithm%3Dsha1%26q-ak%3D************************************%26q-sign-time%3D1551952865%3B1551974525%26q-key-time%3D1551952865%3B1551974525%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3De69f614cffd54c1be7d609e05d20be15eb82fc13\",\n \"InnerDownloadUrl\": \"https://redis-database-backup-1251937656.cos.ap-chengdu.myqcloud.com/251005863/redis/1001463/data/2019-03-07/-9527208-4633789-redis-server-4.0.8-1001463-ignore-5-ignore.rdb?sign=q-sign-algorithm%3Dsha1%26q-ak%3D************************************%26q-sign-time%3D1551952865%3B1551974525%26q-key-time%3D1551952865%3B1551974525%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3De69f614cffd54c1be7d609e05d20be15eb82fc13\"\n }\n ],\n \"RequestId\": \"f1b5aabe-806a-4886-b839-9907baa24c85\"\n }\n}",
|
|
182
182
|
"title": "Querying the Download Address for RDB Files"
|
|
183
183
|
}
|
|
184
184
|
],
|
|
@@ -192,10 +192,10 @@
|
|
|
192
192
|
],
|
|
193
193
|
"DescribeCommonDBInstances": [
|
|
194
194
|
{
|
|
195
|
-
"document": "
|
|
196
|
-
"input": "https://redis.tencentcloudapi.com/?Action=DescribeCommonDBInstances&PayMode=0&InstanceIds.0=crs-
|
|
197
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"InstanceDetails\": [\n {\n \"
|
|
198
|
-
"title": "
|
|
195
|
+
"document": "This example shows you how to deprecate the API. ",
|
|
196
|
+
"input": "https://redis.tencentcloudapi.com/?Action=DescribeCommonDBInstances\n&PayMode=0\n&InstanceIds.0=crs-xjhsdj****\n&<Common request parameters>",
|
|
197
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"InstanceDetails\": [\n {\n \"AppId\": 1251111111,\n \"Createtime\": \"2022-06-13 21:41:40\",\n \"InstanceId\": \"crs-xjhsdj****\",\n \"InstanceName\": \"dba-stag\",\n \"NetType\": 1,\n \"PayMode\": 1,\n \"ProjectId\": 0,\n \"Region\": \"ap-beijing\",\n \"Status\": \"2\",\n \"SubnetId\": \"unknown-unSubnetId\",\n \"Vips\": [\n \"10.76.128.10\"\n ],\n \"VpcId\": \"unknown-unVpcId\",\n \"Vport\": 6379,\n \"Zone\": \"ap-beijing-1\"\n }\n ],\n \"RequestId\": \"fc4a37f4-b27d-4aaf-9661-8212c9dabmclnvXXX\"\n }\n}",
|
|
198
|
+
"title": "Request Example"
|
|
199
199
|
}
|
|
200
200
|
],
|
|
201
201
|
"DescribeDBSecurityGroups": [
|
|
@@ -224,10 +224,10 @@
|
|
|
224
224
|
],
|
|
225
225
|
"DescribeInstanceBackups": [
|
|
226
226
|
{
|
|
227
|
-
"document": "This example shows you how to query the backup list of the
|
|
228
|
-
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceBackups\n<Common request parameters>\n\n{\n \"Status\": [\n
|
|
229
|
-
"output": "{\n \"Response\": {\n \"BackupSet\": [\n {\n \"BackupId\": \"154572601-1165734322-153731238\",\n \"BackupSize\": 191,\n \"BackupType\": \"0\",\n \"EndTime\": \"2022-12-23 16:25:18\",\n \"ExpireTime\": \"2022-12-30 16:24:41\",\n \"FileType\": \"RDB-Redis 4.0\",\n \"FullBackup\": 0,\n \"InstanceId\": \"crs-c7nuafdt\",\n \"InstanceName\": \"Backup test
|
|
230
|
-
"title": "
|
|
227
|
+
"document": "This example shows you how to query the backup list of the crs-c7nuafdt instance through this API.",
|
|
228
|
+
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceBackups\n<Common request parameters>\n\n{\n \"Status\": [\n 2\n ],\n \"InstanceId\": \"crs-c7nuafdt\",\n \"Limit\": 10,\n \"Offset\": 0\n}",
|
|
229
|
+
"output": "{\n \"Response\": {\n \"BackupSet\": [\n {\n \"BackupId\": \"154572601-1165734322-153731238\",\n \"BackupSize\": 191,\n \"BackupType\": \"0\",\n \"EndTime\": \"2022-12-23 16:25:18\",\n \"ExpireTime\": \"2022-12-30 16:24:41\",\n \"FileType\": \"RDB-Redis 4.0\",\n \"FullBackup\": 0,\n \"InstanceId\": \"crs-c7nuafdt\",\n \"InstanceName\": \"Backup test.\",\n \"InstanceType\": 6,\n \"Locked\": 0,\n \"Region\": \"ap-guangzhou\",\n \"Remark\": \"test001\",\n \"StartTime\": \"2022-12-23 16:24:41\",\n \"Status\": 2\n }\n ],\n \"RequestId\": \"2a95bfa4-ac8c-43cd-b7b1-5a93817d8de2\",\n \"TotalCount\": 1\n }\n}",
|
|
230
|
+
"title": "Example 1"
|
|
231
231
|
}
|
|
232
232
|
],
|
|
233
233
|
"DescribeInstanceDTSInfo": [
|
|
@@ -264,10 +264,10 @@
|
|
|
264
264
|
],
|
|
265
265
|
"DescribeInstanceMonitorBigKey": [
|
|
266
266
|
{
|
|
267
|
-
"document": "
|
|
268
|
-
"input": "POST / HTTP/1.
|
|
269
|
-
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"DB\": 0,\n \"Key\": \"
|
|
270
|
-
"title": "
|
|
267
|
+
"document": "This example shows you how to query a request example. ",
|
|
268
|
+
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceMonitorBigKey\n<Common request parameters>\n\n{\n \"InstanceId\": \"crs-5a4py64p\",\n \"Date\": \"20191101\",\n \"ReqType\": \"1\"\n}",
|
|
269
|
+
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"DB\": 0,\n \"Key\": \"exapmle_key\",\n \"Type\": \"exapmle_type\",\n \"Size\": 0,\n \"Updatetime\": 0\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
|
270
|
+
"title": "Request Example"
|
|
271
271
|
}
|
|
272
272
|
],
|
|
273
273
|
"DescribeInstanceMonitorBigKeySizeDist": [
|
|
@@ -394,8 +394,8 @@
|
|
|
394
394
|
{
|
|
395
395
|
"document": "This example shows you how to query the list of Redis instances.",
|
|
396
396
|
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<Common request parameters>\n\n{\n \"Limit\": 2,\n \"Offset\": 0,\n \"OrderBy\": \"createtime \"\n}",
|
|
397
|
-
"output": "{\n \"Response\": {\n \"InstanceSet\": [\n {\n \"Appid\": 251223628,\n \"AutoRenewFlag\": 0,\n \"BillingMode\": 1,\n \"ClientLimit\": 10000,\n \"ClientLimitMax\": 40000,\n \"ClientLimitMin\": 10000,\n \"CloseTime\": \"0000-00-00 00:00:00\",\n \"Createtime\": \"2023-04-17 11:32:18\",\n \"CurrentProxyVersion\": \"5.8.0\",\n \"CurrentRedisVersion\": \"6.0.0\",\n \"DeadlineTime\": \"2023-05-17 11:32:18\",\n \"DedicatedClusterId\": \"\",\n \"DiskSize\": 0,\n \"DtsStatus\": 0,\n \"Engine\": \"Redis\",\n \"InstanceId\": \"crs-4nmzc0ul\",\n \"InstanceName\": \"Redis_automation_is_awesome\",\n \"InstanceNode\": [],\n \"InstanceTags\": [],\n \"InstanceTitle\": \"Adding an
|
|
398
|
-
"title": "Request
|
|
397
|
+
"output": "{\n \"Response\": {\n \"InstanceSet\": [\n {\n \"Appid\": 251223628,\n \"AutoRenewFlag\": 0,\n \"BillingMode\": 1,\n \"ClientLimit\": 10000,\n \"ClientLimitMax\": 40000,\n \"ClientLimitMin\": 10000,\n \"CloseTime\": \"0000-00-00 00:00:00\",\n \"Createtime\": \"2023-04-17 11:32:18\",\n \"CurrentProxyVersion\": \"5.8.0\",\n \"CurrentRedisVersion\": \"6.0.0\",\n \"DeadlineTime\": \"2023-05-17 11:32:18\",\n \"DedicatedClusterId\": \"\",\n \"DiskSize\": 0,\n \"DtsStatus\": 0,\n \"Engine\": \"Redis\",\n \"InstanceId\": \"crs-4nmzc0ul\",\n \"InstanceName\": \"Redis_automation_is_awesome\",\n \"InstanceNode\": [],\n \"InstanceTags\": [],\n \"InstanceTitle\": \"Adding an instance\",\n \"MonitorVersion\": \"5s\",\n \"NetLimit\": 24,\n \"NoAuth\": false,\n \"NodeSet\": [\n {\n \"NodeId\": 336948,\n \"NodeType\": 0,\n \"ZoneId\": 100002,\n \"ZoneName\": \"\"\n },\n {\n \"NodeId\": 336946,\n \"NodeType\": 1,\n \"ZoneId\": 100003,\n \"ZoneName\": \"\"\n },\n {\n \"NodeId\": 336947,\n \"NodeType\": 1,\n \"ZoneId\": 100004,\n \"ZoneName\": \"\"\n }\n ],\n \"OfflineTime\": \"\",\n \"PasswordFree\": 0,\n \"PolarisServer\": \"\",\n \"Port\": 6379,\n \"PriceId\": 1000848,\n \"ProductType\": \"standalone\",\n \"ProductVersion\": \"local\",\n \"ProjectId\": 0,\n \"ProjectName\": \"Default project\",\n \"ReadOnly\": 0,\n \"RedisClusterId\": \"\",\n \"RedisReplicasNum\": 2,\n \"RedisShardNum\": 1,\n \"RedisShardSize\": 4096,\n \"Region\": \"ap-guangzhou\",\n \"RegionId\": 1,\n \"RemainBandwidthDuration\": \"\",\n \"Size\": 4096,\n \"SlaveReadWeight\": 0,\n \"Status\": 1,\n \"SubStatus\": 37,\n \"SubnetId\": 2282634,\n \"Tags\": [],\n \"Type\": 15,\n \"UniqSubnetId\": \"subnet-1ed4w7to\",\n \"UniqVpcId\": \"vpc-mjwornzj\",\n \"UpgradeProxyVersion\": \"\",\n \"UpgradeRedisVersion\": \"\",\n \"Vip6\": \"\",\n \"VpcId\": 11133673,\n \"WanAddress\": \"\",\n \"WanIp\": \"10.0.1.61\",\n \"ZoneId\": 100002\n },\n {\n \"Appid\": 251223628,\n \"AutoRenewFlag\": 0,\n \"BillingMode\": 1,\n \"ClientLimit\": 10000,\n \"ClientLimitMax\": 40000,\n \"ClientLimitMin\": 10000,\n \"CloseTime\": \"0000-00-00 00:00:00\",\n \"Createtime\": \"2023-04-17 11:47:02\",\n \"CurrentProxyVersion\": \"5.5.0\",\n \"CurrentRedisVersion\": \"92.0.0\",\n \"DeadlineTime\": \"2023-05-17 11:47:01\",\n \"DedicatedClusterId\": \"\",\n \"DiskSize\": 0,\n \"DtsStatus\": 0,\n \"Engine\": \"Redis\",\n \"InstanceId\": \"crs-46njvft9\",\n \"InstanceName\": \"Redis_automation_is_awesome\",\n \"InstanceNode\": [],\n \"InstanceTags\": [],\n \"InstanceTitle\": \"Running\",\n \"MonitorVersion\": \"5s\",\n \"NetLimit\": 24,\n \"NoAuth\": false,\n \"NodeSet\": [\n {\n \"NodeId\": 336951,\n \"NodeType\": 0,\n \"ZoneId\": 100002,\n \"ZoneName\": \"\"\n },\n {\n \"NodeId\": 336949,\n \"NodeType\": 1,\n \"ZoneId\": 100003,\n \"ZoneName\": \"\"\n },\n {\n \"NodeId\": 336950,\n \"NodeType\": 1,\n \"ZoneId\": 100004,\n \"ZoneName\": \"\"\n }\n ],\n \"OfflineTime\": \"\",\n \"PasswordFree\": 0,\n \"PolarisServer\": \"\",\n \"Port\": 6379,\n \"PriceId\": 1000848,\n \"ProductType\": \"standalone\",\n \"ProductVersion\": \"local\",\n \"ProjectId\": 0,\n \"ProjectName\": \"Default project\",\n \"ReadOnly\": 0,\n \"RedisClusterId\": \"\",\n \"RedisReplicasNum\": 2,\n \"RedisShardNum\": 1,\n \"RedisShardSize\": 4096,\n \"Region\": \"ap-guangzhou\",\n \"RegionId\": 1,\n \"RemainBandwidthDuration\": \"\",\n \"Size\": 4096,\n \"SizeUsed\": 0,\n \"SlaveReadWeight\": 0,\n \"Status\": 2,\n \"SubStatus\": 19,\n \"SubnetId\": 2282634,\n \"Tags\": [],\n \"Type\": 6,\n \"UniqSubnetId\": \"subnet-1ed4w7to\",\n \"UniqVpcId\": \"vpc-mjwornzj\",\n \"UpgradeProxyVersion\": \"\",\n \"UpgradeRedisVersion\": \"\",\n \"Vip6\": \"\",\n \"VpcId\": 11133673,\n \"WanAddress\": \"\",\n \"WanIp\": \"10.0.1.71\",\n \"ZoneId\": 100002\n }\n ],\n \"RequestId\": \"3fb5a4d2-680c-45a2-aa88-0213b76d1489\",\n \"TotalCount\": 8\n }\n}",
|
|
398
|
+
"title": "Request Example"
|
|
399
399
|
}
|
|
400
400
|
],
|
|
401
401
|
"DescribeMaintenanceWindow": [
|
|
@@ -408,10 +408,10 @@
|
|
|
408
408
|
],
|
|
409
409
|
"DescribeParamTemplateInfo": [
|
|
410
410
|
{
|
|
411
|
-
"document": "This example shows you how to query the template information by
|
|
411
|
+
"document": "This example shows you how to query the template information by specifying a parameter template ID.",
|
|
412
412
|
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeParamTemplateInfo\n<Common request parameters>\n\n{\n \"TemplateId\": \"crs-cfg-7mgt****\"\n}",
|
|
413
|
-
"output": "{\n \"Response\": {\n \"Description\": \"MyCustomParamTemplate\",\n \"Items\": [\n {\n \"CurrentValue\": \"\",\n \"Default\": \"
|
|
414
|
-
"title": "Querying
|
|
413
|
+
"output": "{\n \"Response\": {\n \"Description\": \"MyCustomParamTemplate\",\n \"Items\": [\n {\n \"CurrentValue\": \"flushall\",\n \"Default\": \"param_default_value\",\n \"Description\": \"commands in such config will not be allowed to run in this instance,you can config multi commands like this 'flushdb,keys'\",\n \"EnumValue\": [\n \"flushall\",\n \"flushdb\",\n \"keys\",\n \"hgetall\",\n \"eval\",\n \"evalsha\",\n \"script\"\n ],\n \"Max\": \"\",\n \"Min\": \"\",\n \"Name\": \"disable-command-list\",\n \"NeedReboot\": 0,\n \"ParamType\": \"multi\"\n },\n {\n \"CurrentValue\": \"512\",\n \"Default\": \"512\",\n \"Description\": \"Hashes are encoded using a memory efficient data structure when they have a small number of entries\",\n \"EnumValue\": null,\n \"Max\": \"10000\",\n \"Min\": \"1\",\n \"Name\": \"hash-max-ziplist-entries\",\n \"NeedReboot\": 0,\n \"ParamType\": \"integer\"\n },\n {\n \"CurrentValue\": \"64\",\n \"Default\": \"64\",\n \"Description\": \"Hashes are encoded using a memory efficient data structure when the biggest entry does not exceed a given threshold\",\n \"EnumValue\": null,\n \"Max\": \"10000\",\n \"Min\": \"1\",\n \"Name\": \"hash-max-ziplist-value\",\n \"NeedReboot\": 0,\n \"ParamType\": \"integer\"\n },\n {\n \"CurrentValue\": \"10\",\n \"Default\": \"10\",\n \"Description\": \"The frequency at which Redis background tasks are performed. A higher value results in higher CPU consumption but smaller latency. We recommend that you do not specify a value larger than 100.\",\n \"EnumValue\": null,\n \"Max\": \"500\",\n \"Min\": \"1\",\n \"Name\": \"hz\",\n \"NeedReboot\": 0,\n \"ParamType\": \"integer\"\n }\n ],\n \"Name\": \"redis_automation_is_awesome_1\",\n \"ProductType\": 2,\n \"RequestId\": \"72881d6c-c2a0-42af-862a-a5de09de104d\",\n \"TemplateId\": \"crs-cfg-7mgt****\",\n \"TotalCount\": 14\n }\n}",
|
|
414
|
+
"title": "Querying Information of a Parameter Template"
|
|
415
415
|
}
|
|
416
416
|
],
|
|
417
417
|
"DescribeParamTemplates": [
|
|
@@ -441,17 +441,23 @@
|
|
|
441
441
|
"DescribeProjectSecurityGroups": [
|
|
442
442
|
{
|
|
443
443
|
"document": " ",
|
|
444
|
-
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProjectSecurityGroups\n<Common request parameters>\n\n{\n \"ProjectId\":
|
|
444
|
+
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProjectSecurityGroups\n<Common request parameters>\n\n{\n \"ProjectId\": 11954,\n \"Product\": \"redis\"\n}",
|
|
445
445
|
"output": "{\n \"Response\": {\n \"Total\": 1,\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A1\",\n \"Groups\": [\n {\n \"Outbound\": [],\n \"SecurityGroupName\": \"CDB\",\n \"Inbound\": [],\n \"ProjectId\": 0,\n \"SecurityGroupId\": \"sg-ajr1jzgj\",\n \"SecurityGroupRemark\": \"\",\n \"CreateTime\": \"2017-04-13 15:00:06\"\n }\n ]\n }\n}",
|
|
446
|
-
"title": "
|
|
446
|
+
"title": "Request Example"
|
|
447
447
|
}
|
|
448
448
|
],
|
|
449
449
|
"DescribeProxySlowLog": [
|
|
450
450
|
{
|
|
451
|
-
"document": "This example shows you how to query the slow
|
|
452
|
-
"input": "https://redis.tencentcloudapi.com/?Action=DescribeProxySlowLog&InstanceId=crs-asda
|
|
451
|
+
"document": "This example shows you how to query the slow logs of a specified instance.",
|
|
452
|
+
"input": "https://redis.tencentcloudapi.com/?Action=DescribeProxySlowLog\n&InstanceId=crs-asda****\n&BeginTime=2019-09-08 12:12:41\n&EndTime=2019-09-09 12:12:41\n&<Common request parameters>",
|
|
453
453
|
"output": "{\n \"Response\": {\n \"TotalCount\": 106980,\n \"InstanceProxySlowLogDetail\": [\n {\n \"Duration\": 45,\n \"ExecuteTime\": \"2019-09-08 12:13:08\",\n \"CommandLine\": \"hget hash_key classify_scope::default\",\n \"Client\": \"172.16.21.78\",\n \"Command\": \"hget\"\n }\n ],\n \"RequestId\": \"121d5b40-d2b8-11e9-8c40-ef686158cbd6\"\n }\n}",
|
|
454
|
-
"title": "
|
|
454
|
+
"title": "Request Example"
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"document": "If the value of TotalCount is greater than 10,000, indicating that the number of slow logs exceeds 10,000, log details cannot be returned. Instead, the returned data is empty.",
|
|
458
|
+
"input": "https://redis.tencentcloudapi.com/?Action=DescribeProxySlowLog\n&InstanceId=crs-asda****\n&BeginTime=2019-09-08 12:12:41\n&EndTime=2019-09-09 12:12:41\n&Limit=10\n&Offset=10000\n&<Common request parameters>",
|
|
459
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 10001,\n \"InstanceProxySlowLogDetail\": [],\n \"RequestId\": \"121d5b40-d2b8-11e9-8c40-ef686158cbd6\"\n }\n}",
|
|
460
|
+
"title": "Request Example 2"
|
|
455
461
|
}
|
|
456
462
|
],
|
|
457
463
|
"DescribeRedisClusterOverview": [
|
|
@@ -465,7 +471,7 @@
|
|
|
465
471
|
"DescribeRedisClusters": [
|
|
466
472
|
{
|
|
467
473
|
"document": " ",
|
|
468
|
-
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRedisClusters\n<Common request parameters>\n\n{\n \"Limit\":
|
|
474
|
+
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRedisClusters\n<Common request parameters>\n\n{\n \"Limit\": 100,\n \"DedicatedClusterId\": \"cluster-0astoh6a\",\n \"Offset\": 0\n}",
|
|
469
475
|
"output": "{\n \"Response\": {\n \"Total\": 4,\n \"Resources\": [\n {\n \"AppId\": 251200288,\n \"RegionId\": 1,\n \"ZoneId\": 100002,\n \"PayMode\": 1,\n \"ProjectId\": 0,\n \"AutoRenewFlag\": 0,\n \"ClusterName\": \"crs-cdc-9nyfki8h\",\n \"StartTime\": \"2022-06-10 14:40:33\",\n \"EndTime\": \"2022-07-10 14:40:33\",\n \"Status\": 1,\n \"RedisClusterId\": \"crs-cdc-9nyfki8h\",\n \"BaseBundles\": [\n {\n \"ResourceBundleName\": \"cc-standard\",\n \"AvailableMemory\": 0,\n \"Count\": 1\n }\n ],\n \"ResourceBundles\": [\n {\n \"ResourceBundleName\": \"resource-bundle-mini\",\n \"AvailableMemory\": 16,\n \"Count\": 1\n }\n ],\n \"DedicatedClusterId\": \"cluster-0astoh6a\"\n },\n {\n \"AppId\": 251200288,\n \"RegionId\": 1,\n \"ZoneId\": 100002,\n \"PayMode\": 1,\n \"ProjectId\": 0,\n \"AutoRenewFlag\": 0,\n \"ClusterName\": \"crs-cdc-3blwadqr\",\n \"StartTime\": \"2022-06-10 11:43:57\",\n \"EndTime\": \"2022-07-10 11:43:57\",\n \"Status\": 1,\n \"RedisClusterId\": \"crs-cdc-3blwadqr\",\n \"BaseBundles\": [\n {\n \"ResourceBundleName\": \"cc-standard\",\n \"AvailableMemory\": 0,\n \"Count\": 1\n }\n ],\n \"ResourceBundles\": [\n {\n \"ResourceBundleName\": \"resource-bundle-mini\",\n \"AvailableMemory\": 16,\n \"Count\": 1\n }\n ],\n \"DedicatedClusterId\": \"cluster-0astoh6a\"\n },\n {\n \"AppId\": 251200288,\n \"RegionId\": 1,\n \"ZoneId\": 100002,\n \"PayMode\": 1,\n \"ProjectId\": 0,\n \"AutoRenewFlag\": 0,\n \"ClusterName\": \"crs-cdc-etfesut3\",\n \"StartTime\": \"2022-06-10 11:00:25\",\n \"EndTime\": \"2022-07-10 11:00:25\",\n \"Status\": 1,\n \"RedisClusterId\": \"crs-cdc-etfesut3\",\n \"BaseBundles\": [\n {\n \"ResourceBundleName\": \"cc-standard\",\n \"AvailableMemory\": 0,\n \"Count\": 1\n }\n ],\n \"ResourceBundles\": [\n {\n \"ResourceBundleName\": \"resource-bundle-mini\",\n \"AvailableMemory\": 16,\n \"Count\": 1\n },\n {\n \"ResourceBundleName\": \"resource-bundle-large\",\n \"AvailableMemory\": 538,\n \"Count\": 1\n }\n ],\n \"DedicatedClusterId\": \"cluster-0astoh6a\"\n },\n {\n \"AppId\": 251200288,\n \"RegionId\": 1,\n \"ZoneId\": 100002,\n \"PayMode\": 1,\n \"ProjectId\": 0,\n \"AutoRenewFlag\": 0,\n \"ClusterName\": \"crs-cdc-4myknrdf\",\n \"StartTime\": \"2022-06-10 10:33:12\",\n \"EndTime\": \"2022-08-10 10:33:12\",\n \"Status\": 2,\n \"RedisClusterId\": \"crs-cdc-4myknrdf\",\n \"BaseBundles\": [\n {\n \"ResourceBundleName\": \"cc-standard\",\n \"AvailableMemory\": 0,\n \"Count\": 1\n }\n ],\n \"ResourceBundles\": [\n {\n \"ResourceBundleName\": \"resource-bundle-mini\",\n \"AvailableMemory\": 16,\n \"Count\": 1\n },\n {\n \"ResourceBundleName\": \"resource-bundle-small-1\",\n \"AvailableMemory\": 48,\n \"Count\": 2\n }\n ],\n \"DedicatedClusterId\": \"cluster-0astoh6a\"\n }\n ],\n \"RequestId\": \"1504cdf3-0095-4694-86d2-5f2a6f8c99a4\"\n }\n}",
|
|
470
476
|
"title": "Example 1"
|
|
471
477
|
}
|
|
@@ -474,15 +480,15 @@
|
|
|
474
480
|
{
|
|
475
481
|
"document": "This example shows you how to query the information of a single replication group.",
|
|
476
482
|
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeReplicationGroup\n<Common request parameters>\n\n{\n \"Limit\": 20,\n \"GroupId\": \"crs-rpl-lkgv****\",\n \"Offset\": 0\n}",
|
|
477
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"65e950b9-78e8-49b1-9200-0e62a1925557\",\n \"Groups\": [\n {\n \"Status\": 37,\n \"Remark\": \"Test replication group\",\n \"InstanceCount\": 1,\n \"Instances\": [\n {\n \"Engine\": \"Redis Community Edition\",\n \"Vip6\": \"\",\n \"IPv6\": \"
|
|
478
|
-
"title": "Request
|
|
483
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"65e950b9-78e8-49b1-9200-0e62a1925557\",\n \"Groups\": [\n {\n \"Status\": 37,\n \"Remark\": \"Test replication group\",\n \"InstanceCount\": 1,\n \"Instances\": [\n {\n \"Engine\": \"Redis Community Edition\",\n \"Vip6\": \"\",\n \"IPv6\": \"2001:0db8:85a3:0000:0000:8a2e:0370:7334\",\n \"UpdateTime\": \"2022-11-02 15:04:05\",\n \"VpcID\": 16770550,\n \"InstanceId\": \"crs-9c36****\",\n \"RedisShardSize\": 1024,\n \"RegionId\": 1,\n \"RedisShardNum\": 1,\n \"Status\": 1,\n \"Vip\": \"10.0.4.42\",\n \"DiskSize\": 0,\n \"CreateTime\": \"2022-11-02 15:04:05\",\n \"ProductType\": 9,\n \"AppId\": 0,\n \"Role\": \"rw\",\n \"VPort\": 6379,\n \"ZoneId\": 1,\n \"InstanceName\": \"crs-test\",\n \"RedisReplicasNum\": 1,\n \"GrocerySysId\": 1000259\n }\n ],\n \"RegionId\": 1,\n \"GroupName\": \"crs-ben-test\",\n \"AppId\": 0,\n \"GroupId\": \"crs-rpl-lkgv****\"\n }\n ]\n }\n}",
|
|
484
|
+
"title": "Request Example"
|
|
479
485
|
}
|
|
480
486
|
],
|
|
481
487
|
"DescribeReplicationGroupInstance": [
|
|
482
488
|
{
|
|
483
489
|
"document": "This example shows you how to query the replication group information of an instance.",
|
|
484
490
|
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeReplicationGroupInstance\n<Common request parameters>\n\n{\n \"InstanceId\": \"crs-a7oxxxxx\"\n}",
|
|
485
|
-
"output": "{\n \"Response\": {\n \"AppId\": 251237400,\n \"GroupId\": \"crs-rpl-oxsincth\",\n \"GroupName\": \"
|
|
491
|
+
"output": "{\n \"Response\": {\n \"AppId\": 251237400,\n \"GroupId\": \"crs-rpl-oxsincth\",\n \"GroupName\": \"group_name\",\n \"InstanceRole\": \"rw\",\n \"RegionId\": 1,\n \"RequestId\": \"02ef9326-3db7-47ab-8f65-c6d1a772f71c\"\n }\n}",
|
|
486
492
|
"title": "Querying Replication Group Information"
|
|
487
493
|
}
|
|
488
494
|
],
|
|
@@ -494,12 +500,26 @@
|
|
|
494
500
|
"title": "Example 1"
|
|
495
501
|
}
|
|
496
502
|
],
|
|
503
|
+
"DescribeSecondLevelBackupInfo": [
|
|
504
|
+
{
|
|
505
|
+
"document": "This example shows you how to query second-level backup information.",
|
|
506
|
+
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSecondLevelBackupInfo\n<Common request parameters>\n\n{\n \"InstanceId\": \"crs-asda****\",\n \"BackupTimestamp\": 1716449238\n}",
|
|
507
|
+
"output": "{\n \"Response\": {\n \"BackupId\": \"154709612-5143180-1043869225\",\n \"BackupTimestamp\": 1719563096,\n \"MissingTimestamps\": null,\n \"RequestId\": \"fa6ec05f-d469-41cd-862f-da6771c4554d\",\n \"StartTimestamp\": 1719562435\n }\n}",
|
|
508
|
+
"title": "Querying Second-Level Backup Information"
|
|
509
|
+
}
|
|
510
|
+
],
|
|
497
511
|
"DescribeSlowLog": [
|
|
498
512
|
{
|
|
499
|
-
"document": "This example shows you how to query
|
|
500
|
-
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSlowLog\n<Common request parameters>\n{\n \"InstanceId\": \"crs-asda****\",\n \"EndTime\": \"2019-09-09 12:12:41\",\n \"BeginTime\": \"2019-09-08 12:12:41\"\n}",
|
|
501
|
-
"output": "{\n \"Response\": {\n \"
|
|
502
|
-
"title": "
|
|
513
|
+
"document": "This example shows you how to query the slow query details of an instance through the DescribeSlowLog API, including the slow query command, command line information, latency, client IP address, node ID, and other information.",
|
|
514
|
+
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSlowLog\n<Common request parameters>\n\n{\n \"InstanceId\": \"crs-asda****\",\n \"EndTime\": \"2019-09-09 12:12:41\",\n \"BeginTime\": \"2019-09-08 12:12:41\"\n}",
|
|
515
|
+
"output": "{\n \"Response\": {\n \"InstanceSlowLogDetail\": [\n {\n \"Node\": \"833a2f6d8b402319aee8ad7f1c0fbbf7********\",\n \"Command\": \"hget\",\n \"CommandLine\": \"hget hash_key classify_scope::default\",\n \"Duration\": 45,\n \"ExecuteTime\": \"2019-09-08 12:13:08\",\n \"Client\": \"\"\n },\n {\n \"Node\": \"833a2f6d8b402319aee8ad7f1c0fbbf7********\",\n \"Command\": \"keys\",\n \"CommandLine\": \"keys OtherResControler:orion.ovs.client.1514259512471:orion.ovs.entprise.9281083591:sence:*\",\n \"Duration\": 41,\n \"ExecuteTime\": \"2019-09-08 12:13:08\",\n \"Client\": \"\"\n },\n {\n \"Node\": \"24a05f0d545da235f07a5bc5deebb937********\",\n \"Command\": \"get\",\n \"CommandLine\": \"get slot::fsm::status::orion.ovs.client.1508751991541::1db7ffcf9216bc1fd939e6c710514f6fb40fd4fe1525f\",\n \"Duration\": 41,\n \"ExecuteTime\": \"2019-09-08 12:13:08\",\n \"Client\": \"\"\n }\n ],\n \"RequestId\": \"121d5b40-d2b8-11e9-8c40-ef686158cbd6\",\n \"TotalCount\": 106980\n }\n}",
|
|
516
|
+
"title": "Querying Slow Query Records of an Instance"
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"document": "If the value of TotalCount is greater than 10,000, indicating that the number of slow logs exceeds 10,000, log details cannot be returned. Instead, the returned data is empty.",
|
|
520
|
+
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSlowLog\n<Common request parameters>\n\n{\n \"InstanceId\": \"crs-asda****\",\n \"EndTime\": \"2019-09-09 12:12:41\",\n \"BeginTime\": \"2019-09-08 12:12:41\",\n \"Limit\": 10,\n \"Offset\": 10000\n}",
|
|
521
|
+
"output": "{\n \"Response\": {\n \"InstanceSlowLogDetail\": [],\n \"RequestId\": \"121d5b40-d2b8-11e9-8c40-ef686158cbd6\",\n \"TotalCount\": 106980\n }\n}",
|
|
522
|
+
"title": "Querying Slow Query Records (over 10,000) of an Instance"
|
|
503
523
|
}
|
|
504
524
|
],
|
|
505
525
|
"DescribeTaskInfo": [
|
|
@@ -521,9 +541,15 @@
|
|
|
521
541
|
"DescribeTendisSlowLog": [
|
|
522
542
|
{
|
|
523
543
|
"document": " ",
|
|
524
|
-
"input": "https://redis.tencentcloudapi.com/?Action=DescribeTendisSlowLog\n&InstanceId=crs-
|
|
544
|
+
"input": "https://redis.tencentcloudapi.com/?Action=DescribeTendisSlowLog\n&InstanceId=crs-asdas***\n&BeginTime=2019-09-08 12:12:41\n&EndTime=2019-09-09 12:12:41\n&<Common request parameters>",
|
|
525
545
|
"output": "{\n \"Response\": {\n \"TotalCount\": 106980,\n \"TendisSlowLogDetail\": [\n {\n \"Node\": \"833a2f6d8b402319aee8ad7f1c0fbbf7a6604337\",\n \"Command\": \"hget\",\n \"CommandLine\": \"hget hash_key classify_scope::default\",\n \"Duration\": 45,\n \"ExecuteTime\": \"2019-09-08 12:13:08\"\n }\n ],\n \"RequestId\": \"121d5b40-d2b8-11e9-8c40-ef686158cbd6\"\n }\n}",
|
|
526
|
-
"title": "
|
|
546
|
+
"title": "Request Example"
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"document": "If the value of TotalCount is greater than 10,000, indicating that the number of slow logs exceeds 10,000, log details cannot be returned. Instead, the returned data is empty.",
|
|
550
|
+
"input": "https://redis.tencentcloudapi.com/?Action=DescribeTendisSlowLog\n&InstanceId=crs-asdas***\n&BeginTime=2019-09-08 12:12:41\n&EndTime=2019-09-09 12:12:41\n&Limit=10\n&Offset=10000\n&<Common request parameters>",
|
|
551
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 106980,\n \"TendisSlowLogDetail\": [],\n \"RequestId\": \"121d5b40-d2b8-11e9-8c40-ef68615******\"\n }\n}",
|
|
552
|
+
"title": "Request Example 2"
|
|
527
553
|
}
|
|
528
554
|
],
|
|
529
555
|
"DestroyPostpaidInstance": [
|
|
@@ -562,23 +588,23 @@
|
|
|
562
588
|
{
|
|
563
589
|
"document": " ",
|
|
564
590
|
"input": "https://redis.tencentcloudapi.com/?Action=EnableReplicaReadonly\n&InstanceId=crs-5a4py64p\n&<Common request parameters>",
|
|
565
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"2d4387ee-2011-449e-a32b-87f9366f3ef4\",\n \"
|
|
566
|
-
"title": "Enabling
|
|
591
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"2d4387ee-2011-449e-a32b-87f9366f3ef4\",\n \"TaskId\": 21312\n }\n}",
|
|
592
|
+
"title": "Enabling Read-Write Separation"
|
|
567
593
|
}
|
|
568
594
|
],
|
|
569
595
|
"InquiryPriceCreateInstance": [
|
|
570
596
|
{
|
|
571
597
|
"document": " ",
|
|
572
598
|
"input": "https://redis.tencentcloudapi.com/?Action=InquiryPriceCreateInstance\n&ZoneId=100002\n&TypeId=6\n&MemSize=4096\n&GoodsNum=1\n&Period=1\n&BillingMode=1\n&<Common request parameters>",
|
|
573
|
-
"output": "{\n \"Response\": {\n \"Price\": 30400,\n \"RequestId\": \"0115d979-2c38-4ad2-b282-bec09d5b4c0b\"\n }\n}",
|
|
574
|
-
"title": "
|
|
599
|
+
"output": "{\n \"Response\": {\n \"Price\": 30400,\n \"HighPrecisionPrice\": 30400.123,\n \"Currency\": \"CNY\",\n \"AmountUnit\": \"pent\",\n \"RequestId\": \"0115d979-2c38-4ad2-b282-bec09d5b4c0b\"\n }\n}",
|
|
600
|
+
"title": "Example"
|
|
575
601
|
}
|
|
576
602
|
],
|
|
577
603
|
"InquiryPriceUpgradeInstance": [
|
|
578
604
|
{
|
|
579
605
|
"document": " ",
|
|
580
606
|
"input": "https://redis.tencentcloudapi.com/?Action=InquiryPriceUpgradeInstance\n&InstanceId=crs-xjhsdjcxjd\n&MemSize=4096\n&<Common request parameters>",
|
|
581
|
-
"output": "{\n \"Response\": {\n \"Price\": 30400,\n \"RequestId\": \"0115d979-2c38-4ad2-b282-bec09d5b4c01\"\n }\n}",
|
|
607
|
+
"output": "{\n \"Response\": {\n \"Price\": 30400,\n \"HighPrecisionPrice\": 30400.123,\n \"Currency\": \"CNY\",\n \"AmountUnit\": \"pent\",\n \"RequestId\": \"0115d979-2c38-4ad2-b282-bec09d5b4c01\"\n }\n}",
|
|
582
608
|
"title": "Example"
|
|
583
609
|
}
|
|
584
610
|
],
|
|
@@ -592,10 +618,10 @@
|
|
|
592
618
|
],
|
|
593
619
|
"ManualBackupInstance": [
|
|
594
620
|
{
|
|
595
|
-
"document": "This example shows you how to
|
|
596
|
-
"input": "https://redis.tencentcloudapi.com/?Action=ManualBackupInstance&InstanceId=crs-5a4p
|
|
597
|
-
"output": "{\n \"Response\": {\n \"TaskId\":
|
|
598
|
-
"title": "
|
|
621
|
+
"document": "This example shows you how to perform a manual backup.",
|
|
622
|
+
"input": "https://redis.tencentcloudapi.com/?Action=ManualBackupInstance\n&InstanceId=crs-5a4p****\n&Remark=note_message\n&<Common request parameters>",
|
|
623
|
+
"output": "{\n \"Response\": {\n \"TaskId\": 6954227,\n \"RequestId\": \"4daddc97-0005-45d8-b5b8-38514ec1e97c\"\n }\n}",
|
|
624
|
+
"title": "Request Example"
|
|
599
625
|
}
|
|
600
626
|
],
|
|
601
627
|
"ModfiyInstancePassword": [
|
|
@@ -649,9 +675,9 @@
|
|
|
649
675
|
"ModifyInstanceAccount": [
|
|
650
676
|
{
|
|
651
677
|
"document": " ",
|
|
652
|
-
"input": "https://redis.tencentcloudapi.com/?Action=ModifyInstanceAccount\n&InstanceId=crs
|
|
678
|
+
"input": "https://redis.tencentcloudapi.com/?Action=ModifyInstanceAccount\n&InstanceId=crs-********\n&AccountName=test_account\n&<Common request parameters>",
|
|
653
679
|
"output": "{\n \"Response\": {\n \"TaskId\": 123456,\n \"RequestId\": \"0e728fa9-c2e5-4bf8-8d6b-c1c4fab7b6db\"\n }\n}",
|
|
654
|
-
"title": "
|
|
680
|
+
"title": "Request Example"
|
|
655
681
|
}
|
|
656
682
|
],
|
|
657
683
|
"ModifyInstanceAvailabilityZones": [
|
|
@@ -662,6 +688,14 @@
|
|
|
662
688
|
"title": "Sample 1"
|
|
663
689
|
}
|
|
664
690
|
],
|
|
691
|
+
"ModifyInstanceBackupMode": [
|
|
692
|
+
{
|
|
693
|
+
"document": "This example shows you how to modify the instance backup mode.",
|
|
694
|
+
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstanceBackupMode\n<Common request parameters>\n\n{\n \"InstanceId\": \"crs-asdasdas\",\n \"BackupMode\": \"SecondLevelBackup\"\n}",
|
|
695
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"fa6ec05f-d469-41cd-862f-da6771c4554d\",\n \"TaskId\": 1719562435\n }\n}",
|
|
696
|
+
"title": "Modifying the Backup Mode of an Instance"
|
|
697
|
+
}
|
|
698
|
+
],
|
|
665
699
|
"ModifyInstanceEvent": [
|
|
666
700
|
{
|
|
667
701
|
"document": "This example shows you how to modify the instance event information.",
|
|
@@ -750,6 +784,14 @@
|
|
|
750
784
|
"title": "Disabling public network instance"
|
|
751
785
|
}
|
|
752
786
|
],
|
|
787
|
+
"RemoveReplicationGroup": [
|
|
788
|
+
{
|
|
789
|
+
"document": "This example shows you how to delete a replication group when no instance exists in the replication group.",
|
|
790
|
+
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RemoveReplicationGroup\n<Common request parameters>\n\n{\n \"GroupId\": \"crs-rpl-oxsincthdd\"\n}",
|
|
791
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"9a6bd110-20fc-4e08-b78b-a5656cb6151c\"\n }\n}",
|
|
792
|
+
"title": "Deleting a Replication Group"
|
|
793
|
+
}
|
|
794
|
+
],
|
|
753
795
|
"RemoveReplicationInstance": [
|
|
754
796
|
{
|
|
755
797
|
"document": "This example shows you how to remove instances from a replication group with strong synchronization as the data synchronization type.",
|
|
@@ -778,16 +820,16 @@
|
|
|
778
820
|
{
|
|
779
821
|
"document": " ",
|
|
780
822
|
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RestoreInstance\n<Common request parameters>\n\n{\n \"InstanceId\": \"crs-5a4py64p\",\n \"BackupId\": \"678362566696298532848117\",\n \"Password\": \"mypassword\"\n}",
|
|
781
|
-
"output": "{\n \"Response\": {\n \"TaskId\":
|
|
782
|
-
"title": "
|
|
823
|
+
"output": "{\n \"Response\": {\n \"TaskId\": 6954227,\n \"RequestId\": \"4daddc97-0005-45d8-b5b8-38514ec1e97c\"\n }\n}",
|
|
824
|
+
"title": "Recovering a CRS Instance"
|
|
783
825
|
}
|
|
784
826
|
],
|
|
785
827
|
"StartupInstance": [
|
|
786
828
|
{
|
|
787
829
|
"document": " ",
|
|
788
830
|
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartupInstance\n<Common request parameters>\n\n{\n \"InstanceId\": \"crs-7ponppu3\"\n}",
|
|
789
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"3e96ecad-23db-4fa8-ac41-af9b8e015b26\"
|
|
790
|
-
"title": "Request
|
|
831
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"3e96ecad-23db-4fa8-ac41-af9b8e015b26\"\n }\n}",
|
|
832
|
+
"title": "Request Example"
|
|
791
833
|
}
|
|
792
834
|
],
|
|
793
835
|
"SwitchAccessNewInstance": [
|
|
@@ -810,14 +852,14 @@
|
|
|
810
852
|
{
|
|
811
853
|
"document": " ",
|
|
812
854
|
"input": "https://redis.tencentcloudapi.com/?Action=SwitchProxy\n&InstanceId=crs-5a4py64p\n&<Common request parameters>",
|
|
813
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"2d4387ee-2011-449e-a32b-87f9366f3ef4\"\n }\n}",
|
|
814
|
-
"title": "
|
|
855
|
+
"output": "{\n \"Response\": {\n \"TaskId\": 1378445,\n \"RequestId\": \"2d4387ee-2011-449e-a32b-87f9366f3ef4\"\n }\n}",
|
|
856
|
+
"title": "Request Example"
|
|
815
857
|
}
|
|
816
858
|
],
|
|
817
859
|
"UpgradeInstance": [
|
|
818
860
|
{
|
|
819
861
|
"document": "This example shows you how to modify the instance memory configuration.",
|
|
820
|
-
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpgradeInstance\n<Common request parameters>\n\n{\n \"InstanceId\": \"crs-5qlr****\",\n \"MemSize\":
|
|
862
|
+
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpgradeInstance\n<Common request parameters>\n\n{\n \"InstanceId\": \"crs-5qlr****\",\n \"MemSize\": 4096\n}",
|
|
821
863
|
"output": "{\n \"Response\": {\n \"DealId\": \"6954227\",\n \"RequestId\": \"4daddc97-0005-45d8-b5b8-38514ec1e97c\"\n }\n}",
|
|
822
864
|
"title": "Changing Specifications"
|
|
823
865
|
}
|
|
@@ -27,7 +27,10 @@ def doDescribeProducts(args, parsed_globals):
|
|
|
27
27
|
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
28
28
|
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
29
29
|
)
|
|
30
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION)
|
|
30
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) \
|
|
31
|
+
and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) \
|
|
32
|
+
and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) \
|
|
33
|
+
and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
|
31
34
|
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
32
35
|
else:
|
|
33
36
|
cred = credential.Credential(
|
|
@@ -79,7 +82,10 @@ def doDescribeRegions(args, parsed_globals):
|
|
|
79
82
|
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
80
83
|
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
81
84
|
)
|
|
82
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION)
|
|
85
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) \
|
|
86
|
+
and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) \
|
|
87
|
+
and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) \
|
|
88
|
+
and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
|
83
89
|
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
84
90
|
else:
|
|
85
91
|
cred = credential.Credential(
|
|
@@ -131,7 +137,10 @@ def doDescribeZones(args, parsed_globals):
|
|
|
131
137
|
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
132
138
|
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
133
139
|
)
|
|
134
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION)
|
|
140
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) \
|
|
141
|
+
and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) \
|
|
142
|
+
and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) \
|
|
143
|
+
and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
|
135
144
|
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
136
145
|
else:
|
|
137
146
|
cred = credential.Credential(
|