tccli-intl-en 3.0.1282.1__py2.py3-none-any.whl → 3.1.33.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/argument.py +1 -1
- tccli/services/__init__.py +15 -0
- tccli/services/advisor/advisor_client.py +2 -2
- tccli/services/ai3d/__init__.py +4 -0
- tccli/services/ai3d/ai3d_client.py +266 -0
- tccli/services/ai3d/v20250513/api.json +264 -0
- tccli/services/ai3d/v20250513/examples.json +20 -0
- tccli/services/aiart/aiart_client.py +1 -1
- tccli/services/ams/ams_client.py +4 -4
- tccli/services/antiddos/antiddos_client.py +70 -70
- tccli/services/apigateway/apigateway_client.py +93 -93
- tccli/services/apm/apm_client.py +783 -55
- tccli/services/apm/v20210622/api.json +3936 -1145
- tccli/services/apm/v20210622/examples.json +133 -23
- tccli/services/asr/asr_client.py +2 -2
- tccli/services/autoscaling/autoscaling_client.py +58 -58
- tccli/services/autoscaling/v20180419/api.json +77 -27
- tccli/services/batch/batch_client.py +28 -28
- tccli/services/bi/bi_client.py +24 -24
- tccli/services/billing/billing_client.py +42 -42
- tccli/services/cam/cam_client.py +81 -81
- tccli/services/captcha/captcha_client.py +1 -1
- tccli/services/car/car_client.py +33 -33
- tccli/services/cbs/cbs_client.py +38 -38
- tccli/services/ccc/ccc_client.py +70 -70
- tccli/services/ccc/v20200210/api.json +71 -26
- tccli/services/cdb/cdb_client.py +1262 -422
- tccli/services/cdb/v20170320/api.json +2166 -335
- tccli/services/cdb/v20170320/examples.json +126 -6
- tccli/services/cdc/cdc_client.py +20 -20
- tccli/services/cdn/cdn_client.py +44 -44
- tccli/services/cdn/v20180606/api.json +22 -22
- tccli/services/cdn/v20180606/examples.json +1 -1
- tccli/services/cdwdoris/cdwdoris_client.py +77 -77
- tccli/services/cdwpg/cdwpg_client.py +24 -24
- tccli/services/cdz/cdz_client.py +1 -1
- tccli/services/cfg/cfg_client.py +16 -16
- tccli/services/cfs/cfs_client.py +39 -39
- tccli/services/cfw/cfw_client.py +66 -66
- tccli/services/chdfs/chdfs_client.py +29 -29
- tccli/services/ciam/ciam_client.py +16 -16
- tccli/services/ckafka/ckafka_client.py +468 -76
- tccli/services/ckafka/v20190819/api.json +1009 -246
- tccli/services/ckafka/v20190819/examples.json +73 -23
- tccli/services/clb/clb_client.py +720 -384
- tccli/services/clb/v20180317/api.json +2255 -1017
- tccli/services/clb/v20180317/examples.json +184 -124
- tccli/services/cloudaudit/cloudaudit_client.py +18 -18
- tccli/services/cls/cls_client.py +86 -86
- tccli/services/cmq/cmq_client.py +2 -2
- tccli/services/config/config_client.py +6 -6
- tccli/services/controlcenter/controlcenter_client.py +225 -1
- tccli/services/controlcenter/v20230110/api.json +528 -5
- tccli/services/controlcenter/v20230110/examples.json +32 -0
- tccli/services/csip/csip_client.py +34 -34
- tccli/services/ctsdb/ctsdb_client.py +2 -2
- tccli/services/cvm/cvm_client.py +84 -84
- tccli/services/cvm/v20170312/api.json +175 -116
- tccli/services/cvm/v20170312/examples.json +93 -93
- tccli/services/cwp/cwp_client.py +465 -465
- tccli/services/cynosdb/cynosdb_client.py +154 -154
- tccli/services/dataintegration/dataintegration_client.py +1 -1
- tccli/services/dayu/dayu_client.py +103 -103
- tccli/services/dbbrain/dbbrain_client.py +42 -42
- tccli/services/dc/dc_client.py +18 -18
- tccli/services/dcdb/dcdb_client.py +62 -62
- tccli/services/dlc/dlc_client.py +109 -109
- tccli/services/dms/dms_client.py +2 -2
- tccli/services/dnspod/dnspod_client.py +40 -40
- tccli/services/domain/domain_client.py +24 -24
- tccli/services/dts/dts_client.py +83 -83
- tccli/services/eb/eb_client.py +26 -26
- tccli/services/ecdn/ecdn_client.py +15 -15
- tccli/services/ecm/ecm_client.py +124 -124
- tccli/services/eiam/eiam_client.py +40 -40
- tccli/services/emr/emr_client.py +77 -77
- tccli/services/emr/v20190103/api.json +6 -6
- tccli/services/es/es_client.py +21 -21
- tccli/services/facefusion/facefusion_client.py +3 -3
- tccli/services/faceid/faceid_client.py +19 -19
- tccli/services/faceid/v20180301/api.json +124 -46
- tccli/services/gaap/gaap_client.py +88 -88
- tccli/services/gme/gme_client.py +10 -10
- tccli/services/gpm/gpm_client.py +18 -18
- tccli/services/gse/gse_client.py +22 -22
- tccli/services/gwlb/gwlb_client.py +18 -18
- tccli/services/hunyuan/__init__.py +4 -0
- tccli/services/hunyuan/hunyuan_client.py +546 -0
- tccli/services/hunyuan/v20230901/api.json +628 -0
- tccli/services/hunyuan/v20230901/examples.json +60 -0
- tccli/services/iai/iai_client.py +29 -29
- tccli/services/iap/iap_client.py +6 -6
- tccli/services/ims/ims_client.py +1 -1
- tccli/services/intlpartnersmgt/intlpartnersmgt_client.py +42 -42
- tccli/services/iotcloud/iotcloud_client.py +20 -20
- tccli/services/ip/ip_client.py +6 -6
- tccli/services/kms/kms_client.py +68 -68
- tccli/services/kms/v20190118/api.json +80 -3
- tccli/services/kms/v20190118/examples.json +3 -3
- tccli/services/lcic/lcic_client.py +53 -53
- tccli/services/lighthouse/lighthouse_client.py +434 -98
- tccli/services/lighthouse/v20200324/api.json +488 -0
- tccli/services/lighthouse/v20200324/examples.json +54 -0
- tccli/services/live/live_client.py +120 -120
- tccli/services/lke/lke_client.py +90 -90
- tccli/services/lkeap/lkeap_client.py +63 -7
- tccli/services/lkeap/v20240522/api.json +134 -0
- tccli/services/lkeap/v20240522/examples.json +21 -1
- tccli/services/mariadb/mariadb_client.py +50 -50
- tccli/services/mdc/mdc_client.py +18 -18
- tccli/services/mdl/mdl_client.py +225 -57
- tccli/services/mdl/v20200326/api.json +903 -59
- tccli/services/mdl/v20200326/examples.json +24 -0
- tccli/services/mdp/mdp_client.py +62 -62
- tccli/services/mdp/v20200527/api.json +191 -28
- tccli/services/message/message_client.py +1 -1
- tccli/services/mongodb/mongodb_client.py +1081 -129
- tccli/services/mongodb/v20190725/api.json +1798 -141
- tccli/services/mongodb/v20190725/examples.json +136 -0
- tccli/services/monitor/monitor_client.py +149 -149
- tccli/services/monitor/v20180724/api.json +8 -8
- tccli/services/mps/mps_client.py +1118 -278
- tccli/services/mps/v20190612/api.json +2117 -117
- tccli/services/mps/v20190612/examples.json +164 -62
- tccli/services/mqtt/__init__.py +4 -0
- tccli/services/mqtt/mqtt_client.py +1610 -0
- tccli/services/mqtt/v20240516/api.json +3057 -0
- tccli/services/mqtt/v20240516/examples.json +213 -0
- tccli/services/msp/msp_client.py +7 -7
- tccli/services/ocr/ocr_client.py +206 -38
- tccli/services/ocr/v20181119/api.json +726 -83
- tccli/services/ocr/v20181119/examples.json +36 -6
- tccli/services/omics/omics_client.py +20 -20
- tccli/services/organization/organization_client.py +116 -116
- tccli/services/postgres/postgres_client.py +91 -91
- tccli/services/privatedns/privatedns_client.py +31 -31
- tccli/services/pts/pts_client.py +48 -48
- tccli/services/quota/quota_client.py +5 -5
- tccli/services/rce/rce_client.py +1 -1
- tccli/services/redis/redis_client.py +109 -109
- tccli/services/redis/v20180412/api.json +12 -12
- tccli/services/region/region_client.py +3 -3
- tccli/services/rum/rum_client.py +60 -60
- tccli/services/scf/scf_client.py +42 -42
- tccli/services/ses/ses_client.py +29 -29
- tccli/services/smh/__init__.py +4 -0
- tccli/services/smh/smh_client.py +714 -0
- tccli/services/smh/v20210712/api.json +1287 -0
- tccli/services/smh/v20210712/examples.json +85 -0
- tccli/services/sms/sms_client.py +18 -18
- tccli/services/sqlserver/sqlserver_client.py +139 -139
- tccli/services/ssl/ssl_client.py +38 -38
- tccli/services/ssm/ssm_client.py +24 -24
- tccli/services/sts/sts_client.py +5 -5
- tccli/services/tag/tag_client.py +30 -30
- tccli/services/tat/tat_client.py +19 -19
- tccli/services/tbaas/tbaas_client.py +4 -4
- tccli/services/tcaplusdb/tcaplusdb_client.py +52 -52
- tccli/services/tchd/tchd_client.py +1 -1
- tccli/services/tcmpp/tcmpp_client.py +104 -104
- tccli/services/tcr/tcr_client.py +76 -76
- tccli/services/tcsas/tcsas_client.py +2340 -268
- tccli/services/tcsas/v20250106/api.json +8410 -3423
- tccli/services/tcsas/v20250106/examples.json +308 -12
- tccli/services/tcss/tcss_client.py +330 -330
- tccli/services/tdid/tdid_client.py +48 -48
- tccli/services/tdmq/tdmq_client.py +2500 -372
- tccli/services/tdmq/v20200217/api.json +11607 -3958
- tccli/services/tdmq/v20200217/examples.json +562 -264
- tccli/services/tem/tem_client.py +56 -56
- tccli/services/teo/teo_client.py +466 -298
- tccli/services/teo/v20220901/api.json +324 -16
- tccli/services/teo/v20220901/examples.json +64 -22
- tccli/services/tione/tione_client.py +1 -1
- tccli/services/tiw/tiw_client.py +51 -51
- tccli/services/tke/tke_client.py +306 -138
- tccli/services/tke/v20180525/api.json +227 -0
- tccli/services/tke/v20180525/examples.json +24 -0
- tccli/services/tms/tms_client.py +1 -1
- tccli/services/tmt/tmt_client.py +1 -1
- tccli/services/trabbit/trabbit_client.py +29 -29
- tccli/services/trocket/__init__.py +4 -0
- tccli/services/trocket/trocket_client.py +2450 -0
- tccli/services/trocket/v20230308/api.json +6062 -0
- tccli/services/trocket/v20230308/examples.json +339 -0
- tccli/services/trro/trro_client.py +19 -19
- tccli/services/trtc/trtc_client.py +51 -51
- tccli/services/trtc/v20190722/api.json +15 -15
- tccli/services/tts/tts_client.py +1 -1
- tccli/services/vclm/vclm_client.py +2 -2
- tccli/services/vm/vm_client.py +4 -4
- tccli/services/vod/v20180717/api.json +2929 -296
- tccli/services/vod/v20180717/examples.json +40 -6
- tccli/services/vod/vod_client.py +459 -179
- tccli/services/vpc/v20170312/api.json +99 -29
- tccli/services/vpc/v20170312/examples.json +21 -13
- tccli/services/vpc/vpc_client.py +357 -301
- tccli/services/waf/waf_client.py +107 -107
- tccli/services/wedata/wedata_client.py +310 -310
- tccli/services/yunjing/yunjing_client.py +71 -71
- {tccli_intl_en-3.0.1282.1.dist-info → tccli_intl_en-3.1.33.1.dist-info}/METADATA +2 -2
- {tccli_intl_en-3.0.1282.1.dist-info → tccli_intl_en-3.1.33.1.dist-info}/RECORD +207 -187
- {tccli_intl_en-3.0.1282.1.dist-info → tccli_intl_en-3.1.33.1.dist-info}/WHEEL +1 -1
- {tccli_intl_en-3.0.1282.1.dist-info → tccli_intl_en-3.1.33.1.dist-info}/LICENSE +0 -0
- {tccli_intl_en-3.0.1282.1.dist-info → tccli_intl_en-3.1.33.1.dist-info}/entry_points.txt +0 -0
- {tccli_intl_en-3.0.1282.1.dist-info → tccli_intl_en-3.1.33.1.dist-info}/top_level.txt +0 -0
|
@@ -54,6 +54,14 @@
|
|
|
54
54
|
"title": "Rebalancing the loads of instances in an RO group"
|
|
55
55
|
}
|
|
56
56
|
],
|
|
57
|
+
"CloseAuditService": [
|
|
58
|
+
{
|
|
59
|
+
"document": "None",
|
|
60
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CloseAuditService\n<Common request parameters>\n\n{\n \"InstanceId\": \"cdb-6990cckk\"\n}",
|
|
61
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"43-12121-812w1221213-62usf9093\"\n }\n}",
|
|
62
|
+
"title": "Disabling Audit"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
57
65
|
"CloseCDBProxy": [
|
|
58
66
|
{
|
|
59
67
|
"document": " ",
|
|
@@ -86,6 +94,14 @@
|
|
|
86
94
|
"title": "Creating a TencentDB account"
|
|
87
95
|
}
|
|
88
96
|
],
|
|
97
|
+
"CreateAuditLogFile": [
|
|
98
|
+
{
|
|
99
|
+
"document": "This example shows you how to successfully query audit logs.",
|
|
100
|
+
"input": "https://cdb.tencentcloudapi.com/?Action=CreateAuditLogFile\r\n&InstanceId=cdb-qwerasdf\r\n&StartTime=2017-07-12 10:29:20\r\n&EndTime=2017-07-13 10:29:20\r\n&<Common request parameters>",
|
|
101
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\",\n \"FileName\": \"shenji.csv\"\n }\n}",
|
|
102
|
+
"title": "Creating an Audit Log File"
|
|
103
|
+
}
|
|
104
|
+
],
|
|
89
105
|
"CreateAuditPolicy": [
|
|
90
106
|
{
|
|
91
107
|
"document": " ",
|
|
@@ -94,6 +110,14 @@
|
|
|
94
110
|
"title": "Creating an audit policy"
|
|
95
111
|
}
|
|
96
112
|
],
|
|
113
|
+
"CreateAuditRuleTemplate": [
|
|
114
|
+
{
|
|
115
|
+
"document": "None",
|
|
116
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAuditRuleTemplate\n<Common request parameters>\n\n{\n \"RuleFilters\": [\n {\n \"Type\": \"host\",\n \"Compare\": \"EQS\",\n \"Value\": [\n \"100.122.76.176\",\n \"10.0.0.9\"\n ]\n },\n {\n \"Type\": \"user\",\n \"Compare\": \"EQS\",\n \"Value\": [\n \"wy\"\n ]\n },\n {\n \"Type\": \"sqlType\",\n \"Compare\": \"EQS\",\n \"Value\": [\n \"Update\",\n \"Delete\"\n ]\n }\n ],\n \"RuleTemplateName\": \"andy\",\n \"Description\": \"Rule template for testing\"\n}",
|
|
117
|
+
"output": "{\n \"Response\": {\n \"RuleTemplateId\": \"cdb-rt-ws23fwu8\",\n \"RequestId\": \"43-12121-812w1221213-62usf9093\"\n }\n}",
|
|
118
|
+
"title": "Creating an Audit Rule Template"
|
|
119
|
+
}
|
|
120
|
+
],
|
|
97
121
|
"CreateBackup": [
|
|
98
122
|
{
|
|
99
123
|
"document": " ",
|
|
@@ -186,6 +210,14 @@
|
|
|
186
210
|
"title": "Creating a VIP exclusive to a TencentDB read-only replica"
|
|
187
211
|
}
|
|
188
212
|
],
|
|
213
|
+
"CreateRotationPassword": [
|
|
214
|
+
{
|
|
215
|
+
"document": "",
|
|
216
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRotationPassword\n<Common request parameters>\n\n{\n \"InstanceId\": \"cdb-0zgqlqmd\",\n \"Accounts\": [\n {\n \"User\": \"andy\",\n \"Host\": \"192.1.1.1\"\n }\n ]\n}",
|
|
217
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\"\n }\n}",
|
|
218
|
+
"title": "Enabling Password Rotation"
|
|
219
|
+
}
|
|
220
|
+
],
|
|
189
221
|
"DeleteAccounts": [
|
|
190
222
|
{
|
|
191
223
|
"document": " ",
|
|
@@ -194,6 +226,30 @@
|
|
|
194
226
|
"title": "Deleting a TencentDB account"
|
|
195
227
|
}
|
|
196
228
|
],
|
|
229
|
+
"DeleteAuditLogFile": [
|
|
230
|
+
{
|
|
231
|
+
"document": " ",
|
|
232
|
+
"input": "https://cdb.tencentcloudapi.com/?Action=DeleteAuditLogFile\r\n&InstanceId=cdb-test1234\r\n&FileName=test.csv\r\n&<Common request parameters>",
|
|
233
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\"\n }\n}",
|
|
234
|
+
"title": "Deleting an Audit Log File"
|
|
235
|
+
}
|
|
236
|
+
],
|
|
237
|
+
"DeleteAuditPolicy": [
|
|
238
|
+
{
|
|
239
|
+
"document": " ",
|
|
240
|
+
"input": "https://cdb.tencentcloudapi.com/?Action=DeleteAuditPolicy\r\n&PolicyId=cdbpolicy-234\r\n&InstanceId=cdb-xxxxxxx\r\n&<Common request parameters>",
|
|
241
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\"\n }\n}",
|
|
242
|
+
"title": "Deleting an Audit Policy"
|
|
243
|
+
}
|
|
244
|
+
],
|
|
245
|
+
"DeleteAuditRuleTemplates": [
|
|
246
|
+
{
|
|
247
|
+
"document": "",
|
|
248
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAuditRuleTemplates\n<Common request parameters>\n\n{\n \"RuleTemplateIds\": [\n \"cdb-rt-ws23fwu8\"\n ]\n}",
|
|
249
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"43-12121-812w1221213-62usf9093\"\n }\n}",
|
|
250
|
+
"title": "Deleting an Audit Rule Template"
|
|
251
|
+
}
|
|
252
|
+
],
|
|
197
253
|
"DeleteBackup": [
|
|
198
254
|
{
|
|
199
255
|
"document": " ",
|
|
@@ -242,6 +298,30 @@
|
|
|
242
298
|
"title": "Querying the execution result of an async task"
|
|
243
299
|
}
|
|
244
300
|
],
|
|
301
|
+
"DescribeAuditConfig": [
|
|
302
|
+
{
|
|
303
|
+
"document": "",
|
|
304
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAuditConfig\n<Common request parameters>\n\n{\n \"InstanceId\": \"cdbro-6zpy4ei1\"\n}",
|
|
305
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"507f6863-2827-4c2c-9c3b-fbbcc32e1ed4\",\n \"CreateTime\": \"2025-04-11 15:13:07\",\n \"IsClosing\": \"false\",\n \"IsOpening\": \"false\",\n \"LogExpireDay\": 90,\n \"LogType\": \"storage\"\n }\n}",
|
|
306
|
+
"title": "Querying Instance Configuration"
|
|
307
|
+
}
|
|
308
|
+
],
|
|
309
|
+
"DescribeAuditInstanceList": [
|
|
310
|
+
{
|
|
311
|
+
"document": "This example shows you how to obtain the audit instance list.",
|
|
312
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAuditInstanceList\n<Common request parameters>\n\n{\n \"AuditMode\": 0,\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Values\": [\n \"cdb-euu5fkcj\"\n ],\n \"Name\": \"InstanceId\",\n \"ExactMatch\": true\n }\n ],\n \"AuditSwitch\": 0,\n \"Offset\": 1\n}",
|
|
313
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Items\": [\n {\n \"InstanceId\": \"cdb-euu5fkcj\",\n \"AuditStatus\": \"OFF\",\n \"AuditTask\": 1,\n \"LogExpireDay\": 1,\n \"HighLogExpireDay\": 1,\n \"LowLogExpireDay\": 1,\n \"BillingAmount\": 0,\n \"HighRealStorage\": 0,\n \"LowRealStorage\": 0,\n \"AuditAll\": true,\n \"CreateAt\": \"2022-03-02 10:09:08\",\n \"InstanceInfo\": {\n \"ProjectId\": 0,\n \"TagList\": [\n {\n \"TagKey\": \"andy\",\n \"TagValue\": \"1\"\n }\n ],\n \"DbType\": \"MYSQL\",\n \"DbVersion\": \"5.7\"\n },\n \"RealStorage\": 0,\n \"OldRule\": true,\n \"RuleTemplateIds\": [\n \"cdb-art-nuf7ej8d\"\n ]\n }\n ],\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\"\n }\n}",
|
|
314
|
+
"title": "Obtaining the Audit Instance List"
|
|
315
|
+
}
|
|
316
|
+
],
|
|
317
|
+
"DescribeAuditLogFiles": [
|
|
318
|
+
{
|
|
319
|
+
"document": " ",
|
|
320
|
+
"input": "https://cdb.tencentcloudapi.com/?Action=DescribeAuditLogFiles\n&InstanceId=cdb-qwerasdf\n&<Common request parameters>",
|
|
321
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\",\n \"TotalCount\": 1,\n \"Items\": [\n {\n \"FileName\": \"andy.txt\",\n \"Status\": \"running\",\n \"CreateTime\": \"2019-03-20 17:09:13\",\n \"FileSize\": 3,\n \"DownloadUrl\": \"http://xxxxxx\",\n \"ErrMsg\": \"\"\n }\n ]\n }\n}",
|
|
322
|
+
"title": "Querying Audit Log Files"
|
|
323
|
+
}
|
|
324
|
+
],
|
|
245
325
|
"DescribeAuditLogs": [
|
|
246
326
|
{
|
|
247
327
|
"document": "",
|
|
@@ -270,6 +350,22 @@
|
|
|
270
350
|
"title": "Querying the audit policies"
|
|
271
351
|
}
|
|
272
352
|
],
|
|
353
|
+
"DescribeAuditRuleTemplateModifyHistory": [
|
|
354
|
+
{
|
|
355
|
+
"document": "",
|
|
356
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRuleTemplateModifyHistory\n<Common request parameters>\n\n{\n \"RuleTemplateIds\": [\n \"cdb-art-8qx2kcr7\"\n ],\n \"StartTime\": \"2023-07-26 00:00:00\",\n \"EndTime\": \"2023-07-27 00:00:00\",\n \"Limit\": 10,\n \"Offset\": 0,\n \"Order\": \"DESC\"\n}",
|
|
357
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Items\": [\n {\n \"TaskId\": 1997098,\n \"ModifyBeforeInfo\": {\n \"RuleTemplateId\": \"cdb-art-8qx2kcr7\",\n \"RuleTemplateName\": \"wy_1\",\n \"RuleFilters\": [\n {\n \"Type\": \"sqlType\",\n \"Compare\": \"EQS\",\n \"Value\": [\n \"DROP\"\n ]\n }\n ],\n \"AlarmLevel\": 1,\n \"AlarmPolicy\": 0,\n \"Description\": \"andyaudit\"\n },\n \"ModifyAfterInfo\": {\n \"RuleTemplateId\": \"cdb-art-8qx2kcr7\",\n \"RuleTemplateName\": \"wy_1\",\n \"RuleFilters\": [\n {\n \"Type\": \"sqlType\",\n \"Compare\": \"EQS\",\n \"Value\": [\n \"DROP\",\n \"DELETE\"\n ]\n }\n ],\n \"AlarmLevel\": 2,\n \"AlarmPolicy\": 0,\n \"Description\": \"andyrule2\"\n },\n \"AffectedInstances\": [\n \"cdb-nzg4gv35\",\n \"cdb-12y4cjjd\"\n ],\n \"Operator\": \"700000579947\",\n \"UpdateTime\": \"2023-07-26 00:09:00\"\n }\n ],\n \"RequestId\": \"186905b7-756c-4aae-a403-a40568aa5952\"\n }\n}",
|
|
358
|
+
"title": "Correct Return"
|
|
359
|
+
}
|
|
360
|
+
],
|
|
361
|
+
"DescribeAuditRuleTemplates": [
|
|
362
|
+
{
|
|
363
|
+
"document": "None",
|
|
364
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAuditRuleTemplates\n<Common request parameters>\n\n{\n \"RuleTemplateNames\": [\n \"template_1\"\n ],\n \"Limit\": 10,\n \"Offset\": 0\n}",
|
|
365
|
+
"output": "{\n \"Response\": {\n \"Items\": [\n {\n \"CreateAt\": \"2022-12-06 00:54:01\",\n \"Description\": \"all_template_des\",\n \"RuleFilters\": [\n {\n \"Compare\": \"INC\",\n \"Type\": \"sqlType\",\n \"Value\": [\n \"ALTER\"\n ]\n },\n {\n \"Compare\": \"EQS\",\n \"Type\": \"host\",\n \"Value\": [\n \"10.0.0.2\"\n ]\n },\n {\n \"Compare\": \"NEQ\",\n \"Type\": \"user\",\n \"Value\": [\n \"lue\"\n ]\n },\n {\n \"Compare\": \"INC\",\n \"Type\": \"dbName\",\n \"Value\": [\n \"lue\"\n ]\n }\n ],\n \"RuleTemplateId\": \"cdb-art-lcpm4as3\",\n \"RuleTemplateName\": \"template_test\"\n }\n ],\n \"RequestId\": \"a19ebcfb-8b35-40f4-85ee-383109c9134b\",\n \"TotalCount\": 1\n }\n}",
|
|
366
|
+
"title": "Querying Audit Rule Template Information"
|
|
367
|
+
}
|
|
368
|
+
],
|
|
273
369
|
"DescribeAuditRules": [
|
|
274
370
|
{
|
|
275
371
|
"document": " ",
|
|
@@ -362,7 +458,7 @@
|
|
|
362
458
|
{
|
|
363
459
|
"document": " ",
|
|
364
460
|
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCdbZoneConfig\n<Common request parameters>\n\n{}",
|
|
365
|
-
"output": "{\n \"Response\": {\n \"DataResult\": {\n \"Configs\": [\n {\n \"Cpu\": 1,\n \"DeviceType\": \"CUSTOM\",\n \"EngineType\": \"InnoDB\",\n \"Id\": 11,\n \"Info\": \"Small-scale game apps with tens of thousands of DAUs or widget apps with millions of DAUs\"\n \"Iops\": 1200,\n \"Memory\": 1000,\n \"Status\": 0,\n \"VolumeMax\": 3000,\n \"VolumeMin\": 25,\n \"VolumeStep\": 5\n },\n {\n \"Cpu\": 1,\n \"DeviceType\": \"CUSTOM\",\n \"EngineType\": \"InnoDB\",\n \"Id\": 12,\n \"Info\": \"Small-scale game apps with tens of thousands of DAUs or widget apps with millions of DAUs\"\n \"Iops\": 2000,\n \"Memory\": 2000,\n \"Status\": 0,\n \"VolumeMax\": 3000,\n \"VolumeMin\": 25,\n \"VolumeStep\": 5\n },\n {\n \"Cpu\": 8,\n \"DeviceType\": \"CUSTOM\",\n \"EngineType\": \"RocksDB\",\n \"Id\": 175,\n \"Info\": \"Large-scale game apps with millions of DAUs\"\n \"Iops\": 28000,\n \"Memory\": 32000,\n \"Status\": 0,\n \"VolumeMax\": 3000,\n \"VolumeMin\": 25,\n \"VolumeStep\": 5\n }\n ],\n \"Regions\": [\n {\n \"Area\": \"East China\",\n \"IsDefaultRegion\": 0,\n \"Region\": \"ap-shanghai\",\n \"RegionConfig\": [\n {\n \"DrZone\": [\n \"ap-guangzhou-3\",\n \"ap-guangzhou-4\",\n \"ap-guangzhou-5\",\n \"ap-guangzhou-6\",\n \"ap-guangzhou-7\"\n ],\n \"EngineType\": [\n \"InnoDB\",\n \"RocksDB\"\n ],\n \"ExClusterRemoteRoZone\": [],\n \"ExClusterStatus\": 3,\n \"ExClusterZoneConf\": {\n \"BackupZone\": [],\n \"DeployMode\": [\n 0\n ],\n \"MasterZone\": [],\n \"SlaveZone\": [\n },\n \"HourInstanceSaleMaxNum\": 10000,\n \"IsBm\": false,\n \"IsCustom\": true,\n \"IsDefaultZone\": false,\n \"IsSupportDr\": true,\n \"IsSupportIpv6\": false,\n \"IsSupportRemoteRo\": true,\n \"IsSupportVpc\": true,\n \"PayType\": [\n \"0\",\n \"1\",\n \"2\"\n ],\n \"ProtectMode\": [\n \"0\",\n \"1\",\n \"2\"\n ],\n \"RemoteRoZone\": [\n \"ap-beijing-1\",\n \"ap-beijing-
|
|
461
|
+
"output": "{\n \"Response\": {\n \"DataResult\": {\n \"Configs\": [\n {\n \"Cpu\": 1,\n \"DeviceType\": \"CUSTOM\",\n \"EngineType\": \"InnoDB\",\n \"Id\": 11,\n \"Info\": \"Small-scale game apps with tens of thousands of DAUs or widget apps with millions of DAUs\"\n \"Iops\": 1200,\n \"Memory\": 1000,\n \"Status\": 0,\n \"VolumeMax\": 3000,\n \"VolumeMin\": 25,\n \"VolumeStep\": 5\n },\n {\n \"Cpu\": 1,\n \"DeviceType\": \"CUSTOM\",\n \"EngineType\": \"InnoDB\",\n \"Id\": 12,\n \"Info\": \"Small-scale game apps with tens of thousands of DAUs or widget apps with millions of DAUs\"\n \"Iops\": 2000,\n \"Memory\": 2000,\n \"Status\": 0,\n \"VolumeMax\": 3000,\n \"VolumeMin\": 25,\n \"VolumeStep\": 5\n },\n {\n \"Cpu\": 8,\n \"DeviceType\": \"CUSTOM\",\n \"EngineType\": \"RocksDB\",\n \"Id\": 175,\n \"Info\": \"Large-scale game apps with millions of DAUs\"\n \"Iops\": 28000,\n \"Memory\": 32000,\n \"Status\": 0,\n \"VolumeMax\": 3000,\n \"VolumeMin\": 25,\n \"VolumeStep\": 5\n }\n ],\n \"Regions\": [\n {\n \"Area\": \"East China\",\n \"IsDefaultRegion\": 0,\n \"Region\": \"ap-shanghai\",\n \"RegionConfig\": [\n {\n \"DrZone\": [\n \"ap-guangzhou-3\",\n \"ap-guangzhou-4\",\n \"ap-guangzhou-5\",\n \"ap-guangzhou-6\",\n \"ap-guangzhou-7\"\n ],\n \"EngineType\": [\n \"InnoDB\",\n \"RocksDB\"\n ],\n \"ExClusterRemoteRoZone\": [],\n \"ExClusterStatus\": 3,\n \"ExClusterZoneConf\": {\n \"BackupZone\": [],\n \"DeployMode\": [\n 0\n ],\n \"MasterZone\": [],\n \"SlaveZone\": [\n },\n \"HourInstanceSaleMaxNum\": 10000,\n \"IsBm\": false,\n \"IsCustom\": true,\n \"IsDefaultZone\": false,\n \"IsSupportDr\": true,\n \"IsSupportIpv6\": false,\n \"IsSupportRemoteRo\": true,\n \"IsSupportVpc\": true,\n \"PayType\": [\n \"0\",\n \"1\",\n \"2\"\n ],\n \"ProtectMode\": [\n \"0\",\n \"1\",\n \"2\"\n ],\n \"RemoteRoZone\": [\n \"ap-beijing-1\",\n \"ap-beijing-3\"\n ],\n \"SellType\": [\n {\n \"ConfigIds\": [],\n \"EngineVersion\": [],\n \"TypeName\": \"CVM\"\n },\n {\n \"ConfigIds\": [\n 11,\n 12,\n 175\n ],\n \"EngineVersion\": [\n \"5.5\",\n \"5.6\",\n \"5.7\",\n \"8.0\"\n ],\n \"TypeName\": \"Z3\"\n }\n ],\n \"Status\": 3,\n \"Zone\": \"ap-shanghai-2\",\n \"ZoneConf\": {\n \"BackupZone\": [\n \"ap-shanghai-2\"\n ],\n \"DeployMode\": [\n 0,\n 1\n ],\n \"MasterZone\": [\n \"ap-shanghai-2\"\n ],\n \"SlaveZone\": [\n \"ap-shanghai-2\"\n ]\n },\n \"ZoneId\": 200002,\n \"ZoneName\": \"Shanghai Zone 2\"\n }\n ],\n \"RegionName\": \"Shanghai\"\n }\n ]\n },\n \"RequestId\": \"33ad58ce-64d3-5ef4-101a-1823da6f7cad\"\n }\n}",
|
|
366
462
|
"title": "Querying the purchasable database specifications"
|
|
367
463
|
}
|
|
368
464
|
],
|
|
@@ -410,7 +506,7 @@
|
|
|
410
506
|
{
|
|
411
507
|
"document": " ",
|
|
412
508
|
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstanceConfig\n<Common request parameters>\n\n{\n \"InstanceId\": \"cdb-f35wr6wj\"\n}",
|
|
413
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\",\n \"SlaveConfig\": {\n \"ReplicationMode\": \"async\",\n \"Zone\": \"ap-guangzhou-3\"\n },\n \"BackupConfig\": {\n \"ReplicationMode\": \"sync\",\n \"Vip\": \"\",\n \"Vport\":
|
|
509
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\",\n \"SlaveConfig\": {\n \"ReplicationMode\": \"async\",\n \"Zone\": \"ap-guangzhou-3\"\n },\n \"BackupConfig\": {\n \"ReplicationMode\": \"sync\",\n \"Vip\": \"172.1.1.1\",\n \"Vport\": 3306,\n \"Zone\": \"ap-guangzhou-3\"\n },\n \"ProtectMode\": 0,\n \"Zone\": \"ap-guangzhou-3\",\n \"DeployMode\": 1,\n \"Switched\": false\n }\n}",
|
|
414
510
|
"title": "Querying the configuration information of a TencentDB instance"
|
|
415
511
|
}
|
|
416
512
|
],
|
|
@@ -448,10 +544,10 @@
|
|
|
448
544
|
],
|
|
449
545
|
"DescribeDBInstances": [
|
|
450
546
|
{
|
|
451
|
-
"document": "This example shows you how to query the list
|
|
547
|
+
"document": "This example shows you how to query the instance list.",
|
|
452
548
|
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstances\n<Common request parameters>\n\n{\n \"InstanceIds\": [\n \"cdb-70zdmgg1\"\n ]\n}",
|
|
453
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"97939db3-ef94-4a60-9b64-2a1f4e2f1ea3\",\n \"Items\": [\n {\n \"WanStatus\": 0,\n \"Zone\": \"100001\",\n \"WanPort\": 0,\n \"DiskType\": \"
|
|
454
|
-
"title": "Querying the
|
|
549
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"97939db3-ef94-4a60-9b64-2a1f4e2f1ea3\",\n \"Items\": [\n {\n \"WanStatus\": 0,\n \"Zone\": \"100001\",\n \"WanPort\": 0,\n \"DiskType\": \"CLOUD_SSD\",\n \"RoVipInfo\": {\n \"RoVport\": 0,\n \"RoVpcId\": 0,\n \"RoVipStatus\": 0,\n \"RoVip\": \"192.168.1.1\",\n \"RoSubnetId\": 0\n },\n \"Memory\": 1000,\n \"EngineType\": \"InnoDB\",\n \"Status\": 1,\n \"VpcId\": 511512,\n \"SlaveInfo\": {\n \"Second\": {\n \"Vport\": 0,\n \"Vip\": \"172.1.1.1\",\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-1\"\n },\n \"First\": {\n \"Vport\": 0,\n \"Vip\": \"17.1.1.1\",\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-1\"\n }\n },\n \"InstanceId\": \"cdn-ahend\",\n \"PhysicalId\": \"136527\",\n \"Volume\": 50,\n \"AutoRenew\": 0,\n \"ProtectMode\": 0,\n \"CdbError\": 0,\n \"DeviceClass\": \"20\",\n \"MasterInfo\": {\n \"Status\": 1,\n \"VpcId\": 0,\n \"Zone\": \"100001\",\n \"ExClusterName\": \"andy\",\n \"InstanceId\": \"cdb-hsyhend\",\n \"ResourceId\": \"\",\n \"Region\": \"ap-guangzhou\",\n \"RegionId\": 0,\n \"ZoneId\": 0,\n \"Volume\": 0,\n \"DeviceType\": \"UNIVERSAL\",\n \"Memory\": 0,\n \"SubnetId\": 0,\n \"Qps\": 0,\n \"TaskStatus\": 0,\n \"InstanceName\": \"cdb342\",\n \"InstanceType\": 0,\n \"ExClusterId\": \"cdb-3ho6jddd\"\n },\n \"DeployGroupId\": \"ps-7t11vrwf\",\n \"InstanceNodes\": 2,\n \"RoGroups\": [\n {\n \"RoOfflineDelay\": 0,\n \"RoGroupMode\": \"alone\",\n \"RoGroupZone\": \"800003\",\n \"MinRoInGroup\": 1,\n \"DelayReplicationTime\": 0,\n \"RoGroupId\": \"cdbrg-92zkeaq2\",\n \"RoMaxDelayTime\": 1,\n \"RoGroupName\": \"cdbro2\",\n \"Weight\": 0,\n \"UniqVpcId\": \"vpc-ja6ts123\",\n \"RoInstances\": [\n {\n \"Zone\": \"ap-guangzhou-3\",\n \"MasterInstanceId\": \"cdb-fapcrp1q\",\n \"ReplicationStatus\": \"success\",\n \"Memory\": 1000,\n \"Status\": 1,\n \"VpcId\": 511512,\n \"InstanceId\": \"cdb-hendhs\",\n \"Volume\": 50,\n \"OfflineTime\": \"2024-09-09 16:40:31\",\n \"SubnetId\": 115839,\n \"HourFeeStatus\": 1,\n \"RoStatus\": \"online\",\n \"Region\": \"ap-guangzhou\",\n \"DeadlineTime\": \"2024-12-29 08:37:33\",\n \"TaskStatus\": 0,\n \"DeviceType\": \"UNIVERSAL\",\n \"EngineVersion\": \"5.7\",\n \"InstanceName\": \"cdbro732\",\n \"Weight\": 0,\n \"PayType\": 1,\n \"InstanceType\": 3,\n \"Vip\": \"127.0.0.1\",\n \"Qps\": 1000,\n \"Vport\": 3306\n }\n ],\n \"Vip\": \"10.89.90.66\",\n \"UniqSubnetId\": \"subnet-njh2bc99\",\n \"RoGroupRegion\": \"ap-guangzhou\",\n \"Vport\": 3306,\n \"WeightMode\": \"system\"\n },\n {\n \"RoOfflineDelay\": 0,\n \"RoGroupMode\": \"alone\",\n \"RoGroupZone\": \"ap-guangzhou\",\n \"MinRoInGroup\": 1,\n \"DelayReplicationTime\": 0,\n \"RoGroupId\": \"cdbrg-92zkeaq4\",\n \"RoMaxDelayTime\": 1,\n \"RoGroupName\": \"andy6\",\n \"UniqVpcId\": \"vpc-ja6ts453\",\n \"Weight\": 0,\n \"RoInstances\": [\n {\n \"Zone\": \"ap-guangzhou-4\",\n \"MasterInstanceId\": \"cdb-fapcrp12\",\n \"ReplicationStatus\": \"success\",\n \"Memory\": 1000,\n \"Status\": 1,\n \"VpcId\": 511512,\n \"InstanceId\": \"cdbro-c1nl9rpv\",\n \"Volume\": 25,\n \"OfflineTime\": \"2024-09-09 16:40:30\",\n \"SubnetId\": 115839,\n \"HourFeeStatus\": 1,\n \"RoStatus\": \"online\",\n \"Region\": \"ap-guangzhou\",\n \"DeadlineTime\": \"2024-12-29 08:37:33\",\n \"TaskStatus\": 0,\n \"DeviceType\": \"UNIVERSAL\",\n \"EngineVersion\": \"5.7\",\n \"InstanceName\": \"cdbro7\",\n \"Weight\": 0,\n \"PayType\": 1,\n \"InstanceType\": 3,\n \"Vip\": \"127.0.0.1\",\n \"Qps\": 1000,\n \"Vport\": 3306\n }\n ],\n \"Vip\": \"12.1.1.1\",\n \"UniqSubnetId\": \"subnet-njh2bc11\",\n \"RoGroupRegion\": \"ap-guangzhou\",\n \"Vport\": 3306,\n \"WeightMode\": \"system\"\n }\n ],\n \"ProjectId\": 0,\n \"DeadlineTime\": \"2020-09-22 00:00:00\",\n \"DeployMode\": 0,\n \"TaskStatus\": 0,\n \"SubnetId\": 115839,\n \"DeviceType\": \"EXCLUSIVE\",\n \"EngineVersion\": \"5.7\",\n \"MaxDelayTime\": 0,\n \"InstanceName\": \"cdbandy\",\n \"Cpu\": 8,\n \"DrInfo\": [\n {\n \"Status\": 0,\n \"Zone\": \"ap-beijing-3\",\n \"InstanceId\": \"cdb-hegns\",\n \"Region\": \"ap-beijing\",\n \"SyncStatus\": 0,\n \"InstanceName\": \"andydr\",\n \"InstanceType\": 0\n }\n ],\n \"UniqVpcId\": \"vpc-5v8wn9m1\",\n \"WanDomain\": \"gz-cdb-******.sql.tencentcdb.com\",\n \"InitFlag\": 1,\n \"PayType\": 1,\n \"InstanceType\": 1,\n \"Vip\": \"13.1.1.1\",\n \"UniqSubnetId\": \"subnet-1typ0s7d\",\n \"Region\": \"ap-beijing\",\n \"Qps\": 0,\n \"Vport\": 3306,\n \"TagList\": [\n {\n \"TagKey\": \"name\",\n \"TagValue\": \"andy\"\n }\n ],\n \"CreateTime\": \"2023-08-29 08:37:33\",\n \"ZoneId\": 720001,\n \"ZoneName\": \"Beijing Zone 3.\"\n }\n ]\n }\n}",
|
|
550
|
+
"title": "Querying the Instance List"
|
|
455
551
|
}
|
|
456
552
|
],
|
|
457
553
|
"DescribeDBPrice": [
|
|
@@ -601,7 +697,7 @@
|
|
|
601
697
|
"document": "",
|
|
602
698
|
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRoGroups\n<common request parameters>\n\n{\n \"InstanceId\": \"cdb-93hvfefg\"\n}",
|
|
603
699
|
"output": "{\n \"Response\": {\n \"RequestId\": \"5e18a101-e6f5-440c-a9d3-3b30aef256e1\",\n \"RoGroups\": [\n {\n \"DelayReplicationTime\": 0,\n \"MinRoInGroup\": 1,\n \"RoGroupId\": \"cdbrg-lsj**ijm\",\n \"RoGroupMode\": \"\",\n \"RoGroupName\": \"tommy1\",\n \"RoGroupRegion\": \"ap-beijing\",\n \"RoGroupZone\": \"ap-beijing-6\",\n \"RoInstances\": [\n {\n \"DeadlineTime\": \"2024-11-12 16:11:06\",\n \"DeviceType\": \"CUSTOM\",\n \"EngineVersion\": \"8.0\",\n \"HourFeeStatus\": 1,\n \"InstanceId\": \"cdbro-lsjh**jm\",\n \"InstanceName\": \"cdb_ro_21**63\",\n \"InstanceType\": 3,\n \"MasterInstanceId\": \"cdb-93**fefg\",\n \"Memory\": 4000,\n \"OfflineTime\": \"2024-01-25 15:05:59\",\n \"PayType\": 0,\n \"Qps\": 4400,\n \"Region\": \"ap-beijing\",\n \"RoStatus\": \"online\",\n \"Status\": 1,\n \"SubnetId\": 2738750,\n \"TaskStatus\": 0,\n \"Vip\": \"172.*.32.13\",\n \"Volume\": 60,\n \"VpcId\": 7078258,\n \"Vport\": 3306,\n \"Weight\": 2,\n \"Zone\": \"ap-beijing-6\"\n }\n ],\n \"RoMaxDelayTime\": 10,\n \"RoOfflineDelay\": 1,\n \"UniqSubnetId\": \"subnet-jp6**13n\",\n \"UniqVpcId\": \"vpc-4ko**3u6\",\n \"Vip\": \"172.*.64.7\",\n \"Vport\": 3306,\n \"Weight\": 0,\n \"WeightMode\": \"system\"\n }\n ]\n }\n}",
|
|
604
|
-
"title": "
|
|
700
|
+
"title": "Queries the information of all RO groups of TencentDB instance"
|
|
605
701
|
}
|
|
606
702
|
],
|
|
607
703
|
"DescribeRoMinScale": [
|
|
@@ -740,6 +836,30 @@
|
|
|
740
836
|
"title": "Modifying the permissions of a TencentDB instance account"
|
|
741
837
|
}
|
|
742
838
|
],
|
|
839
|
+
"ModifyAuditConfig": [
|
|
840
|
+
{
|
|
841
|
+
"document": " ",
|
|
842
|
+
"input": "https://cdb.tencentcloudapi.com/?Action=ModifyAuditConfig\n&LogExpireDay=365\n&InstanceId=cdb-txcniupi\n&<Common request parameters>",
|
|
843
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\"\n }\n}",
|
|
844
|
+
"title": "Modifying Audit Service Configurations"
|
|
845
|
+
}
|
|
846
|
+
],
|
|
847
|
+
"ModifyAuditRuleTemplates": [
|
|
848
|
+
{
|
|
849
|
+
"document": "None",
|
|
850
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAuditRuleTemplates\n<Common request parameters>\n\n{\n \"RuleTemplateIds\": [\n \"cdb-rt-ws23fwu8\"\n ],\n \"RuleTemplateName\": \"andyrule\"\n}",
|
|
851
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"43-12121-812w1221213-62usf9093\"\n }\n}",
|
|
852
|
+
"title": "Modifying an Audit Rule Template"
|
|
853
|
+
}
|
|
854
|
+
],
|
|
855
|
+
"ModifyAuditService": [
|
|
856
|
+
{
|
|
857
|
+
"document": "None",
|
|
858
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAuditService\n<Common request parameters>\n\n{\n \"InstanceId\": \"cdb-6990cckk\",\n \"LogExpireDay\": 30,\n \"HighLogExpireDay\": 7,\n \"AuditAll\": true\n}",
|
|
859
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"43-12121-812w1221213-62usf9093\"\n }\n}",
|
|
860
|
+
"title": "Modifying the Audit Service"
|
|
861
|
+
}
|
|
862
|
+
],
|
|
743
863
|
"ModifyAutoRenewFlag": [
|
|
744
864
|
{
|
|
745
865
|
"document": " ",
|
tccli/services/cdc/cdc_client.py
CHANGED
|
@@ -42,7 +42,7 @@ def doModifySiteDeviceInfo(args, parsed_globals):
|
|
|
42
42
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
43
43
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
44
44
|
)
|
|
45
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
45
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
46
46
|
if g_param[OptionsDefine.Language]:
|
|
47
47
|
profile.language = g_param[OptionsDefine.Language]
|
|
48
48
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
@@ -97,7 +97,7 @@ def doDescribeDedicatedClusterTypes(args, parsed_globals):
|
|
|
97
97
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
98
98
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
99
99
|
)
|
|
100
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
100
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
101
101
|
if g_param[OptionsDefine.Language]:
|
|
102
102
|
profile.language = g_param[OptionsDefine.Language]
|
|
103
103
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
@@ -152,7 +152,7 @@ def doDeleteDedicatedClusters(args, parsed_globals):
|
|
|
152
152
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
153
153
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
154
154
|
)
|
|
155
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
155
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
156
156
|
if g_param[OptionsDefine.Language]:
|
|
157
157
|
profile.language = g_param[OptionsDefine.Language]
|
|
158
158
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
@@ -207,7 +207,7 @@ def doDescribeDedicatedClusterCosCapacity(args, parsed_globals):
|
|
|
207
207
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
208
208
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
209
209
|
)
|
|
210
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
210
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
211
211
|
if g_param[OptionsDefine.Language]:
|
|
212
212
|
profile.language = g_param[OptionsDefine.Language]
|
|
213
213
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
@@ -262,7 +262,7 @@ def doCreateDedicatedCluster(args, parsed_globals):
|
|
|
262
262
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
263
263
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
264
264
|
)
|
|
265
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
265
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
266
266
|
if g_param[OptionsDefine.Language]:
|
|
267
267
|
profile.language = g_param[OptionsDefine.Language]
|
|
268
268
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
@@ -317,7 +317,7 @@ def doDescribeDedicatedClusterHostStatistics(args, parsed_globals):
|
|
|
317
317
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
318
318
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
319
319
|
)
|
|
320
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
320
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
321
321
|
if g_param[OptionsDefine.Language]:
|
|
322
322
|
profile.language = g_param[OptionsDefine.Language]
|
|
323
323
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
@@ -372,7 +372,7 @@ def doModifyDedicatedClusterInfo(args, parsed_globals):
|
|
|
372
372
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
373
373
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
374
374
|
)
|
|
375
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
375
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
376
376
|
if g_param[OptionsDefine.Language]:
|
|
377
377
|
profile.language = g_param[OptionsDefine.Language]
|
|
378
378
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
@@ -427,7 +427,7 @@ def doDescribeSites(args, parsed_globals):
|
|
|
427
427
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
428
428
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
429
429
|
)
|
|
430
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
430
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
431
431
|
if g_param[OptionsDefine.Language]:
|
|
432
432
|
profile.language = g_param[OptionsDefine.Language]
|
|
433
433
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
@@ -482,7 +482,7 @@ def doDescribeDedicatedClusterOrders(args, parsed_globals):
|
|
|
482
482
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
483
483
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
484
484
|
)
|
|
485
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
485
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
486
486
|
if g_param[OptionsDefine.Language]:
|
|
487
487
|
profile.language = g_param[OptionsDefine.Language]
|
|
488
488
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
@@ -537,7 +537,7 @@ def doModifySiteInfo(args, parsed_globals):
|
|
|
537
537
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
538
538
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
539
539
|
)
|
|
540
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
540
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
541
541
|
if g_param[OptionsDefine.Language]:
|
|
542
542
|
profile.language = g_param[OptionsDefine.Language]
|
|
543
543
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
@@ -592,7 +592,7 @@ def doDescribeDedicatedClusters(args, parsed_globals):
|
|
|
592
592
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
593
593
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
594
594
|
)
|
|
595
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
595
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
596
596
|
if g_param[OptionsDefine.Language]:
|
|
597
597
|
profile.language = g_param[OptionsDefine.Language]
|
|
598
598
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
@@ -647,7 +647,7 @@ def doDescribeDedicatedClusterHosts(args, parsed_globals):
|
|
|
647
647
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
648
648
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
649
649
|
)
|
|
650
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
650
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
651
651
|
if g_param[OptionsDefine.Language]:
|
|
652
652
|
profile.language = g_param[OptionsDefine.Language]
|
|
653
653
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
@@ -702,7 +702,7 @@ def doDescribeSitesDetail(args, parsed_globals):
|
|
|
702
702
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
703
703
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
704
704
|
)
|
|
705
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
705
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
706
706
|
if g_param[OptionsDefine.Language]:
|
|
707
707
|
profile.language = g_param[OptionsDefine.Language]
|
|
708
708
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
@@ -757,7 +757,7 @@ def doCreateDedicatedClusterOrder(args, parsed_globals):
|
|
|
757
757
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
758
758
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
759
759
|
)
|
|
760
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
760
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
761
761
|
if g_param[OptionsDefine.Language]:
|
|
762
762
|
profile.language = g_param[OptionsDefine.Language]
|
|
763
763
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
@@ -812,7 +812,7 @@ def doDescribeDedicatedClusterOverview(args, parsed_globals):
|
|
|
812
812
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
813
813
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
814
814
|
)
|
|
815
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
815
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
816
816
|
if g_param[OptionsDefine.Language]:
|
|
817
817
|
profile.language = g_param[OptionsDefine.Language]
|
|
818
818
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
@@ -867,7 +867,7 @@ def doDeleteSites(args, parsed_globals):
|
|
|
867
867
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
868
868
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
869
869
|
)
|
|
870
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
870
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
871
871
|
if g_param[OptionsDefine.Language]:
|
|
872
872
|
profile.language = g_param[OptionsDefine.Language]
|
|
873
873
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
@@ -922,7 +922,7 @@ def doModifyOrderStatus(args, parsed_globals):
|
|
|
922
922
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
923
923
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
924
924
|
)
|
|
925
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
925
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
926
926
|
if g_param[OptionsDefine.Language]:
|
|
927
927
|
profile.language = g_param[OptionsDefine.Language]
|
|
928
928
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
@@ -977,7 +977,7 @@ def doDescribeDedicatedClusterInstanceTypes(args, parsed_globals):
|
|
|
977
977
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
978
978
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
979
979
|
)
|
|
980
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
980
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
981
981
|
if g_param[OptionsDefine.Language]:
|
|
982
982
|
profile.language = g_param[OptionsDefine.Language]
|
|
983
983
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
@@ -1032,7 +1032,7 @@ def doDescribeDedicatedSupportedZones(args, parsed_globals):
|
|
|
1032
1032
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
1033
1033
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
1034
1034
|
)
|
|
1035
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
1035
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
1036
1036
|
if g_param[OptionsDefine.Language]:
|
|
1037
1037
|
profile.language = g_param[OptionsDefine.Language]
|
|
1038
1038
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
@@ -1087,7 +1087,7 @@ def doCreateSite(args, parsed_globals):
|
|
|
1087
1087
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
1088
1088
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
1089
1089
|
)
|
|
1090
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
1090
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
1091
1091
|
if g_param[OptionsDefine.Language]:
|
|
1092
1092
|
profile.language = g_param[OptionsDefine.Language]
|
|
1093
1093
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|