tccli-intl-en 3.0.1168.1__py2.py3-none-any.whl → 3.1.16.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/plugins/sso/__init__.py +14 -0
- tccli/plugins/sso/login.py +23 -6
- tccli/plugins/sso/texts.py +4 -0
- tccli/services/__init__.py +49 -2
- tccli/services/advisor/advisor_client.py +10 -4
- 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 +5 -2
- tccli/services/ams/ams_client.py +20 -8
- tccli/services/antiddos/antiddos_client.py +350 -140
- tccli/services/apigateway/apigateway_client.py +465 -186
- tccli/services/apm/apm_client.py +835 -68
- tccli/services/apm/v20210622/api.json +3936 -1145
- tccli/services/apm/v20210622/examples.json +133 -23
- tccli/services/asr/asr_client.py +10 -4
- tccli/services/autoscaling/autoscaling_client.py +341 -114
- tccli/services/autoscaling/v20180419/api.json +514 -333
- tccli/services/autoscaling/v20180419/examples.json +46 -38
- tccli/services/batch/batch_client.py +140 -56
- tccli/services/bi/__init__.py +4 -0
- tccli/services/bi/bi_client.py +1498 -0
- tccli/services/bi/v20220105/api.json +5769 -0
- tccli/services/bi/v20220105/examples.json +215 -0
- tccli/services/billing/billing_client.py +1055 -134
- tccli/services/billing/v20180709/api.json +1654 -243
- tccli/services/billing/v20180709/examples.json +169 -25
- tccli/services/cam/cam_client.py +405 -162
- tccli/services/captcha/captcha_client.py +5 -2
- tccli/services/captcha/v20190722/api.json +16 -6
- tccli/services/captcha/v20190722/examples.json +3 -3
- tccli/services/car/car_client.py +165 -66
- tccli/services/cbs/cbs_client.py +190 -76
- tccli/services/ccc/ccc_client.py +1167 -268
- tccli/services/ccc/v20200210/api.json +2263 -202
- tccli/services/ccc/v20200210/examples.json +116 -12
- tccli/services/cdb/cdb_client.py +665 -266
- tccli/services/cdb/v20170320/api.json +426 -173
- tccli/services/cdb/v20170320/examples.json +6 -6
- tccli/services/cdc/cdc_client.py +100 -40
- tccli/services/cdc/v20201214/api.json +2 -2
- tccli/services/cdc/v20201214/examples.json +4 -4
- tccli/services/cdn/cdn_client.py +220 -88
- tccli/services/cdwdoris/cdwdoris_client.py +385 -154
- tccli/services/cdwpg/cdwpg_client.py +120 -48
- 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 +80 -32
- tccli/services/cfg/v20210820/api.json +30 -10
- tccli/services/cfg/v20210820/examples.json +1 -1
- tccli/services/cfs/cfs_client.py +195 -78
- tccli/services/cfw/cfw_client.py +330 -132
- tccli/services/chdfs/chdfs_client.py +145 -58
- tccli/services/ciam/ciam_client.py +80 -32
- tccli/services/ckafka/ckafka_client.py +1033 -255
- tccli/services/ckafka/v20190819/api.json +3378 -1681
- tccli/services/ckafka/v20190819/examples.json +254 -160
- tccli/services/clb/clb_client.py +1054 -469
- tccli/services/clb/v20180317/api.json +2307 -1024
- tccli/services/clb/v20180317/examples.json +186 -126
- tccli/services/cloudaudit/cloudaudit_client.py +90 -36
- tccli/services/cls/cls_client.py +434 -173
- tccli/services/cmq/cmq_client.py +14 -803
- tccli/services/cmq/v20190304/api.json +173 -1367
- tccli/services/cmq/v20190304/examples.json +0 -120
- tccli/services/config/config_client.py +30 -12
- tccli/services/controlcenter/controlcenter_client.py +229 -2
- tccli/services/controlcenter/v20230110/api.json +528 -5
- tccli/services/controlcenter/v20230110/examples.json +32 -0
- tccli/services/csip/csip_client.py +339 -78
- tccli/services/csip/v20221121/api.json +1011 -38
- tccli/services/csip/v20221121/examples.json +24 -0
- tccli/services/ctsdb/__init__.py +4 -0
- tccli/services/ctsdb/ctsdb_client.py +266 -0
- tccli/services/ctsdb/v20230202/api.json +677 -0
- tccli/services/ctsdb/v20230202/examples.json +20 -0
- tccli/services/cvm/cvm_client.py +706 -189
- tccli/services/cvm/v20170312/api.json +1141 -510
- tccli/services/cvm/v20170312/examples.json +174 -128
- tccli/services/cwp/cwp_client.py +2325 -930
- tccli/services/cynosdb/cynosdb_client.py +3051 -575
- tccli/services/cynosdb/v20190107/api.json +14074 -7139
- tccli/services/cynosdb/v20190107/examples.json +597 -287
- tccli/services/dataintegration/dataintegration_client.py +5 -2
- tccli/services/dayu/dayu_client.py +515 -206
- tccli/services/dbbrain/dbbrain_client.py +210 -84
- tccli/services/dc/dc_client.py +90 -36
- tccli/services/dcdb/dcdb_client.py +310 -124
- tccli/services/dlc/dlc_client.py +859 -214
- tccli/services/dlc/v20210125/api.json +637 -13
- tccli/services/dlc/v20210125/examples.json +48 -0
- tccli/services/dms/dms_client.py +10 -4
- tccli/services/dnspod/dnspod_client.py +390 -111
- tccli/services/dnspod/v20210323/api.json +196 -0
- tccli/services/dnspod/v20210323/examples.json +24 -0
- tccli/services/domain/domain_client.py +120 -48
- tccli/services/dts/dts_client.py +415 -166
- tccli/services/eb/eb_client.py +130 -52
- tccli/services/ecdn/ecdn_client.py +75 -30
- tccli/services/ecm/ecm_client.py +620 -248
- tccli/services/eiam/eiam_client.py +200 -80
- tccli/services/emr/emr_client.py +3104 -117
- tccli/services/emr/v20190103/api.json +15311 -4361
- tccli/services/emr/v20190103/examples.json +452 -42
- tccli/services/es/es_client.py +105 -42
- tccli/services/facefusion/facefusion_client.py +15 -6
- tccli/services/faceid/faceid_client.py +95 -38
- tccli/services/faceid/v20180301/api.json +172 -45
- tccli/services/faceid/v20180301/examples.json +3 -3
- tccli/services/gaap/gaap_client.py +440 -176
- tccli/services/gme/gme_client.py +50 -20
- tccli/services/gpm/gpm_client.py +90 -36
- tccli/services/gse/gse_client.py +110 -44
- tccli/services/gwlb/gwlb_client.py +90 -36
- tccli/services/hunyuan/__init__.py +4 -0
- tccli/services/hunyuan/hunyuan_client.py +266 -0
- tccli/services/hunyuan/v20230901/api.json +270 -0
- tccli/services/hunyuan/v20230901/examples.json +20 -0
- tccli/services/iai/iai_client.py +145 -58
- tccli/services/iai/v20200303/api.json +187 -51
- tccli/services/iai/v20200303/examples.json +30 -12
- tccli/services/iap/iap_client.py +30 -12
- tccli/services/ims/ims_client.py +5 -2
- tccli/services/ims/v20201229/api.json +133 -141
- tccli/services/ims/v20201229/examples.json +3 -3
- tccli/services/intlpartnersmgt/intlpartnersmgt_client.py +516 -72
- tccli/services/intlpartnersmgt/v20220928/api.json +976 -60
- tccli/services/intlpartnersmgt/v20220928/examples.json +50 -2
- tccli/services/iotcloud/iotcloud_client.py +100 -40
- tccli/services/iotcloud/v20210408/api.json +216 -107
- tccli/services/iotcloud/v20210408/examples.json +9 -9
- tccli/services/ip/ip_client.py +30 -12
- tccli/services/kms/kms_client.py +1226 -227
- tccli/services/kms/v20190118/api.json +1562 -144
- tccli/services/kms/v20190118/examples.json +204 -78
- tccli/services/lcic/lcic_client.py +265 -106
- tccli/services/lighthouse/lighthouse_client.py +370 -148
- tccli/services/lighthouse/v20200324/api.json +14 -14
- tccli/services/lighthouse/v20200324/examples.json +5 -5
- tccli/services/live/live_client.py +804 -232
- tccli/services/live/v20180801/api.json +272 -0
- tccli/services/live/v20180801/examples.json +32 -0
- tccli/services/lke/__init__.py +4 -0
- tccli/services/lke/lke_client.py +5194 -0
- tccli/services/lke/v20231130/api.json +14803 -0
- tccli/services/lke/v20231130/examples.json +736 -0
- tccli/services/lkeap/__init__.py +4 -0
- tccli/services/lkeap/lkeap_client.py +602 -0
- tccli/services/lkeap/v20240522/api.json +953 -0
- tccli/services/lkeap/v20240522/examples.json +92 -0
- tccli/services/mariadb/mariadb_client.py +250 -100
- tccli/services/mdc/mdc_client.py +90 -36
- tccli/services/mdl/mdl_client.py +402 -82
- tccli/services/mdl/v20200326/api.json +1144 -58
- tccli/services/mdl/v20200326/examples.json +48 -16
- tccli/services/mdp/mdp_client.py +785 -122
- tccli/services/mdp/v20200527/api.json +1168 -44
- tccli/services/mdp/v20200527/examples.json +151 -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 +1452 -136
- tccli/services/mongodb/v20190725/api.json +4393 -1462
- tccli/services/mongodb/v20190725/examples.json +265 -71
- tccli/services/monitor/monitor_client.py +1008 -296
- tccli/services/monitor/v20180724/api.json +660 -11
- tccli/services/monitor/v20180724/examples.json +152 -4
- tccli/services/mps/mps_client.py +1573 -354
- tccli/services/mps/v20190612/api.json +12394 -7243
- tccli/services/mps/v20190612/examples.json +244 -84
- tccli/services/msp/msp_client.py +35 -14
- tccli/services/ocr/ocr_client.py +596 -102
- tccli/services/ocr/v20181119/api.json +2271 -181
- tccli/services/ocr/v20181119/examples.json +70 -8
- tccli/services/omics/omics_client.py +100 -40
- tccli/services/organization/organization_client.py +580 -232
- tccli/services/postgres/postgres_client.py +455 -182
- tccli/services/postgres/v20170312/api.json +134 -109
- tccli/services/postgres/v20170312/examples.json +14 -14
- tccli/services/privatedns/privatedns_client.py +206 -60
- tccli/services/privatedns/v20201028/api.json +179 -0
- tccli/services/privatedns/v20201028/examples.json +8 -0
- tccli/services/pts/pts_client.py +240 -96
- 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 +5 -2
- tccli/services/redis/redis_client.py +698 -212
- tccli/services/redis/v20180412/api.json +968 -563
- tccli/services/redis/v20180412/examples.json +98 -56
- tccli/services/region/__init__.py +4 -0
- tccli/services/region/region_client.py +322 -0
- tccli/services/region/v20220627/api.json +399 -0
- tccli/services/region/v20220627/examples.json +29 -0
- tccli/services/rum/rum_client.py +300 -120
- tccli/services/scf/scf_client.py +210 -84
- tccli/services/ses/ses_client.py +368 -69
- tccli/services/ses/v20201002/api.json +240 -0
- tccli/services/ses/v20201002/examples.json +32 -0
- 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 +90 -36
- tccli/services/sqlserver/sqlserver_client.py +3855 -470
- tccli/services/sqlserver/v20180328/api.json +9757 -3347
- tccli/services/sqlserver/v20180328/examples.json +480 -20
- tccli/services/ssl/ssl_client.py +504 -72
- tccli/services/ssl/v20191205/api.json +789 -21
- tccli/services/ssl/v20191205/examples.json +54 -0
- tccli/services/ssm/ssm_client.py +120 -48
- tccli/services/sts/sts_client.py +25 -10
- tccli/services/tag/tag_client.py +150 -60
- tccli/services/tat/tat_client.py +95 -38
- tccli/services/tbaas/__init__.py +4 -0
- tccli/services/tbaas/tbaas_client.py +378 -0
- tccli/services/tbaas/v20180416/api.json +551 -0
- tccli/services/tbaas/v20180416/examples.json +37 -0
- tccli/services/tcaplusdb/tcaplusdb_client.py +260 -104
- tccli/services/tcaplusdb/v20190823/api.json +836 -760
- tccli/services/tcaplusdb/v20190823/examples.json +3 -3
- tccli/services/tchd/tchd_client.py +5 -2
- tccli/services/tcmpp/tcmpp_client.py +520 -208
- tccli/services/tcr/tcr_client.py +380 -152
- tccli/services/tcsas/tcsas_client.py +295 -118
- tccli/services/tcsas/v20250106/api.json +155 -79
- tccli/services/tcsas/v20250106/examples.json +3 -3
- tccli/services/tcss/tcss_client.py +1650 -660
- tccli/services/tdid/tdid_client.py +240 -96
- tccli/services/tdmq/tdmq_client.py +2876 -466
- tccli/services/tdmq/v20200217/api.json +11607 -3958
- tccli/services/tdmq/v20200217/examples.json +562 -264
- tccli/services/tem/tem_client.py +280 -112
- tccli/services/teo/teo_client.py +4507 -966
- tccli/services/teo/v20220901/api.json +7341 -1405
- tccli/services/teo/v20220901/examples.json +679 -99
- 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 +255 -102
- tccli/services/tke/tke_client.py +741 -274
- tccli/services/tke/v20180525/api.json +132 -7
- tccli/services/tke/v20180525/examples.json +42 -16
- tccli/services/tms/tms_client.py +5 -2
- tccli/services/tms/v20201229/api.json +91 -100
- tccli/services/tmt/tmt_client.py +5 -2
- tccli/services/trabbit/__init__.py +4 -0
- tccli/services/trabbit/trabbit_client.py +1778 -0
- tccli/services/trabbit/v20230418/api.json +4772 -0
- tccli/services/trabbit/v20230418/examples.json +237 -0
- 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 +95 -38
- tccli/services/trtc/trtc_client.py +928 -192
- tccli/services/trtc/v20190722/api.json +1810 -256
- tccli/services/trtc/v20190722/examples.json +100 -6
- tccli/services/tts/tts_client.py +5 -2
- tccli/services/vclm/vclm_client.py +10 -4
- tccli/services/vm/v20210922/api.json +61 -30
- tccli/services/vm/v20210922/examples.json +0 -12
- tccli/services/vm/vm_client.py +20 -8
- tccli/services/vod/v20180717/api.json +332 -52
- tccli/services/vod/v20180717/examples.json +9 -1
- tccli/services/vod/v20240718/api.json +1105 -0
- tccli/services/vod/v20240718/examples.json +97 -0
- tccli/services/vod/vod_client.py +1316 -350
- tccli/services/vpc/v20170312/api.json +1166 -106
- tccli/services/vpc/v20170312/examples.json +197 -23
- tccli/services/vpc/vpc_client.py +2413 -739
- tccli/services/waf/v20180125/api.json +1372 -194
- tccli/services/waf/v20180125/examples.json +89 -1
- tccli/services/waf/waf_client.py +1149 -245
- tccli/services/wedata/v20210820/api.json +1577 -231
- tccli/services/wedata/v20210820/examples.json +74 -12
- tccli/services/wedata/v20250806/api.json +13644 -0
- tccli/services/wedata/v20250806/examples.json +621 -0
- tccli/services/wedata/wedata_client.py +6366 -1191
- tccli/services/yunjing/yunjing_client.py +355 -142
- {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/METADATA +4 -7
- {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/RECORD +294 -230
- {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/WHEEL +1 -1
- {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/entry_points.txt +0 -1
- {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/LICENSE +0 -0
- {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/top_level.txt +0 -0
|
@@ -59,19 +59,19 @@
|
|
|
59
59
|
"CreateInstances": [
|
|
60
60
|
{
|
|
61
61
|
"document": "This example shows you how to create an instance running the latest kernel of PostgreSQL 12.4.",
|
|
62
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateInstances\n<Common request parameters>\n\n{\n \"InstanceCount\": \"1\",\n \"AutoRenewFlag\": \"1\",\n \"AdminName\": \"test2313\",\n \"Zone\": \"ap-guangzhou-
|
|
62
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateInstances\n<Common request parameters>\n\n{\n \"InstanceCount\": \"1\",\n \"AutoRenewFlag\": \"1\",\n \"AdminName\": \"test2313\",\n \"Zone\": \"ap-guangzhou-7\",\n \"AdminPassword\": \" xxxxxxx\",\n \"DBVersion\": \"12.4\",\n \"DBEngine\": \"postgresql\",\n \"Storage\": \"10\",\n \"Period\": \"1\",\n \"SpecCode\": \"cdb.pg.z1.2g\",\n \"InstanceChargeType\": \"prepaid\",\n \"AutoVoucher\": \"0\",\n \"Charset\": \"UTF8\"\n}",
|
|
63
63
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6ace8140-6b9e-4e81-a8ad-ef3f92b2aa90\",\n \"DealNames\": [\n \"20180119110001\"\n ],\n \"DBInstanceIdSet\": [\n \"postgres-xxxxx\"\n ],\n \"BillId\": \"123\"\n }\n}",
|
|
64
64
|
"title": "Creating a PostgreSQL 12.4 instance"
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
67
|
"document": "This example shows you how to create a PostgreSQL instance running kernel v12.4_r1.0.",
|
|
68
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateInstances\n<Common request parameters>\n\n{\n \"InstanceCount\": \"1\",\n \"AutoRenewFlag\": \"1\",\n \"AdminName\": \"test2313\",\n \"Zone\": \"ap-guangzhou-
|
|
68
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateInstances\n<Common request parameters>\n\n{\n \"InstanceCount\": \"1\",\n \"AutoRenewFlag\": \"1\",\n \"AdminName\": \"test2313\",\n \"Zone\": \"ap-guangzhou-7\",\n \"AdminPassword\": \" xxxxxxx\",\n \"Charset\": \"UTF8\",\n \"Storage\": \"10\",\n \"Period\": \"1\",\n \"SpecCode\": \"cdb.pg.z1.2g\",\n \"DBKernelVersion\": \"v12.4_r1.0\",\n \"DBEngine\": \"postgresql\",\n \"InstanceChargeType\": \"prepaid\",\n \"AutoVoucher\": \"0\"\n}",
|
|
69
69
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6ace8140-6b9e-4e81-a8ad-ef3f92b2aa90\",\n \"DealNames\": [\n \"20180119110001\"\n ],\n \"DBInstanceIdSet\": [\n \"postgres-xxxxx\"\n ],\n \"BillId\": \"123\"\n }\n}",
|
|
70
70
|
"title": "Creating a PostgreSQL instance running a specific kernel version"
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
"document": "This example shows you how to create a multi-AZ deployed instance running the latest kernel of PostgreSQL 12.",
|
|
74
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateInstances\n<Common request parameters>\n\n{\n \"InstanceCount\": \"1\",\n \"AutoRenewFlag\": \"1\",\n \"DBMajorVersion\": \"12\",\n \"Zone\": \"ap-guangzhou-
|
|
74
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateInstances\n<Common request parameters>\n\n{\n \"InstanceCount\": \"1\",\n \"AutoRenewFlag\": \"1\",\n \"DBMajorVersion\": \"12\",\n \"Zone\": \"ap-guangzhou-7\",\n \"AdminPassword\": \" xxxxxxx\",\n \"Charset\": \"UTF8\",\n \"Storage\": \"10\",\n \"Period\": \"1\",\n \"SpecCode\": \"cdb.pg.z1.2g\",\n \"InstanceChargeType\": \"prepaid\",\n \"AutoVoucher\": \"0\",\n \"DBNodeSet\": [\n {\n \"Role\": \"Standby\",\n \"Zone\": \"ap-guangzhou-3\"\n },\n {\n \"Role\": \"Primary\",\n \"Zone\": \"ap-guangzhou-7\"\n }\n ],\n \"AdminName\": \"test2313\"\n}",
|
|
75
75
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6ace8140-6b9e-4e81-a8ad-ef3f92b2aa90\",\n \"DealNames\": [\n \"20180119110001\"\n ],\n \"DBInstanceIdSet\": [\n \"postgres-xxxxx\"\n ],\n \"BillId\": \"123\"\n }\n}",
|
|
76
76
|
"title": "Creating an instance running the latest kernel of PostgreSQL 12"
|
|
77
77
|
}
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"CreateReadOnlyDBInstance": [
|
|
88
88
|
{
|
|
89
89
|
"document": "This example shows you how to create a read-only instance.",
|
|
90
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateReadOnlyDBInstance\n<Common request parameters>\n\n{\n \"InstanceCount\": \"1\",\n \"AutoRenewFlag\": \"1\",\n \"Zone\": \"ap-guangzhou-
|
|
90
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateReadOnlyDBInstance\n<Common request parameters>\n\n{\n \"InstanceCount\": \"1\",\n \"AutoRenewFlag\": \"1\",\n \"Zone\": \"ap-guangzhou-7\",\n \"MasterDBInstanceId\": \"Postgres-testmaster\",\n \"DBVersion\": \"9.3.5\",\n \"Storage\": \"10\",\n \"Period\": \"1\",\n \"SpecCode\": \"cdb.pg.z1.2g\",\n \"InstanceChargeType\": \"prepaid\",\n \"AutoVoucher\": \"0\"\n}",
|
|
91
91
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6ace8140-6b9e-4e81-a8ad-ef3f92b2aa90\",\n \"DealNames\": [\n \"20180119110001\"\n ],\n \"DBInstanceIdSet\": [\n \"123\"\n ],\n \"BillId\": \"123\"\n }\n}",
|
|
92
92
|
"title": "CreateReadOnlyDBInstance"
|
|
93
93
|
}
|
|
@@ -278,7 +278,7 @@
|
|
|
278
278
|
{
|
|
279
279
|
"document": " ",
|
|
280
280
|
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstanceAttribute\n<Common request parameters>\n\n{\n \"DBInstanceId\": \"postgres-xxxxxxxx\"\n}",
|
|
281
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\",\n \"DBInstance\": {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-
|
|
281
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\",\n \"DBInstance\": {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-7\",\n \"AppId\": 100000000,\n \"Uid\": 1000001,\n \"ProjectId\": 0,\n \"VpcId\": \"vpc-xxxxxxxx\",\n \"SubnetId\": \"subnet-xxxxxxxx\",\n \"DBInstanceId\": \"postgres-xxxxxxxx\",\n \"MasterDBInstanceId\": \"postgres-xxxxxxxx\",\n \"Type\": \"1\",\n \"DBInstanceName\": \"Not named\",\n \"DBInstanceStatus\": \"running\",\n \"DBInstanceMemory\": 4,\n \"DBInstanceStorage\": 20,\n \"DBInstanceCpu\": 2,\n \"DBInstanceClass\": \"cdb.pg.z1.4g\",\n \"DBInstanceType\": \"primary\",\n \"DBInstanceVersion\": \"standard\",\n \"DBInstanceNetInfo\": [\n {\n \"Address\": \"\",\n \"Ip\": \"10.10.10.220\",\n \"Port\": 5432,\n \"Status\": \"opened\",\n \"NetType\": \"private\",\n \"VpcId\": \"vpc-xxxxxxxx\",\n \"SubnetId\": \"subnet-xxxxxxxx\",\n \"ProtocolType\": \"\"\n },\n {\n \"Address\": \"\",\n \"Ip\": \"\",\n \"Port\": 0,\n \"Status\": \"initing\",\n \"NetType\": \"public\",\n \"VpcId\": \"\",\n \"SubnetId\": \"\",\n \"ProtocolType\": \"\"\n }\n ],\n \"DBCharset\": \"UTF8\",\n \"IsSupportTDE\": 0,\n \"DBVersion\": \"10.4\",\n \"DBEngine\": \"postgresql\",\n \"DBEngineConfig\": \"\",\n \"DBMajorVersion\": \"10\",\n \"DBKernelVersion\": \"v10.4_r1.0\",\n \"CreateTime\": \"2017-12-28 19:23:19\",\n \"UpdateTime\": \"2018-01-18 15:54:32\",\n \"ExpireTime\": \"2018-01-28 19:23:23\",\n \"IsolatedTime\": \"0000-00-00 00:00:00\",\n \"OfflineTime\": \"2019-12-28 19:23:19\",\n \"PayType\": \"prepaid\",\n \"AutoRenew\": 1,\n \"ReadOnlyInstanceNum\": 1,\n \"StatusInReadonlyGroup\": \"running\",\n \"SupportIpv6\": 0,\n \"TagList\": [\n {\n \"TagKey\": \"tag1\",\n \"TagValue\": \"v1\"\n }\n ],\n \"NetworkAccessList\": [],\n \"DBNodeSet\": [\n {\n \"Role\": \"Primary\",\n \"Zone\": \"ap-guangzhou-7\"\n },\n {\n \"Role\": \"Standby\",\n \"Zone\": \"ap-guangzhou-3\"\n }\n ]\n }\n }\n}",
|
|
282
282
|
"title": "Querying Instance Details"
|
|
283
283
|
}
|
|
284
284
|
],
|
|
@@ -328,13 +328,13 @@
|
|
|
328
328
|
{
|
|
329
329
|
"document": "This example shows you how to query the instance list by specified paging",
|
|
330
330
|
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstances\n<Common request parameters>\n\n{\n \"Limit\": \"10\",\n \"Offset\": \"0\"\n}",
|
|
331
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"DBInstanceSet\": [\n {\n \"Zone\": \"ap-guangzhou-
|
|
331
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"DBInstanceSet\": [\n {\n \"Zone\": \"ap-guangzhou-7\",\n \"DBInstanceName\": \"xxx\",\n \"DBNodeSet\": [\n {\n \"Role\": \"Primary\",\n \"Zone\": \"ap-guangzhou-7\"\n }\n ],\n \"Type\": 1,\n \"IsSupportTDE\": 0,\n \"DBMajorVersion\": \"10\",\n \"ReadOnlyInstanceNum\": 1,\n \"MasterDBInstanceId\": \"\",\n \"UpdateTime\": \"2020-09-22 00:00:00\",\n \"VpcId\": \"vpc-xxxxxxxx\",\n \"IsolatedTime\": \"2020-09-22 00:00:00\",\n \"DBVersion\": \"10\",\n \"DBKernelVersion\": \"v10.4_r1.0\",\n \"DBInstanceVersion\": \"standard\",\n \"AutoRenew\": 1,\n \"StatusInReadonlyGroup\": \"running\",\n \"SubnetId\": \"subnet-xxxxxxxx\",\n \"DBInstanceMemory\": 1,\n \"DBInstanceType\": \"primary\",\n \"DBInstanceStatus\": \"running\",\n \"OfflineTime\": \"2019-12-28 19:23:19\",\n \"Region\": \"ap-guangzhou\",\n \"ProjectId\": 1,\n \"DBInstanceNetInfo\": [\n {\n \"Address\": \"\",\n \"Ip\": \"10.10.10.220\",\n \"Port\": 5432,\n \"Status\": \"opened\",\n \"NetType\": \"private\",\n \"VpcId\": \"vpc-xxxxxxxx\",\n \"SubnetId\": \"subnet-xxxxxxxx\"\n },\n {\n \"Address\": \"\",\n \"Ip\": \"\",\n \"Port\": 0,\n \"Status\": \"\",\n \"NetType\": \"public\",\n \"VpcId\": \"\",\n \"SubnetId\": \"\"\n }\n ],\n \"DBInstanceStorage\": 1,\n \"Uid\": 1,\n \"DBCharset\": \"UTF8\",\n \"DBInstanceId\": \"postgres-xxxxxxxx\",\n \"PayType\": \"prepaid\",\n \"ExpireTime\": \"2020-09-22 00:00:00\",\n \"SupportIpv6\": 1,\n \"AppId\": 1,\n \"DBInstanceClass\": \"cdb.pg.z1.4g\",\n \"CreateTime\": \"2020-09-22 00:00:00\",\n \"DBInstanceCpu\": 1,\n \"TagList\": [\n {\n \"TagKey\": \"tag1\",\n \"TagValue\": \"v1\"\n }\n ],\n \"NetworkAccessList\": []\n }\n ],\n \"RequestId\": \"d849664a-191c-48bf-b42f-444caa189557\"\n }\n}",
|
|
332
332
|
"title": "Querying the List of All Instances"
|
|
333
333
|
},
|
|
334
334
|
{
|
|
335
335
|
"document": "This example shows you how to query, for example, the details of the instance with the ID postgres-xxxxx.",
|
|
336
336
|
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstances\n<Common request parameters>\n\n{\n \"Limit\": \"10\",\n \"Filters\": [\n {\n \"Values\": [\n \"postgres-xxxxx\"\n ],\n \"Name\": \"db-instance-id\"\n }\n ],\n \"Offset\": \"0\"\n}",
|
|
337
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"d849664a-191c-48bf-b42f-444caa189557\",\n \"TotalCount\": 1,\n \"DBInstanceSet\": [\n {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-
|
|
337
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d849664a-191c-48bf-b42f-444caa189557\",\n \"TotalCount\": 1,\n \"DBInstanceSet\": [\n {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-7\",\n \"AppId\": 100000000,\n \"Uid\": 1000001,\n \"ProjectId\": 0,\n \"VpcId\": \"vpc-xxxxxxxx\",\n \"SubnetId\": \"subnet-xxxxxxxx\",\n \"Type\": 1,\n \"DBNodeSet\": [\n {\n \"Role\": \"Primary\",\n \"Zone\": \"ap-guangzhou-7\"\n }\n ],\n \"DBInstanceId\": \"postgres-xxxxxxxx\",\n \"MasterDBInstanceId\": \"\",\n \"DBInstanceName\": \"test\",\n \"DBInstanceStatus\": \"running\",\n \"DBInstanceMemory\": 4,\n \"DBInstanceStorage\": 20,\n \"DBInstanceCpu\": 2,\n \"DBInstanceClass\": \"cdb.pg.z1.4g\",\n \"DBInstanceType\": \"primary\",\n \"DBInstanceVersion\": \"standard\",\n \"DBInstanceNetInfo\": [\n {\n \"Address\": \"\",\n \"Ip\": \"10.10.10.220\",\n \"Port\": 5432,\n \"Status\": \"opened\",\n \"NetType\": \"private\",\n \"VpcId\": \"vpc-xxxxxxxx\",\n \"SubnetId\": \"subnet-xxxxxxxx\"\n },\n {\n \"Address\": \"\",\n \"Ip\": \"\",\n \"Port\": 0,\n \"Status\": \"\",\n \"NetType\": \"public\",\n \"VpcId\": \"\",\n \"SubnetId\": \"\"\n }\n ],\n \"DBCharset\": \"UTF8\",\n \"DBVersion\": \"10\",\n \"IsSupportTDE\": 0,\n \"DBMajorVersion\": \"10\",\n \"DBKernelVersion\": \"v10.4_r1.0\",\n \"CreateTime\": \"2017-12-28 19:23:19\",\n \"UpdateTime\": \"2018-01-18 15:54:32\",\n \"ExpireTime\": \"2018-01-28 19:23:23\",\n \"IsolatedTime\": \"0000-00-00 00:00:00\",\n \"OfflineTime\": \"2019-12-28 19:23:19\",\n \"StatusInReadonlyGroup\": \"running\",\n \"ReadOnlyInstanceNum\": 1,\n \"PayType\": \"prepaid\",\n \"AutoRenew\": 1,\n \"SupportIpv6\": 0,\n \"TagList\": [\n {\n \"TagKey\": \"tag1\",\n \"TagValue\": \"v1\"\n }\n ],\n \"NetworkAccessList\": []\n }\n ]\n }\n}",
|
|
338
338
|
"title": "Querying Instance Information by ID"
|
|
339
339
|
}
|
|
340
340
|
],
|
|
@@ -434,9 +434,9 @@
|
|
|
434
434
|
],
|
|
435
435
|
"DescribeProductConfig": [
|
|
436
436
|
{
|
|
437
|
-
"document": "This example shows you how to query the purchasable specifications in Guangzhou Zone
|
|
438
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProductConfig\n<Common request parameters>\n\n{\n \"Zone\": \"ap-guangzhou-
|
|
439
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"eaa0a364-08c9-42f6-888e-4e3b7e99b50d\",\n \"SpecInfoList\": [\n {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-
|
|
437
|
+
"document": "This example shows you how to query the purchasable specifications in Guangzhou Zone 3.",
|
|
438
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProductConfig\n<Common request parameters>\n\n{\n \"Zone\": \"ap-guangzhou-3\"\n}",
|
|
439
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"eaa0a364-08c9-42f6-888e-4e3b7e99b50d\",\n \"SpecInfoList\": [\n {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-3\",\n \"SupportKMSRegions\": [\n \"ap-guangzhou\"\n ],\n \"SpecItemInfoList\": [\n {\n \"Cpu\": 1,\n \"IsSupportTDE\": 1,\n \"KernelVersion\": \"v17.4_r1.7\",\n \"MajorVersion\": \"17\",\n \"MaxStorage\": 3000,\n \"Memory\": 2048,\n \"MinStorage\": 10,\n \"Pid\": 0,\n \"Qps\": 1800,\n \"SpecCode\": \"pg.it.small2\",\n \"Type\": \"\",\n \"Version\": \"17.4\",\n \"VersionName\": \"PostgreSQL 17\"\n }\n ]\n }\n ]\n }\n}",
|
|
440
440
|
"title": "Querying purchasable specifications in an AZ in a region"
|
|
441
441
|
}
|
|
442
442
|
],
|
|
@@ -484,7 +484,7 @@
|
|
|
484
484
|
{
|
|
485
485
|
"document": " ",
|
|
486
486
|
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeZones\n<Common request parameters>\n\n{}",
|
|
487
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"59c438d4-95ab-4865-993d-dc388d2660d8\",\n \"TotalCount\": 3,\n \"ZoneSet\": [\n {\n \"Zone\": \"ap-guangzhou-
|
|
487
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"59c438d4-95ab-4865-993d-dc388d2660d8\",\n \"TotalCount\": 3,\n \"ZoneSet\": [\n {\n \"StandbyZoneSet\": null,\n \"Zone\": \"ap-guangzhou-1\",\n \"ZoneId\": 100001,\n \"ZoneName\": \"Guangzhou Zone 1\",\n \"ZoneState\": \"UNAVAILABLE\",\n \"ZoneSupportIpv6\": 0\n },\n {\n \"StandbyZoneSet\": [\n \"ap-guangzhou-4\",\n \"ap-guangzhou-6\",\n \"ap-guangzhou-7\"\n ],\n \"Zone\": \"ap-guangzhou-7\",\n \"ZoneId\": 100007,\n \"ZoneName\": \"Guangzhou Zone 7\",\n \"ZoneState\": \"AVAILABLE\",\n \"ZoneSupportIpv6\": 0\n },\n {\n \"StandbyZoneSet\": [\n \"ap-guangzhou-4\",\n \"ap-guangzhou-6\",\n \"ap-guangzhou-7\"\n ],\n \"Zone\": \"ap-guangzhou-4\",\n \"ZoneId\": 100004,\n \"ZoneName\": \"Guangzhou Zone 4\",\n \"ZoneState\": \"AVAILABLE\",\n \"ZoneSupportIpv6\": 0\n }\n ]\n }\n}",
|
|
488
488
|
"title": "Querying AZs in specified region"
|
|
489
489
|
}
|
|
490
490
|
],
|
|
@@ -521,7 +521,7 @@
|
|
|
521
521
|
"InquiryPriceCreateDBInstances": [
|
|
522
522
|
{
|
|
523
523
|
"document": "This example shows you how to query the purchase price of an instance.",
|
|
524
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceCreateDBInstances\n<Common request parameters>\n\n{\n \"InstanceCount\": \"1\",\n \"Zone\": \"ap-guangzhou-
|
|
524
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceCreateDBInstances\n<Common request parameters>\n\n{\n \"InstanceCount\": \"1\",\n \"Zone\": \"ap-guangzhou-7\",\n \"Storage\": \"100\",\n \"Pid\": \"11004\",\n \"Period\": \"1\",\n \"SpecCode\": \"cdb.pg.z1.2g\",\n \"InstanceChargeType\": \"PREPAID\"\n}",
|
|
525
525
|
"output": "{\n \"Response\": {\n \"RequestId\": \"8a61e500-aa33-454c-9ec2-da2a368c39ab\",\n \"OriginalPrice\": 27600,\n \"Price\": 27600,\n \"Currency\": \"USD\"\n }\n}",
|
|
526
526
|
"title": "Querying the purchase price of an instance"
|
|
527
527
|
}
|
|
@@ -598,8 +598,8 @@
|
|
|
598
598
|
"title": "Changing instance deployment mode to single-AZ deployment"
|
|
599
599
|
},
|
|
600
600
|
{
|
|
601
|
-
"document": "This example shows you how to modify the node deployment of instance \"postgres-abcd1234\" so that the primary node resides in Guangzhou Zone 1 and the standby node in Guangzhou Zone
|
|
602
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceDeployment\n<Common request parameters>\n\n{\n \"SwitchStartTime\": \"12:00:00\",\n \"DBNodeSet\": [\n {\n \"Role\": \"Standby\",\n \"Zone\": \"ap-guangzhou-
|
|
601
|
+
"document": "This example shows you how to modify the node deployment of instance \"postgres-abcd1234\" so that the primary node resides in Guangzhou Zone 1 and the standby node in Guangzhou Zone 7.",
|
|
602
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceDeployment\n<Common request parameters>\n\n{\n \"SwitchStartTime\": \"12:00:00\",\n \"DBNodeSet\": [\n {\n \"Role\": \"Standby\",\n \"Zone\": \"ap-guangzhou-7\"\n },\n {\n \"Role\": \"Primary\",\n \"Zone\": \"ap-guangzhou-1\"\n }\n ],\n \"DBInstanceId\": \"postgres-abcd1234\",\n \"SwitchTag\": \"1\",\n \"SwitchEndTime\": \"12:30:00\"\n}",
|
|
603
603
|
"output": "{\n \"Response\": {\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\"\n }\n}",
|
|
604
604
|
"title": "Changing instance deployment mode to multi-AZ deployment"
|
|
605
605
|
}
|