tccli 3.0.1236.1__py2.py3-none-any.whl → 3.0.1238.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/services/__init__.py +3 -0
- tccli/services/aca/__init__.py +4 -0
- tccli/services/aca/aca_client.py +578 -0
- tccli/services/aca/v20210323/api.json +3715 -0
- tccli/services/aca/v20210323/examples.json +69 -0
- tccli/services/aiart/v20221229/api.json +18 -9
- tccli/services/aiart/v20221229/examples.json +2 -2
- tccli/services/apm/v20210622/api.json +25 -22
- tccli/services/apm/v20210622/examples.json +16 -22
- tccli/services/ba/v20200720/api.json +3 -2
- tccli/services/batch/v20170312/api.json +641 -566
- tccli/services/batch/v20170312/examples.json +7 -7
- tccli/services/bi/v20220105/api.json +9 -0
- tccli/services/billing/v20180709/api.json +2 -2
- tccli/services/bpaas/v20181217/examples.json +1 -1
- tccli/services/cam/v20190116/api.json +116 -99
- tccli/services/cam/v20190116/examples.json +11 -11
- tccli/services/ccc/v20200210/api.json +40 -1
- tccli/services/ccc/v20200210/examples.json +1 -1
- tccli/services/cdb/cdb_client.py +53 -0
- tccli/services/cdb/v20170320/api.json +257 -207
- tccli/services/cdb/v20170320/examples.json +18 -10
- tccli/services/cdwch/v20200915/api.json +6 -6
- tccli/services/cdwdoris/v20211228/api.json +16 -5
- tccli/services/cdwdoris/v20211228/examples.json +1 -1
- tccli/services/cfg/v20210820/api.json +29 -13
- tccli/services/cfg/v20210820/examples.json +1 -1
- tccli/services/cfs/v20190719/api.json +84 -84
- tccli/services/cfs/v20190719/examples.json +6 -6
- tccli/services/chdfs/v20201112/api.json +18 -17
- tccli/services/chdfs/v20201112/examples.json +2 -2
- tccli/services/clb/v20180317/api.json +184 -162
- tccli/services/cloudapp/v20220530/api.json +11 -1
- tccli/services/cloudapp/v20220530/examples.json +3 -3
- tccli/services/cloudaudit/v20190319/api.json +64 -53
- tccli/services/cloudaudit/v20190319/examples.json +5 -5
- tccli/services/cls/v20201016/api.json +21 -21
- tccli/services/cls/v20201016/examples.json +1 -1
- tccli/services/config/v20220802/api.json +2 -0
- tccli/services/config/v20220802/examples.json +2 -2
- tccli/services/cvm/v20170312/api.json +5 -5
- tccli/services/cynosdb/cynosdb_client.py +53 -0
- tccli/services/cynosdb/v20190107/api.json +110 -0
- tccli/services/cynosdb/v20190107/examples.json +8 -0
- tccli/services/dcdb/v20180411/api.json +390 -387
- tccli/services/dcdb/v20180411/examples.json +14 -14
- tccli/services/dlc/v20210125/api.json +162 -7
- tccli/services/dlc/v20210125/examples.json +1 -1
- tccli/services/domain/v20180808/api.json +55 -54
- tccli/services/domain/v20180808/examples.json +38 -32
- tccli/services/dsgc/v20190723/api.json +1796 -1623
- tccli/services/dsgc/v20190723/examples.json +217 -211
- tccli/services/dts/v20180330/api.json +143 -106
- tccli/services/dts/v20211206/api.json +57 -46
- tccli/services/dts/v20211206/examples.json +1 -1
- tccli/services/ecm/v20190719/api.json +6 -6
- tccli/services/emr/v20190103/api.json +80 -20
- tccli/services/ess/ess_client.py +118 -12
- tccli/services/ess/v20201111/api.json +320 -37
- tccli/services/ess/v20201111/examples.json +19 -3
- tccli/services/essbasic/essbasic_client.py +167 -8
- tccli/services/essbasic/v20210526/api.json +528 -55
- tccli/services/essbasic/v20210526/examples.json +46 -16
- tccli/services/facefusion/v20220927/api.json +12 -1
- tccli/services/fmu/v20191213/api.json +8 -8
- tccli/services/gaap/v20180529/api.json +200 -209
- tccli/services/gwlb/v20240906/api.json +16 -16
- tccli/services/gwlb/v20240906/examples.json +2 -2
- tccli/services/hai/v20230812/api.json +1 -1
- tccli/services/hunyuan/v20230901/api.json +6 -6
- tccli/services/iss/v20230517/api.json +11 -11
- tccli/services/iss/v20230517/examples.json +31 -31
- tccli/services/keewidb/v20220308/api.json +92 -82
- tccli/services/keewidb/v20220308/examples.json +5 -5
- tccli/services/lcic/v20220817/api.json +3 -3
- tccli/services/lcic/v20220817/examples.json +2 -2
- tccli/services/lighthouse/v20200324/api.json +18 -18
- tccli/services/lighthouse/v20200324/examples.json +6 -6
- tccli/services/live/v20180801/api.json +32 -14
- tccli/services/lke/v20231130/examples.json +1 -1
- tccli/services/mariadb/v20170312/api.json +285 -263
- tccli/services/mariadb/v20170312/examples.json +12 -12
- tccli/services/mongodb/v20180408/api.json +52 -40
- tccli/services/mongodb/v20180408/examples.json +4 -4
- tccli/services/mongodb/v20190725/api.json +119 -109
- tccli/services/mongodb/v20190725/examples.json +5 -5
- tccli/services/monitor/monitor_client.py +106 -0
- tccli/services/monitor/v20180724/api.json +222 -0
- tccli/services/monitor/v20180724/examples.json +17 -1
- tccli/services/mps/mps_client.py +228 -16
- tccli/services/mps/v20190612/api.json +385 -23
- tccli/services/mps/v20190612/examples.json +32 -0
- tccli/services/mqtt/v20240516/api.json +1 -1
- tccli/services/mqtt/v20240516/examples.json +1 -1
- tccli/services/msp/v20180319/api.json +2 -2
- tccli/services/ocr/v20181119/api.json +11 -1
- tccli/services/omics/v20221128/api.json +14 -2
- tccli/services/organization/v20210331/api.json +45 -18
- tccli/services/privatedns/v20201028/api.json +90 -81
- tccli/services/privatedns/v20201028/examples.json +18 -18
- tccli/services/pts/v20210728/api.json +8 -0
- tccli/services/redis/redis_client.py +106 -0
- tccli/services/redis/v20180412/api.json +178 -16
- tccli/services/redis/v20180412/examples.json +16 -0
- tccli/services/region/v20220627/api.json +5 -3
- tccli/services/region/v20220627/examples.json +1 -1
- tccli/services/ssl/v20191205/api.json +6 -4
- tccli/services/ssl/v20191205/examples.json +1 -1
- tccli/services/sts/v20180813/examples.json +1 -1
- tccli/services/tag/v20180813/api.json +4 -5
- tccli/services/tcb/v20180608/api.json +36 -16
- tccli/services/tdid/v20210519/api.json +30 -38
- tccli/services/tdid/v20210519/examples.json +5 -5
- tccli/services/tdmq/tdmq_client.py +53 -0
- tccli/services/tdmq/v20200217/api.json +64 -1
- tccli/services/tdmq/v20200217/examples.json +9 -1
- tccli/services/teo/teo_client.py +485 -8
- tccli/services/teo/v20220901/api.json +837 -39
- tccli/services/teo/v20220901/examples.json +108 -0
- tccli/services/thpc/v20211109/api.json +32 -34
- tccli/services/thpc/v20220401/api.json +31 -33
- tccli/services/thpc/v20230321/api.json +55 -57
- tccli/services/thpc/v20230321/examples.json +1 -1
- tccli/services/tiia/v20190529/api.json +307 -293
- tccli/services/tiia/v20190529/examples.json +41 -41
- tccli/services/tione/v20211111/api.json +4 -4
- tccli/services/tione/v20211111/examples.json +2 -2
- tccli/services/tke/v20180525/api.json +1 -1
- tccli/services/trocket/trocket_client.py +53 -0
- tccli/services/trocket/v20230308/api.json +119 -3
- tccli/services/trocket/v20230308/examples.json +14 -0
- tccli/services/tse/v20201207/api.json +188 -120
- tccli/services/tse/v20201207/examples.json +30 -30
- tccli/services/tsf/v20180326/api.json +826 -745
- tccli/services/tsf/v20180326/examples.json +99 -111
- tccli/services/vclm/v20240523/api.json +1 -1
- tccli/services/vdb/v20230616/api.json +80 -80
- tccli/services/vdb/v20230616/examples.json +1 -1
- tccli/services/vpc/v20170312/api.json +64 -44
- tccli/services/vpc/v20170312/examples.json +6 -6
- tccli/services/vrs/v20200824/api.json +3 -2
- tccli/services/wedata/v20210820/api.json +550 -40
- tccli/services/wedata/v20210820/examples.json +10 -4
- {tccli-3.0.1236.1.dist-info → tccli-3.0.1238.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1236.1.dist-info → tccli-3.0.1238.1.dist-info}/RECORD +149 -145
- {tccli-3.0.1236.1.dist-info → tccli-3.0.1238.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1236.1.dist-info → tccli-3.0.1238.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1236.1.dist-info → tccli-3.0.1238.1.dist-info}/license_files/LICENSE +0 -0
@@ -11,8 +11,8 @@
|
|
11
11
|
"ListAggregateConfigRules": [
|
12
12
|
{
|
13
13
|
"document": "账号组获取规则列表",
|
14
|
-
"input": "POST / HTTP/1.1\nHost: config.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListAggregateConfigRules\n<公共请求参数>\n\n
|
15
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"149e116a-90ef-45f3-9d5d-3d77fd1c9eb3\",\n \"Items\": [\n {\n \"RegionsScope\": [\n \"ap-shanghai\"\n ],\n \"TagsScope\": [\n {\n \"TagKey\": \"tag1\",\n \"TagValue\": \"tag2\"\n }\n ],\n \"ExcludeResourceIdsScope\": [\n \"ins-asdasd\"\n ],\n \"Annotation\": null,\n \"CompliancePackId\": \"cp-xzfz0vu007feuhwi8auv\",\n \"CompliancePackName\": \"合规1\",\n \"ComplianceResult\": \"NON_COMPLIANT\",\n \"ConfigRuleId\": \"cr-13vkg9c31dixgabkepxe\",\n \"ConfigRuleInvokedTime\": null,\n \"CreateTime\": \"2022-11-16 14:25:01\",\n \"Description\": \"帐号访问管理中用户至少关联一个用户组,则符合规则。\",\n \"Identifier\": \"cam-user-group-bound\",\n \"IdentifierType\": \"SYSTEM\",\n \"InputParameter\": [],\n \"Labels\": [],\n \"ManageInputParameter\": [],\n \"ResourceType\": [\n \"QCS::CAM::User\"\n ],\n \"RiskLevel\": 3,\n \"RuleName\": \"CAM访问管理子用户必须关联用户组\",\n \"ServiceFunction\": null,\n \"SourceCondition\": [\n {\n \"DesiredValue\": \"1\",\n \"EmptyAs\": \"COMPLIANT\",\n \"Operator\": \"GreaterOrEquals\",\n \"Required\": false,\n \"SelectPath\": \"$User.GroupBindNum\"\n }\n ],\n \"Status\": \"ACTIVE\",\n \"TriggerType\": [\n {\n \"MaximumExecutionFrequency\": \"TwentyFour_Hours\",\n \"MessageType\": \"ScheduledNotification\"\n }\n ]\n }\n ],\n \"Total\": 1\n }\n}",
|
14
|
+
"input": "POST / HTTP/1.1\nHost: config.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListAggregateConfigRules\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 10,\n \"OrderType\": \"\",\n \"RiskLevel\": [],\n \"State\": \"ACTIVE\",\n \"ComplianceResult\": [\n \"COMPLIANT\"\n ],\n \"RuleName\": \"\",\n \"RuleOwnerId\": 1,\n \"AccountGroupId\": \"ca-sdfs7734h24h3\"\n}",
|
15
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"149e116a-90ef-45f3-9d5d-3d77fd1c9eb3\",\n \"Items\": [\n {\n \"RegionsScope\": [\n \"ap-shanghai\"\n ],\n \"TagsScope\": [\n {\n \"TagKey\": \"tag1\",\n \"TagValue\": \"tag2\"\n }\n ],\n \"ExcludeResourceIdsScope\": [\n \"ins-asdasd\"\n ],\n \"Annotation\": null,\n \"RuleOwnerId\": 23424,\n \"CompliancePackId\": \"cp-xzfz0vu007feuhwi8auv\",\n \"CompliancePackName\": \"合规1\",\n \"AccountGroupId\": \"ca-sdfs7734h24h3\",\n \"AccountGroupName\": \"账号组\",\n \"ComplianceResult\": \"NON_COMPLIANT\",\n \"ConfigRuleId\": \"cr-13vkg9c31dixgabkepxe\",\n \"ConfigRuleInvokedTime\": null,\n \"ManageTriggerType\": [\n \"SCHEDULE\"\n ],\n \"CreateTime\": \"2022-11-16 14:25:01\",\n \"Description\": \"帐号访问管理中用户至少关联一个用户组,则符合规则。\",\n \"Identifier\": \"cam-user-group-bound\",\n \"IdentifierType\": \"SYSTEM\",\n \"InputParameter\": [],\n \"Labels\": [],\n \"ManageInputParameter\": [],\n \"ResourceType\": [\n \"QCS::CAM::User\"\n ],\n \"RiskLevel\": 3,\n \"RuleName\": \"CAM访问管理子用户必须关联用户组\",\n \"ServiceFunction\": null,\n \"SourceCondition\": [\n {\n \"DesiredValue\": \"1\",\n \"EmptyAs\": \"COMPLIANT\",\n \"Operator\": \"GreaterOrEquals\",\n \"Required\": false,\n \"SelectPath\": \"$User.GroupBindNum\"\n }\n ],\n \"Status\": \"ACTIVE\",\n \"TriggerType\": [\n {\n \"MaximumExecutionFrequency\": \"TwentyFour_Hours\",\n \"MessageType\": \"ScheduledNotification\"\n }\n ]\n }\n ],\n \"Total\": 1\n }\n}",
|
16
16
|
"title": "账号组获取规则列表"
|
17
17
|
}
|
18
18
|
],
|
@@ -9250,7 +9250,7 @@
|
|
9250
9250
|
},
|
9251
9251
|
{
|
9252
9252
|
"disabled": false,
|
9253
|
-
"document": "私有网络相关信息配置,通过该参数指定私有网络的ID,子网ID,私有网络ip等信息。<br><li>当指定私有网络ID和子网ID
|
9253
|
+
"document": "私有网络相关信息配置,通过该参数指定私有网络的ID,子网ID,私有网络ip等信息。<br><li>当指定私有网络ID和子网ID(子网必须在实例所在的可用区)与指定实例所在私有网络不一致时,会将实例迁移至指定的私有网络的子网下。</li><li>可通过`PrivateIpAddresses`指定私有网络子网IP,若需指定则所有已指定的实例均需要指定子网IP,此时`InstanceIds`与`PrivateIpAddresses`一一对应。</li><li>不指定`PrivateIpAddresses`时随机分配私有网络子网IP。</li>",
|
9254
9254
|
"example": "无",
|
9255
9255
|
"member": "VirtualPrivateCloud",
|
9256
9256
|
"name": "VirtualPrivateCloud",
|
@@ -9259,8 +9259,8 @@
|
|
9259
9259
|
},
|
9260
9260
|
{
|
9261
9261
|
"disabled": false,
|
9262
|
-
"document": "是否对运行中的实例选择强制关机。默认为
|
9263
|
-
"example": "
|
9262
|
+
"document": "是否对运行中的实例选择强制关机。默认为true。",
|
9263
|
+
"example": "false",
|
9264
9264
|
"member": "bool",
|
9265
9265
|
"name": "ForceStop",
|
9266
9266
|
"required": false,
|
@@ -9268,8 +9268,8 @@
|
|
9268
9268
|
},
|
9269
9269
|
{
|
9270
9270
|
"disabled": false,
|
9271
|
-
"document": "是否保留主机名。默认为
|
9272
|
-
"example": "
|
9271
|
+
"document": "是否保留主机名。默认为false。",
|
9272
|
+
"example": "false",
|
9273
9273
|
"member": "bool",
|
9274
9274
|
"name": "ReserveHostName",
|
9275
9275
|
"required": false,
|
@@ -3033,6 +3033,58 @@ def doModifyClusterDatabase(args, parsed_globals):
|
|
3033
3033
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3034
3034
|
|
3035
3035
|
|
3036
|
+
def doDescribeClusterDatabaseTables(args, parsed_globals):
|
3037
|
+
g_param = parse_global_arg(parsed_globals)
|
3038
|
+
|
3039
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
3040
|
+
cred = credential.CVMRoleCredential()
|
3041
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
3042
|
+
cred = credential.STSAssumeRoleCredential(
|
3043
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
3044
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
3045
|
+
)
|
3046
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
3047
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
3048
|
+
else:
|
3049
|
+
cred = credential.Credential(
|
3050
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
3051
|
+
)
|
3052
|
+
http_profile = HttpProfile(
|
3053
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
3054
|
+
reqMethod="POST",
|
3055
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
3056
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
3057
|
+
)
|
3058
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
3059
|
+
if g_param[OptionsDefine.Language]:
|
3060
|
+
profile.language = g_param[OptionsDefine.Language]
|
3061
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
3062
|
+
client = mod.CynosdbClient(cred, g_param[OptionsDefine.Region], profile)
|
3063
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
3064
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3065
|
+
model = models.DescribeClusterDatabaseTablesRequest()
|
3066
|
+
model.from_json_string(json.dumps(args))
|
3067
|
+
start_time = time.time()
|
3068
|
+
while True:
|
3069
|
+
rsp = client.DescribeClusterDatabaseTables(model)
|
3070
|
+
result = rsp.to_json_string()
|
3071
|
+
try:
|
3072
|
+
json_obj = json.loads(result)
|
3073
|
+
except TypeError as e:
|
3074
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
3075
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
3076
|
+
break
|
3077
|
+
cur_time = time.time()
|
3078
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
3079
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
3080
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
3081
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
3082
|
+
else:
|
3083
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
3084
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
3085
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3086
|
+
|
3087
|
+
|
3036
3088
|
def doModifyParamTemplate(args, parsed_globals):
|
3037
3089
|
g_param = parse_global_arg(parsed_globals)
|
3038
3090
|
|
@@ -8094,6 +8146,7 @@ ACTION_MAP = {
|
|
8094
8146
|
"CloseWan": doCloseWan,
|
8095
8147
|
"DescribeProjectSecurityGroups": doDescribeProjectSecurityGroups,
|
8096
8148
|
"ModifyClusterDatabase": doModifyClusterDatabase,
|
8149
|
+
"DescribeClusterDatabaseTables": doDescribeClusterDatabaseTables,
|
8097
8150
|
"ModifyParamTemplate": doModifyParamTemplate,
|
8098
8151
|
"ModifyResourcePackagesDeductionPriority": doModifyResourcePackagesDeductionPriority,
|
8099
8152
|
"DescribeInstanceParams": doDescribeInstanceParams,
|
@@ -315,6 +315,13 @@
|
|
315
315
|
"output": "DescribeChangedParamsAfterUpgradeResponse",
|
316
316
|
"status": "online"
|
317
317
|
},
|
318
|
+
"DescribeClusterDatabaseTables": {
|
319
|
+
"document": "获取table列表",
|
320
|
+
"input": "DescribeClusterDatabaseTablesRequest",
|
321
|
+
"name": "获取table列表",
|
322
|
+
"output": "DescribeClusterDatabaseTablesResponse",
|
323
|
+
"status": "online"
|
324
|
+
},
|
318
325
|
"DescribeClusterDatabases": {
|
319
326
|
"document": "本接口(DescribeClusterDatabases)用于获取集群数据库列表。",
|
320
327
|
"input": "DescribeClusterDatabasesRequest",
|
@@ -9339,6 +9346,109 @@
|
|
9339
9346
|
],
|
9340
9347
|
"type": "object"
|
9341
9348
|
},
|
9349
|
+
"DescribeClusterDatabaseTablesRequest": {
|
9350
|
+
"document": "DescribeClusterDatabaseTables请求参数结构体",
|
9351
|
+
"members": [
|
9352
|
+
{
|
9353
|
+
"disabled": false,
|
9354
|
+
"document": "集群id",
|
9355
|
+
"example": "xxx",
|
9356
|
+
"member": "string",
|
9357
|
+
"name": "ClusterId",
|
9358
|
+
"required": true,
|
9359
|
+
"type": "string"
|
9360
|
+
},
|
9361
|
+
{
|
9362
|
+
"disabled": false,
|
9363
|
+
"document": "数据库名",
|
9364
|
+
"example": "xxx",
|
9365
|
+
"member": "string",
|
9366
|
+
"name": "Db",
|
9367
|
+
"required": true,
|
9368
|
+
"type": "string"
|
9369
|
+
},
|
9370
|
+
{
|
9371
|
+
"disabled": false,
|
9372
|
+
"document": "偏移",
|
9373
|
+
"example": "0",
|
9374
|
+
"member": "int64",
|
9375
|
+
"name": "Offset",
|
9376
|
+
"required": false,
|
9377
|
+
"type": "int"
|
9378
|
+
},
|
9379
|
+
{
|
9380
|
+
"disabled": false,
|
9381
|
+
"document": "个数",
|
9382
|
+
"example": "10",
|
9383
|
+
"member": "int64",
|
9384
|
+
"name": "Limit",
|
9385
|
+
"required": false,
|
9386
|
+
"type": "int"
|
9387
|
+
},
|
9388
|
+
{
|
9389
|
+
"disabled": false,
|
9390
|
+
"document": "数据表类型。\n\"view\"表示只返回 view,\"base_table\" 表示只返回基本表,\"all\" 表示返回 view 和表。默认为 all。",
|
9391
|
+
"example": "无",
|
9392
|
+
"member": "string",
|
9393
|
+
"name": "TableType",
|
9394
|
+
"required": false,
|
9395
|
+
"type": "string"
|
9396
|
+
}
|
9397
|
+
],
|
9398
|
+
"type": "object"
|
9399
|
+
},
|
9400
|
+
"DescribeClusterDatabaseTablesResponse": {
|
9401
|
+
"document": "DescribeClusterDatabaseTables返回参数结构体",
|
9402
|
+
"members": [
|
9403
|
+
{
|
9404
|
+
"disabled": false,
|
9405
|
+
"document": "总条数",
|
9406
|
+
"example": "1",
|
9407
|
+
"member": "int64",
|
9408
|
+
"name": "TotalCount",
|
9409
|
+
"output_required": true,
|
9410
|
+
"type": "int",
|
9411
|
+
"value_allowed_null": false
|
9412
|
+
},
|
9413
|
+
{
|
9414
|
+
"disabled": false,
|
9415
|
+
"document": "分页偏移",
|
9416
|
+
"example": "0",
|
9417
|
+
"member": "int64",
|
9418
|
+
"name": "Offset",
|
9419
|
+
"output_required": true,
|
9420
|
+
"type": "int",
|
9421
|
+
"value_allowed_null": false
|
9422
|
+
},
|
9423
|
+
{
|
9424
|
+
"disabled": false,
|
9425
|
+
"document": "分页限制数量",
|
9426
|
+
"example": "20",
|
9427
|
+
"member": "int64",
|
9428
|
+
"name": "Limit",
|
9429
|
+
"output_required": true,
|
9430
|
+
"type": "int",
|
9431
|
+
"value_allowed_null": false
|
9432
|
+
},
|
9433
|
+
{
|
9434
|
+
"disabled": false,
|
9435
|
+
"document": "数据库表列表",
|
9436
|
+
"example": "[\"testtable\"]",
|
9437
|
+
"member": "string",
|
9438
|
+
"name": "Tables",
|
9439
|
+
"output_required": true,
|
9440
|
+
"type": "list",
|
9441
|
+
"value_allowed_null": false
|
9442
|
+
},
|
9443
|
+
{
|
9444
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
9445
|
+
"member": "string",
|
9446
|
+
"name": "RequestId",
|
9447
|
+
"type": "string"
|
9448
|
+
}
|
9449
|
+
],
|
9450
|
+
"type": "object"
|
9451
|
+
},
|
9342
9452
|
"DescribeClusterDatabasesRequest": {
|
9343
9453
|
"document": "DescribeClusterDatabases请求参数结构体",
|
9344
9454
|
"members": [
|
@@ -378,6 +378,14 @@
|
|
378
378
|
"title": "查询升降配运行参数对比"
|
379
379
|
}
|
380
380
|
],
|
381
|
+
"DescribeClusterDatabaseTables": [
|
382
|
+
{
|
383
|
+
"document": "",
|
384
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterDatabaseTables\n<公共请求参数>\n\n{\n \"Db\": \"xxx\",\n \"ClusterId\": \"xxx\"\n}",
|
385
|
+
"output": "{\n \"Response\": {\n \"Tables\": [\n \"testtable\"\n ],\n \"Limit\": 20,\n \"Offset\": 0,\n \"RequestId\": \"198189\",\n \"TotalCount\": 1\n }\n}",
|
386
|
+
"title": "获取table列表"
|
387
|
+
}
|
388
|
+
],
|
381
389
|
"DescribeClusterDatabases": [
|
382
390
|
{
|
383
391
|
"document": "",
|