tccli 3.0.1095.1__py2.py3-none-any.whl → 3.0.1097.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/examples/aiart/v20221229/QueryDrawPortraitJob.md +30 -0
- tccli/examples/aiart/v20221229/QueryTrainPortraitModelJob.md +24 -0
- tccli/examples/aiart/v20221229/SubmitDrawPortraitJob.md +23 -0
- tccli/examples/aiart/v20221229/SubmitTrainPortraitModelJob.md +20 -0
- tccli/examples/aiart/v20221229/UploadTrainPortraitImages.md +25 -0
- tccli/examples/ccc/v20200210/ModifyStaffPassword.md +22 -0
- tccli/examples/cls/v20201016/DeleteKafkaRecharge.md +3 -3
- tccli/examples/cls/v20201016/ModifyKafkaRecharge.md +23 -13
- tccli/examples/cls/v20201016/PreviewKafkaRecharge.md +47 -15
- tccli/examples/csip/v20221121/DescribeAlertList.md +176 -0
- tccli/examples/cynosdb/v20190107/AddClusterSlaveZone.md +2 -1
- tccli/examples/cynosdb/v20190107/DescribeClusterDetail.md +9 -2
- tccli/examples/cynosdb/v20190107/DescribeTasks.md +12 -0
- tccli/examples/cynosdb/v20190107/ModifyClusterSlaveZone.md +2 -1
- tccli/examples/cynosdb/v20190107/ModifyInstanceUpgradeLimitDays.md +22 -0
- tccli/examples/dcdb/v20180411/DescribeDCDBInstances.md +4 -3
- tccli/examples/dlc/v20210125/DescribeNotebookSessionStatementSqlResult.md +3 -1
- tccli/examples/lke/v20231130/GetEmbedding.md +4 -1
- tccli/examples/lke/v20231130/QueryParseDocResult.md +4 -1
- tccli/examples/lke/v20231130/QueryRewrite.md +6 -1
- tccli/examples/mariadb/v20170312/DescribeDBInstanceDetail.md +2 -1
- tccli/examples/mariadb/v20170312/DescribeDBInstances.md +4 -3
- tccli/examples/mps/v20190612/CreateAdaptiveDynamicStreamingTemplate.md +1 -1
- tccli/examples/mps/v20190612/ModifyAdaptiveDynamicStreamingTemplate.md +1 -1
- tccli/examples/organization/v20210331/DescribeEffectivePolicy.md +25 -0
- tccli/examples/organization/v20210331/ListNonCompliantResource.md +43 -0
- tccli/examples/ssl/v20191205/DescribeDeleteCertificatesTaskResult.md +72 -0
- tccli/examples/tdmq/v20200217/DescribeRabbitMQQueueDetail.md +25 -22
- tccli/examples/trocket/v20230308/DescribeMQTTClient.md +57 -49
- tccli/examples/trocket/v20230308/DescribeMQTTInsPublicEndpoints.md +38 -6
- tccli/examples/trocket/v20230308/DescribeMQTTInsVPCEndpoints.md +14 -12
- tccli/examples/trocket/v20230308/DescribeMQTTInstanceList.md +1 -121
- tccli/examples/trocket/v20230308/DescribeMQTTProductSKUList.md +0 -47
- tccli/examples/trocket/v20230308/DescribeMQTTUserList.md +1 -1
- tccli/examples/vpc/v20170312/DisableVpnGatewaySslClientCert.md +2 -2
- tccli/services/aiart/aiart_client.py +269 -4
- tccli/services/aiart/v20221229/api.json +405 -1
- tccli/services/aiart/v20221229/examples.json +40 -0
- tccli/services/billing/v20180709/api.json +30 -0
- tccli/services/bma/v20221115/api.json +4 -6
- tccli/services/ccc/ccc_client.py +53 -0
- tccli/services/ccc/v20200210/api.json +57 -5
- tccli/services/ccc/v20200210/examples.json +8 -0
- tccli/services/cdb/v20170320/api.json +9 -0
- tccli/services/cdn/v20180606/api.json +1 -1
- tccli/services/cls/v20201016/api.json +49 -49
- tccli/services/cls/v20201016/examples.json +13 -7
- tccli/services/csip/csip_client.py +53 -0
- tccli/services/csip/v20221121/api.json +1468 -7
- tccli/services/csip/v20221121/examples.json +8 -0
- tccli/services/cynosdb/cynosdb_client.py +53 -0
- tccli/services/cynosdb/v20190107/api.json +126 -0
- tccli/services/cynosdb/v20190107/examples.json +12 -4
- tccli/services/dcdb/v20180411/api.json +45 -3
- tccli/services/dcdb/v20180411/examples.json +1 -1
- tccli/services/dlc/v20210125/api.json +30 -0
- tccli/services/dlc/v20210125/examples.json +1 -1
- tccli/services/essbasic/v20210526/api.json +9 -0
- tccli/services/faceid/v20180301/api.json +22 -3
- tccli/services/hunyuan/v20230901/api.json +14 -14
- tccli/services/iotexplorer/v20190423/api.json +1 -1
- tccli/services/lighthouse/v20200324/api.json +2 -2
- tccli/services/live/v20180801/api.json +16 -7
- tccli/services/lke/v20231130/api.json +82 -6
- tccli/services/lke/v20231130/examples.json +3 -3
- tccli/services/mariadb/v20170312/api.json +45 -2
- tccli/services/mariadb/v20170312/examples.json +2 -2
- tccli/services/mps/v20190612/api.json +172 -92
- tccli/services/mps/v20190612/examples.json +2 -2
- tccli/services/ocr/v20181119/api.json +1 -1
- tccli/services/omics/v20221128/api.json +20 -2
- tccli/services/organization/organization_client.py +106 -0
- tccli/services/organization/v20210331/api.json +258 -0
- tccli/services/organization/v20210331/examples.json +16 -0
- tccli/services/ssl/ssl_client.py +53 -0
- tccli/services/ssl/v20191205/api.json +160 -9
- tccli/services/ssl/v20191205/examples.json +8 -0
- tccli/services/ssm/v20190923/api.json +1 -1
- tccli/services/tdmq/v20200217/api.json +65 -26
- tccli/services/tdmq/v20200217/examples.json +2 -2
- tccli/services/trocket/v20230308/api.json +226 -108
- tccli/services/trocket/v20230308/examples.json +13 -25
- tccli/services/trtc/v20190722/api.json +34 -15
- tccli/services/vpc/v20170312/api.json +20 -5
- tccli/services/vpc/v20170312/examples.json +2 -2
- tccli/services/weilingwith/v20230427/api.json +11 -11
- {tccli-3.0.1095.1.dist-info → tccli-3.0.1097.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1095.1.dist-info → tccli-3.0.1097.1.dist-info}/RECORD +92 -81
- {tccli-3.0.1095.1.dist-info → tccli-3.0.1097.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1095.1.dist-info → tccli-3.0.1097.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1095.1.dist-info → tccli-3.0.1097.1.dist-info}/license_files/LICENSE +0 -0
@@ -40,6 +40,14 @@
|
|
40
40
|
"title": "删除风险中心扫描任务"
|
41
41
|
}
|
42
42
|
],
|
43
|
+
"DescribeAlertList": [
|
44
|
+
{
|
45
|
+
"document": "",
|
46
|
+
"input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAlertList\n<公共请求参数>\n\n{\n \"MemberId\": [\n \"abc\"\n ],\n \"OperatedMemberId\": [\n \"abc\"\n ],\n \"AssetType\": 0,\n \"Filter\": {\n \"Limit\": 0,\n \"Offset\": 0,\n \"Order\": \"abc\",\n \"By\": \"abc\",\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ],\n \"OperatorType\": 0\n }\n ],\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\"\n }\n}",
|
47
|
+
"output": "{\n \"Response\": {\n \"AlertList\": [\n {\n \"ID\": \"abc\",\n \"Name\": \"abc\",\n \"Source\": \"abc\",\n \"Level\": 1,\n \"Attacker\": {\n \"IP\": \"abc\",\n \"HostIP\": \"abc\",\n \"Port\": 1,\n \"InstanceID\": \"abc\",\n \"City\": \"abc\",\n \"Province\": \"abc\",\n \"Country\": \"abc\",\n \"Address\": \"abc\",\n \"Latitude\": \"abc\",\n \"Longitude\": \"abc\",\n \"Info\": \"abc\",\n \"Domain\": \"abc\",\n \"Name\": \"abc\",\n \"Account\": \"abc\",\n \"Family\": \"abc\",\n \"VirusName\": \"abc\",\n \"MD5\": \"abc\",\n \"FileName\": \"abc\"\n },\n \"Victim\": {\n \"IP\": \"abc\",\n \"HostIP\": \"abc\",\n \"Port\": 1,\n \"InstanceID\": \"abc\",\n \"City\": \"abc\",\n \"Province\": \"abc\",\n \"Country\": \"abc\",\n \"Address\": \"abc\",\n \"Latitude\": \"abc\",\n \"Longitude\": \"abc\",\n \"Info\": \"abc\",\n \"Domain\": \"abc\",\n \"Name\": \"abc\",\n \"Account\": \"abc\",\n \"Family\": \"abc\",\n \"VirusName\": \"abc\",\n \"MD5\": \"abc\",\n \"FileName\": \"abc\"\n },\n \"EvidenceData\": \"abc\",\n \"EvidenceLocation\": \"abc\",\n \"EvidencePath\": \"abc\",\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"Count\": 1,\n \"UrgentSuggestion\": \"abc\",\n \"RemediationSuggestion\": \"abc\",\n \"RiskInvestigation\": \"abc\",\n \"RiskTreatment\": \"abc\",\n \"Status\": 1,\n \"ProcessType\": \"abc\",\n \"Type\": \"abc\",\n \"SubType\": \"abc\",\n \"ExtraInfo\": {\n \"RelateEvent\": {\n \"EventID\": \"abc\",\n \"Description\": \"abc\",\n \"RelatedCount\": 0\n },\n \"LeakContent\": \"abc\",\n \"LeakAPI\": \"abc\",\n \"SecretID\": \"abc\",\n \"Rule\": \"abc\",\n \"RuleDesc\": \"abc\",\n \"ProtocolPort\": \"abc\",\n \"AttackContent\": \"abc\",\n \"AttackIPProfile\": \"abc\",\n \"AttackIPTags\": \"abc\",\n \"RequestMethod\": \"abc\",\n \"HttpLog\": \"abc\",\n \"AttackDomain\": \"abc\",\n \"FilePath\": \"abc\",\n \"UserAgent\": \"abc\",\n \"RequestHeaders\": \"abc\",\n \"LoginUserName\": \"abc\",\n \"VulnerabilityName\": \"abc\",\n \"CVE\": \"abc\",\n \"ServiceProcess\": \"abc\",\n \"FileName\": \"abc\",\n \"FileSize\": \"abc\",\n \"FileMD5\": \"abc\",\n \"FileLastAccessTime\": \"abc\",\n \"FileModifyTime\": \"abc\",\n \"RecentAccessTime\": \"abc\",\n \"RecentModifyTime\": \"abc\",\n \"VirusName\": \"abc\",\n \"VirusFileTags\": \"abc\",\n \"BehavioralCharacteristics\": \"abc\",\n \"ProcessNamePID\": \"abc\",\n \"ProcessPath\": \"abc\",\n \"ProcessCommandLine\": \"abc\",\n \"ProcessPermissions\": \"abc\",\n \"ExecutedCommand\": \"abc\",\n \"AffectedFileName\": \"abc\",\n \"DecoyPath\": \"abc\",\n \"MaliciousProcessFileSize\": \"abc\",\n \"MaliciousProcessFileMD5\": \"abc\",\n \"MaliciousProcessNamePID\": \"abc\",\n \"MaliciousProcessPath\": \"abc\",\n \"MaliciousProcessStartTime\": \"abc\",\n \"CommandContent\": \"abc\",\n \"StartupUser\": \"abc\",\n \"UserGroup\": \"abc\",\n \"NewPermissions\": \"abc\",\n \"ParentProcess\": \"abc\",\n \"ClassName\": \"abc\",\n \"ClassLoader\": \"abc\",\n \"ClassFileSize\": \"abc\",\n \"ClassFileMD5\": \"abc\",\n \"ParentClassName\": \"abc\",\n \"InheritedInterface\": \"abc\",\n \"Comment\": \"abc\",\n \"PayloadContent\": \"abc\",\n \"CallbackAddressPortrait\": \"abc\",\n \"CallbackAddressTag\": \"abc\",\n \"ProcessMD5\": \"abc\",\n \"FilePermission\": \"abc\",\n \"HitProbe\": \"abc\",\n \"HitHoneyPot\": \"abc\",\n \"CommandList\": \"abc\",\n \"AttackEventDesc\": \"abc\",\n \"ProcessInfo\": \"abc\",\n \"UserNameAndPwd\": \"abc\"\n },\n \"Key\": \"abc\",\n \"Date\": \"abc\",\n \"AppID\": \"abc\",\n \"NickName\": \"abc\",\n \"Uin\": \"abc\"\n }\n ],\n \"AlertTypeCount\": [\n {\n \"Name\": \"abc\",\n \"Count\": 1\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"abc\"\n }\n}",
|
48
|
+
"title": "告警中心全量告警示例"
|
49
|
+
}
|
50
|
+
],
|
43
51
|
"DescribeAssetViewVulRiskList": [
|
44
52
|
{
|
45
53
|
"document": "success1",
|
@@ -3293,6 +3293,58 @@ def doAddInstances(args, parsed_globals):
|
|
3293
3293
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3294
3294
|
|
3295
3295
|
|
3296
|
+
def doModifyInstanceUpgradeLimitDays(args, parsed_globals):
|
3297
|
+
g_param = parse_global_arg(parsed_globals)
|
3298
|
+
|
3299
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
3300
|
+
cred = credential.CVMRoleCredential()
|
3301
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
3302
|
+
cred = credential.STSAssumeRoleCredential(
|
3303
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
3304
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
3305
|
+
)
|
3306
|
+
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):
|
3307
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
3308
|
+
else:
|
3309
|
+
cred = credential.Credential(
|
3310
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
3311
|
+
)
|
3312
|
+
http_profile = HttpProfile(
|
3313
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
3314
|
+
reqMethod="POST",
|
3315
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
3316
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
3317
|
+
)
|
3318
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
3319
|
+
if g_param[OptionsDefine.Language]:
|
3320
|
+
profile.language = g_param[OptionsDefine.Language]
|
3321
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
3322
|
+
client = mod.CynosdbClient(cred, g_param[OptionsDefine.Region], profile)
|
3323
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
3324
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3325
|
+
model = models.ModifyInstanceUpgradeLimitDaysRequest()
|
3326
|
+
model.from_json_string(json.dumps(args))
|
3327
|
+
start_time = time.time()
|
3328
|
+
while True:
|
3329
|
+
rsp = client.ModifyInstanceUpgradeLimitDays(model)
|
3330
|
+
result = rsp.to_json_string()
|
3331
|
+
try:
|
3332
|
+
json_obj = json.loads(result)
|
3333
|
+
except TypeError as e:
|
3334
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
3335
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
3336
|
+
break
|
3337
|
+
cur_time = time.time()
|
3338
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
3339
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
3340
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
3341
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
3342
|
+
else:
|
3343
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
3344
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
3345
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3346
|
+
|
3347
|
+
|
3296
3348
|
def doDeleteAccounts(args, parsed_globals):
|
3297
3349
|
g_param = parse_global_arg(parsed_globals)
|
3298
3350
|
|
@@ -7059,6 +7111,7 @@ ACTION_MAP = {
|
|
7059
7111
|
"DeleteClusterDatabase": doDeleteClusterDatabase,
|
7060
7112
|
"SwitchClusterZone": doSwitchClusterZone,
|
7061
7113
|
"AddInstances": doAddInstances,
|
7114
|
+
"ModifyInstanceUpgradeLimitDays": doModifyInstanceUpgradeLimitDays,
|
7062
7115
|
"DeleteAccounts": doDeleteAccounts,
|
7063
7116
|
"RevokeAccountPrivileges": doRevokeAccountPrivileges,
|
7064
7117
|
"OpenClusterReadOnlyInstanceGroupAccess": doOpenClusterReadOnlyInstanceGroupAccess,
|
@@ -693,6 +693,13 @@
|
|
693
693
|
"output": "ModifyInstanceParamResponse",
|
694
694
|
"status": "online"
|
695
695
|
},
|
696
|
+
"ModifyInstanceUpgradeLimitDays": {
|
697
|
+
"document": "修改实例小版本升级限制时间",
|
698
|
+
"input": "ModifyInstanceUpgradeLimitDaysRequest",
|
699
|
+
"name": "修改实例小版本升级限制时间",
|
700
|
+
"output": "ModifyInstanceUpgradeLimitDaysResponse",
|
701
|
+
"status": "online"
|
702
|
+
},
|
696
703
|
"ModifyMaintainPeriodConfig": {
|
697
704
|
"document": "修改维护时间配置",
|
698
705
|
"input": "ModifyMaintainPeriodConfigRequest",
|
@@ -1165,6 +1172,15 @@
|
|
1165
1172
|
"name": "SlaveZone",
|
1166
1173
|
"required": true,
|
1167
1174
|
"type": "string"
|
1175
|
+
},
|
1176
|
+
{
|
1177
|
+
"disabled": false,
|
1178
|
+
"document": "binlog同步方式。默认值:async。可选值:sync、semisync、async",
|
1179
|
+
"example": "async",
|
1180
|
+
"member": "string",
|
1181
|
+
"name": "BinlogSyncWay",
|
1182
|
+
"required": false,
|
1183
|
+
"type": "string"
|
1168
1184
|
}
|
1169
1185
|
],
|
1170
1186
|
"type": "object"
|
@@ -3230,6 +3246,26 @@
|
|
3230
3246
|
"output_required": true,
|
3231
3247
|
"type": "list",
|
3232
3248
|
"value_allowed_null": true
|
3249
|
+
},
|
3250
|
+
{
|
3251
|
+
"disabled": false,
|
3252
|
+
"document": "新从可用区属性\n注意:此字段可能返回 null,表示取不到有效值。",
|
3253
|
+
"example": "[{\"Zone\":\"ap-guangzhou-5\",\"BinlogSyncWay\":\"async\"}]",
|
3254
|
+
"member": "SlaveZoneAttrItem",
|
3255
|
+
"name": "NewSlaveZoneAttr",
|
3256
|
+
"output_required": false,
|
3257
|
+
"type": "list",
|
3258
|
+
"value_allowed_null": true
|
3259
|
+
},
|
3260
|
+
{
|
3261
|
+
"disabled": false,
|
3262
|
+
"document": "旧可用区属性\n注意:此字段可能返回 null,表示取不到有效值。",
|
3263
|
+
"example": "[{\"Zone\":\"ap-guangzhou-5\",\"BinlogSyncWay\":\"async\"}]",
|
3264
|
+
"member": "SlaveZoneAttrItem",
|
3265
|
+
"name": "OldSlaveZoneAttr",
|
3266
|
+
"output_required": false,
|
3267
|
+
"type": "list",
|
3268
|
+
"value_allowed_null": true
|
3233
3269
|
}
|
3234
3270
|
],
|
3235
3271
|
"usage": "out"
|
@@ -5584,6 +5620,16 @@
|
|
5584
5620
|
"output_required": false,
|
5585
5621
|
"type": "string",
|
5586
5622
|
"value_allowed_null": true
|
5623
|
+
},
|
5624
|
+
{
|
5625
|
+
"disabled": false,
|
5626
|
+
"document": "备可用区属性\n注意:此字段可能返回 null,表示取不到有效值。",
|
5627
|
+
"example": "无",
|
5628
|
+
"member": "SlaveZoneAttrItem",
|
5629
|
+
"name": "SlaveZoneAttr",
|
5630
|
+
"output_required": false,
|
5631
|
+
"type": "list",
|
5632
|
+
"value_allowed_null": true
|
5587
5633
|
}
|
5588
5634
|
],
|
5589
5635
|
"usage": "out"
|
@@ -13296,6 +13342,15 @@
|
|
13296
13342
|
"name": "NewSlaveZone",
|
13297
13343
|
"required": true,
|
13298
13344
|
"type": "string"
|
13345
|
+
},
|
13346
|
+
{
|
13347
|
+
"disabled": false,
|
13348
|
+
"document": "binlog同步方式。默认值:async。可选值:sync、semisync、async",
|
13349
|
+
"example": "async",
|
13350
|
+
"member": "string",
|
13351
|
+
"name": "BinlogSyncWay",
|
13352
|
+
"required": false,
|
13353
|
+
"type": "string"
|
13299
13354
|
}
|
13300
13355
|
],
|
13301
13356
|
"type": "object"
|
@@ -13672,6 +13727,51 @@
|
|
13672
13727
|
],
|
13673
13728
|
"type": "object"
|
13674
13729
|
},
|
13730
|
+
"ModifyInstanceUpgradeLimitDaysRequest": {
|
13731
|
+
"document": "ModifyInstanceUpgradeLimitDays请求参数结构体",
|
13732
|
+
"members": [
|
13733
|
+
{
|
13734
|
+
"disabled": false,
|
13735
|
+
"document": "集群ID",
|
13736
|
+
"example": "无",
|
13737
|
+
"member": "string",
|
13738
|
+
"name": "ClusterId",
|
13739
|
+
"required": true,
|
13740
|
+
"type": "string"
|
13741
|
+
},
|
13742
|
+
{
|
13743
|
+
"disabled": false,
|
13744
|
+
"document": "实例ID",
|
13745
|
+
"example": "无",
|
13746
|
+
"member": "string",
|
13747
|
+
"name": "InstanceId",
|
13748
|
+
"required": true,
|
13749
|
+
"type": "string"
|
13750
|
+
},
|
13751
|
+
{
|
13752
|
+
"disabled": false,
|
13753
|
+
"document": "升级限制时间",
|
13754
|
+
"example": "无",
|
13755
|
+
"member": "int64",
|
13756
|
+
"name": "UpgradeLimitDays",
|
13757
|
+
"required": true,
|
13758
|
+
"type": "int"
|
13759
|
+
}
|
13760
|
+
],
|
13761
|
+
"type": "object"
|
13762
|
+
},
|
13763
|
+
"ModifyInstanceUpgradeLimitDaysResponse": {
|
13764
|
+
"document": "ModifyInstanceUpgradeLimitDays返回参数结构体",
|
13765
|
+
"members": [
|
13766
|
+
{
|
13767
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
13768
|
+
"member": "string",
|
13769
|
+
"name": "RequestId",
|
13770
|
+
"type": "string"
|
13771
|
+
}
|
13772
|
+
],
|
13773
|
+
"type": "object"
|
13774
|
+
},
|
13675
13775
|
"ModifyMaintainPeriodConfigRequest": {
|
13676
13776
|
"document": "ModifyMaintainPeriodConfig请求参数结构体",
|
13677
13777
|
"members": [
|
@@ -17931,6 +18031,32 @@
|
|
17931
18031
|
],
|
17932
18032
|
"type": "object"
|
17933
18033
|
},
|
18034
|
+
"SlaveZoneAttrItem": {
|
18035
|
+
"document": "可用区属性项",
|
18036
|
+
"members": [
|
18037
|
+
{
|
18038
|
+
"disabled": false,
|
18039
|
+
"document": "可用区\n注意:此字段可能返回 null,表示取不到有效值。",
|
18040
|
+
"example": "无",
|
18041
|
+
"member": "string",
|
18042
|
+
"name": "Zone",
|
18043
|
+
"output_required": false,
|
18044
|
+
"type": "string",
|
18045
|
+
"value_allowed_null": true
|
18046
|
+
},
|
18047
|
+
{
|
18048
|
+
"disabled": false,
|
18049
|
+
"document": "binlog同步方式\n注意:此字段可能返回 null,表示取不到有效值。",
|
18050
|
+
"example": "async",
|
18051
|
+
"member": "string",
|
18052
|
+
"name": "BinlogSyncWay",
|
18053
|
+
"output_required": false,
|
18054
|
+
"type": "string",
|
18055
|
+
"value_allowed_null": true
|
18056
|
+
}
|
18057
|
+
],
|
18058
|
+
"usage": "out"
|
18059
|
+
},
|
17934
18060
|
"SlaveZoneStockInfo": {
|
17935
18061
|
"document": "备可用区库存信息",
|
17936
18062
|
"members": [
|
@@ -11,7 +11,7 @@
|
|
11
11
|
"AddClusterSlaveZone": [
|
12
12
|
{
|
13
13
|
"document": "开启多可用区部署",
|
14
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddClusterSlaveZone\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-asd\",\n \"SlaveZone\": \"ap-guangzhou-4\"\n}",
|
14
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddClusterSlaveZone\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-asd\",\n \"SlaveZone\": \"ap-guangzhou-4\",\n \"BinlogSyncWay\": \"async\"\n}",
|
15
15
|
"output": "{\n \"Response\": {\n \"FlowId\": 123,\n \"RequestId\": \"128046\"\n }\n}",
|
16
16
|
"title": "开启多可用区部署"
|
17
17
|
}
|
@@ -350,7 +350,7 @@
|
|
350
350
|
{
|
351
351
|
"document": "集群信息描述",
|
352
352
|
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterDetail\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbpg-5804k48e\"\n}",
|
353
|
-
"output": "{\n \"Response\": {\n \"Detail\": {\n \"ClusterId\": \"abc\",\n \"ClusterName\": \"abc\",\n \"Region\": \"abc\",\n \"Zone\": \"abc\",\n \"PhysicalZone\": \"abc\",\n \"Status\": \"abc\",\n \"StatusDesc\": \"abc\",\n \"ServerlessStatus\": \"abc\",\n \"StorageId\": \"abc\",\n \"Storage\": 0,\n \"MaxStorageSize\": 0,\n \"MinStorageSize\": 0,\n \"StoragePayMode\": 0,\n \"VpcName\": \"abc\",\n \"VpcId\": \"abc\",\n \"SubnetName\": \"abc\",\n \"SubnetId\": \"abc\",\n \"Charset\": \"abc\",\n \"CreateTime\": \"abc\",\n \"DbType\": \"abc\",\n \"DbMode\": \"abc\",\n \"DbVersion\": \"abc\",\n \"StorageLimit\": 0,\n \"UsedStorage\": 0,\n \"Vip\": \"abc\",\n \"Vport\": 0,\n \"RoAddr\": [\n {\n \"IP\": \"abc\",\n \"Port\": 0\n }\n ],\n \"Ability\": {\n \"IsSupportSlaveZone\": \"abc\",\n \"NonsupportSlaveZoneReason\": \"abc\",\n \"IsSupportRo\": \"abc\",\n \"NonsupportRoReason\": \"abc\"\n },\n \"CynosVersion\": \"abc\",\n \"BusinessType\": \"abc\",\n \"HasSlaveZone\": \"abc\",\n \"IsFreeze\": \"abc\",\n \"Tasks\": [\n {\n \"TaskId\": 0,\n \"TaskType\": \"abc\",\n \"TaskStatus\": \"abc\",\n \"ObjectId\": \"abc\",\n \"ObjectType\": \"abc\"\n }\n ],\n \"MasterZone\": \"abc\",\n \"SlaveZones\": [\n \"abc\"\n ],\n \"InstanceSet\": [\n {\n \"InstanceId\": \"abc\",\n \"InstanceName\": \"abc\",\n \"InstanceType\": \"abc\",\n \"InstanceStatus\": \"abc\",\n \"InstanceStatusDesc\": \"abc\",\n \"InstanceCpu\": 0,\n \"InstanceMemory\": 0,\n \"InstanceStorage\": 0,\n \"InstanceRole\": \"abc\",\n \"MaintainStartTime\": 0,\n \"MaintainDuration\": 0,\n \"MaintainWeekDays\": [\n \"abc\"\n ],\n \"ServerlessStatus\": \"abc\"\n }\n ],\n \"PayMode\": 0,\n \"PeriodEndTime\": \"abc\",\n \"ProjectID\": 0,\n \"ResourceTags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ],\n \"ProxyStatus\": \"abc\",\n \"LogBin\": \"abc\",\n \"IsSkipTrade\": \"abc\",\n \"PitrType\": \"abc\",\n \"IsOpenPasswordComplexity\": \"abc\",\n \"NetworkStatus\": \"abc\",\n \"ResourcePackages\": [\n {\n \"PackageId\": \"abc\",\n \"PackageType\": \"abc\"\n }\n ],\n \"RenewFlag\": 0,\n \"NetworkType\": \"abc\"\n },\n \"RequestId\": \"abc\"\n }\n}",
|
353
|
+
"output": "{\n \"Response\": {\n \"Detail\": {\n \"ClusterId\": \"abc\",\n \"ClusterName\": \"abc\",\n \"Region\": \"abc\",\n \"Zone\": \"abc\",\n \"PhysicalZone\": \"abc\",\n \"Status\": \"abc\",\n \"StatusDesc\": \"abc\",\n \"ServerlessStatus\": \"abc\",\n \"StorageId\": \"abc\",\n \"Storage\": 0,\n \"MaxStorageSize\": 0,\n \"MinStorageSize\": 0,\n \"StoragePayMode\": 0,\n \"VpcName\": \"abc\",\n \"VpcId\": \"abc\",\n \"SubnetName\": \"abc\",\n \"SubnetId\": \"abc\",\n \"Charset\": \"abc\",\n \"CreateTime\": \"abc\",\n \"DbType\": \"abc\",\n \"DbMode\": \"abc\",\n \"DbVersion\": \"abc\",\n \"StorageLimit\": 0,\n \"UsedStorage\": 0,\n \"Vip\": \"abc\",\n \"Vport\": 0,\n \"RoAddr\": [\n {\n \"IP\": \"abc\",\n \"Port\": 0\n }\n ],\n \"Ability\": {\n \"IsSupportSlaveZone\": \"abc\",\n \"NonsupportSlaveZoneReason\": \"abc\",\n \"IsSupportRo\": \"abc\",\n \"NonsupportRoReason\": \"abc\",\n \"IsSupportManualSnapshot\": \"yes\"\n },\n \"CynosVersion\": \"abc\",\n \"BusinessType\": \"abc\",\n \"HasSlaveZone\": \"abc\",\n \"IsFreeze\": \"abc\",\n \"Tasks\": [\n {\n \"TaskId\": 0,\n \"TaskType\": \"abc\",\n \"TaskStatus\": \"abc\",\n \"ObjectId\": \"abc\",\n \"ObjectType\": \"abc\"\n }\n ],\n \"MasterZone\": \"abc\",\n \"SlaveZones\": [\n \"abc\"\n ],\n \"InstanceSet\": [\n {\n \"InstanceId\": \"abc\",\n \"InstanceName\": \"abc\",\n \"InstanceType\": \"abc\",\n \"InstanceStatus\": \"abc\",\n \"InstanceStatusDesc\": \"abc\",\n \"InstanceCpu\": 0,\n \"InstanceMemory\": 0,\n \"InstanceStorage\": 0,\n \"InstanceRole\": \"abc\",\n \"MaintainStartTime\": 0,\n \"MaintainDuration\": 0,\n \"MaintainWeekDays\": [\n \"abc\"\n ],\n \"ServerlessStatus\": \"abc\"\n }\n ],\n \"PayMode\": 0,\n \"PeriodEndTime\": \"abc\",\n \"ProjectID\": 0,\n \"ResourceTags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ],\n \"ProxyStatus\": \"abc\",\n \"LogBin\": \"abc\",\n \"IsSkipTrade\": \"abc\",\n \"PitrType\": \"abc\",\n \"IsOpenPasswordComplexity\": \"abc\",\n \"NetworkStatus\": \"abc\",\n \"ResourcePackages\": [\n {\n \"PackageId\": \"abc\",\n \"PackageType\": \"abc\"\n }\n ],\n \"RenewFlag\": 0,\n \"NetworkType\": \"abc\",\n \"SlaveZoneAttr\": [\n {\n \"Zone\": \"ap-guangzhou-5\",\n \"BinlogSyncWay\": \"async\"\n }\n ]\n },\n \"RequestId\": \"abc\"\n }\n}",
|
354
354
|
"title": "集群信息描述"
|
355
355
|
}
|
356
356
|
],
|
@@ -596,7 +596,7 @@
|
|
596
596
|
{
|
597
597
|
"document": "查询任务列表",
|
598
598
|
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTasks\n<公共请求参数>\n\n{\n \"Limit\": \"10\",\n \"Offset\": \"0\"\n}",
|
599
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"TaskList\": [\n {\n \"ID\": 0,\n \"AppId\": 0,\n \"ClusterId\": \"abc\",\n \"CreateTime\": \"abc\",\n \"DelayTime\": \"abc\",\n \"ErrMsg\": \"abc\",\n \"FlowId\": 0,\n \"Input\": \"abc\",\n \"InstanceGrpId\": \"abc\",\n \"InstanceGroupId\": \"abc\",\n \"InstanceId\": \"abc\",\n \"ObjectId\": \"abc\",\n \"ObjectType\": \"abc\",\n \"Operator\": \"abc\",\n \"Output\": \"abc\",\n \"Status\": \"abc\",\n \"TaskType\": \"abc\",\n \"TriggerTaskId\": 0,\n \"UpdateTime\": \"abc\",\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\",\n \"ClusterName\": \"abc\",\n \"InstanceName\": \"abc\",\n \"Process\": 0,\n \"ModifyParamsData\": [\n {\n \"Name\": \"abc\",\n \"OldValue\": \"abc\",\n \"CurValue\": \"abc\"\n }\n ],\n \"CreateClustersData\": {\n \"Cpu\": 0,\n \"Memory\": 0,\n \"StorageLimit\": 0\n },\n \"RollbackData\": {\n \"Cpu\": 0,\n \"Memory\": 0,\n \"StorageLimit\": 0,\n \"OriginalClusterId\": \"abc\",\n \"OriginalClusterName\": \"abc\",\n \"RollbackStrategy\": \"abc\",\n \"SnapshotTime\": \"abc\",\n \"MinCpu\": 0,\n \"MaxCpu\": 0,\n \"SnapShotId\": 1,\n \"RollbackDatabases\": [\n {\n \"OldDatabase\": \"abc\",\n \"NewDatabase\": \"abc\"\n }\n ],\n \"RollbackTables\": [\n {\n \"Database\": \"abc\",\n \"Tables\": [\n {\n \"OldTable\": \"abc\",\n \"NewTable\": \"abc\"\n }\n ]\n }\n ],\n \"BackupFileName\": \"abc\"\n },\n \"ModifyInstanceData\": {\n \"Cpu\": 0,\n \"Memory\": 0,\n \"StorageLimit\": 0,\n \"OldCpu\": 0,\n \"OldMemory\": 0,\n \"OldStorageLimit\": 0,\n \"UpgradeType\": \"abc\"\n },\n \"ManualBackupData\": {\n \"BackupType\": \"abc\",\n \"BackupMethod\": \"abc\",\n \"SnapshotTime\": \"abc\"\n },\n \"ModifyDbVersionData\": {\n \"OldVersion\": \"abc\",\n \"NewVersion\": \"abc\",\n \"UpgradeType\": \"abc\"\n },\n \"ClusterSlaveData\": {\n \"OldMasterZone\": \"abc\",\n \"OldSlaveZone\": [\n \"abc\"\n ],\n \"NewMasterZone\": \"abc\",\n \"NewSlaveZone\": [\n \"abc\"\n ]\n },\n \"SwitchClusterLogBin\": {\n \"Status\": \"abc\"\n },\n \"ModifyInstanceParamsData\": {\n \"ClusterId\": \"abc\",\n \"ClusterParamList\": [\n {\n \"ParamName\": \"abc\",\n \"CurrentValue\": \"abc\",\n \"OldValue\": \"abc\"\n }\n ],\n \"ModifyInstanceParams\": [\n {\n \"InstanceId\": \"abc\",\n \"ModifyInstanceParamList\": [\n {\n \"ParamName\": \"abc\",\n \"CurrentValue\": \"abc\",\n \"OldValue\": \"abc\"\n }\n ]\n }\n ]\n },\n \"TaskMaintainInfo\": {\n \"MaintainStartTime\": 0,\n \"MaintainDuration\": 0,\n \"MaintainWeekDays\": [\n \"abc\"\n ]\n }\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
599
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"TaskList\": [\n {\n \"ID\": 0,\n \"AppId\": 0,\n \"ClusterId\": \"abc\",\n \"CreateTime\": \"abc\",\n \"DelayTime\": \"abc\",\n \"ErrMsg\": \"abc\",\n \"FlowId\": 0,\n \"Input\": \"abc\",\n \"InstanceGrpId\": \"abc\",\n \"InstanceGroupId\": \"abc\",\n \"InstanceId\": \"abc\",\n \"ObjectId\": \"abc\",\n \"ObjectType\": \"abc\",\n \"Operator\": \"abc\",\n \"Output\": \"abc\",\n \"Status\": \"abc\",\n \"TaskType\": \"abc\",\n \"TriggerTaskId\": 0,\n \"UpdateTime\": \"abc\",\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\",\n \"ClusterName\": \"abc\",\n \"InstanceName\": \"abc\",\n \"Process\": 0,\n \"ModifyParamsData\": [\n {\n \"Name\": \"abc\",\n \"OldValue\": \"abc\",\n \"CurValue\": \"abc\"\n }\n ],\n \"CreateClustersData\": {\n \"Cpu\": 0,\n \"Memory\": 0,\n \"StorageLimit\": 0\n },\n \"RollbackData\": {\n \"Cpu\": 0,\n \"Memory\": 0,\n \"StorageLimit\": 0,\n \"OriginalClusterId\": \"abc\",\n \"OriginalClusterName\": \"abc\",\n \"RollbackStrategy\": \"abc\",\n \"SnapshotTime\": \"abc\",\n \"MinCpu\": 0,\n \"MaxCpu\": 0,\n \"SnapShotId\": 1,\n \"RollbackDatabases\": [\n {\n \"OldDatabase\": \"abc\",\n \"NewDatabase\": \"abc\"\n }\n ],\n \"RollbackTables\": [\n {\n \"Database\": \"abc\",\n \"Tables\": [\n {\n \"OldTable\": \"abc\",\n \"NewTable\": \"abc\"\n }\n ]\n }\n ],\n \"BackupFileName\": \"abc\"\n },\n \"ModifyInstanceData\": {\n \"Cpu\": 0,\n \"Memory\": 0,\n \"StorageLimit\": 0,\n \"OldCpu\": 0,\n \"OldMemory\": 0,\n \"OldStorageLimit\": 0,\n \"UpgradeType\": \"abc\"\n },\n \"ManualBackupData\": {\n \"BackupType\": \"abc\",\n \"BackupMethod\": \"abc\",\n \"SnapshotTime\": \"abc\"\n },\n \"ModifyDbVersionData\": {\n \"OldVersion\": \"abc\",\n \"NewVersion\": \"abc\",\n \"UpgradeType\": \"abc\"\n },\n \"ClusterSlaveData\": {\n \"OldMasterZone\": \"abc\",\n \"OldSlaveZone\": [\n \"abc\"\n ],\n \"NewMasterZone\": \"abc\",\n \"NewSlaveZone\": [\n \"abc\"\n ],\n \"NewSlaveZoneAttr\": [\n {\n \"Zone\": \"ap-guangzhou-4\",\n \"BinlogSyncWay\": \"sync\"\n }\n ],\n \"OldSlaveZoneAttr\": [\n {\n \"Zone\": \"ap-guangzhou-5\",\n \"BinlogSyncWay\": \"async\"\n }\n ]\n },\n \"SwitchClusterLogBin\": {\n \"Status\": \"abc\"\n },\n \"ModifyInstanceParamsData\": {\n \"ClusterId\": \"abc\",\n \"ClusterParamList\": [\n {\n \"ParamName\": \"abc\",\n \"CurrentValue\": \"abc\",\n \"OldValue\": \"abc\"\n }\n ],\n \"ModifyInstanceParams\": [\n {\n \"InstanceId\": \"abc\",\n \"ModifyInstanceParamList\": [\n {\n \"ParamName\": \"abc\",\n \"CurrentValue\": \"abc\",\n \"OldValue\": \"abc\"\n }\n ]\n }\n ]\n },\n \"TaskMaintainInfo\": {\n \"MaintainStartTime\": 0,\n \"MaintainDuration\": 0,\n \"MaintainWeekDays\": [\n \"abc\"\n ]\n }\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
600
600
|
"title": "查询任务列表"
|
601
601
|
}
|
602
602
|
],
|
@@ -779,7 +779,7 @@
|
|
779
779
|
"ModifyClusterSlaveZone": [
|
780
780
|
{
|
781
781
|
"document": "",
|
782
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyClusterSlaveZone\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-asd\",\n \"OldSlaveZone\": \"ap-guangzhou-2\",\n \"NewSlaveZone\": \"ap-guangzhou-3\"\n}",
|
782
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyClusterSlaveZone\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-asd\",\n \"OldSlaveZone\": \"ap-guangzhou-2\",\n \"NewSlaveZone\": \"ap-guangzhou-3\",\n \"BinlogSyncWay\": \"async\"\n}",
|
783
783
|
"output": "{\n \"Response\": {\n \"FlowId\": 123,\n \"RequestId\": \"128046\"\n }\n}",
|
784
784
|
"title": "变更备可用区"
|
785
785
|
}
|
@@ -816,6 +816,14 @@
|
|
816
816
|
"title": "修改实例参数"
|
817
817
|
}
|
818
818
|
],
|
819
|
+
"ModifyInstanceUpgradeLimitDays": [
|
820
|
+
{
|
821
|
+
"document": "",
|
822
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstanceUpgradeLimitDays\n<公共请求参数>\n\n{\n \"ClusterId\": \"abc\",\n \"InstanceId\": \"abc\",\n \"UpgradeLimitDays\": 30\n}",
|
823
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
|
824
|
+
"title": "修改实例小版本升级限制时间"
|
825
|
+
}
|
826
|
+
],
|
819
827
|
"ModifyMaintainPeriodConfig": [
|
820
828
|
{
|
821
829
|
"document": "",
|
@@ -5015,6 +5015,15 @@
|
|
5015
5015
|
"required": false,
|
5016
5016
|
"type": "list"
|
5017
5017
|
},
|
5018
|
+
{
|
5019
|
+
"disabled": false,
|
5020
|
+
"document": "标签",
|
5021
|
+
"example": "无",
|
5022
|
+
"member": "Tag",
|
5023
|
+
"name": "Tags",
|
5024
|
+
"required": false,
|
5025
|
+
"type": "list"
|
5026
|
+
},
|
5018
5027
|
{
|
5019
5028
|
"disabled": false,
|
5020
5029
|
"document": "实例类型过滤,1-独享实例,2-主实例,3-灾备实例,多个按逗号分隔",
|
@@ -5054,7 +5063,7 @@
|
|
5054
5063
|
"example": "1",
|
5055
5064
|
"member": "int64",
|
5056
5065
|
"name": "TotalCount",
|
5057
|
-
"
|
5066
|
+
"output_required": true,
|
5058
5067
|
"type": "int",
|
5059
5068
|
"value_allowed_null": false
|
5060
5069
|
},
|
@@ -5064,7 +5073,7 @@
|
|
5064
5073
|
"example": "无",
|
5065
5074
|
"member": "DCDBInstanceInfo",
|
5066
5075
|
"name": "Instances",
|
5067
|
-
"
|
5076
|
+
"output_required": true,
|
5068
5077
|
"type": "list",
|
5069
5078
|
"value_allowed_null": false
|
5070
5079
|
},
|
@@ -8916,6 +8925,15 @@
|
|
8916
8925
|
"name": "Zone",
|
8917
8926
|
"required": true,
|
8918
8927
|
"type": "string"
|
8928
|
+
},
|
8929
|
+
{
|
8930
|
+
"disabled": false,
|
8931
|
+
"document": "指定分片实例id进行切换",
|
8932
|
+
"example": "[\"shard-aq0o9glh\"]",
|
8933
|
+
"member": "string",
|
8934
|
+
"name": "ShardInstanceIds",
|
8935
|
+
"required": false,
|
8936
|
+
"type": "list"
|
8919
8937
|
}
|
8920
8938
|
],
|
8921
8939
|
"type": "object"
|
@@ -8929,7 +8947,7 @@
|
|
8929
8947
|
"example": "无",
|
8930
8948
|
"member": "uint64",
|
8931
8949
|
"name": "FlowId",
|
8932
|
-
"
|
8950
|
+
"output_required": true,
|
8933
8951
|
"type": "int",
|
8934
8952
|
"value_allowed_null": false
|
8935
8953
|
},
|
@@ -9004,6 +9022,30 @@
|
|
9004
9022
|
],
|
9005
9023
|
"usage": "in"
|
9006
9024
|
},
|
9025
|
+
"Tag": {
|
9026
|
+
"document": "标签",
|
9027
|
+
"members": [
|
9028
|
+
{
|
9029
|
+
"disabled": false,
|
9030
|
+
"document": "标签键",
|
9031
|
+
"example": "name",
|
9032
|
+
"member": "string",
|
9033
|
+
"name": "TagKey",
|
9034
|
+
"required": false,
|
9035
|
+
"type": "string"
|
9036
|
+
},
|
9037
|
+
{
|
9038
|
+
"disabled": false,
|
9039
|
+
"document": "标签值",
|
9040
|
+
"example": "liu",
|
9041
|
+
"member": "string",
|
9042
|
+
"name": "TagValue",
|
9043
|
+
"required": false,
|
9044
|
+
"type": "string"
|
9045
|
+
}
|
9046
|
+
],
|
9047
|
+
"usage": "in"
|
9048
|
+
},
|
9007
9049
|
"TerminateDedicatedDBInstanceRequest": {
|
9008
9050
|
"document": "TerminateDedicatedDBInstance请求参数结构体",
|
9009
9051
|
"members": [
|
@@ -196,7 +196,7 @@
|
|
196
196
|
{
|
197
197
|
"document": "",
|
198
198
|
"input": "https://dcdb.tencentcloudapi.com/?Action=DescribeDCDBInstances\n&InstanceIds.0=tdsqlshard-hptutl5t\n&<公共请求参数>",
|
199
|
-
"output": "{\n \"Response\": {\n \"Instances\": [\n {\n \"AppId\": 251000022,\n \"AutoRenewFlag\": 1,\n \"Cpu\": 2,\n \"CreateTime\": \"2021-03-26 16:14:31\",\n \"DbEngine\": \"MariaDB\",\n \"DbVersion\": \"10.1.9\",\n \"DcnDstNum\": 0,\n \"DcnFlag\": 0,\n \"DcnStatus\": 0,\n \"ExclusterId\": \"\",\n \"Id\": 2000091,\n \"InstanceId\": \"tdsqlshard-hptutl5t\",\n \"InstanceName\": \"tdsqlshard-hptutl5t\",\n \"InstanceType\": 2,\n \"Ipv6Flag\": 0,\n \"IsAuditSupported\": 1,\n \"IsTmp\": 0,\n \"IsolatedTimestamp\": \"0000-00-00 00:00:00\",\n \"Locker\": 0,\n \"Memory\": 4,\n \"NodeCount\": 2,\n \"Paymode\": \"prepaid\",\n \"PeriodEndTime\": \"2021-04-26 16:14:31\",\n \"Pid\": 1001670,\n \"ProjectId\": 0,\n \"Region\": \"ap-guangzhou\",\n \"ShardCount\": 2,\n \"ShardDetail\": [\n {\n \"Cpu\": 1,\n \"Createtime\": \"2021-03-26 16:14:31\",\n \"Memory\": 2,\n \"NodeCount\": 1,\n \"Pid\": 1001670,\n \"ShardId\": 12208,\n \"ShardInstanceId\": \"shard-qihco4rx\",\n \"ShardSerialId\": \"set_1616746585_1\",\n \"Status\": 2,\n \"Storage\": 10\n },\n {\n \"Cpu\": 1,\n \"Createtime\": \"2021-03-26 16:14:31\",\n \"Memory\": 2,\n \"NodeCount\": 1,\n \"Pid\": 1001670,\n \"ShardId\": 12209,\n \"ShardInstanceId\": \"shard-d3moxo2r\",\n \"ShardSerialId\": \"set_1616746676_3\",\n \"Status\": 2,\n \"Storage\": 10\n }\n ],\n \"Status\": 2,\n \"StatusDesc\": \"运行中\",\n \"Storage\": 20,\n \"SubnetId\": 1479311,\n \"Uin\": \"918700682\",\n \"UniqueSubnetId\": \"subnet-au6ics6s\",\n \"UniqueVpcId\": \"vpc-737mtr2f\",\n \"UpdateTime\": \"2021-03-29 15:35:33\",\n \"Vip\": \"10.1.0.6\",\n \"Vipv6\": \"\",\n \"VpcId\": 74809,\n \"Vport\": 3306,\n \"WanDomain\": \"\",\n \"WanPort\": 0,\n \"WanPortIpv6\": 0,\n \"WanStatus\": 0,\n \"WanStatusIpv6\": 0,\n \"WanVip\": \"\",\n \"WanVipv6\": \"\",\n \"Zone\": \"ap-guangzhou-1\",\n \"ResourceTags\": [\n {\n \"TagKey\": \"
|
199
|
+
"output": "{\n \"Response\": {\n \"Instances\": [\n {\n \"AppId\": 251000022,\n \"AutoRenewFlag\": 1,\n \"Cpu\": 2,\n \"CreateTime\": \"2021-03-26 16:14:31\",\n \"DbEngine\": \"MariaDB\",\n \"DbVersion\": \"10.1.9\",\n \"DcnDstNum\": 0,\n \"DcnFlag\": 0,\n \"DcnStatus\": 0,\n \"ExclusterId\": \"\",\n \"Id\": 2000091,\n \"InstanceId\": \"tdsqlshard-hptutl5t\",\n \"InstanceName\": \"tdsqlshard-hptutl5t\",\n \"InstanceType\": 2,\n \"Ipv6Flag\": 0,\n \"IsAuditSupported\": 1,\n \"IsTmp\": 0,\n \"IsolatedTimestamp\": \"0000-00-00 00:00:00\",\n \"Locker\": 0,\n \"Memory\": 4,\n \"NodeCount\": 2,\n \"Paymode\": \"prepaid\",\n \"PeriodEndTime\": \"2021-04-26 16:14:31\",\n \"Pid\": 1001670,\n \"ProjectId\": 0,\n \"Region\": \"ap-guangzhou\",\n \"ShardCount\": 2,\n \"ShardDetail\": [\n {\n \"Cpu\": 1,\n \"Createtime\": \"2021-03-26 16:14:31\",\n \"Memory\": 2,\n \"NodeCount\": 1,\n \"Pid\": 1001670,\n \"ShardId\": 12208,\n \"ShardInstanceId\": \"shard-qihco4rx\",\n \"ShardSerialId\": \"set_1616746585_1\",\n \"Status\": 2,\n \"Storage\": 10\n },\n {\n \"Cpu\": 1,\n \"Createtime\": \"2021-03-26 16:14:31\",\n \"Memory\": 2,\n \"NodeCount\": 1,\n \"Pid\": 1001670,\n \"ShardId\": 12209,\n \"ShardInstanceId\": \"shard-d3moxo2r\",\n \"ShardSerialId\": \"set_1616746676_3\",\n \"Status\": 2,\n \"Storage\": 10\n }\n ],\n \"Status\": 2,\n \"StatusDesc\": \"运行中\",\n \"Storage\": 20,\n \"SubnetId\": 1479311,\n \"Uin\": \"918700682\",\n \"UniqueSubnetId\": \"subnet-au6ics6s\",\n \"UniqueVpcId\": \"vpc-737mtr2f\",\n \"UpdateTime\": \"2021-03-29 15:35:33\",\n \"Vip\": \"10.1.0.6\",\n \"Vipv6\": \"\",\n \"VpcId\": 74809,\n \"Vport\": 3306,\n \"WanDomain\": \"\",\n \"WanPort\": 0,\n \"WanPortIpv6\": 0,\n \"WanStatus\": 0,\n \"WanStatusIpv6\": 0,\n \"WanVip\": \"\",\n \"WanVipv6\": \"\",\n \"Zone\": \"ap-guangzhou-1\",\n \"ResourceTags\": [\n {\n \"TagKey\": \"name\",\n \"TagValue\": \"liu\"\n }\n ],\n \"DbVersionId\": \"8.0\"\n }\n ],\n \"RequestId\": \"a44a3d24-1e71-4bbf-bc22-f6d583b084d8\",\n \"TotalCount\": 1\n }\n}",
|
200
200
|
"title": "根据实例ID查询实例列表"
|
201
201
|
}
|
202
202
|
],
|
@@ -8372,6 +8372,36 @@
|
|
8372
8372
|
"type": "string",
|
8373
8373
|
"value_allowed_null": true
|
8374
8374
|
},
|
8375
|
+
{
|
8376
|
+
"disabled": false,
|
8377
|
+
"document": "引擎计算耗时\n注意:此字段可能返回 null,表示取不到有效值。",
|
8378
|
+
"example": "10",
|
8379
|
+
"member": "int64",
|
8380
|
+
"name": "UseTime",
|
8381
|
+
"output_required": false,
|
8382
|
+
"type": "int",
|
8383
|
+
"value_allowed_null": true
|
8384
|
+
},
|
8385
|
+
{
|
8386
|
+
"disabled": false,
|
8387
|
+
"document": "结果条数\n注意:此字段可能返回 null,表示取不到有效值。",
|
8388
|
+
"example": "100",
|
8389
|
+
"member": "int64",
|
8390
|
+
"name": "AffectRows",
|
8391
|
+
"output_required": false,
|
8392
|
+
"type": "int",
|
8393
|
+
"value_allowed_null": true
|
8394
|
+
},
|
8395
|
+
{
|
8396
|
+
"disabled": false,
|
8397
|
+
"document": "数据扫描量\n注意:此字段可能返回 null,表示取不到有效值。",
|
8398
|
+
"example": "10",
|
8399
|
+
"member": "int64",
|
8400
|
+
"name": "DataAmount",
|
8401
|
+
"output_required": false,
|
8402
|
+
"type": "int",
|
8403
|
+
"value_allowed_null": true
|
8404
|
+
},
|
8375
8405
|
{
|
8376
8406
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
8377
8407
|
"member": "string",
|
@@ -532,7 +532,7 @@
|
|
532
532
|
{
|
533
533
|
"document": "本接口用于获取statement运行结果。",
|
534
534
|
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeNotebookSessionStatementSqlResult\n<公共请求参数>\n\n{\n \"TaskId\": \"20210521195919442157\",\n \"MaxResults\": 100,\n \"NextToken\": \"objectListMarker={marker}&lastReadFile={filename}&lastReadOffset\"\n}",
|
535
|
-
"output": "{\n \"Response\": {\n \"TaskId\": \"abc\",\n \"ResultSet\": \"abc\",\n \"ResultSchema\": [\n {\n \"Name\": \"abc\",\n \"Type\": \"abc\",\n \"Comment\": \"abc\",\n \"Precision\": 0,\n \"Scale\": 0,\n \"Nullable\": \"abc\",\n \"Position\": 0,\n \"CreateTime\": \"abc\",\n \"ModifiedTime\": \"abc\",\n \"IsPartition\": true\n }\n ],\n \"NextToken\": \"abc\",\n \"OutputPath\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
|
535
|
+
"output": "{\n \"Response\": {\n \"TaskId\": \"abc\",\n \"ResultSet\": \"abc\",\n \"ResultSchema\": [\n {\n \"Name\": \"abc\",\n \"Type\": \"abc\",\n \"Comment\": \"abc\",\n \"Precision\": 0,\n \"Scale\": 0,\n \"Nullable\": \"abc\",\n \"Position\": 0,\n \"CreateTime\": \"abc\",\n \"ModifiedTime\": \"abc\",\n \"IsPartition\": true\n }\n ],\n \"NextToken\": \"abc\",\n \"OutputPath\": \"abc\",\n \"RequestId\": \"abc\",\n \"UseTime\": 10,\n \"AffectRows\": 10\n }\n}",
|
536
536
|
"title": "获取statement运行结果"
|
537
537
|
}
|
538
538
|
],
|
@@ -6107,6 +6107,15 @@
|
|
6107
6107
|
"name": "AutoJumpUrl",
|
6108
6108
|
"required": false,
|
6109
6109
|
"type": "string"
|
6110
|
+
},
|
6111
|
+
{
|
6112
|
+
"disabled": false,
|
6113
|
+
"document": "是否展示头顶导航栏 <ul><li> **ENABLE** : (默认)进入web控制台展示头顶导航栏</li> <li> **DISABLE** : 进入web控制台不展示头顶导航栏</li></ul> 注:该参数**仅在企业和员工激活完成,登录控制台场景才生效**。",
|
6114
|
+
"example": "ENABLE",
|
6115
|
+
"member": "string",
|
6116
|
+
"name": "TopNavigationStatus",
|
6117
|
+
"required": false,
|
6118
|
+
"type": "string"
|
6110
6119
|
}
|
6111
6120
|
],
|
6112
6121
|
"type": "object"
|
@@ -4881,6 +4881,15 @@
|
|
4881
4881
|
"required": true,
|
4882
4882
|
"type": "string"
|
4883
4883
|
},
|
4884
|
+
{
|
4885
|
+
"disabled": false,
|
4886
|
+
"document": "验证模式(详版/简版)。简版与详版价格不一致,详见[价格说明](https://cloud.tencent.com/document/product/1007/84321)。\n\n枚举值:0(简版),1(详版)。默认值为0。",
|
4887
|
+
"example": "0",
|
4888
|
+
"member": "string",
|
4889
|
+
"name": "VerifyMode",
|
4890
|
+
"required": false,
|
4891
|
+
"type": "string"
|
4892
|
+
},
|
4884
4893
|
{
|
4885
4894
|
"disabled": false,
|
4886
4895
|
"document": "有加密需求的用户,传入kms的CiphertextBlob,关于数据加密可查阅 <a href=\"https://cloud.tencent.com/document/product/1007/47180\">数据加密</a> 文档。",
|
@@ -4920,7 +4929,7 @@
|
|
4920
4929
|
"example": "0",
|
4921
4930
|
"member": "string",
|
4922
4931
|
"name": "Result",
|
4923
|
-
"
|
4932
|
+
"output_required": true,
|
4924
4933
|
"type": "string",
|
4925
4934
|
"value_allowed_null": false
|
4926
4935
|
},
|
@@ -4930,7 +4939,7 @@
|
|
4930
4939
|
"example": "认证通过",
|
4931
4940
|
"member": "string",
|
4932
4941
|
"name": "Description",
|
4933
|
-
"
|
4942
|
+
"output_required": true,
|
4934
4943
|
"type": "string",
|
4935
4944
|
"value_allowed_null": false
|
4936
4945
|
},
|
@@ -4940,7 +4949,17 @@
|
|
4940
4949
|
"example": "移动",
|
4941
4950
|
"member": "string",
|
4942
4951
|
"name": "Isp",
|
4943
|
-
"
|
4952
|
+
"output_required": true,
|
4953
|
+
"type": "string",
|
4954
|
+
"value_allowed_null": false
|
4955
|
+
},
|
4956
|
+
{
|
4957
|
+
"disabled": false,
|
4958
|
+
"document": "业务结果详细信息。(当VerifyMode配置\"详版\",且Result为\"-4: 三要素信息不一致\"时返回)\n\n枚举值:\n\n手机号码与姓名一致,与身份证号不一致;\n\n手机号码身份证号一致,与姓名不一致;\n\n手机号码与姓名和身份证号均不一致;\n\n姓名和身份证号不一致;\n\n其他不一致。",
|
4959
|
+
"example": "无",
|
4960
|
+
"member": "string",
|
4961
|
+
"name": "ResultDetail",
|
4962
|
+
"output_required": false,
|
4944
4963
|
"type": "string",
|
4945
4964
|
"value_allowed_null": false
|
4946
4965
|
},
|