tccli 3.0.1407.1__py2.py3-none-any.whl → 3.1.6.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 +13 -2
- tccli/main.py +0 -5
- tccli/services/__init__.py +9 -0
- tccli/services/aai/aai_client.py +20 -8
- tccli/services/aca/aca_client.py +40 -16
- tccli/services/acp/acp_client.py +40 -16
- tccli/services/advisor/advisor_client.py +10 -4
- tccli/services/af/af_client.py +15 -6
- tccli/services/afc/afc_client.py +15 -6
- tccli/services/ags/__init__.py +4 -0
- tccli/services/ags/ags_client.py +826 -0
- tccli/services/ags/v20250920/api.json +1076 -0
- tccli/services/ags/v20250920/examples.json +101 -0
- tccli/services/ai3d/ai3d_client.py +20 -114
- tccli/services/ai3d/v20250513/api.json +6 -169
- tccli/services/ai3d/v20250513/examples.json +0 -16
- tccli/services/aiart/aiart_client.py +284 -109
- tccli/services/aiart/v20221229/api.json +201 -8
- tccli/services/aiart/v20221229/examples.json +16 -0
- tccli/services/ame/ame_client.py +155 -62
- tccli/services/ams/ams_client.py +45 -18
- tccli/services/anicloud/anicloud_client.py +15 -6
- tccli/services/antiddos/antiddos_client.py +470 -188
- tccli/services/ape/ape_client.py +40 -16
- tccli/services/api/api_client.py +15 -6
- tccli/services/apigateway/apigateway_client.py +495 -198
- tccli/services/apm/apm_client.py +742 -81
- tccli/services/apm/v20210622/api.json +3239 -1322
- tccli/services/apm/v20210622/examples.json +95 -1
- tccli/services/asr/asr_client.py +160 -64
- tccli/services/asr/v20190614/api.json +2 -2
- tccli/services/asw/asw_client.py +45 -18
- tccli/services/autoscaling/autoscaling_client.py +290 -116
- tccli/services/autoscaling/v20180419/api.json +51 -7
- tccli/services/ba/ba_client.py +15 -6
- tccli/services/batch/batch_client.py +150 -60
- tccli/services/batch/v20170312/api.json +11 -0
- tccli/services/bda/bda_client.py +40 -714
- tccli/services/bda/v20200324/api.json +107 -1819
- tccli/services/bda/v20200324/examples.json +0 -176
- tccli/services/bh/bh_client.py +1934 -465
- tccli/services/bh/v20230418/api.json +1720 -107
- tccli/services/bh/v20230418/examples.json +188 -0
- tccli/services/bi/bi_client.py +145 -58
- tccli/services/billing/billing_client.py +310 -124
- tccli/services/billing/v20180709/api.json +18 -9
- tccli/services/billing/v20180709/examples.json +2 -2
- tccli/services/bizlive/bizlive_client.py +30 -12
- tccli/services/bm/bm_client.py +265 -106
- tccli/services/bma/bma_client.py +185 -74
- tccli/services/bmeip/bmeip_client.py +100 -40
- tccli/services/bmlb/bmlb_client.py +245 -98
- tccli/services/bmvpc/bmvpc_client.py +305 -122
- tccli/services/bpaas/bpaas_client.py +10 -4
- tccli/services/bri/bri_client.py +5 -2
- tccli/services/bsca/bsca_client.py +35 -14
- tccli/services/btoe/btoe_client.py +70 -28
- tccli/services/ca/ca_client.py +15 -6
- tccli/services/cam/cam_client.py +460 -184
- tccli/services/cam/v20190116/api.json +3 -3
- tccli/services/captcha/captcha_client.py +90 -36
- tccli/services/captcha/v20190722/api.json +4 -4
- tccli/services/captcha/v20190722/examples.json +1 -1
- tccli/services/car/car_client.py +30 -12
- tccli/services/cat/cat_client.py +70 -28
- tccli/services/cat/v20180409/api.json +7 -7
- tccli/services/cbs/cbs_client.py +230 -92
- tccli/services/ccc/ccc_client.py +613 -158
- tccli/services/ccc/v20200210/api.json +406 -8
- tccli/services/ccc/v20200210/examples.json +32 -0
- tccli/services/cdb/cdb_client.py +931 -350
- tccli/services/cdb/v20170320/api.json +131 -32
- tccli/services/cdb/v20170320/examples.json +18 -10
- tccli/services/cdc/cdc_client.py +115 -46
- tccli/services/cdn/cdn_client.py +275 -110
- tccli/services/cdn/v20180606/api.json +15 -4
- tccli/services/cdn/v20180606/examples.json +1 -1
- tccli/services/cds/cds_client.py +25 -10
- tccli/services/cdwch/cdwch_client.py +145 -58
- tccli/services/cdwch/v20200915/api.json +26 -11
- tccli/services/cdwdoris/cdwdoris_client.py +300 -120
- tccli/services/cdwdoris/v20211228/api.json +11 -1
- tccli/services/cdwpg/cdwpg_client.py +120 -48
- tccli/services/cdz/cdz_client.py +10 -4
- tccli/services/cfg/cfg_client.py +85 -34
- tccli/services/cfg/v20210820/api.json +11 -1
- tccli/services/cfs/cfs_client.py +326 -208
- tccli/services/cfs/v20190719/api.json +199 -64
- tccli/services/cfs/v20190719/examples.json +6 -14
- tccli/services/cfw/cfw_client.py +679 -287
- tccli/services/cfw/v20190904/api.json +420 -2
- tccli/services/cfw/v20190904/examples.json +8 -0
- tccli/services/chc/chc_client.py +190 -76
- tccli/services/chc/v20230418/api.json +77 -2
- tccli/services/chdfs/chdfs_client.py +145 -58
- tccli/services/ciam/ciam_client.py +115 -46
- tccli/services/cii/cii_client.py +65 -26
- tccli/services/cim/cim_client.py +5 -2
- tccli/services/ckafka/ckafka_client.py +837 -240
- tccli/services/ckafka/v20190819/api.json +561 -91
- tccli/services/ckafka/v20190819/examples.json +53 -5
- tccli/services/clb/clb_client.py +435 -439
- tccli/services/clb/v20180317/api.json +147 -312
- tccli/services/clb/v20180317/examples.json +12 -40
- tccli/services/cloudapp/cloudapp_client.py +10 -4
- tccli/services/cloudaudit/cloudaudit_client.py +95 -38
- tccli/services/cloudaudit/v20190319/api.json +11 -0
- tccli/services/cloudhsm/cloudhsm_client.py +70 -28
- tccli/services/cloudhsm/v20191112/api.json +37 -7
- tccli/services/cloudstudio/cloudstudio_client.py +45 -18
- tccli/services/cls/cls_client.py +843 -268
- tccli/services/cls/v20201016/api.json +1241 -68
- tccli/services/cls/v20201016/examples.json +36 -4
- tccli/services/cme/cme_client.py +250 -100
- tccli/services/cmq/cmq_client.py +10 -4
- tccli/services/cms/cms_client.py +30 -12
- tccli/services/config/config_client.py +35 -14
- tccli/services/controlcenter/controlcenter_client.py +25 -10
- tccli/services/cpdp/cpdp_client.py +1095 -438
- tccli/services/csip/csip_client.py +410 -164
- tccli/services/csip/v20221121/api.json +140 -20
- tccli/services/csip/v20221121/examples.json +10 -16
- tccli/services/csxg/csxg_client.py +25 -10
- tccli/services/ctem/ctem_client.py +1823 -156
- tccli/services/ctem/v20231128/api.json +2990 -206
- tccli/services/ctem/v20231128/examples.json +224 -0
- tccli/services/ctsdb/ctsdb_client.py +10 -4
- tccli/services/cvm/cvm_client.py +490 -196
- tccli/services/cvm/v20170312/api.json +41 -41
- tccli/services/cvm/v20170312/examples.json +92 -86
- tccli/services/cwp/cwp_client.py +2570 -1028
- tccli/services/cws/cws_client.py +95 -38
- tccli/services/cynosdb/cynosdb_client.py +1006 -340
- tccli/services/cynosdb/v20190107/api.json +1238 -212
- tccli/services/cynosdb/v20190107/examples.json +32 -8
- tccli/services/dasb/dasb_client.py +315 -126
- tccli/services/dataagent/__init__.py +4 -0
- tccli/services/dataagent/dataagent_client.py +770 -0
- tccli/services/dataagent/v20250513/api.json +1216 -0
- tccli/services/dataagent/v20250513/examples.json +93 -0
- tccli/services/dayu/dayu_client.py +560 -224
- tccli/services/dbbrain/dbbrain_client.py +471 -166
- tccli/services/dbbrain/v20210527/api.json +268 -19
- tccli/services/dbbrain/v20210527/examples.json +8 -0
- tccli/services/dbdc/dbdc_client.py +30 -12
- tccli/services/dc/dc_client.py +110 -44
- tccli/services/dcdb/dcdb_client.py +415 -166
- tccli/services/dcdb/v20180411/api.json +1 -1
- tccli/services/dlc/dlc_client.py +966 -364
- tccli/services/dlc/v20210125/api.json +1153 -150
- tccli/services/dlc/v20210125/examples.json +19 -11
- tccli/services/dnspod/dnspod_client.py +567 -182
- tccli/services/dnspod/v20210323/api.json +131 -25
- tccli/services/dnspod/v20210323/examples.json +17 -7
- tccli/services/domain/domain_client.py +275 -110
- tccli/services/domain/v20180808/api.json +21 -1
- tccli/services/drm/drm_client.py +55 -22
- tccli/services/ds/ds_client.py +60 -24
- tccli/services/dsgc/dsgc_client.py +665 -266
- tccli/services/dsgc/v20190723/api.json +18 -18
- tccli/services/dts/dts_client.py +1188 -488
- tccli/services/dts/v20211206/api.json +1068 -124
- tccli/services/dts/v20211206/examples.json +77 -7
- tccli/services/eb/eb_client.py +160 -64
- tccli/services/eb/v20210416/api.json +13 -0
- tccli/services/ecc/ecc_client.py +20 -8
- tccli/services/ecdn/ecdn_client.py +30 -12
- tccli/services/ecm/ecm_client.py +695 -278
- tccli/services/eiam/eiam_client.py +210 -84
- tccli/services/eis/eis_client.py +40 -16
- tccli/services/emr/emr_client.py +501 -178
- tccli/services/emr/v20190103/api.json +262 -0
- tccli/services/emr/v20190103/examples.json +13 -5
- tccli/services/es/es_client.py +536 -152
- tccli/services/es/v20180416/api.json +695 -65
- tccli/services/es/v20180416/examples.json +24 -0
- tccli/services/es/v20250101/api.json +10 -10
- tccli/services/ess/ess_client.py +747 -254
- tccli/services/ess/v20201111/api.json +720 -32
- tccli/services/ess/v20201111/examples.json +18 -2
- tccli/services/essbasic/essbasic_client.py +730 -292
- tccli/services/essbasic/v20210526/api.json +295 -32
- tccli/services/essbasic/v20210526/examples.json +12 -30
- tccli/services/evt/__init__.py +4 -0
- tccli/services/evt/evt_client.py +210 -0
- tccli/services/evt/v20250217/api.json +126 -0
- tccli/services/evt/v20250217/examples.json +13 -0
- tccli/services/facefusion/facefusion_client.py +20 -8
- tccli/services/facefusion/v20220927/api.json +1 -1
- tccli/services/faceid/faceid_client.py +180 -125
- tccli/services/faceid/v20180301/api.json +18 -105
- tccli/services/faceid/v20180301/examples.json +1 -9
- tccli/services/fmu/fmu_client.py +35 -14
- tccli/services/ft/ft_client.py +30 -12
- tccli/services/gaap/gaap_client.py +510 -204
- tccli/services/gaap/v20180529/api.json +18 -8
- tccli/services/gme/gme_client.py +241 -74
- tccli/services/gme/v20180711/api.json +241 -1
- tccli/services/gme/v20180711/examples.json +8 -0
- tccli/services/goosefs/goosefs_client.py +135 -54
- tccli/services/gs/gs_client.py +537 -182
- tccli/services/gs/v20191118/api.json +143 -1
- tccli/services/gs/v20191118/examples.json +16 -0
- tccli/services/gwlb/gwlb_client.py +95 -38
- tccli/services/habo/habo_client.py +10 -4
- tccli/services/hai/hai_client.py +80 -32
- tccli/services/hai/v20230812/api.json +3 -3
- tccli/services/hasim/hasim_client.py +110 -44
- tccli/services/hcm/hcm_client.py +5 -2
- tccli/services/hunyuan/hunyuan_client.py +105 -42
- tccli/services/hunyuan/v20230901/api.json +69 -2
- tccli/services/hunyuan/v20230901/examples.json +1 -1
- tccli/services/iai/iai_client.py +175 -123
- tccli/services/iai/v20180301/api.json +0 -82
- tccli/services/iai/v20180301/examples.json +0 -8
- tccli/services/iai/v20200303/api.json +1 -83
- tccli/services/iai/v20200303/examples.json +0 -8
- tccli/services/iap/iap_client.py +30 -12
- tccli/services/ic/ic_client.py +45 -18
- tccli/services/icr/icr_client.py +5 -2
- tccli/services/ie/ie_client.py +50 -20
- tccli/services/ig/ig_client.py +5 -2
- tccli/services/igtm/igtm_client.py +130 -52
- tccli/services/igtm/v20231024/api.json +60 -4
- tccli/services/igtm/v20231024/examples.json +3 -3
- tccli/services/ims/ims_client.py +10 -4
- tccli/services/ioa/ioa_client.py +194 -60
- tccli/services/ioa/v20220601/api.json +149 -1
- tccli/services/ioa/v20220601/examples.json +8 -0
- tccli/services/iot/iot_client.py +225 -90
- tccli/services/iotcloud/iotcloud_client.py +430 -172
- tccli/services/iotexplorer/iotexplorer_client.py +1801 -512
- tccli/services/iotexplorer/v20190423/api.json +2681 -1016
- tccli/services/iotexplorer/v20190423/examples.json +160 -26
- tccli/services/iotvideo/iotvideo_client.py +835 -334
- tccli/services/iotvideoindustry/iotvideoindustry_client.py +520 -208
- tccli/services/irp/irp_client.py +55 -22
- tccli/services/iss/iss_client.py +460 -184
- tccli/services/iss/v20230517/api.json +2 -2
- tccli/services/iss/v20230517/examples.json +1 -1
- tccli/services/ivld/ivld_client.py +140 -56
- tccli/services/keewidb/keewidb_client.py +190 -76
- tccli/services/keewidb/v20220308/api.json +69 -17
- tccli/services/keewidb/v20220308/examples.json +5 -5
- tccli/services/kms/kms_client.py +340 -136
- tccli/services/lcic/lcic_client.py +355 -142
- tccli/services/lcic/v20220817/api.json +5 -5
- tccli/services/lighthouse/lighthouse_client.py +590 -236
- tccli/services/lighthouse/v20200324/api.json +81 -16
- tccli/services/lighthouse/v20200324/examples.json +7 -1
- tccli/services/live/live_client.py +1000 -453
- tccli/services/live/v20180801/api.json +6 -164
- tccli/services/live/v20180801/examples.json +6 -8
- tccli/services/lke/lke_client.py +525 -210
- tccli/services/lke/v20231130/api.json +254 -75
- tccli/services/lke/v20231130/examples.json +1 -1
- tccli/services/lkeap/lkeap_client.py +130 -52
- tccli/services/lkeap/v20240522/api.json +1 -1
- tccli/services/lkeap/v20240522/examples.json +1 -1
- tccli/services/lowcode/lowcode_client.py +85 -34
- tccli/services/mall/mall_client.py +5 -2
- tccli/services/mariadb/mariadb_client.py +405 -162
- tccli/services/mariadb/v20170312/api.json +1 -1
- tccli/services/market/market_client.py +10 -4
- tccli/services/memcached/memcached_client.py +5 -2
- tccli/services/mmps/mmps_client.py +75 -30
- tccli/services/mna/mna_client.py +205 -82
- tccli/services/mna/v20210119/api.json +1 -1
- tccli/services/mongodb/mongodb_client.py +1178 -273
- tccli/services/mongodb/v20190725/api.json +1860 -135
- tccli/services/mongodb/v20190725/examples.json +105 -1
- tccli/services/monitor/monitor_client.py +901 -338
- tccli/services/monitor/v20180724/api.json +189 -29
- tccli/services/monitor/v20180724/examples.json +9 -1
- tccli/services/mps/mps_client.py +1248 -280
- tccli/services/mps/v20190612/api.json +1796 -73
- tccli/services/mps/v20190612/examples.json +106 -32
- tccli/services/mqtt/mqtt_client.py +463 -118
- tccli/services/mqtt/v20240516/api.json +166 -0
- tccli/services/mqtt/v20240516/examples.json +24 -0
- tccli/services/mrs/mrs_client.py +55 -22
- tccli/services/ms/ms_client.py +115 -46
- tccli/services/msp/msp_client.py +35 -14
- tccli/services/nlp/nlp_client.py +30 -12
- tccli/services/npp/npp_client.py +40 -16
- tccli/services/oceanus/oceanus_client.py +225 -90
- tccli/services/oceanus/v20190422/api.json +10 -13
- tccli/services/oceanus/v20190422/examples.json +2 -2
- tccli/services/ocr/ocr_client.py +471 -425
- tccli/services/ocr/v20181119/api.json +241 -639
- tccli/services/ocr/v20181119/examples.json +8 -40
- tccli/services/omics/omics_client.py +100 -40
- tccli/services/omics/v20221128/api.json +90 -7
- tccli/services/organization/organization_client.py +705 -282
- tccli/services/organization/v20210331/api.json +40 -1
- tccli/services/partners/partners_client.py +115 -46
- tccli/services/postgres/postgres_client.py +724 -200
- tccli/services/postgres/v20170312/api.json +494 -58
- tccli/services/postgres/v20170312/examples.json +75 -31
- tccli/services/privatedns/privatedns_client.py +412 -80
- tccli/services/privatedns/v20201028/api.json +421 -13
- tccli/services/privatedns/v20201028/examples.json +36 -4
- tccli/services/pts/pts_client.py +240 -96
- tccli/services/pts/v20210728/api.json +2 -2
- tccli/services/rce/rce_client.py +55 -22
- tccli/services/redis/redis_client.py +550 -220
- tccli/services/redis/v20180412/api.json +197 -33
- tccli/services/redis/v20180412/examples.json +10 -10
- tccli/services/region/region_client.py +15 -6
- tccli/services/region/v20220627/api.json +1 -1
- tccli/services/rum/rum_client.py +270 -108
- tccli/services/rum/v20210622/api.json +18 -0
- tccli/services/scf/scf_client.py +260 -104
- tccli/services/scf/v20180416/api.json +167 -2
- tccli/services/scf/v20180416/examples.json +1 -1
- tccli/services/securitylake/securitylake_client.py +5 -2
- tccli/services/ses/ses_client.py +175 -70
- tccli/services/smh/smh_client.py +75 -30
- tccli/services/smop/smop_client.py +5 -2
- tccli/services/sms/sms_client.py +90 -36
- tccli/services/sms/v20190711/api.json +11 -11
- tccli/services/sms/v20190711/examples.json +9 -3
- tccli/services/sms/v20210111/api.json +12 -12
- tccli/services/sms/v20210111/examples.json +8 -2
- tccli/services/soe/soe_client.py +20 -8
- tccli/services/sqlserver/sqlserver_client.py +740 -296
- tccli/services/sqlserver/v20180328/api.json +31 -2
- tccli/services/sqlserver/v20180328/examples.json +1 -1
- tccli/services/ssa/ssa_client.py +115 -46
- tccli/services/ssl/ssl_client.py +340 -136
- tccli/services/ssl/v20191205/api.json +28 -0
- tccli/services/sslpod/sslpod_client.py +50 -20
- tccli/services/ssm/ssm_client.py +120 -48
- tccli/services/sts/sts_client.py +35 -14
- tccli/services/sts/v20180813/api.json +1 -1
- tccli/services/svp/svp_client.py +25 -10
- tccli/services/svp/v20240125/api.json +24 -4
- tccli/services/svp/v20240125/examples.json +1 -1
- tccli/services/taf/taf_client.py +5 -2
- tccli/services/tag/tag_client.py +155 -62
- tccli/services/tag/v20180813/api.json +3 -3
- tccli/services/tat/tat_client.py +145 -58
- tccli/services/tat/v20201028/api.json +10 -1
- tccli/services/tbaas/tbaas_client.py +120 -48
- tccli/services/tbp/tbp_client.py +20 -8
- tccli/services/tcaplusdb/tcaplusdb_client.py +265 -106
- tccli/services/tcb/tcb_client.py +445 -178
- tccli/services/tcbr/tcbr_client.py +50 -20
- tccli/services/tcbr/v20220217/api.json +11 -0
- tccli/services/tccatalog/tccatalog_client.py +20 -8
- tccli/services/tchd/tchd_client.py +10 -4
- tccli/services/tcm/tcm_client.py +60 -24
- tccli/services/tcr/tcr_client.py +550 -220
- tccli/services/tcss/tcss_client.py +1756 -680
- tccli/services/tcss/v20201101/api.json +144 -11
- tccli/services/tcss/v20201101/examples.json +9 -1
- tccli/services/tdai/tdai_client.py +90 -36
- tccli/services/tdai/v20250717/api.json +30 -3
- tccli/services/tdcpg/tdcpg_client.py +125 -50
- tccli/services/tdid/tdid_client.py +90 -36
- tccli/services/tdmq/tdmq_client.py +846 -452
- tccli/services/tdmq/v20200217/api.json +372 -488
- tccli/services/tdmq/v20200217/examples.json +21 -41
- tccli/services/tds/tds_client.py +25 -10
- tccli/services/tem/tem_client.py +305 -122
- tccli/services/teo/teo_client.py +1122 -431
- tccli/services/teo/v20220901/api.json +1393 -132
- tccli/services/teo/v20220901/examples.json +59 -13
- tccli/services/thpc/thpc_client.py +215 -66
- tccli/services/thpc/v20230321/api.json +185 -27
- tccli/services/thpc/v20230321/examples.json +15 -7
- tccli/services/tia/tia_client.py +50 -20
- tccli/services/tiia/tiia_client.py +105 -42
- tccli/services/tione/tione_client.py +537 -150
- tccli/services/tione/v20211111/api.json +280 -16
- tccli/services/tione/v20211111/examples.json +25 -1
- tccli/services/tiw/tiw_client.py +175 -70
- tccli/services/tke/tke_client.py +2702 -735
- tccli/services/tke/v20180525/api.json +2279 -232
- tccli/services/tke/v20180525/examples.json +194 -18
- tccli/services/tke/v20220501/api.json +215 -3
- tccli/services/tke/v20220501/examples.json +8 -0
- tccli/services/tkgdq/tkgdq_client.py +15 -6
- tccli/services/tms/tms_client.py +132 -8
- tccli/services/tms/v20201229/api.json +247 -1
- tccli/services/tms/v20201229/examples.json +16 -0
- tccli/services/tmt/tmt_client.py +40 -16
- tccli/services/tmt/v20180321/api.json +78 -1
- tccli/services/tourism/tourism_client.py +5 -2
- tccli/services/trabbit/trabbit_client.py +145 -58
- tccli/services/trabbit/v20230418/api.json +271 -4
- tccli/services/trabbit/v20230418/examples.json +9 -3
- tccli/services/trocket/trocket_client.py +350 -140
- tccli/services/trocket/v20230308/api.json +113 -5
- tccli/services/trp/trp_client.py +270 -108
- tccli/services/trro/trro_client.py +257 -58
- tccli/services/trro/v20220325/api.json +456 -0
- tccli/services/trro/v20220325/examples.json +16 -0
- tccli/services/trtc/trtc_client.py +360 -144
- tccli/services/trtc/v20190722/api.json +167 -27
- tccli/services/trtc/v20190722/examples.json +3 -3
- tccli/services/tse/tse_client.py +776 -248
- tccli/services/tse/v20201207/api.json +260 -1
- tccli/services/tse/v20201207/examples.json +24 -0
- tccli/services/tsf/tsf_client.py +1195 -458
- tccli/services/tsf/v20180326/api.json +121 -5
- tccli/services/tsf/v20180326/examples.json +10 -2
- tccli/services/tsi/tsi_client.py +15 -6
- tccli/services/tsw/tsw_client.py +20 -8
- tccli/services/tts/tts_client.py +15 -6
- tccli/services/vcg/vcg_client.py +10 -4
- tccli/services/vclm/v20240523/api.json +354 -4
- tccli/services/vclm/v20240523/examples.json +32 -0
- tccli/services/vclm/vclm_client.py +269 -18
- tccli/services/vcube/v20220410/api.json +89 -2
- tccli/services/vcube/v20220410/examples.json +18 -2
- tccli/services/vcube/vcube_client.py +290 -76
- tccli/services/vdb/vdb_client.py +70 -28
- tccli/services/vm/v20210922/api.json +3 -3
- tccli/services/vm/vm_client.py +30 -12
- tccli/services/vms/vms_client.py +10 -4
- tccli/services/vod/v20180717/api.json +2 -2
- tccli/services/vod/vod_client.py +965 -386
- tccli/services/vpc/v20170312/api.json +1239 -128
- tccli/services/vpc/v20170312/examples.json +127 -15
- tccli/services/vpc/vpc_client.py +2963 -928
- tccli/services/vrs/vrs_client.py +40 -16
- tccli/services/vtc/vtc_client.py +15 -6
- tccli/services/waf/v20180125/api.json +11219 -8659
- tccli/services/waf/v20180125/examples.json +89 -9
- tccli/services/waf/waf_client.py +1530 -415
- tccli/services/wav/wav_client.py +130 -52
- tccli/services/wedata/v20250806/api.json +55 -16
- tccli/services/wedata/wedata_client.py +2045 -818
- tccli/services/weilingwith/weilingwith_client.py +320 -128
- tccli/services/wsa/wsa_client.py +5 -2
- tccli/services/wss/wss_client.py +15 -6
- tccli/services/yinsuda/yinsuda_client.py +100 -40
- tccli/services/yunjing/yunjing_client.py +500 -200
- tccli/services/yunsou/yunsou_client.py +10 -4
- {tccli-3.0.1407.1.dist-info → tccli-3.1.6.1.dist-info}/METADATA +13 -11
- {tccli-3.0.1407.1.dist-info → tccli-3.1.6.1.dist-info}/RECORD +446 -434
- {tccli-3.0.1407.1.dist-info → tccli-3.1.6.1.dist-info}/WHEEL +1 -1
- {tccli-3.0.1407.1.dist-info → tccli-3.1.6.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1407.1.dist-info/license_files → tccli-3.1.6.1.dist-info/licenses}/LICENSE +0 -0
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
{
|
|
99
99
|
"document": "购买1个按量计费的mysql订阅任务",
|
|
100
100
|
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSubscribe\n<公共请求参数>\n\n{\n \"Product\": \"mysql\",\n \"PayType\": 1,\n \"Count\": 1,\n \"Tags\": [\n {\n \"TagKey\": \"负责人\",\n \"TagValue\": \"jason\"\n }\n ],\n \"Name\": \"binlog订阅\"\n}",
|
|
101
|
-
"output": "{\n \"Response\": {\n \"SubscribeIds\": [\n \"subs-b6x64o31tm\"\n ],\n \"RequestId\": \"
|
|
101
|
+
"output": "{\n \"Response\": {\n \"SubscribeIds\": [\n \"subs-b6x64o31tm\"\n ],\n \"RequestId\": \"11b58de0-a5b5-11f0-a1aa-358a863876dd\"\n }\n}",
|
|
102
102
|
"title": "购买订阅任务"
|
|
103
103
|
}
|
|
104
104
|
],
|
|
@@ -110,6 +110,14 @@
|
|
|
110
110
|
"title": "启动一个订阅任务的校验"
|
|
111
111
|
}
|
|
112
112
|
],
|
|
113
|
+
"CreateSyncCompareTask": [
|
|
114
|
+
{
|
|
115
|
+
"document": "",
|
|
116
|
+
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSyncCompareTask\n<公共请求参数>\n\n{\n \"JobId\": \"sync-p1sposne\",\n \"TaskName\": \"test_cmp\",\n \"ObjectMode\": \"custom\",\n \"Objects\": {\n \"ObjectMode\": \"partial\",\n \"ObjectItems\": [\n {\n \"DbName\": \"big100\",\n \"DbMode\": \"partial\",\n \"TableMode\": \"partial\",\n \"Tables\": [\n {\n \"TableName\": \"sbtest1\"\n }\n ]\n },\n {\n \"DbName\": \"db1\",\n \"DbMode\": \"all\",\n \"TableMode\": \"all\",\n \"ViewMode\": \"all\"\n }\n ]\n }\n}",
|
|
117
|
+
"output": "{\n \"Response\": {\n \"CompareTaskId\": \"sync-8yv4w2i1-cmp-37skmii9\",\n \"RequestId\": \"ac300ff0-00f2-11ed-b005-4930e69d89c2\"\n }\n}",
|
|
118
|
+
"title": "创建一致性校验任务"
|
|
119
|
+
}
|
|
120
|
+
],
|
|
113
121
|
"CreateSyncJob": [
|
|
114
122
|
{
|
|
115
123
|
"document": "创建一个同步任务",
|
|
@@ -134,6 +142,14 @@
|
|
|
134
142
|
"title": "删除消费组"
|
|
135
143
|
}
|
|
136
144
|
],
|
|
145
|
+
"DeleteSyncCompareTask": [
|
|
146
|
+
{
|
|
147
|
+
"document": "",
|
|
148
|
+
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteSyncCompareTask\n<公共请求参数>\n\n{\n \"JobId\": \"sync-amm1jw5q\",\n \"CompareTaskId\": \"sync-amm1jw5q-cmp-bmuum7jk\"\n}",
|
|
149
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"ac300ff0-00f2-11ed-b005-4930e69d89c2\"\n }\n}",
|
|
150
|
+
"title": "删除一致性校验任务"
|
|
151
|
+
}
|
|
152
|
+
],
|
|
137
153
|
"DescribeCheckSyncJobResult": [
|
|
138
154
|
{
|
|
139
155
|
"document": "任务发起校验为异步操作,需要通过此接口查询同步任务校验结果",
|
|
@@ -146,7 +162,7 @@
|
|
|
146
162
|
{
|
|
147
163
|
"document": "",
|
|
148
164
|
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCompareReport\n<公共请求参数>\n\n{\n \"JobId\": \"dts-amm1jw5q\",\n \"CompareTaskId\": \"dts-amm1jw5q-cmp-bmuum7jk\"\n}",
|
|
149
|
-
"output": "{\n \"Response\": {\n \"Abstract\": {\n \"CheckedTables\": 1,\n \"Conclusion\": \"same\",\n \"DifferentRows\": 0,\n \"DifferentTables\": 0,\n \"DstSampleRows\": 0,\n \"FinishedAt\": \"2024-12-20 19:07:20\",\n \"NearlyTableCount\": 1,\n \"Objects\": {\n \"AdvancedObjects\": [],\n \"ObjectItems\": [\n {\n \"DbMode\": \"partial\",\n \"DbName\": \"db_1\",\n \"SchemaName\": \"\",\n \"TableMode\": \"partial\",\n \"Tables\": [\n {\n \"ColumnMode\": \"all\",\n \"Columns\": [],\n \"TableName\": \"tb_1\"\n }\n ],\n \"ViewMode\": \"partial\",\n \"Views\": null\n }\n ],\n \"ObjectMode\": \"partial\"\n },\n \"Options\": {\n \"Method\": \"dataCheck\",\n \"SampleRate\": 100,\n \"ThreadCount\": 1\n },\n \"SkippedTables\": 0,\n \"SrcSampleRows\": 0,\n \"StartedAt\": \"2024-12-20 19:04:03\",\n \"Status\": \"success\",\n \"TotalTables\": 1\n },\n \"Detail\": {\n \"Difference\": {\n \"Items\": [],\n \"TotalCount\": 0\n },\n \"DifferenceAdvancedObjects\": {\n \"Items\": null,\n \"TotalCount\": 0\n },\n \"DifferenceData\": {\n \"Items\": null,\n \"TotalCount\": 0\n },\n \"DifferenceRow\": {\n \"Items\": null,\n \"TotalCount\": 0\n },\n \"Skipped\": {\n \"Items\": [],\n \"TotalCount\": 0\n }\n },\n \"RequestId\": \"a3365b29-2042-4565-9206-8df9e2af1a17\"\n }\n}",
|
|
165
|
+
"output": "{\n \"Response\": {\n \"Abstract\": {\n \"CheckedTables\": 1,\n \"Conclusion\": \"same\",\n \"DifferentRows\": 0,\n \"DifferentTables\": 0,\n \"DstSampleRows\": 0,\n \"FinishedAt\": \"2024-12-20 19:07:20\",\n \"NearlyTableCount\": 1,\n \"Objects\": {\n \"AdvancedObjects\": [],\n \"ObjectItems\": [\n {\n \"DbMode\": \"partial\",\n \"DbName\": \"db_1\",\n \"SchemaName\": \"\",\n \"TableMode\": \"partial\",\n \"Tables\": [\n {\n \"ColumnMode\": \"all\",\n \"Columns\": [],\n \"TableName\": \"tb_1\"\n }\n ],\n \"ViewMode\": \"partial\",\n \"Views\": null\n }\n ],\n \"ObjectMode\": \"partial\"\n },\n \"Options\": {\n \"Method\": \"dataCheck\",\n \"SampleRate\": 100,\n \"ThreadCount\": 1,\n \"Type\": \"builtin\"\n },\n \"SkippedTables\": 0,\n \"SrcSampleRows\": 0,\n \"StartedAt\": \"2024-12-20 19:04:03\",\n \"Status\": \"success\",\n \"TotalTables\": 1\n },\n \"Detail\": {\n \"Difference\": {\n \"Items\": [],\n \"TotalCount\": 0\n },\n \"DifferenceAdvancedObjects\": {\n \"Items\": null,\n \"TotalCount\": 0\n },\n \"DifferenceData\": {\n \"Items\": null,\n \"TotalCount\": 0\n },\n \"DifferenceOwner\": {\n \"Items\": null,\n \"TotalCount\": 0\n },\n \"DifferenceRow\": {\n \"Items\": null,\n \"TotalCount\": 0\n },\n \"DifferenceSchema\": {\n \"Items\": null,\n \"TotalCount\": 0\n },\n \"Skipped\": {\n \"Items\": [],\n \"TotalCount\": 0\n }\n },\n \"RequestId\": \"a3365b29-2042-4565-9206-8df9e2af1a17\"\n }\n}",
|
|
150
166
|
"title": "查询一致性校验任务详情"
|
|
151
167
|
}
|
|
152
168
|
],
|
|
@@ -170,7 +186,7 @@
|
|
|
170
186
|
{
|
|
171
187
|
"document": "查询迁移实例列表",
|
|
172
188
|
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMigrateDBInstances\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-eur39922\",\n \"DatabaseType\": \"mysql\",\n \"MigrateRole\": \"src\"\n}",
|
|
173
|
-
"output": "{\n \"Response\": {\n \"
|
|
189
|
+
"output": "{\n \"Response\": {\n \"Instances\": [\n {\n \"Hint\": \"ok\",\n \"InstanceId\": \"cdb-chtaoop0\",\n \"InstanceName\": \"evan-test2\",\n \"Usable\": 1,\n \"Vip\": \"172.21.0.31\",\n \"Vport\": 10086\n },\n {\n \"Hint\": \"ok\",\n \"InstanceId\": \"cdb-o3dplch0\",\n \"InstanceName\": \"evan-test1\",\n \"Usable\": 1,\n \"Vip\": \"172.21.0.37\",\n \"Vport\": 10086\n },\n {\n \"Hint\": \"ok\",\n \"InstanceId\": \"cdb-hbfybwlq\",\n \"InstanceName\": \"joyce-dts2\",\n \"Usable\": 1,\n \"Vip\": \"172.21.0.104\",\n \"Vport\": 3306\n },\n {\n \"Hint\": \"ok\",\n \"InstanceId\": \"cdb-kgmdn6iq\",\n \"InstanceName\": \"joyce-dts1\",\n \"Usable\": 1,\n \"Vip\": \"172.21.0.100\",\n \"Vport\": 3306\n }\n ],\n \"RequestId\": \"a4a8f147-1898-4130-a1cf-f4bd3c92d083\",\n \"TotalCount\": 4\n }\n}",
|
|
174
190
|
"title": "查询迁移实例列表"
|
|
175
191
|
}
|
|
176
192
|
],
|
|
@@ -186,7 +202,7 @@
|
|
|
186
202
|
{
|
|
187
203
|
"document": "查询某个迁移任务详情",
|
|
188
204
|
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMigrationDetail\n<公共请求参数>\n\n{\n \"JobId\": \"dts-amm1jw5q\"\n}",
|
|
189
|
-
"output": "{\n \"Response\": {\n \"Action\": {\n \"AllAction\": [\n \"view\",\n \"modify\",\n \"check\",\n \"start\",\n \"configure\",\n \"stop\",\n \"complete\",\n \"resume\",\n \"createCmpTask\",\n \"isolate\",\n \"offline\",\n \"resize\",\n \"recover\"\n ],\n \"AllowedAction\": [\n \"view\",\n \"stop\",\n \"complete\",\n \"createCmpTask\",\n \"view\",\n \"isolate\",\n \"resize\"\n ]\n },\n \"CheckStepInfo\": {\n \"EndAt\": \"2022-07-11 17:19:25\",\n \"Progress\": {\n \"Message\": \"success\",\n \"Percent\": 100,\n \"Status\": \"success\",\n \"StepAll\": 12,\n \"Steps\": [\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"ConnectDBCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"连接DB检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"VersionCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"版本检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"SrcPrivilegeCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"源实例权限检查\",\n \"StepNo\": 0,\n \"Warnings\": [\n {\n \"HelpDoc\": \"\",\n \"Message\": \"您的授权情况:GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, RELOAD, PROCESS, REFERENCES, INDEX, ALTER, SHOW DATABASES, CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, REPLICATION SLAVE, REPLICATION CLIENT, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, CREATE USER, EVENT, TRIGGER, CREATE TABLESPACE ON *.* TO 'root'@'%' WITH GRANT OPTION。 源端账号权限范围大于要求的账号权限范围,腾讯云DTS不会使用超过必要的权限,请按照最小化原则给与授权: https://cloud.tencent.com/document/product/571/58700\",\n \"Solution\": \"\"\n }\n ]\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"SimpleParamCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"部分实例参数检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"DstPrivilegeCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"目标实例权限检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"DstEmptyCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"目标实例内容冲突检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"DstSpaceCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"目标实例空间检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"BinlogParamCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"binlog参数检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"ConstraintCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"外键依赖检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"ConstraintRefCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"外键部分库表依赖检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"ViewCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"视图检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"WarningParamCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"警告项检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 0,\n \"StartTime\": \"\",\n \"Status\": \"skipped\",\n \"StepId\": \"OptimizeCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"周边检查\",\n \"StepNo\": 0,\n \"Warnings\": [\n {\n \"HelpDoc\": \"\",\n \"Message\": \"skipped\",\n \"Solution\": \"\"\n }\n ]\n }\n ],\n \"StepNow\": 12\n },\n \"StartAt\": \"2022-07-11 17:18:57\"\n },\n \"CompareTask\": {\n \"CompareTaskId\": \"dts-amm1jw5q-cmp-bmuum7jk\",\n \"Status\": \"consistent\"\n },\n \"CreateTime\": \"2022-07-11 16:20:49\",\n \"DstInfo\": {\n \"AccessType\": \"cdb\",\n \"DatabaseType\": \"mysql\",\n \"ExtraAttr\": [],\n \"Info\": [\n {\n \"Account\": \"\",\n \"AccountMode\": \"\",\n \"AccountRole\": \"\",\n \"CcnGwId\": \"\",\n \"CvmInstanceId\": \"\",\n \"DbKernel\": \"\",\n \"EngineVersion\": \"\",\n \"Host\": \"\",\n \"InstanceId\": \"cdb-o7uph0cj\",\n \"Password\": \"Abc_123456789\",\n \"Port\": 0,\n \"Role\": \"\",\n \"SubnetId\": \"\",\n \"TmpSecretId\": \"\",\n \"TmpSecretKey\": \"\",\n \"TmpToken\": \"\",\n \"UniqDcgId\": \"\",\n \"UniqVpnGwId\": \"\",\n \"User\": \"root\",\n \"VpcId\": \"\"\n }\n ],\n \"NodeType\": \"simple\",\n \"Region\": \"ap-guangzhou\",\n \"Supplier\": \"\"\n },\n \"EndTime\": \"0000-00-00 00:00:00\",\n \"ErrorInfo\": [],\n \"ExpectRunTime\": \"2022-07-11 17:16:50\",\n \"JobId\": \"dts-amm1jw5q\",\n \"JobName\": \"test_config_api\",\n \"BriefMsg\": \"\",\n \"MigrateOption\": {\n \"Consistency\": {\n \"Mode\": \"full\"\n },\n \"DatabaseTable\": {\n \"Databases\": [\n {\n \"DBMode\": \"partial\",\n \"DbName\": \"big100\",\n \"EventMode\": \"\",\n \"FunctionMode\": \"\",\n \"NewDbName\": \"\",\n \"NewSchemaName\": \"\",\n \"ProcedureMode\": \"\",\n \"RoleMode\": \"\",\n \"Roles\": [],\n \"SchemaMode\": \"\",\n \"SchemaName\": \"\",\n \"TableMode\": \"partial\",\n \"Tables\": [\n {\n \"NewTableName\": \"\",\n \"TableEditMode\": \"\",\n \"TableName\": \"sbtest1\",\n \"TmpTables\": []\n },\n {\n \"NewTableName\": \"new_sbtest10\",\n \"TableEditMode\": \"rename\",\n \"TableName\": \"sbtest10\",\n \"TmpTables\": []\n },\n {\n \"NewTableName\": \"\",\n \"TableEditMode\": \"\",\n \"TableName\": \"sbtest100\",\n \"TmpTables\": []\n }\n ],\n \"TriggerMode\": \"\",\n \"ViewMode\": \"none\",\n \"Views\": []\n },\n {\n \"DBMode\": \"all\",\n \"DbName\": \"db1\",\n \"EventMode\": \"\",\n \"FunctionMode\": \"\",\n \"NewDbName\": \"\",\n \"NewSchemaName\": \"\",\n \"ProcedureMode\": \"\",\n \"RoleMode\": \"\",\n \"Roles\": [],\n \"SchemaMode\": \"\",\n \"SchemaName\": \"\",\n \"TableMode\": \"\",\n \"Tables\": [],\n \"TriggerMode\": \"\",\n \"ViewMode\": \"\",\n \"Views\": []\n }\n ],\n \"AdvancedObjects\": [\n \"function\"\n ],\n \"ObjectMode\": \"partial\"\n },\n \"ExtraAttr\": [],\n \"IsMigrateAccount\": false,\n \"IsDstReadOnly\": false,\n \"IsOverrideRoot\": false,\n \"MigrateType\": \"fullAndIncrement\"\n },\n \"RequestId\": \"ac300ff0-00f2-11ed-b005-4930e69d89c2\",\n \"RunMode\": \"immediate\",\n \"SrcInfo\": {\n \"AccessType\": \"intranet\",\n \"DatabaseType\": \"mysql\",\n \"ExtraAttr\": [],\n \"Info\": [\n {\n \"Account\": \"\",\n \"AccountMode\": \"\",\n \"AccountRole\": \"\",\n \"CcnGwId\": \"\",\n \"CvmInstanceId\": \"\",\n \"DbKernel\": \"\",\n \"EngineVersion\": \"5.7\",\n \"Host\": \"9.123.456.789\",\n \"InstanceId\": \"\",\n \"Password\": \"Abc_123456789\",\n \"Port\": 31035,\n \"Role\": \"\",\n \"SubnetId\": \"\",\n \"TmpSecretId\": \"\",\n \"TmpSecretKey\": \"\",\n \"TmpToken\": \"\",\n \"UniqDcgId\": \"\",\n \"UniqVpnGwId\": \"\",\n \"User\": \"root\",\n \"VpcId\": \"\"\n }\n ],\n \"NodeType\": \"simple\",\n \"Region\": \"ap-guangzhou\",\n \"Supplier\": \"\"\n },\n \"StartTime\": \"2022-07-11 17:20:56\",\n \"Status\": \"readyComplete\",\n \"StepInfo\": {\n \"MasterSlaveDistance\": 0,\n \"SecondsBehindMaster\": 0,\n \"StepAll\": 3,\n \"StepInfo\": [\n {\n \"StepMessage\": \"\",\n \"Percent\": 100,\n \"Errors\": [],\n \"StartTime\": \"2022-07-11 17:21:59\",\n \"Status\": \"finished\",\n \"StepId\": \"dumper\",\n \"StepName\": \"源库导出\",\n \"StepNo\": 1,\n \"Warnings\": []\n },\n {\n \"StepMessage\": \"\",\n \"Percent\": 100,\n \"Errors\": [],\n \"StartTime\": \"2022-07-11 17:22:43\",\n \"Status\": \"finished\",\n \"StepId\": \"loader\",\n \"StepName\": \"数据导入\",\n \"StepNo\": 2,\n \"Warnings\": []\n },\n {\n \"StepMessage\": \"\",\n \"Percent\": 100,\n \"Errors\": [],\n \"StartTime\": \"2022-07-11 17:23:26\",\n \"Status\": \"running\",\n \"StepId\": \"sinker\",\n \"StepName\": \"同步增量\",\n \"StepNo\": 3,\n \"Warnings\": []\n }\n ],\n \"StepNow\": 3\n },\n \"Tags\": [],\n \"TradeInfo\": {\n \"BillingType\": \"billing\",\n \"DealName\": \"20220711715001047929481\",\n \"ExpireTime\": \"0000-00-00 00:00:00\",\n \"InstanceClass\": \"xlarge\",\n \"IsolateReason\": \"\",\n \"LastDealName\": \"\",\n \"OfflineReason\": \"\",\n \"PayType\": \"postpay\",\n \"TradeStatus\": \"normal\",\n \"OfflineTime\": \"\",\n \"IsolateTime\": \"\"\n },\n \"UpdateTime\": \"2022-07-11 19:53:03\",\n \"DumperResumeCtrl\": \"no\"\n }\n}",
|
|
205
|
+
"output": "{\n \"Response\": {\n \"Action\": {\n \"AllAction\": [\n \"view\",\n \"modify\",\n \"check\",\n \"start\",\n \"configure\",\n \"stop\",\n \"complete\",\n \"resume\",\n \"createCmpTask\",\n \"isolate\",\n \"offline\",\n \"resize\",\n \"recover\"\n ],\n \"AllowedAction\": [\n \"view\",\n \"stop\",\n \"complete\",\n \"createCmpTask\",\n \"view\",\n \"isolate\",\n \"resize\"\n ]\n },\n \"CheckStepInfo\": {\n \"EndAt\": \"2022-07-11 17:19:25\",\n \"Progress\": {\n \"Message\": \"success\",\n \"Percent\": 100,\n \"Status\": \"success\",\n \"StepAll\": 12,\n \"Steps\": [\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"ConnectDBCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"连接DB检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"VersionCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"版本检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"SrcPrivilegeCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"源实例权限检查\",\n \"StepNo\": 0,\n \"Warnings\": [\n {\n \"HelpDoc\": \"\",\n \"Message\": \"您的授权情况:GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, RELOAD, PROCESS, REFERENCES, INDEX, ALTER, SHOW DATABASES, CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, REPLICATION SLAVE, REPLICATION CLIENT, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, CREATE USER, EVENT, TRIGGER, CREATE TABLESPACE ON *.* TO 'root'@'%' WITH GRANT OPTION。 源端账号权限范围大于要求的账号权限范围,腾讯云DTS不会使用超过必要的权限,请按照最小化原则给与授权: https://cloud.tencent.com/document/product/571/58700\",\n \"Solution\": \"\"\n }\n ]\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"SimpleParamCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"部分实例参数检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"DstPrivilegeCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"目标实例权限检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"DstEmptyCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"目标实例内容冲突检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"DstSpaceCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"目标实例空间检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"BinlogParamCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"binlog参数检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"ConstraintCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"外键依赖检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"ConstraintRefCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"外键部分库表依赖检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"ViewCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"视图检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"WarningParamCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"警告项检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 0,\n \"StartTime\": \"\",\n \"Status\": \"skipped\",\n \"StepId\": \"OptimizeCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"周边检查\",\n \"StepNo\": 0,\n \"Warnings\": [\n {\n \"HelpDoc\": \"\",\n \"Message\": \"skipped\",\n \"Solution\": \"\"\n }\n ]\n }\n ],\n \"StepNow\": 12\n },\n \"StartAt\": \"2022-07-11 17:18:57\"\n },\n \"CompareTask\": {\n \"CompareTaskId\": \"dts-amm1jw5q-cmp-bmuum7jk\",\n \"Status\": \"consistent\"\n },\n \"CreateTime\": \"2022-07-11 16:20:49\",\n \"DstInfo\": {\n \"AccessType\": \"cdb\",\n \"DatabaseType\": \"mysql\",\n \"ExtraAttr\": [],\n \"Info\": [\n {\n \"Account\": \"\",\n \"AccountMode\": \"\",\n \"AccountRole\": \"\",\n \"CcnGwId\": \"\",\n \"CvmInstanceId\": \"\",\n \"DbKernel\": \"\",\n \"EngineVersion\": \"\",\n \"Host\": \"\",\n \"InstanceId\": \"cdb-o7uph0cj\",\n \"Password\": \"Abc_123456789\",\n \"Port\": 0,\n \"EncryptConn\": \"UnEncrypted\",\n \"Role\": \"\",\n \"SubnetId\": \"\",\n \"TmpSecretId\": \"\",\n \"TmpSecretKey\": \"\",\n \"TmpToken\": \"\",\n \"UniqDcgId\": \"\",\n \"UniqVpnGwId\": \"\",\n \"User\": \"root\",\n \"VpcId\": \"\"\n }\n ],\n \"NodeType\": \"simple\",\n \"Region\": \"ap-guangzhou\",\n \"Supplier\": \"\"\n },\n \"EndTime\": \"0000-00-00 00:00:00\",\n \"ErrorInfo\": [],\n \"ExpectRunTime\": \"2022-07-11 17:16:50\",\n \"JobId\": \"dts-amm1jw5q\",\n \"JobName\": \"test_config_api\",\n \"BriefMsg\": \"\",\n \"MigrateOption\": {\n \"Consistency\": {\n \"Mode\": \"full\"\n },\n \"DatabaseTable\": {\n \"Databases\": [\n {\n \"DBMode\": \"partial\",\n \"DbName\": \"big100\",\n \"EventMode\": \"\",\n \"FunctionMode\": \"\",\n \"NewDbName\": \"\",\n \"NewSchemaName\": \"\",\n \"ProcedureMode\": \"\",\n \"RoleMode\": \"\",\n \"Roles\": [],\n \"SchemaMode\": \"\",\n \"SchemaName\": \"\",\n \"TableMode\": \"partial\",\n \"Tables\": [\n {\n \"NewTableName\": \"\",\n \"TableEditMode\": \"\",\n \"TableName\": \"sbtest1\",\n \"TmpTables\": []\n },\n {\n \"NewTableName\": \"new_sbtest10\",\n \"TableEditMode\": \"rename\",\n \"TableName\": \"sbtest10\",\n \"TmpTables\": []\n },\n {\n \"NewTableName\": \"\",\n \"TableEditMode\": \"\",\n \"TableName\": \"sbtest100\",\n \"TmpTables\": []\n }\n ],\n \"TriggerMode\": \"\",\n \"ViewMode\": \"none\",\n \"Views\": []\n },\n {\n \"DBMode\": \"all\",\n \"DbName\": \"db1\",\n \"EventMode\": \"\",\n \"FunctionMode\": \"\",\n \"NewDbName\": \"\",\n \"NewSchemaName\": \"\",\n \"ProcedureMode\": \"\",\n \"RoleMode\": \"\",\n \"Roles\": [],\n \"SchemaMode\": \"\",\n \"SchemaName\": \"\",\n \"TableMode\": \"\",\n \"Tables\": [],\n \"TriggerMode\": \"\",\n \"ViewMode\": \"\",\n \"Views\": []\n }\n ],\n \"AdvancedObjects\": [\n \"function\"\n ],\n \"ObjectMode\": \"partial\"\n },\n \"ExtraAttr\": [],\n \"IsMigrateAccount\": false,\n \"IsDstReadOnly\": false,\n \"IsOverrideRoot\": false,\n \"MigrateType\": \"fullAndIncrement\"\n },\n \"RequestId\": \"ac300ff0-00f2-11ed-b005-4930e69d89c2\",\n \"RunMode\": \"immediate\",\n \"SrcInfo\": {\n \"AccessType\": \"intranet\",\n \"DatabaseType\": \"mysql\",\n \"ExtraAttr\": [],\n \"Info\": [\n {\n \"Account\": \"\",\n \"AccountMode\": \"\",\n \"AccountRole\": \"\",\n \"CcnGwId\": \"\",\n \"CvmInstanceId\": \"\",\n \"DbKernel\": \"\",\n \"EngineVersion\": \"5.7\",\n \"Host\": \"9.123.456.789\",\n \"InstanceId\": \"\",\n \"Password\": \"Abc_123456789\",\n \"Port\": 31035,\n \"Role\": \"\",\n \"SubnetId\": \"\",\n \"TmpSecretId\": \"\",\n \"TmpSecretKey\": \"\",\n \"TmpToken\": \"\",\n \"UniqDcgId\": \"\",\n \"UniqVpnGwId\": \"\",\n \"User\": \"root\",\n \"VpcId\": \"\"\n }\n ],\n \"NodeType\": \"simple\",\n \"Region\": \"ap-guangzhou\",\n \"Supplier\": \"\"\n },\n \"StartTime\": \"2022-07-11 17:20:56\",\n \"Status\": \"readyComplete\",\n \"StepInfo\": {\n \"MasterSlaveDistance\": 0,\n \"SecondsBehindMaster\": 0,\n \"StepAll\": 3,\n \"StepInfo\": [\n {\n \"StepMessage\": \"\",\n \"Percent\": 100,\n \"Errors\": [],\n \"StartTime\": \"2022-07-11 17:21:59\",\n \"Status\": \"finished\",\n \"StepId\": \"dumper\",\n \"StepName\": \"源库导出\",\n \"StepNo\": 1,\n \"Warnings\": []\n },\n {\n \"StepMessage\": \"\",\n \"Percent\": 100,\n \"Errors\": [],\n \"StartTime\": \"2022-07-11 17:22:43\",\n \"Status\": \"finished\",\n \"StepId\": \"loader\",\n \"StepName\": \"数据导入\",\n \"StepNo\": 2,\n \"Warnings\": []\n },\n {\n \"StepMessage\": \"\",\n \"Percent\": 100,\n \"Errors\": [],\n \"StartTime\": \"2022-07-11 17:23:26\",\n \"Status\": \"running\",\n \"StepId\": \"sinker\",\n \"StepName\": \"同步增量\",\n \"StepNo\": 3,\n \"Warnings\": []\n }\n ],\n \"StepNow\": 3\n },\n \"Tags\": [],\n \"TradeInfo\": {\n \"BillingType\": \"billing\",\n \"DealName\": \"20220711715001047929481\",\n \"ExpireTime\": \"0000-00-00 00:00:00\",\n \"InstanceClass\": \"xlarge\",\n \"IsolateReason\": \"\",\n \"LastDealName\": \"\",\n \"OfflineReason\": \"\",\n \"PayType\": \"postpay\",\n \"TradeStatus\": \"normal\",\n \"OfflineTime\": \"\",\n \"IsolateTime\": \"\"\n },\n \"UpdateTime\": \"2022-07-11 19:53:03\",\n \"DumperResumeCtrl\": \"no\"\n }\n}",
|
|
190
206
|
"title": "查询某个迁移任务详情"
|
|
191
207
|
}
|
|
192
208
|
],
|
|
@@ -246,6 +262,22 @@
|
|
|
246
262
|
"title": "查询订阅实例是否可以退换"
|
|
247
263
|
}
|
|
248
264
|
],
|
|
265
|
+
"DescribeSyncCompareReport": [
|
|
266
|
+
{
|
|
267
|
+
"document": "",
|
|
268
|
+
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSyncCompareReport\n<公共请求参数>\n\n{\n \"JobId\": \"dts-amm1jw5q\",\n \"CompareTaskId\": \"dts-amm1jw5q-cmp-bmuum7jk\"\n}",
|
|
269
|
+
"output": "{\n \"Response\": {\n \"Abstract\": {\n \"Options\": {\n \"Method\": \"dataCheck\",\n \"SampleRate\": 0,\n \"ThreadCount\": 0\n },\n \"Objects\": {\n \"ObjectMode\": \"partial\",\n \"ObjectItems\": [\n {\n \"DbName\": \"db1\",\n \"SchemaName\": \"s1\",\n \"DbMode\": \"partial\",\n \"TableMode\": \"partial\",\n \"Tables\": [\n {\n \"TableName\": \"t1\",\n \"ColumnMode\": \"partial\",\n \"Columns\": [\n {\n \"ColumnName\": \"c1\"\n }\n ]\n }\n ],\n \"ViewMode\": \"partial\",\n \"Views\": [\n {\n \"ViewName\": \"v1\"\n }\n ]\n }\n ],\n \"AdvancedObjects\": [\n \"test_t\"\n ]\n },\n \"CheckedTables\": 4,\n \"Conclusion\": \"same\",\n \"DifferentRows\": 0,\n \"DifferentTables\": 0,\n \"SkippedTables\": 0,\n \"Status\": \"success\",\n \"TotalTables\": 4,\n \"SrcSampleRows\": 1,\n \"DstSampleRows\": 1,\n \"StartedAt\": \"2023-11-02 10:20:30\",\n \"FinishedAt\": \"2023-11-02 10:20:30\",\n \"NearlyTableCount\": 1\n },\n \"Detail\": {\n \"Difference\": {\n \"Items\": [],\n \"TotalCount\": 0\n },\n \"Skipped\": {\n \"Items\": [],\n \"TotalCount\": 0\n }\n },\n \"RequestId\": \"ac300ff0-00f2-11ed-b005-4930e69d89c2\"\n }\n}",
|
|
270
|
+
"title": "查询一致性校验任务详情"
|
|
271
|
+
}
|
|
272
|
+
],
|
|
273
|
+
"DescribeSyncCompareTasks": [
|
|
274
|
+
{
|
|
275
|
+
"document": "",
|
|
276
|
+
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSyncCompareTasks\n<公共请求参数>\n\n{\n \"JobId\": \"sync-e7ukka6g\"\n}",
|
|
277
|
+
"output": "{\n \"Response\": {\n \"Items\": [\n {\n \"CheckProcess\": {\n \"Message\": \"\",\n \"Status\": \"\",\n \"StepAll\": 0,\n \"StepNow\": 0,\n \"Percent\": 0,\n \"Steps\": []\n },\n \"CompareProcess\": {\n \"Message\": \"done\",\n \"Status\": \"\",\n \"StepAll\": 0,\n \"StepNow\": 0,\n \"Steps\": []\n },\n \"CompareTaskId\": \"sync-amm1jw5q-cmp-bmuum7jk\",\n \"Conclusion\": \"same\",\n \"Config\": {\n \"ObjectItems\": [\n {\n \"DbMode\": \"partial\",\n \"DbName\": \"big100\",\n \"SchemaName\": \"\",\n \"TableMode\": \"partial\",\n \"Tables\": null,\n \"ViewMode\": \"none\",\n \"Views\": null\n },\n {\n \"DbMode\": \"all\",\n \"DbName\": \"db1\",\n \"SchemaName\": \"\",\n \"TableMode\": \"all\",\n \"Tables\": null,\n \"ViewMode\": \"all\",\n \"Views\": null\n }\n ],\n \"ObjectMode\": \"partial\",\n \"AdvancedObjects\": [\n \"abc\"\n ]\n },\n \"CreatedAt\": \"2022-07-11 17:21:02\",\n \"FinishedAt\": \"2022-07-11 17:24:54\",\n \"Method\": \"dataCheck\",\n \"Options\": {\n \"Method\": \"dataCheck\",\n \"SampleRate\": 100,\n \"ThreadCount\": 1\n },\n \"JobId\": \"sync-amm1jw5q\",\n \"Message\": \"done\",\n \"StartedAt\": \"2022-07-11 17:24:09\",\n \"Status\": \"success\",\n \"TaskName\": \"defaultCmpTask\"\n }\n ],\n \"RequestId\": \"11d35c90-01bb-11ed-bad9-7b3bbe11abda\",\n \"TotalCount\": 1\n }\n}",
|
|
278
|
+
"title": "查询一致性校验任务列表"
|
|
279
|
+
}
|
|
280
|
+
],
|
|
249
281
|
"DescribeSyncJobs": [
|
|
250
282
|
{
|
|
251
283
|
"document": "查询同步任务列表",
|
|
@@ -371,13 +403,19 @@
|
|
|
371
403
|
"document": "",
|
|
372
404
|
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMigrationJob\n<公共请求参数>\n\n{\n \"JobId\": \"dts-efyc7e7l\",\n \"JobName\": \"dts-efyc7e7l\",\n \"RunMode\": \"immediate\",\n \"ExpectRunTime\": \"2024-12-20 19:01:07\",\n \"MigrateOption\": {\n \"MigrateType\": \"fullAndIncrement\",\n \"Consistency\": {\n \"Mode\": \"full\"\n },\n \"DatabaseTable\": {\n \"ObjectMode\": \"partial\",\n \"Databases\": [\n {\n \"DbName\": \"db_1\",\n \"NewDbName\": \"\",\n \"SchemaName\": \"\",\n \"NewSchemaName\": \"\",\n \"DBMode\": \"partial\",\n \"SchemaMode\": \"\",\n \"TableMode\": \"partial\",\n \"Tables\": [\n {\n \"TableName\": \"tb_1\",\n \"NewTableName\": \"\",\n \"TmpTables\": [],\n \"TableEditMode\": \"\"\n }\n ],\n \"ViewMode\": \"partial\",\n \"Views\": [\n {\n \"ViewName\": \"view_tb_1\",\n \"NewViewName\": \"\"\n }\n ],\n \"RoleMode\": \"\",\n \"Roles\": [],\n \"FunctionMode\": \"\",\n \"TriggerMode\": \"\",\n \"EventMode\": \"\",\n \"ProcedureMode\": \"\",\n \"Functions\": [],\n \"Procedures\": [],\n \"Events\": [],\n \"Triggers\": []\n }\n ],\n \"AdvancedObjects\": []\n },\n \"IsMigrateAccount\": true,\n \"IsOverrideRoot\": true,\n \"IsDstReadOnly\": true,\n \"ExtraAttr\": []\n },\n \"SrcInfo\": {\n \"Supplier\": \"\",\n \"Region\": \"ap-qingyuan\",\n \"AccessType\": \"cdb\",\n \"DatabaseType\": \"mysql\",\n \"NodeType\": \"\",\n \"Info\": [\n {\n \"Role\": \"\",\n \"DbKernel\": \"\",\n \"Host\": \"\",\n \"Port\": 0,\n \"User\": \"tencent\",\n \"Password\": \"tencent***\",\n \"CvmInstanceId\": \"\",\n \"UniqVpnGwId\": \"\",\n \"UniqDcgId\": \"\",\n \"InstanceId\": \"cdb-4gp2nzqy\",\n \"CcnGwId\": \"\",\n \"VpcId\": \"\",\n \"SubnetId\": \"\",\n \"EngineVersion\": \"8.0\",\n \"Account\": \"\",\n \"AccountRole\": \"\",\n \"AccountMode\": \"\",\n \"TmpSecretId\": \"\",\n \"TmpSecretKey\": \"\",\n \"TmpToken\": \"\",\n \"EncryptConn\": \"Encrypted\"\n }\n ],\n \"ExtraAttr\": [],\n \"DatabaseNetEnv\": \"\"\n },\n \"DstInfo\": {\n \"Supplier\": \"\",\n \"Region\": \"ap-qingyuan\",\n \"AccessType\": \"cdb\",\n \"DatabaseType\": \"mysql\",\n \"NodeType\": \"\",\n \"Info\": [\n {\n \"Role\": \"\",\n \"DbKernel\": \"\",\n \"Host\": \"\",\n \"Port\": 0,\n \"User\": \"tencent\",\n \"Password\": \"tencent***\",\n \"CvmInstanceId\": \"\",\n \"UniqVpnGwId\": \"\",\n \"UniqDcgId\": \"\",\n \"InstanceId\": \"cdb-4gp2nzqy\",\n \"CcnGwId\": \"\",\n \"VpcId\": \"\",\n \"SubnetId\": \"\",\n \"EngineVersion\": \"8.0\",\n \"Account\": \"\",\n \"AccountRole\": \"\",\n \"AccountMode\": \"\",\n \"TmpSecretId\": \"\",\n \"TmpSecretKey\": \"\",\n \"TmpToken\": \"\",\n \"EncryptConn\": \"Encrypted\"\n }\n ],\n \"ExtraAttr\": [],\n \"DatabaseNetEnv\": \"\"\n },\n \"Tags\": [],\n \"AutoRetryTimeRangeMinutes\": 0\n}",
|
|
373
405
|
"output": "{\n \"Response\": {\n \"RequestId\": \"a3365b29-2042-4565-9206-8df9e2af1a17\"\n }\n}",
|
|
374
|
-
"title": "
|
|
406
|
+
"title": "配置mysql迁移任务"
|
|
375
407
|
},
|
|
376
408
|
{
|
|
377
409
|
"document": "1.源端为腾讯云redis实例,目标端为AWS实例并以公网的方式连接目标节点信息填写所有分片上的IP/域名、端口、密码等连接信息;注意一定是所有分片节点连接信息都写。\n2.目标端以覆盖写的方式执行,如果要配置其他目标端写入模式,可以参考入参MigrateOption.ExtraAttr中的字段描述。",
|
|
378
|
-
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMigrationJob\n<公共请求参数>\n\n{\n \"JobId\": \"dts-n6uzsuxz\",\n \"RunMode\": \"immediate\",\n \"MigrateOption\": {\n \"DatabaseTable\": {\n \"ObjectMode\": \"all\"\n },\n \"MigrateType\": \"fullAndIncrement\",\n \"ExtraAttr\": [\n {\n \"Key\": \"DstWriteMode\",\n \"Value\": \"overwrite\"\n }\n ]\n },\n \"SrcInfo\": {\n \"Region\": \"ap-chengdu\",\n \"AccessType\": \"cdb\",\n \"DatabaseType\": \"redis\",\n \"NodeType\": \"simple\",\n \"Info\": [\n {\n \"Password\": \"admin12345\",\n \"InstanceId\": \"crs-lktt4ls3\"\n }\n ]\n },\n \"DstInfo\": {\n \"Region\": \"ap-chengdu\",\n \"AccessType\": \"extranet\",\n \"DatabaseType\": \"redis\",\n \"NodeType\": \"cluster-cache\",\n \"Info\": [\n {\n \"Host\": \"44.
|
|
410
|
+
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMigrationJob\n<公共请求参数>\n\n{\n \"JobId\": \"dts-n6uzsuxz\",\n \"RunMode\": \"immediate\",\n \"MigrateOption\": {\n \"DatabaseTable\": {\n \"ObjectMode\": \"all\"\n },\n \"MigrateType\": \"fullAndIncrement\",\n \"ExtraAttr\": [\n {\n \"Key\": \"DstWriteMode\",\n \"Value\": \"overwrite\"\n }\n ]\n },\n \"SrcInfo\": {\n \"Region\": \"ap-chengdu\",\n \"AccessType\": \"cdb\",\n \"DatabaseType\": \"redis\",\n \"NodeType\": \"simple\",\n \"Info\": [\n {\n \"Password\": \"admin12345\",\n \"InstanceId\": \"crs-lktt4ls3\"\n }\n ]\n },\n \"DstInfo\": {\n \"Region\": \"ap-chengdu\",\n \"AccessType\": \"extranet\",\n \"DatabaseType\": \"redis\",\n \"NodeType\": \"cluster-cache\",\n \"Info\": [\n {\n \"Host\": \"44.xxx.xxx.125\",\n \"Port\": 6383\n },\n {\n \"Host\": \"44.xxx.xxx.125\",\n \"Port\": 6384\n },\n {\n \"Host\": \"44.xxx.xxx.125\",\n \"Port\": 6385\n }\n ]\n }\n}",
|
|
379
411
|
"output": "{\n \"Response\": {\n \"RequestId\": \"4d21a953-4a23-47f1-91a9-84df62f016f3\"\n }\n}",
|
|
380
412
|
"title": "配置一个直连下云的redis迁移任务"
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"document": "配置一个mongodb迁移上云任务,迁移部分库表,源端使用公有云接入方式,使用change_stream的方式拉取。",
|
|
416
|
+
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMigrationJob\n<公共请求参数>\n\n{\n \"JobId\": \"dts-nk75d8oa\",\n \"RunMode\": \"immediate\",\n \"MigrateOption\": {\n \"DatabaseTable\": {\n \"ObjectMode\": \"partial\",\n \"Databases\": [\n {\n \"DbName\": \"db222_index\",\n \"DBMode\": \"all\",\n \"TableMode\": \"all\",\n \"ViewMode\": \"all\"\n }\n ]\n },\n \"MigrateType\": \"fullAndIncrement\",\n \"Consistency\": {\n \"Mode\": \"full\"\n }\n },\n \"SrcInfo\": {\n \"Region\": \"ap-guangzhou\",\n \"AccessType\": \"extranet\",\n \"DatabaseType\": \"mongodb\",\n \"NodeType\": \"cluster\",\n \"Info\": [\n {\n \"Role\": \"mongos\",\n \"Host\": \"9.8.160.69\",\n \"Port\": 6009,\n \"User\": \"mongouser\",\n \"Password\": \"1234567a\"\n }\n ],\n \"ExtraAttr\": [\n {\n \"Key\": \"fetchMethod\",\n \"Value\": \"change_stream\"\n },\n {\n \"Key\": \"AuthDatabase\",\n \"Value\": \"admin\"\n },\n {\n \"Key\": \"AuthFlag\",\n \"Value\": \"1\"\n },\n {\n \"Key\": \"AuthMechanism\",\n \"Value\": \"SCRAM-SHA-1\"\n }\n ]\n },\n \"DstInfo\": {\n \"Region\": \"ap-guangzhou\",\n \"AccessType\": \"cdb\",\n \"DatabaseType\": \"mongodb\",\n \"NodeType\": \"cluster\",\n \"Info\": [\n {\n \"Account\": \"\",\n \"AccountMode\": \"\",\n \"AccountRole\": \"\",\n \"CcnGwId\": \"\",\n \"CvmInstanceId\": \"\",\n \"DbKernel\": \"\",\n \"EncryptConn\": \"\",\n \"EngineVersion\": \"\",\n \"Host\": \"\",\n \"InstanceId\": \"cmgo-fdbgxxxx\",\n \"Password\": \"xxxxxx\",\n \"Port\": 0,\n \"Role\": \"\",\n \"SetId\": \"\",\n \"SubnetId\": \"\",\n \"TmpSecretId\": \"\",\n \"TmpSecretKey\": \"\",\n \"TmpToken\": \"\",\n \"UniqDcgId\": \"\",\n \"UniqVpnGwId\": \"\",\n \"User\": \"mongouser\",\n \"VpcId\": \"\"\n }\n ]\n }\n}",
|
|
417
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a3365b29-2042-4565-9206-8df9e2af1a17\"\n }\n}",
|
|
418
|
+
"title": "配置mongodb迁移迁移上云任务"
|
|
381
419
|
}
|
|
382
420
|
],
|
|
383
421
|
"ModifySubscribeAutoRenewFlag": [
|
|
@@ -404,6 +442,22 @@
|
|
|
404
442
|
"title": "修改数据订阅通道的订阅规则"
|
|
405
443
|
}
|
|
406
444
|
],
|
|
445
|
+
"ModifySyncCompareTask": [
|
|
446
|
+
{
|
|
447
|
+
"document": "",
|
|
448
|
+
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySyncCompareTask\n<公共请求参数>\n\n{\n \"JobId\": \"sync-p1sposne\",\n \"CompareTaskId\": \"sync-8yv4w2i1-cmp-37skmii9\",\n \"TaskName\": \"test_cmp\",\n \"ObjectMode\": \"custom\",\n \"Objects\": {\n \"ObjectMode\": \"partial\",\n \"ObjectItems\": [\n {\n \"DbName\": \"big100\",\n \"DbMode\": \"partial\",\n \"TableMode\": \"partial\",\n \"Tables\": [\n {\n \"TableName\": \"sbtest1\"\n }\n ]\n },\n {\n \"DbName\": \"db1\",\n \"DbMode\": \"all\",\n \"TableMode\": \"all\",\n \"ViewMode\": \"all\"\n }\n ]\n }\n}",
|
|
449
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"ac300ff0-00f2-11ed-b005-4930e69d89c2\"\n }\n}",
|
|
450
|
+
"title": "修改一致性校验任务"
|
|
451
|
+
}
|
|
452
|
+
],
|
|
453
|
+
"ModifySyncCompareTaskName": [
|
|
454
|
+
{
|
|
455
|
+
"document": "",
|
|
456
|
+
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySyncCompareTaskName\n<公共请求参数>\n\n{\n \"JobId\": \"sync-8yv4w2i1\",\n \"CompareTaskId\": \"sync-8yv4w2i1-cmp-37skmii9\",\n \"TaskName\": \"对比测试\"\n}",
|
|
457
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"ac300ff0-00f2-11ed-b005-4930e69d89c2\"\n }\n}",
|
|
458
|
+
"title": "修改一致性校验任务名称"
|
|
459
|
+
}
|
|
460
|
+
],
|
|
407
461
|
"ModifySyncJobConfig": [
|
|
408
462
|
{
|
|
409
463
|
"document": "在需要修改对象时、通过该接口开始配置修改对象的任务",
|
|
@@ -455,7 +509,7 @@
|
|
|
455
509
|
"ResetConsumerGroupOffset": [
|
|
456
510
|
{
|
|
457
511
|
"document": "将一个订阅任务的kafka offset重置到2023-05-16 00:00:00附近的checkpoint",
|
|
458
|
-
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetConsumerGroupOffset\n<公共请求参数>\n\n{\n \"ConsumerGroupName\": \"consumer-grp-subs-635ns8r71g-1\",\n \"PartitionNos\": [\n
|
|
512
|
+
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetConsumerGroupOffset\n<公共请求参数>\n\n{\n \"ConsumerGroupName\": \"consumer-grp-subs-635ns8r71g-1\",\n \"PartitionNos\": [\n 0,\n 1,\n 2,\n 3\n ],\n \"ResetMode\": \"datetime\",\n \"ResetDatetime\": \"2023-05-16 00:00:00\",\n \"SubscribeId\": \"subs-635ns8r71g\",\n \"TopicName\": \"account-subs-635ns8r71g-1\"\n}",
|
|
459
513
|
"output": "{\n \"Response\": {\n \"RequestId\": \"20461920-b18e-11ec-ae1a-cfe224f4f21f\"\n }\n}",
|
|
460
514
|
"title": "重置消费组offset"
|
|
461
515
|
}
|
|
@@ -556,6 +610,14 @@
|
|
|
556
610
|
"title": "开启数据订阅任务"
|
|
557
611
|
}
|
|
558
612
|
],
|
|
613
|
+
"StartSyncCompare": [
|
|
614
|
+
{
|
|
615
|
+
"document": "",
|
|
616
|
+
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartSyncCompare\n<公共请求参数>\n\n{\n \"JobId\": \"sync-1i9hna5e\",\n \"CompareTaskId\": \"sync-1i9hna5e-cmp-kjqrl13s\"\n}",
|
|
617
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"ac300ff0-00f2-11ed-b005-4930e69d89c2\"\n }\n}",
|
|
618
|
+
"title": "启动同步一致性校验任务"
|
|
619
|
+
}
|
|
620
|
+
],
|
|
559
621
|
"StartSyncJob": [
|
|
560
622
|
{
|
|
561
623
|
"document": "",
|
|
@@ -580,6 +642,14 @@
|
|
|
580
642
|
"title": "停止数据迁移任务"
|
|
581
643
|
}
|
|
582
644
|
],
|
|
645
|
+
"StopSyncCompare": [
|
|
646
|
+
{
|
|
647
|
+
"document": "",
|
|
648
|
+
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StopSyncCompare\n<公共请求参数>\n\n{\n \"JobId\": \"sync-amm1jw5q\",\n \"CompareTaskId\": \"sync-amm1jw5q-cmp-bmuum7jk\"\n}",
|
|
649
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"ac300ff0-00f2-11ed-b005-4930e69d89c2\"\n }\n}",
|
|
650
|
+
"title": "终止一致性校验任务"
|
|
651
|
+
}
|
|
652
|
+
],
|
|
583
653
|
"StopSyncJob": [
|
|
584
654
|
{
|
|
585
655
|
"document": "",
|