tccli 3.0.1216.1__py2.py3-none-any.whl → 3.0.1217.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/argparser.py +1 -1
- tccli/command.py +2 -2
- tccli/credentials.py +25 -0
- tccli/main.py +6 -2
- tccli/plugins/sso/__init__.py +61 -0
- tccli/plugins/sso/configs.py +4 -0
- tccli/plugins/sso/configure.py +45 -0
- tccli/plugins/sso/login.py +144 -0
- tccli/plugins/sso/logout.py +21 -0
- tccli/plugins/sso/terminal.py +161 -0
- tccli/plugins/sso/texts.py +40 -0
- tccli/services/__init__.py +6 -0
- tccli/services/acp/v20220105/api.json +7 -7
- tccli/services/acp/v20220105/examples.json +2 -2
- tccli/services/aiart/v20221229/api.json +29 -29
- tccli/services/aiart/v20221229/examples.json +8 -8
- tccli/services/apigateway/v20180808/api.json +18 -17
- tccli/services/apigateway/v20180808/examples.json +12 -12
- tccli/services/apm/v20210622/api.json +98 -4
- tccli/services/asr/v20190614/api.json +18 -17
- tccli/services/asr/v20190614/examples.json +13 -13
- tccli/services/autoscaling/v20180419/api.json +371 -309
- tccli/services/autoscaling/v20180419/examples.json +17 -17
- tccli/services/batch/v20170312/api.json +7 -7
- tccli/services/bda/v20200324/api.json +39 -31
- tccli/services/bda/v20200324/examples.json +9 -9
- tccli/services/bh/__init__.py +4 -0
- tccli/services/bh/bh_client.py +3428 -0
- tccli/services/bh/v20230418/api.json +8180 -0
- tccli/services/bh/v20230418/examples.json +519 -0
- tccli/services/bi/v20220105/api.json +48 -0
- tccli/services/billing/v20180709/api.json +26 -24
- tccli/services/bsca/v20210811/api.json +1 -1
- tccli/services/btoe/v20210514/api.json +4 -4
- tccli/services/btoe/v20210514/examples.json +2 -2
- tccli/services/ca/v20230228/api.json +60 -0
- tccli/services/cam/v20190116/api.json +11 -11
- tccli/services/cat/v20180409/api.json +9 -0
- tccli/services/cbs/v20170312/api.json +200 -188
- tccli/services/cbs/v20170312/examples.json +4 -4
- tccli/services/ccc/v20200210/api.json +390 -323
- tccli/services/ccc/v20200210/examples.json +15 -15
- tccli/services/cdb/cdb_client.py +13 -13
- tccli/services/cdb/v20170320/api.json +295 -270
- tccli/services/cdb/v20170320/examples.json +38 -38
- tccli/services/cdc/v20201214/api.json +283 -270
- tccli/services/cdc/v20201214/examples.json +26 -26
- tccli/services/cds/v20180420/api.json +82 -76
- tccli/services/cds/v20180420/examples.json +1 -1
- tccli/services/cdwch/v20200915/api.json +1 -1
- tccli/services/cdwdoris/v20211228/api.json +42 -2
- tccli/services/cdz/v20221123/api.json +41 -5
- tccli/services/cfg/v20210820/api.json +31 -0
- tccli/services/cfs/v20190719/api.json +89 -1
- tccli/services/cfs/v20190719/examples.json +1 -1
- tccli/services/cfw/cfw_client.py +0 -53
- tccli/services/cfw/v20190904/api.json +1849 -1999
- tccli/services/cfw/v20190904/examples.json +157 -159
- tccli/services/ckafka/v20190819/api.json +104 -75
- tccli/services/clb/v20180317/api.json +48 -26
- tccli/services/clb/v20180317/examples.json +1 -1
- tccli/services/cloudapp/v20220530/api.json +5 -1
- tccli/services/cloudaudit/v20190319/api.json +58 -44
- tccli/services/cloudaudit/v20190319/examples.json +6 -6
- tccli/services/cloudstudio/v20230508/api.json +38 -37
- tccli/services/cloudstudio/v20230508/examples.json +4 -4
- tccli/services/cls/cls_client.py +216 -4
- tccli/services/cls/v20201016/api.json +536 -47
- tccli/services/cls/v20201016/examples.json +34 -2
- tccli/services/csip/v20221121/api.json +2562 -2382
- tccli/services/csip/v20221121/examples.json +108 -108
- tccli/services/cvm/v20170312/api.json +149 -112
- tccli/services/cvm/v20170312/examples.json +2 -2
- tccli/services/cwp/cwp_client.py +4 -110
- tccli/services/cwp/v20180228/api.json +6338 -6146
- tccli/services/cwp/v20180228/examples.json +342 -370
- tccli/services/cynosdb/v20190107/api.json +93 -81
- tccli/services/cynosdb/v20190107/examples.json +70 -70
- tccli/services/dasb/v20191018/api.json +796 -651
- tccli/services/dasb/v20191018/examples.json +101 -101
- tccli/services/dcdb/dcdb_client.py +114 -61
- tccli/services/dcdb/v20180411/api.json +141 -7
- tccli/services/dcdb/v20180411/examples.json +32 -0
- tccli/services/dlc/v20210125/api.json +21 -11
- tccli/services/dnspod/dnspod_client.py +417 -46
- tccli/services/dnspod/v20210323/api.json +751 -30
- tccli/services/dnspod/v20210323/examples.json +62 -0
- tccli/services/dts/v20211206/api.json +4 -4
- tccli/services/ecm/v20190719/api.json +2 -2
- tccli/services/emr/v20190103/api.json +339 -114
- tccli/services/emr/v20190103/examples.json +64 -82
- tccli/services/es/v20180416/api.json +29 -0
- tccli/services/es/v20180416/examples.json +1 -1
- tccli/services/ess/v20201111/api.json +49 -31
- tccli/services/ess/v20201111/examples.json +20 -8
- tccli/services/essbasic/v20210526/api.json +54 -49
- tccli/services/essbasic/v20210526/examples.json +36 -18
- tccli/services/facefusion/v20181201/api.json +47 -45
- tccli/services/facefusion/v20181201/examples.json +2 -2
- tccli/services/facefusion/v20220927/api.json +54 -48
- tccli/services/facefusion/v20220927/examples.json +5 -5
- tccli/services/faceid/v20180301/api.json +497 -496
- tccli/services/faceid/v20180301/examples.json +219 -101
- tccli/services/fmu/v20191213/api.json +59 -67
- tccli/services/fmu/v20191213/examples.json +22 -22
- tccli/services/ft/v20200304/api.json +53 -57
- tccli/services/ft/v20200304/examples.json +14 -14
- tccli/services/gme/v20180711/api.json +21 -11
- tccli/services/gme/v20180711/examples.json +1 -1
- tccli/services/hai/v20230812/api.json +116 -9
- tccli/services/hai/v20230812/examples.json +4 -4
- tccli/services/hunyuan/hunyuan_client.py +436 -12
- tccli/services/hunyuan/v20230901/api.json +1482 -118
- tccli/services/hunyuan/v20230901/examples.json +82 -18
- tccli/services/iai/v20180301/api.json +23 -19
- tccli/services/iai/v20180301/examples.json +2 -2
- tccli/services/iai/v20200303/api.json +530 -511
- tccli/services/iai/v20200303/examples.json +116 -86
- tccli/services/ig/__init__.py +4 -0
- tccli/services/ig/ig_client.py +195 -0
- tccli/services/ig/v20210518/api.json +83 -0
- tccli/services/ig/v20210518/examples.json +13 -0
- tccli/services/ioa/ioa_client.py +53 -0
- tccli/services/ioa/v20220601/api.json +662 -413
- tccli/services/ioa/v20220601/examples.json +24 -10
- tccli/services/iotexplorer/v20190423/api.json +33 -13
- tccli/services/iotexplorer/v20190423/examples.json +3 -3
- tccli/services/iotvideo/iotvideo_client.py +106 -0
- tccli/services/iotvideo/v20191126/api.json +256 -24
- tccli/services/iotvideo/v20191126/examples.json +19 -3
- tccli/services/iotvideo/v20201215/api.json +1 -1
- tccli/services/iotvideo/v20201215/examples.json +1 -1
- tccli/services/iotvideo/v20211125/api.json +1 -1
- tccli/services/iotvideo/v20211125/examples.json +2 -2
- tccli/services/iss/iss_client.py +69 -122
- tccli/services/iss/v20230517/api.json +10 -54
- tccli/services/iss/v20230517/examples.json +0 -14
- tccli/services/kms/v20190118/api.json +301 -268
- tccli/services/kms/v20190118/examples.json +45 -51
- tccli/services/lcic/lcic_client.py +159 -0
- tccli/services/lcic/v20220817/api.json +273 -1
- tccli/services/lcic/v20220817/examples.json +24 -0
- tccli/services/lighthouse/v20200324/api.json +56 -0
- tccli/services/live/live_client.py +159 -0
- tccli/services/live/v20180801/api.json +244 -0
- tccli/services/live/v20180801/examples.json +24 -0
- tccli/services/lke/v20231130/api.json +17 -17
- tccli/services/lke/v20231130/examples.json +19 -25
- tccli/services/mariadb/v20170312/api.json +7 -7
- tccli/services/market/v20191010/api.json +3 -3
- tccli/services/market/v20191010/examples.json +2 -2
- tccli/services/mmps/v20200710/api.json +47 -47
- tccli/services/mmps/v20200710/examples.json +3 -3
- tccli/services/mongodb/v20190725/api.json +4 -4
- tccli/services/monitor/v20180724/api.json +46 -19
- tccli/services/mps/v20190612/api.json +282 -5
- tccli/services/mps/v20190612/examples.json +25 -1
- tccli/services/mqtt/v20240516/api.json +2 -2
- tccli/services/mrs/v20200910/api.json +72 -34
- tccli/services/mrs/v20200910/examples.json +2 -2
- tccli/services/ms/v20180408/api.json +535 -506
- tccli/services/ms/v20180408/examples.json +25 -25
- tccli/services/oceanus/v20190422/api.json +130 -0
- tccli/services/ocr/ocr_client.py +232 -20
- tccli/services/ocr/v20181119/api.json +2265 -760
- tccli/services/ocr/v20181119/examples.json +200 -180
- tccli/services/omics/v20221128/api.json +614 -553
- tccli/services/omics/v20221128/examples.json +9 -9
- tccli/services/organization/v20210331/api.json +13 -4
- tccli/services/organization/v20210331/examples.json +2 -2
- tccli/services/partners/v20180321/api.json +244 -234
- tccli/services/partners/v20180321/examples.json +19 -19
- tccli/services/privatedns/privatedns_client.py +428 -4
- tccli/services/privatedns/v20201028/api.json +815 -11
- tccli/services/privatedns/v20201028/examples.json +64 -0
- tccli/services/pts/v20210728/api.json +18 -0
- tccli/services/pts/v20210728/examples.json +1 -1
- tccli/services/rce/rce_client.py +53 -0
- tccli/services/rce/v20201103/api.json +146 -0
- tccli/services/rce/v20201103/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +42 -42
- tccli/services/redis/v20180412/examples.json +19 -19
- tccli/services/rum/v20210622/api.json +9 -0
- tccli/services/scf/v20180416/api.json +15 -15
- tccli/services/scf/v20180416/examples.json +1 -1
- tccli/services/smop/v20201203/api.json +46 -42
- tccli/services/smop/v20201203/examples.json +2 -2
- tccli/services/soe/v20180724/api.json +10 -10
- tccli/services/sqlserver/v20180328/api.json +21 -8
- tccli/services/sqlserver/v20180328/examples.json +5 -5
- tccli/services/ssl/v20191205/api.json +97 -4
- tccli/services/ssm/v20190923/api.json +292 -231
- tccli/services/ssm/v20190923/examples.json +42 -42
- tccli/services/tat/v20201028/api.json +97 -97
- tccli/services/tat/v20201028/examples.json +20 -26
- tccli/services/tchd/v20230306/api.json +5 -5
- tccli/services/tchd/v20230306/examples.json +3 -3
- tccli/services/tcr/v20190924/api.json +1 -1
- tccli/services/tcr/v20190924/examples.json +1 -1
- tccli/services/tcss/v20201101/api.json +1973 -1426
- tccli/services/tcss/v20201101/examples.json +346 -364
- tccli/services/tdmq/v20200217/api.json +539 -401
- tccli/services/tdmq/v20200217/examples.json +104 -104
- tccli/services/tds/v20220801/api.json +4 -4
- tccli/services/tem/v20210701/api.json +287 -271
- tccli/services/tem/v20210701/examples.json +59 -59
- tccli/services/teo/v20220901/api.json +37 -9
- tccli/services/teo/v20220901/examples.json +13 -7
- tccli/services/thpc/v20230321/api.json +5 -5
- tccli/services/tke/tke_client.py +217 -58
- tccli/services/tke/v20180525/api.json +36 -27
- tccli/services/tke/v20180525/examples.json +1 -1
- tccli/services/tke/v20220501/api.json +176 -0
- tccli/services/tke/v20220501/examples.json +24 -0
- tccli/services/tmt/v20180321/api.json +38 -8
- tccli/services/trp/v20210515/api.json +86 -74
- tccli/services/trp/v20210515/examples.json +65 -65
- tccli/services/trro/v20220325/api.json +72 -71
- tccli/services/trro/v20220325/examples.json +8 -8
- tccli/services/trtc/trtc_client.py +8 -61
- tccli/services/trtc/v20190722/api.json +72 -30
- tccli/services/trtc/v20190722/examples.json +3 -11
- tccli/services/tse/tse_client.py +110 -4
- tccli/services/tse/v20201207/api.json +122 -7
- tccli/services/tse/v20201207/examples.json +25 -9
- tccli/services/vclm/v20240523/api.json +225 -82
- tccli/services/vclm/v20240523/examples.json +13 -19
- tccli/services/vod/v20180717/api.json +431 -4
- tccli/services/vod/v20180717/examples.json +25 -5
- tccli/services/vod/v20240718/api.json +11 -11
- tccli/services/vod/v20240718/examples.json +4 -4
- tccli/services/vod/vod_client.py +53 -0
- tccli/services/vpc/v20170312/api.json +1090 -862
- tccli/services/vpc/v20170312/examples.json +74 -66
- tccli/services/vpc/vpc_client.py +61 -8
- tccli/services/waf/v20180125/api.json +2540 -2177
- tccli/services/waf/v20180125/examples.json +216 -284
- tccli/services/waf/waf_client.py +172 -119
- tccli/services/wav/v20210129/api.json +48 -48
- tccli/services/wav/v20210129/examples.json +4 -4
- tccli/services/wedata/v20210820/api.json +909 -25
- tccli/services/wedata/v20210820/examples.json +28 -4
- tccli/services/wedata/wedata_client.py +159 -0
- tccli/services/weilingwith/v20230427/api.json +6 -6
- tccli/services/weilingwith/v20230427/examples.json +3 -3
- tccli/sso.py +229 -0
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/RECORD +252 -235
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/license_files/LICENSE +0 -0
@@ -70,6 +70,13 @@
|
|
70
70
|
"output": "CreateHourDCDBInstanceResponse",
|
71
71
|
"status": "online"
|
72
72
|
},
|
73
|
+
"CreateOnlineDDLJob": {
|
74
|
+
"document": "创建在线DDL任务",
|
75
|
+
"input": "CreateOnlineDDLJobRequest",
|
76
|
+
"name": "创建在线DDL任务",
|
77
|
+
"output": "CreateOnlineDDLJobResponse",
|
78
|
+
"status": "online"
|
79
|
+
},
|
73
80
|
"CreateTmpDCDBInstance": {
|
74
81
|
"document": "回档TDSQL实例",
|
75
82
|
"input": "CreateTmpDCDBInstanceRequest",
|
@@ -2085,6 +2092,133 @@
|
|
2085
2092
|
],
|
2086
2093
|
"type": "object"
|
2087
2094
|
},
|
2095
|
+
"CreateOnlineDDLJobRequest": {
|
2096
|
+
"document": "CreateOnlineDDLJob请求参数结构体",
|
2097
|
+
"members": [
|
2098
|
+
{
|
2099
|
+
"disabled": false,
|
2100
|
+
"document": "实例Id",
|
2101
|
+
"example": "tdsqlshard-gayfdsflx",
|
2102
|
+
"member": "string",
|
2103
|
+
"name": "InstanceId",
|
2104
|
+
"required": true,
|
2105
|
+
"type": "string"
|
2106
|
+
},
|
2107
|
+
{
|
2108
|
+
"disabled": false,
|
2109
|
+
"document": "要执行的 DDL 语句。常用的在线DDL参考此API文档示例部分",
|
2110
|
+
"example": "alter table test_tbl add column add_col_2 int not null;",
|
2111
|
+
"member": "string",
|
2112
|
+
"name": "Alter",
|
2113
|
+
"required": true,
|
2114
|
+
"type": "string"
|
2115
|
+
},
|
2116
|
+
{
|
2117
|
+
"disabled": false,
|
2118
|
+
"document": "要修改的数据库\t",
|
2119
|
+
"example": "test_db",
|
2120
|
+
"member": "string",
|
2121
|
+
"name": "DbName",
|
2122
|
+
"required": true,
|
2123
|
+
"type": "string"
|
2124
|
+
},
|
2125
|
+
{
|
2126
|
+
"disabled": false,
|
2127
|
+
"document": "要修改的表",
|
2128
|
+
"example": "test_tbl",
|
2129
|
+
"member": "string",
|
2130
|
+
"name": "Table",
|
2131
|
+
"required": true,
|
2132
|
+
"type": "string"
|
2133
|
+
},
|
2134
|
+
{
|
2135
|
+
"disabled": false,
|
2136
|
+
"document": "指定账号执行DDL,需确保账号有 ALTER, CREATE, INSERT, UPDATE, DROP, DELETE, INDEX, CREATE TEMPORARY TABLES, LOCK TABLES, TRIGGER, REPLICATION CLIENT, REPLICATION SLAVE 等相关权限 (若不填写将默认使用系统账号)",
|
2137
|
+
"example": "test_user",
|
2138
|
+
"member": "string",
|
2139
|
+
"name": "User",
|
2140
|
+
"required": false,
|
2141
|
+
"type": "string"
|
2142
|
+
},
|
2143
|
+
{
|
2144
|
+
"disabled": false,
|
2145
|
+
"document": "指定账号的密码",
|
2146
|
+
"example": "test_pwd",
|
2147
|
+
"member": "string",
|
2148
|
+
"name": "Password",
|
2149
|
+
"required": false,
|
2150
|
+
"type": "string"
|
2151
|
+
},
|
2152
|
+
{
|
2153
|
+
"disabled": false,
|
2154
|
+
"document": "运行线程数大于此值时,将终止DDL。不填则默认58",
|
2155
|
+
"example": "30",
|
2156
|
+
"member": "int64",
|
2157
|
+
"name": "CriticalLoad",
|
2158
|
+
"required": false,
|
2159
|
+
"type": "int"
|
2160
|
+
},
|
2161
|
+
{
|
2162
|
+
"disabled": false,
|
2163
|
+
"document": "是否检查自增字段。为1则不允许修改自增字段,0或不填写则不检查",
|
2164
|
+
"example": "1",
|
2165
|
+
"member": "int64",
|
2166
|
+
"name": "CheckAutoInc",
|
2167
|
+
"required": false,
|
2168
|
+
"type": "int"
|
2169
|
+
},
|
2170
|
+
{
|
2171
|
+
"disabled": false,
|
2172
|
+
"document": "允许的主备延迟时间(单位s),0或不填写则不检查延迟",
|
2173
|
+
"example": "5",
|
2174
|
+
"member": "int64",
|
2175
|
+
"name": "MaxDelay",
|
2176
|
+
"required": false,
|
2177
|
+
"type": "int"
|
2178
|
+
},
|
2179
|
+
{
|
2180
|
+
"disabled": false,
|
2181
|
+
"document": "是否使用pt-osc工具做DDL",
|
2182
|
+
"example": "1",
|
2183
|
+
"member": "int64",
|
2184
|
+
"name": "UsePt",
|
2185
|
+
"required": false,
|
2186
|
+
"type": "int"
|
2187
|
+
},
|
2188
|
+
{
|
2189
|
+
"disabled": false,
|
2190
|
+
"document": "开始执行时间",
|
2191
|
+
"example": "2024-04-01 01:00:00",
|
2192
|
+
"member": "string",
|
2193
|
+
"name": "StartTime",
|
2194
|
+
"required": false,
|
2195
|
+
"type": "string"
|
2196
|
+
}
|
2197
|
+
],
|
2198
|
+
"type": "object"
|
2199
|
+
},
|
2200
|
+
"CreateOnlineDDLJobResponse": {
|
2201
|
+
"document": "CreateOnlineDDLJob返回参数结构体",
|
2202
|
+
"members": [
|
2203
|
+
{
|
2204
|
+
"disabled": false,
|
2205
|
+
"document": "在线DDL任务Id",
|
2206
|
+
"example": "1314",
|
2207
|
+
"member": "int64",
|
2208
|
+
"name": "FlowId",
|
2209
|
+
"output_required": true,
|
2210
|
+
"type": "int",
|
2211
|
+
"value_allowed_null": false
|
2212
|
+
},
|
2213
|
+
{
|
2214
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
2215
|
+
"member": "string",
|
2216
|
+
"name": "RequestId",
|
2217
|
+
"type": "string"
|
2218
|
+
}
|
2219
|
+
],
|
2220
|
+
"type": "object"
|
2221
|
+
},
|
2088
2222
|
"CreateTmpDCDBInstanceRequest": {
|
2089
2223
|
"document": "CreateTmpDCDBInstance请求参数结构体",
|
2090
2224
|
"members": [
|
@@ -8069,7 +8203,7 @@
|
|
8069
8203
|
"example": "long_query_time",
|
8070
8204
|
"member": "string",
|
8071
8205
|
"name": "Param",
|
8072
|
-
"
|
8206
|
+
"output_required": true,
|
8073
8207
|
"type": "string",
|
8074
8208
|
"value_allowed_null": false
|
8075
8209
|
},
|
@@ -8079,7 +8213,7 @@
|
|
8079
8213
|
"example": "1",
|
8080
8214
|
"member": "string",
|
8081
8215
|
"name": "Value",
|
8082
|
-
"
|
8216
|
+
"output_required": true,
|
8083
8217
|
"type": "string",
|
8084
8218
|
"value_allowed_null": false
|
8085
8219
|
},
|
@@ -8089,7 +8223,7 @@
|
|
8089
8223
|
"example": "2",
|
8090
8224
|
"member": "string",
|
8091
8225
|
"name": "SetValue",
|
8092
|
-
"
|
8226
|
+
"output_required": true,
|
8093
8227
|
"type": "string",
|
8094
8228
|
"value_allowed_null": true
|
8095
8229
|
},
|
@@ -8099,7 +8233,7 @@
|
|
8099
8233
|
"example": "1",
|
8100
8234
|
"member": "string",
|
8101
8235
|
"name": "Default",
|
8102
|
-
"
|
8236
|
+
"output_required": true,
|
8103
8237
|
"type": "string",
|
8104
8238
|
"value_allowed_null": false
|
8105
8239
|
},
|
@@ -8109,7 +8243,7 @@
|
|
8109
8243
|
"example": "无",
|
8110
8244
|
"member": "ParamConstraint",
|
8111
8245
|
"name": "Constraint",
|
8112
|
-
"
|
8246
|
+
"output_required": true,
|
8113
8247
|
"type": "object",
|
8114
8248
|
"value_allowed_null": false
|
8115
8249
|
},
|
@@ -8119,7 +8253,7 @@
|
|
8119
8253
|
"example": "true",
|
8120
8254
|
"member": "bool",
|
8121
8255
|
"name": "HaveSetValue",
|
8122
|
-
"
|
8256
|
+
"output_required": true,
|
8123
8257
|
"type": "bool",
|
8124
8258
|
"value_allowed_null": false
|
8125
8259
|
},
|
@@ -8129,7 +8263,7 @@
|
|
8129
8263
|
"example": "false",
|
8130
8264
|
"member": "bool",
|
8131
8265
|
"name": "NeedRestart",
|
8132
|
-
"
|
8266
|
+
"output_required": true,
|
8133
8267
|
"type": "bool",
|
8134
8268
|
"value_allowed_null": false
|
8135
8269
|
}
|
@@ -80,6 +80,38 @@
|
|
80
80
|
"title": "创建TDSQL按量计费实例"
|
81
81
|
}
|
82
82
|
],
|
83
|
+
"CreateOnlineDDLJob": [
|
84
|
+
{
|
85
|
+
"document": "为 test_tbl 添加字段",
|
86
|
+
"input": "POST / HTTP/1.1\nHost: dcdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateOnlineDDLJob\n<公共请求参数>\n\n{\n \"InstanceId\": \"tdsqlshard-h2yimmox\",\n \"Alter\": \"alter table test_tbl add column test_add_col varchar(32) not null default 'test' comment 'test add col';\",\n \"DbName\": \"test_db\",\n \"Table\": \"test_tbl\",\n \"CriticalLoad\": 58,\n \"CheckAutoInc\": 0,\n \"MaxDelay\": 10,\n \"UsePt\": 1,\n \"User\": \"test_user\",\n \"Password\": \"test_pwd\",\n \"StartTime\": \"\"\n}",
|
87
|
+
"output": "{\n \"Response\": {\n \"FlowId\": 1140696,\n \"RequestId\": \"bd07e59f-dee8-4680-9a43-492a8a52c894\"\n }\n}",
|
88
|
+
"title": "添加字段"
|
89
|
+
},
|
90
|
+
{
|
91
|
+
"document": "为 test_tbl添加索引\n添加唯一索引 :alter table test_tbl add unique key my_idx(id,name); \n添加普通索引:alter table test_tbl add key my_idx_1(id,name); ",
|
92
|
+
"input": "POST / HTTP/1.1\nHost: dcdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateOnlineDDLJob\n<公共请求参数>\n\n{\n \"InstanceId\": \"tdsql-4z38cfwj\",\n \"Alter\": \"alter table test_tbl add unique key my_idx(id,name); \",\n \"DbName\": \"test_db\",\n \"Table\": \"test_tbl\",\n \"CriticalLoad\": 58,\n \"CheckAutoInc\": 0,\n \"MaxDelay\": 10,\n \"UsePt\": 1,\n \"User\": \"test_user\",\n \"Password\": \"test_pwd\",\n \"StartTime\": \"\"\n}",
|
93
|
+
"output": "{\n \"Response\": {\n \"FlowId\": 1140697,\n \"RequestId\": \"c5afb15f-70c8-4e71-84b5-688dd326a8c3\"\n }\n}",
|
94
|
+
"title": "添加索引"
|
95
|
+
},
|
96
|
+
{
|
97
|
+
"document": "从test_tbl删除字段 test_add_col ",
|
98
|
+
"input": "POST / HTTP/1.1\nHost: dcdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateOnlineDDLJob\n<公共请求参数>\n\n{\n \"InstanceId\": \"tdsqlshard-h2yimmox\",\n \"Alter\": \"alter table test_tbl drop column test_add_col; \",\n \"DbName\": \"test_db\",\n \"Table\": \"test_tbl\",\n \"CriticalLoad\": 58,\n \"CheckAutoInc\": 0,\n \"MaxDelay\": 10,\n \"UsePt\": 1,\n \"User\": \"test_user\",\n \"Password\": \"test_pwd\",\n \"StartTime\": \"\"\n}",
|
99
|
+
"output": "{\n \"Response\": {\n \"FlowId\": 1140698,\n \"RequestId\": \"a9f824be-fc53-41f7-9e24-2aca60457331\"\n }\n}",
|
100
|
+
"title": "删除字段"
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"document": "将 test_tbl 表字段 test_add_col 从varchar(32) 修改为 varchar(64)",
|
104
|
+
"input": "POST / HTTP/1.1\nHost: dcdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateOnlineDDLJob\n<公共请求参数>\n\n{\n \"InstanceId\": \"tdsqlshard-h2yimmox\",\n \"Alter\": \"alter table test_tbl modify column test_add_col varchar(64) not null default 'test' comment 'test change type'; \",\n \"DbName\": \"test_db\",\n \"Table\": \"test_tbl\",\n \"CriticalLoad\": 58,\n \"CheckAutoInc\": 0,\n \"MaxDelay\": 10,\n \"UsePt\": 1,\n \"User\": \"test_user\",\n \"Password\": \"test_pwd\",\n \"StartTime\": \"\"\n}",
|
105
|
+
"output": "{\n \"Response\": {\n \"FlowId\": 1140699,\n \"RequestId\": \"7e2e0512-e429-4702-a9a6-d920eebd6536\"\n }\n}",
|
106
|
+
"title": "修改字段"
|
107
|
+
},
|
108
|
+
{
|
109
|
+
"document": "表空间优化",
|
110
|
+
"input": "POST / HTTP/1.1\nHost: dcdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateOnlineDDLJob\n<公共请求参数>\n\n{\n \"InstanceId\": \"tdsqlshard-h2yimmox\",\n \"Alter\": \"alter table test_tbl engine=innodb; \",\n \"DbName\": \"test_db\",\n \"Table\": \"test_tbl\",\n \"CriticalLoad\": 58,\n \"CheckAutoInc\": 0,\n \"MaxDelay\": 10,\n \"UsePt\": 1,\n \"User\": \"test_user\",\n \"Password\": \"test_pwd\",\n \"StartTime\": \"\"\n}",
|
111
|
+
"output": "{\n \"Response\": {\n \"FlowId\": 1140701,\n \"RequestId\": \"9df10ff7-9db5-4cad-81e2-3ad742f7bc06\"\n }\n}",
|
112
|
+
"title": "表空间优化"
|
113
|
+
}
|
114
|
+
],
|
83
115
|
"CreateTmpDCDBInstance": [
|
84
116
|
{
|
85
117
|
"document": "回档TDSQL分布式数据库实例",
|
@@ -10981,7 +10981,7 @@
|
|
10981
10981
|
},
|
10982
10982
|
{
|
10983
10983
|
"disabled": false,
|
10984
|
-
"document": "排序字段,支持如下字段类型,instance-start-time (任务开始时间),
|
10984
|
+
"document": "排序字段,支持如下字段类型,instance-start-time (任务开始时间),job-time-sum (单位毫秒,引擎内执行耗时),task-time-sum (CU资源消耗,单位秒),input-bytes-sum(数据扫描总大小,单位bytes),shuffle-read-bytes-sum(数据shuffle总大小,单位bytes)",
|
10985
10985
|
"example": "instance-start-time",
|
10986
10986
|
"member": "string",
|
10987
10987
|
"name": "SortBy",
|
@@ -10999,7 +10999,7 @@
|
|
10999
10999
|
},
|
11000
11000
|
{
|
11001
11001
|
"disabled": false,
|
11002
|
-
"document": "
|
11002
|
+
"document": "任务开始时间点,格式为yyyy-mm-dd HH:MM:SS时间跨度在(0,30天],支持最近30天数据查询。默认为当前时刻",
|
11003
11003
|
"example": "2019-01-21 00:00:00",
|
11004
11004
|
"member": "string",
|
11005
11005
|
"name": "StartTime",
|
@@ -11008,7 +11008,7 @@
|
|
11008
11008
|
},
|
11009
11009
|
{
|
11010
11010
|
"disabled": false,
|
11011
|
-
"document": "结束时间点,格式为yyyy-mm-dd HH:MM:SS时间跨度在(0,30天],支持最近
|
11011
|
+
"document": "结束时间点,格式为yyyy-mm-dd HH:MM:SS时间跨度在(0,30天],支持最近30天数据查询。默认为当前时刻",
|
11012
11012
|
"example": "2019-01-22 00:00:00",
|
11013
11013
|
"member": "string",
|
11014
11014
|
"name": "EndTime",
|
@@ -19647,7 +19647,7 @@
|
|
19647
19647
|
"example": "12",
|
19648
19648
|
"member": "int64",
|
19649
19649
|
"name": "WorkGroupId",
|
19650
|
-
"
|
19650
|
+
"output_required": true,
|
19651
19651
|
"type": "int",
|
19652
19652
|
"value_allowed_null": true
|
19653
19653
|
},
|
@@ -19657,7 +19657,7 @@
|
|
19657
19657
|
"example": "testGroup",
|
19658
19658
|
"member": "string",
|
19659
19659
|
"name": "WorkGroupName",
|
19660
|
-
"
|
19660
|
+
"output_required": true,
|
19661
19661
|
"type": "string",
|
19662
19662
|
"value_allowed_null": true
|
19663
19663
|
},
|
@@ -19667,7 +19667,7 @@
|
|
19667
19667
|
"example": "User",
|
19668
19668
|
"member": "string",
|
19669
19669
|
"name": "Type",
|
19670
|
-
"
|
19670
|
+
"output_required": true,
|
19671
19671
|
"type": "string",
|
19672
19672
|
"value_allowed_null": true
|
19673
19673
|
},
|
@@ -19677,7 +19677,7 @@
|
|
19677
19677
|
"example": "无",
|
19678
19678
|
"member": "Users",
|
19679
19679
|
"name": "UserInfo",
|
19680
|
-
"
|
19680
|
+
"output_required": true,
|
19681
19681
|
"type": "object",
|
19682
19682
|
"value_allowed_null": true
|
19683
19683
|
},
|
@@ -19687,7 +19687,7 @@
|
|
19687
19687
|
"example": "无",
|
19688
19688
|
"member": "Policys",
|
19689
19689
|
"name": "DataPolicyInfo",
|
19690
|
-
"
|
19690
|
+
"output_required": true,
|
19691
19691
|
"type": "object",
|
19692
19692
|
"value_allowed_null": true
|
19693
19693
|
},
|
@@ -19697,7 +19697,7 @@
|
|
19697
19697
|
"example": "无",
|
19698
19698
|
"member": "Policys",
|
19699
19699
|
"name": "EnginePolicyInfo",
|
19700
|
-
"
|
19700
|
+
"output_required": true,
|
19701
19701
|
"type": "object",
|
19702
19702
|
"value_allowed_null": true
|
19703
19703
|
},
|
@@ -19707,7 +19707,7 @@
|
|
19707
19707
|
"example": "group for admin",
|
19708
19708
|
"member": "string",
|
19709
19709
|
"name": "WorkGroupDescription",
|
19710
|
-
"
|
19710
|
+
"output_required": true,
|
19711
19711
|
"type": "string",
|
19712
19712
|
"value_allowed_null": true
|
19713
19713
|
},
|
@@ -19717,7 +19717,17 @@
|
|
19717
19717
|
"example": "无",
|
19718
19718
|
"member": "Policys",
|
19719
19719
|
"name": "RowFilterInfo",
|
19720
|
-
"
|
19720
|
+
"output_required": true,
|
19721
|
+
"type": "object",
|
19722
|
+
"value_allowed_null": true
|
19723
|
+
},
|
19724
|
+
{
|
19725
|
+
"disabled": false,
|
19726
|
+
"document": "数据目录权限集\n注意:此字段可能返回 null,表示取不到有效值。",
|
19727
|
+
"example": "无",
|
19728
|
+
"member": "Policy",
|
19729
|
+
"name": "CatalogPolicyInfo",
|
19730
|
+
"output_required": false,
|
19721
19731
|
"type": "object",
|
19722
19732
|
"value_allowed_null": true
|
19723
19733
|
}
|