tccli 3.0.1090.1__py2.py3-none-any.whl → 3.0.1092.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/ccc/v20200210/UploadIvrAudio.md +16 -1
- tccli/examples/cdb/v20170320/CheckMigrateCluster.md +18 -0
- tccli/examples/cdb/v20170320/DescribeClusterInfo.md +59 -0
- tccli/examples/csip/v20221121/DescribeAssetViewVulRiskList.md +5 -302
- tccli/examples/domain/v20180808/BidPreDomains.md +21 -0
- tccli/examples/domain/v20180808/DescribeReservedBidInfo.md +43 -0
- tccli/examples/domain/v20180808/DescribeReservedPreDomainInfo.md +31 -0
- tccli/examples/es/v20180416/UpdateInstance.md +27 -27
- tccli/examples/es/v20180416/UpdatePlugins.md +6 -6
- tccli/examples/ess/v20201111/CreateBatchOrganizationRegistrationTasks.md +146 -0
- tccli/examples/ess/v20201111/CreateOrganizationAuthUrl.md +18 -0
- tccli/examples/ess/v20201111/CreateOrganizationBatchSignUrl.md +28 -0
- tccli/examples/gs/v20191118/StartPublishStreamToCSS.md +20 -0
- tccli/examples/hunyuan/v20230901/ChatPro.md +69 -31
- tccli/examples/hunyuan/v20230901/ChatStd.md +40 -1
- tccli/examples/lke/v20231130/CheckAttributeLabelExist.md +24 -0
- tccli/examples/lke/v20231130/CheckAttributeLabelRefer.md +23 -0
- tccli/examples/lke/v20231130/CreateApp.md +24 -0
- tccli/examples/lke/v20231130/CreateAttributeLabel.md +24 -0
- tccli/examples/lke/v20231130/CreateCorp.md +24 -0
- tccli/examples/lke/v20231130/CreateQA.md +24 -0
- tccli/examples/lke/v20231130/CreateQACate.md +26 -0
- tccli/examples/lke/v20231130/CreateRejectedQuestion.md +22 -0
- tccli/examples/lke/v20231130/CreateRelease.md +21 -0
- tccli/examples/lke/v20231130/DeleteApp.md +21 -0
- tccli/examples/lke/v20231130/DeleteAttributeLabel.md +21 -0
- tccli/examples/lke/v20231130/DeleteDoc.md +21 -0
- tccli/examples/lke/v20231130/DeleteQA.md +21 -0
- tccli/examples/lke/v20231130/DeleteQACate.md +21 -0
- tccli/examples/lke/v20231130/DeleteRejectedQuestion.md +21 -0
- tccli/examples/lke/v20231130/DescribeApp.md +29 -0
- tccli/examples/lke/v20231130/DescribeAttributeLabel.md +28 -0
- tccli/examples/lke/v20231130/DescribeCorp.md +21 -0
- tccli/examples/lke/v20231130/DescribeDoc.md +44 -0
- tccli/examples/lke/v20231130/DescribeQA.md +42 -0
- tccli/examples/lke/v20231130/DescribeRefer.md +35 -0
- tccli/examples/lke/v20231130/DescribeRelease.md +25 -0
- tccli/examples/lke/v20231130/DescribeReleaseInfo.md +24 -0
- tccli/examples/lke/v20231130/DescribeRobotBizIDByAppKey.md +21 -0
- tccli/examples/lke/v20231130/DescribeStorageCredential.md +32 -0
- tccli/examples/lke/v20231130/DescribeUnsatisfiedReplyContext.md +121 -0
- tccli/examples/lke/v20231130/ExportAttributeLabel.md +21 -0
- tccli/examples/lke/v20231130/ExportQAList.md +21 -0
- tccli/examples/lke/v20231130/ExportUnsatisfiedReply.md +21 -0
- tccli/examples/lke/v20231130/GenerateQA.md +21 -0
- tccli/examples/lke/v20231130/GetAppKnowledgeCount.md +22 -0
- tccli/examples/lke/v20231130/GetAppSecret.md +24 -0
- tccli/examples/lke/v20231130/GetDocPreview.md +26 -0
- tccli/examples/lke/v20231130/GetEmbedding.md +29 -0
- tccli/examples/lke/v20231130/GetMsgRecord.md +51 -0
- tccli/examples/lke/v20231130/GetTaskStatus.md +0 -0
- tccli/examples/lke/v20231130/GetWsToken.md +44 -0
- tccli/examples/lke/v20231130/GroupQA.md +44 -0
- tccli/examples/lke/v20231130/IgnoreUnsatisfiedReply.md +21 -0
- tccli/examples/lke/v20231130/IsTransferIntent.md +22 -0
- tccli/examples/lke/v20231130/ListApp.md +36 -0
- tccli/examples/lke/v20231130/ListAppCategory.md +25 -0
- tccli/examples/lke/v20231130/ListAttributeLabel.md +33 -0
- tccli/examples/lke/v20231130/ListDoc.md +52 -0
- tccli/examples/lke/v20231130/ListModel.md +31 -0
- tccli/examples/lke/v20231130/ListQA.md +66 -0
- tccli/examples/lke/v20231130/ListQACate.md +41 -0
- tccli/examples/lke/v20231130/ListRejectedQuestion.md +52 -0
- tccli/examples/lke/v20231130/ListRejectedQuestionPreview.md +37 -0
- tccli/examples/lke/v20231130/ListRelease.md +36 -0
- tccli/examples/lke/v20231130/ListReleaseConfigPreview.md +129 -0
- tccli/examples/lke/v20231130/ListReleaseDocPreview.md +38 -0
- tccli/examples/lke/v20231130/ListReleaseQAPreview.md +107 -0
- tccli/examples/lke/v20231130/ListSelectDoc.md +27 -0
- tccli/examples/lke/v20231130/ListUnsatisfiedReply.md +24 -0
- tccli/examples/lke/v20231130/ModifyApp.md +25 -0
- tccli/examples/lke/v20231130/ModifyAttributeLabel.md +23 -0
- tccli/examples/lke/v20231130/ModifyDoc.md +25 -0
- tccli/examples/lke/v20231130/ModifyDocAttrRange.md +25 -0
- tccli/examples/lke/v20231130/ModifyQA.md +24 -0
- tccli/examples/lke/v20231130/ModifyQAAttrRange.md +25 -0
- tccli/examples/lke/v20231130/ModifyQACate.md +22 -0
- tccli/examples/lke/v20231130/ModifyRejectedQuestion.md +22 -0
- tccli/examples/lke/v20231130/ParseDoc.md +25 -0
- tccli/examples/lke/v20231130/QueryParseDocResult.md +24 -0
- tccli/examples/lke/v20231130/QueryRewrite.md +25 -0
- tccli/examples/lke/v20231130/RateMsgRecord.md +22 -0
- tccli/examples/lke/v20231130/ResetSession.md +20 -0
- tccli/examples/lke/v20231130/RetryDocAudit.md +21 -0
- tccli/examples/lke/v20231130/RetryDocParse.md +21 -0
- tccli/examples/lke/v20231130/RetryRelease.md +21 -0
- tccli/examples/lke/v20231130/SaveDoc.md +34 -0
- tccli/examples/lke/v20231130/StopDocParse.md +21 -0
- tccli/examples/lke/v20231130/UploadAttributeLabel.md +27 -0
- tccli/examples/lke/v20231130/VerifyQA.md +27 -0
- tccli/examples/mna/v20210119/GetFlowPackages.md +3 -1
- tccli/examples/mna/v20210119/GetFlowStatistic.md +42 -0
- tccli/examples/ocr/v20181119/GeneralBasicOCR.md +0 -1
- tccli/examples/organization/v20210331/AddOrganizationNode.md +1 -1
- tccli/examples/organization/v20210331/BindOrganizationMemberAuthAccount.md +3 -3
- tccli/examples/organization/v20210331/CancelOrganizationMemberAuthAccount.md +3 -3
- tccli/examples/organization/v20210331/CheckAccountDelete.md +5 -5
- tccli/examples/organization/v20210331/CreateOrganizationMember.md +2 -2
- tccli/examples/organization/v20210331/CreateOrganizationMemberAuthIdentity.md +1 -1
- tccli/examples/organization/v20210331/CreateOrganizationMemberPolicy.md +5 -5
- tccli/examples/organization/v20210331/CreateOrganizationMembersPolicy.md +2 -2
- tccli/examples/organization/v20210331/DeleteOrganizationMembers.md +1 -1
- tccli/examples/organization/v20210331/DeleteOrganizationNodes.md +1 -1
- tccli/examples/organization/v20210331/DeleteShareUnitResources.md +1 -1
- tccli/examples/organization/v20210331/DescribeOrganizationMemberAuthAccounts.md +2 -2
- tccli/examples/organization/v20210331/DescribeOrganizationMemberPolicies.md +1 -1
- tccli/examples/organization/v20210331/MoveOrganizationNodeMembers.md +2 -2
- tccli/examples/organization/v20210331/QuitOrganization.md +1 -1
- tccli/examples/organization/v20210331/UpdateOrganizationMember.md +2 -2
- tccli/examples/organization/v20210331/UpdateOrganizationMemberEmailBind.md +3 -3
- tccli/examples/organization/v20210331/UpdateOrganizationNode.md +3 -2
- tccli/examples/sqlserver/v20180328/DescribeDBInstancesAttribute.md +7 -1
- tccli/examples/sqlserver/v20180328/DescribeRestoreTimeRange.md +23 -0
- tccli/examples/ssl/v20191205/DeployCertificateInstance.md +26 -1
- tccli/examples/tione/v20211111/CreateBatchTask.md +1 -0
- tccli/services/__init__.py +3 -0
- tccli/services/aiart/v20221229/api.json +7 -7
- tccli/services/antiddos/v20200309/api.json +10 -0
- tccli/services/asr/v20190614/api.json +6 -6
- tccli/services/captcha/v20190722/api.json +75 -31
- tccli/services/ccc/v20200210/api.json +10 -0
- tccli/services/ccc/v20200210/examples.json +1 -1
- tccli/services/cdb/cdb_client.py +106 -0
- tccli/services/cdb/v20170320/api.json +255 -0
- tccli/services/cdb/v20170320/examples.json +16 -0
- tccli/services/cdn/v20180606/api.json +4 -4
- tccli/services/cfg/v20210820/api.json +30 -33
- tccli/services/ckafka/v20190819/api.json +29 -24
- tccli/services/csip/v20221121/api.json +17 -11
- tccli/services/csip/v20221121/examples.json +1 -1
- tccli/services/domain/domain_client.py +114 -8
- tccli/services/domain/v20180808/api.json +174 -1
- tccli/services/domain/v20180808/examples.json +22 -0
- tccli/services/dts/v20211206/api.json +22 -2
- tccli/services/es/v20180416/api.json +12 -12
- tccli/services/es/v20180416/examples.json +21 -21
- tccli/services/ess/ess_client.py +149 -43
- tccli/services/ess/v20201111/api.json +215 -5
- tccli/services/ess/v20201111/examples.json +34 -0
- tccli/services/essbasic/v20210526/api.json +15 -15
- tccli/services/faceid/v20180301/api.json +14 -5
- tccli/services/gs/gs_client.py +53 -0
- tccli/services/gs/v20191118/api.json +43 -0
- tccli/services/gs/v20191118/examples.json +8 -0
- tccli/services/hunyuan/v20230901/api.json +67 -21
- tccli/services/hunyuan/v20230901/examples.json +17 -5
- tccli/services/iai/v20180301/api.json +19 -19
- tccli/services/iss/v20230517/api.json +38 -0
- tccli/services/live/v20180801/api.json +12 -12
- tccli/services/lke/__init__.py +4 -0
- tccli/services/lke/lke_client.py +4117 -0
- tccli/services/lke/v20231130/api.json +9010 -0
- tccli/services/lke/v20231130/examples.json +617 -0
- tccli/services/mna/v20210119/api.json +249 -29
- tccli/services/mna/v20210119/examples.json +7 -1
- tccli/services/monitor/monitor_client.py +0 -53
- tccli/services/monitor/v20180724/api.json +30 -62
- tccli/services/monitor/v20180724/examples.json +0 -8
- tccli/services/ocr/v20181119/api.json +5 -0
- tccli/services/ocr/v20181119/examples.json +1 -1
- tccli/services/organization/v20210331/api.json +128 -119
- tccli/services/organization/v20210331/examples.json +24 -24
- tccli/services/redis/v20180412/api.json +1 -1
- tccli/services/scf/v20180416/api.json +18 -9
- tccli/services/sms/v20210111/api.json +1 -1
- tccli/services/soe/v20180724/api.json +13 -13
- tccli/services/sqlserver/sqlserver_client.py +110 -57
- tccli/services/sqlserver/v20180328/api.json +109 -0
- tccli/services/sqlserver/v20180328/examples.json +9 -1
- tccli/services/ssl/v20191205/examples.json +7 -1
- tccli/services/tione/v20211111/api.json +61 -4
- tccli/services/tione/v20211111/examples.json +1 -1
- tccli/services/trtc/v20190722/api.json +79 -10
- tccli/services/wedata/v20210820/api.json +295 -1437
- tccli/services/wedata/v20210820/examples.json +0 -88
- tccli/services/wedata/wedata_client.py +33 -616
- {tccli-3.0.1090.1.dist-info → tccli-3.0.1092.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1090.1.dist-info → tccli-3.0.1092.1.dist-info}/RECORD +182 -95
- {tccli-3.0.1090.1.dist-info → tccli-3.0.1092.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1090.1.dist-info → tccli-3.0.1092.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1090.1.dist-info → tccli-3.0.1092.1.dist-info}/license_files/LICENSE +0 -0
@@ -69,7 +69,7 @@ def doSetDomainAutoRenew(args, parsed_globals):
|
|
69
69
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
70
70
|
|
71
71
|
|
72
|
-
def
|
72
|
+
def doDescribeReservedBidInfo(args, parsed_globals):
|
73
73
|
g_param = parse_global_arg(parsed_globals)
|
74
74
|
|
75
75
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -98,11 +98,11 @@ def doModifyCustomDnsHost(args, parsed_globals):
|
|
98
98
|
client = mod.DomainClient(cred, g_param[OptionsDefine.Region], profile)
|
99
99
|
client._sdkVersion += ("_CLI_" + __version__)
|
100
100
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
101
|
-
model = models.
|
101
|
+
model = models.DescribeReservedBidInfoRequest()
|
102
102
|
model.from_json_string(json.dumps(args))
|
103
103
|
start_time = time.time()
|
104
104
|
while True:
|
105
|
-
rsp = client.
|
105
|
+
rsp = client.DescribeReservedBidInfo(model)
|
106
106
|
result = rsp.to_json_string()
|
107
107
|
try:
|
108
108
|
json_obj = json.loads(result)
|
@@ -225,6 +225,58 @@ def doTransferInDomainBatch(args, parsed_globals):
|
|
225
225
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
226
226
|
|
227
227
|
|
228
|
+
def doDeletePhoneEmail(args, parsed_globals):
|
229
|
+
g_param = parse_global_arg(parsed_globals)
|
230
|
+
|
231
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
232
|
+
cred = credential.CVMRoleCredential()
|
233
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
234
|
+
cred = credential.STSAssumeRoleCredential(
|
235
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
236
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
237
|
+
)
|
238
|
+
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):
|
239
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
240
|
+
else:
|
241
|
+
cred = credential.Credential(
|
242
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
243
|
+
)
|
244
|
+
http_profile = HttpProfile(
|
245
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
246
|
+
reqMethod="POST",
|
247
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
248
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
249
|
+
)
|
250
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
251
|
+
if g_param[OptionsDefine.Language]:
|
252
|
+
profile.language = g_param[OptionsDefine.Language]
|
253
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
254
|
+
client = mod.DomainClient(cred, g_param[OptionsDefine.Region], profile)
|
255
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
256
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
257
|
+
model = models.DeletePhoneEmailRequest()
|
258
|
+
model.from_json_string(json.dumps(args))
|
259
|
+
start_time = time.time()
|
260
|
+
while True:
|
261
|
+
rsp = client.DeletePhoneEmail(model)
|
262
|
+
result = rsp.to_json_string()
|
263
|
+
try:
|
264
|
+
json_obj = json.loads(result)
|
265
|
+
except TypeError as e:
|
266
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
267
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
268
|
+
break
|
269
|
+
cur_time = time.time()
|
270
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
271
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
272
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
273
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
274
|
+
else:
|
275
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
276
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
277
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
278
|
+
|
279
|
+
|
228
280
|
def doDescribePreDomainList(args, parsed_globals):
|
229
281
|
g_param = parse_global_arg(parsed_globals)
|
230
282
|
|
@@ -277,6 +329,58 @@ def doDescribePreDomainList(args, parsed_globals):
|
|
277
329
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
278
330
|
|
279
331
|
|
332
|
+
def doBidPreDomains(args, parsed_globals):
|
333
|
+
g_param = parse_global_arg(parsed_globals)
|
334
|
+
|
335
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
336
|
+
cred = credential.CVMRoleCredential()
|
337
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
338
|
+
cred = credential.STSAssumeRoleCredential(
|
339
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
340
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
341
|
+
)
|
342
|
+
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):
|
343
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
344
|
+
else:
|
345
|
+
cred = credential.Credential(
|
346
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
347
|
+
)
|
348
|
+
http_profile = HttpProfile(
|
349
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
350
|
+
reqMethod="POST",
|
351
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
352
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
353
|
+
)
|
354
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
355
|
+
if g_param[OptionsDefine.Language]:
|
356
|
+
profile.language = g_param[OptionsDefine.Language]
|
357
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
358
|
+
client = mod.DomainClient(cred, g_param[OptionsDefine.Region], profile)
|
359
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
360
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
361
|
+
model = models.BidPreDomainsRequest()
|
362
|
+
model.from_json_string(json.dumps(args))
|
363
|
+
start_time = time.time()
|
364
|
+
while True:
|
365
|
+
rsp = client.BidPreDomains(model)
|
366
|
+
result = rsp.to_json_string()
|
367
|
+
try:
|
368
|
+
json_obj = json.loads(result)
|
369
|
+
except TypeError as e:
|
370
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
371
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
372
|
+
break
|
373
|
+
cur_time = time.time()
|
374
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
375
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
376
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
377
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
378
|
+
else:
|
379
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
380
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
381
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
382
|
+
|
383
|
+
|
280
384
|
def doDescribeCustomDnsHostSet(args, parsed_globals):
|
281
385
|
g_param = parse_global_arg(parsed_globals)
|
282
386
|
|
@@ -1941,7 +2045,7 @@ def doDescribeDomainPriceList(args, parsed_globals):
|
|
1941
2045
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1942
2046
|
|
1943
2047
|
|
1944
|
-
def
|
2048
|
+
def doModifyCustomDnsHost(args, parsed_globals):
|
1945
2049
|
g_param = parse_global_arg(parsed_globals)
|
1946
2050
|
|
1947
2051
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1970,11 +2074,11 @@ def doDeletePhoneEmail(args, parsed_globals):
|
|
1970
2074
|
client = mod.DomainClient(cred, g_param[OptionsDefine.Region], profile)
|
1971
2075
|
client._sdkVersion += ("_CLI_" + __version__)
|
1972
2076
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1973
|
-
model = models.
|
2077
|
+
model = models.ModifyCustomDnsHostRequest()
|
1974
2078
|
model.from_json_string(json.dumps(args))
|
1975
2079
|
start_time = time.time()
|
1976
2080
|
while True:
|
1977
|
-
rsp = client.
|
2081
|
+
rsp = client.ModifyCustomDnsHost(model)
|
1978
2082
|
result = rsp.to_json_string()
|
1979
2083
|
try:
|
1980
2084
|
json_obj = json.loads(result)
|
@@ -2005,10 +2109,12 @@ MODELS_MAP = {
|
|
2005
2109
|
|
2006
2110
|
ACTION_MAP = {
|
2007
2111
|
"SetDomainAutoRenew": doSetDomainAutoRenew,
|
2008
|
-
"
|
2112
|
+
"DescribeReservedBidInfo": doDescribeReservedBidInfo,
|
2009
2113
|
"CheckBatchStatus": doCheckBatchStatus,
|
2010
2114
|
"TransferInDomainBatch": doTransferInDomainBatch,
|
2115
|
+
"DeletePhoneEmail": doDeletePhoneEmail,
|
2011
2116
|
"DescribePreDomainList": doDescribePreDomainList,
|
2117
|
+
"BidPreDomains": doBidPreDomains,
|
2012
2118
|
"DescribeCustomDnsHostSet": doDescribeCustomDnsHostSet,
|
2013
2119
|
"DescribeDomainNameList": doDescribeDomainNameList,
|
2014
2120
|
"ModifyIntlCustomDnsHost": doModifyIntlCustomDnsHost,
|
@@ -2041,7 +2147,7 @@ ACTION_MAP = {
|
|
2041
2147
|
"DescribeDomainSimpleInfo": doDescribeDomainSimpleInfo,
|
2042
2148
|
"SendPhoneEmailCode": doSendPhoneEmailCode,
|
2043
2149
|
"DescribeDomainPriceList": doDescribeDomainPriceList,
|
2044
|
-
"
|
2150
|
+
"ModifyCustomDnsHost": doModifyCustomDnsHost,
|
2045
2151
|
|
2046
2152
|
}
|
2047
2153
|
|
@@ -7,6 +7,13 @@
|
|
7
7
|
"output": "BatchModifyDomainInfoResponse",
|
8
8
|
"status": "online"
|
9
9
|
},
|
10
|
+
"BidPreDomains": {
|
11
|
+
"document": "用户合作商预释放出价",
|
12
|
+
"input": "BidPreDomainsRequest",
|
13
|
+
"name": "合作商预释放域名出价",
|
14
|
+
"output": "BidPreDomainsResponse",
|
15
|
+
"status": "online"
|
16
|
+
},
|
10
17
|
"CheckBatchStatus": {
|
11
18
|
"document": "本接口 ( CheckBatchStatus ) 用于查询批量操作日志状态 。",
|
12
19
|
"input": "CheckBatchStatusRequest",
|
@@ -147,6 +154,13 @@
|
|
147
154
|
"output": "DescribePreDomainListResponse",
|
148
155
|
"status": "online"
|
149
156
|
},
|
157
|
+
"DescribeReservedBidInfo": {
|
158
|
+
"document": "接口用于获取合作商竞价过程中竞价详情数据",
|
159
|
+
"input": "DescribeReservedBidInfoRequest",
|
160
|
+
"name": "合作商查询竞价信息",
|
161
|
+
"output": "DescribeReservedBidInfoResponse",
|
162
|
+
"status": "online"
|
163
|
+
},
|
150
164
|
"DescribeReservedPreDomainInfo": {
|
151
165
|
"document": "合作商用于查询预约预释放状态信息内容",
|
152
166
|
"input": "DescribeReservedPreDomainInfoRequest",
|
@@ -365,6 +379,42 @@
|
|
365
379
|
],
|
366
380
|
"usage": "out"
|
367
381
|
},
|
382
|
+
"BidPreDomainsRequest": {
|
383
|
+
"document": "BidPreDomains请求参数结构体",
|
384
|
+
"members": [
|
385
|
+
{
|
386
|
+
"disabled": false,
|
387
|
+
"document": "业务ID",
|
388
|
+
"example": "无",
|
389
|
+
"member": "string",
|
390
|
+
"name": "BusinessId",
|
391
|
+
"required": false,
|
392
|
+
"type": "string"
|
393
|
+
},
|
394
|
+
{
|
395
|
+
"disabled": false,
|
396
|
+
"document": "价格",
|
397
|
+
"example": "无",
|
398
|
+
"member": "int64",
|
399
|
+
"name": "Price",
|
400
|
+
"required": false,
|
401
|
+
"type": "int"
|
402
|
+
}
|
403
|
+
],
|
404
|
+
"type": "object"
|
405
|
+
},
|
406
|
+
"BidPreDomainsResponse": {
|
407
|
+
"document": "BidPreDomains返回参数结构体",
|
408
|
+
"members": [
|
409
|
+
{
|
410
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
411
|
+
"member": "string",
|
412
|
+
"name": "RequestId",
|
413
|
+
"type": "string"
|
414
|
+
}
|
415
|
+
],
|
416
|
+
"type": "object"
|
417
|
+
},
|
368
418
|
"CertificateInfo": {
|
369
419
|
"document": "认证资料信息",
|
370
420
|
"members": [
|
@@ -1821,6 +1871,73 @@
|
|
1821
1871
|
],
|
1822
1872
|
"type": "object"
|
1823
1873
|
},
|
1874
|
+
"DescribeReservedBidInfoRequest": {
|
1875
|
+
"document": "DescribeReservedBidInfo请求参数结构体",
|
1876
|
+
"members": [
|
1877
|
+
{
|
1878
|
+
"disabled": false,
|
1879
|
+
"document": "业务ID",
|
1880
|
+
"example": "P0011708628496386771",
|
1881
|
+
"member": "string",
|
1882
|
+
"name": "BusinessId",
|
1883
|
+
"required": true,
|
1884
|
+
"type": "string"
|
1885
|
+
}
|
1886
|
+
],
|
1887
|
+
"type": "object"
|
1888
|
+
},
|
1889
|
+
"DescribeReservedBidInfoResponse": {
|
1890
|
+
"document": "DescribeReservedBidInfo返回参数结构体",
|
1891
|
+
"members": [
|
1892
|
+
{
|
1893
|
+
"disabled": false,
|
1894
|
+
"document": "竞价领先价格",
|
1895
|
+
"example": "500",
|
1896
|
+
"member": "int64",
|
1897
|
+
"name": "UpPrice",
|
1898
|
+
"output_required": true,
|
1899
|
+
"type": "int",
|
1900
|
+
"value_allowed_null": false
|
1901
|
+
},
|
1902
|
+
{
|
1903
|
+
"disabled": false,
|
1904
|
+
"document": "请求用户当前价格",
|
1905
|
+
"example": "100",
|
1906
|
+
"member": "int64",
|
1907
|
+
"name": "Price",
|
1908
|
+
"output_required": true,
|
1909
|
+
"type": "int",
|
1910
|
+
"value_allowed_null": false
|
1911
|
+
},
|
1912
|
+
{
|
1913
|
+
"disabled": false,
|
1914
|
+
"document": "领先用户",
|
1915
|
+
"example": "无",
|
1916
|
+
"member": "string",
|
1917
|
+
"name": "UpUser",
|
1918
|
+
"output_required": true,
|
1919
|
+
"type": "string",
|
1920
|
+
"value_allowed_null": false
|
1921
|
+
},
|
1922
|
+
{
|
1923
|
+
"disabled": false,
|
1924
|
+
"document": "竞价详细数据\n注意:此字段可能返回 null,表示取不到有效值。",
|
1925
|
+
"example": "无",
|
1926
|
+
"member": "ReserveBidInfo",
|
1927
|
+
"name": "BidList",
|
1928
|
+
"output_required": false,
|
1929
|
+
"type": "list",
|
1930
|
+
"value_allowed_null": true
|
1931
|
+
},
|
1932
|
+
{
|
1933
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1934
|
+
"member": "string",
|
1935
|
+
"name": "RequestId",
|
1936
|
+
"type": "string"
|
1937
|
+
}
|
1938
|
+
],
|
1939
|
+
"type": "object"
|
1940
|
+
},
|
1824
1941
|
"DescribeReservedPreDomainInfoRequest": {
|
1825
1942
|
"document": "DescribeReservedPreDomainInfo请求参数结构体",
|
1826
1943
|
"members": [
|
@@ -1835,7 +1952,7 @@
|
|
1835
1952
|
},
|
1836
1953
|
{
|
1837
1954
|
"disabled": false,
|
1838
|
-
"document": "状态,用于筛选,可不填写(1.
|
1955
|
+
"document": "状态,用于筛选,可不填写(1. 成功 2. 失败(失败Reason字段将会被赋值)3. 域名交割中 4. 域名交割完成 5. 预约 6. 竞价)",
|
1839
1956
|
"example": "无",
|
1840
1957
|
"member": "int64",
|
1841
1958
|
"name": "ReservedStatus",
|
@@ -3100,6 +3217,52 @@
|
|
3100
3217
|
],
|
3101
3218
|
"type": "object"
|
3102
3219
|
},
|
3220
|
+
"ReserveBidInfo": {
|
3221
|
+
"document": "合作商竞价详情",
|
3222
|
+
"members": [
|
3223
|
+
{
|
3224
|
+
"disabled": false,
|
3225
|
+
"document": "用户\n注意:此字段可能返回 null,表示取不到有效值。",
|
3226
|
+
"example": "无",
|
3227
|
+
"member": "string",
|
3228
|
+
"name": "User",
|
3229
|
+
"output_required": false,
|
3230
|
+
"type": "string",
|
3231
|
+
"value_allowed_null": true
|
3232
|
+
},
|
3233
|
+
{
|
3234
|
+
"disabled": false,
|
3235
|
+
"document": "出价\n注意:此字段可能返回 null,表示取不到有效值。",
|
3236
|
+
"example": "无",
|
3237
|
+
"member": "int64",
|
3238
|
+
"name": "Price",
|
3239
|
+
"output_required": false,
|
3240
|
+
"type": "int",
|
3241
|
+
"value_allowed_null": true
|
3242
|
+
},
|
3243
|
+
{
|
3244
|
+
"disabled": false,
|
3245
|
+
"document": "出价时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
3246
|
+
"example": "无",
|
3247
|
+
"member": "string",
|
3248
|
+
"name": "BidTime",
|
3249
|
+
"output_required": false,
|
3250
|
+
"type": "string",
|
3251
|
+
"value_allowed_null": true
|
3252
|
+
},
|
3253
|
+
{
|
3254
|
+
"disabled": false,
|
3255
|
+
"document": "当前状态\n注意:此字段可能返回 null,表示取不到有效值。",
|
3256
|
+
"example": "无",
|
3257
|
+
"member": "string",
|
3258
|
+
"name": "BidStatus",
|
3259
|
+
"output_required": false,
|
3260
|
+
"type": "string",
|
3261
|
+
"value_allowed_null": true
|
3262
|
+
}
|
3263
|
+
],
|
3264
|
+
"usage": "out"
|
3265
|
+
},
|
3103
3266
|
"ReservedDomainInfo": {
|
3104
3267
|
"document": "查询预释放预约列表域名详情",
|
3105
3268
|
"members": [
|
@@ -3238,6 +3401,16 @@
|
|
3238
3401
|
"output_required": false,
|
3239
3402
|
"type": "string",
|
3240
3403
|
"value_allowed_null": true
|
3404
|
+
},
|
3405
|
+
{
|
3406
|
+
"disabled": false,
|
3407
|
+
"document": "业务ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
3408
|
+
"example": "R0011708628496445392",
|
3409
|
+
"member": "string",
|
3410
|
+
"name": "BusinessId",
|
3411
|
+
"output_required": false,
|
3412
|
+
"type": "string",
|
3413
|
+
"value_allowed_null": true
|
3241
3414
|
}
|
3242
3415
|
],
|
3243
3416
|
"usage": "out"
|
@@ -8,6 +8,14 @@
|
|
8
8
|
"title": "批量域名信息修改"
|
9
9
|
}
|
10
10
|
],
|
11
|
+
"BidPreDomains": [
|
12
|
+
{
|
13
|
+
"document": "成功示例",
|
14
|
+
"input": "POST / HTTP/1.1\nHost: domain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BidPreDomains\n<公共请求参数>\n\n{\n \"BusinessId\": \"P0011712825815133328\",\n \"Price\": 5000\n}",
|
15
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"ec312415-2f61-4a18-987d-d69e55a2847c\"\n }\n}",
|
16
|
+
"title": "请求成功示例"
|
17
|
+
}
|
18
|
+
],
|
11
19
|
"CheckBatchStatus": [
|
12
20
|
{
|
13
21
|
"document": "",
|
@@ -168,12 +176,26 @@
|
|
168
176
|
"title": "成功示例"
|
169
177
|
}
|
170
178
|
],
|
179
|
+
"DescribeReservedBidInfo": [
|
180
|
+
{
|
181
|
+
"document": "成功示例",
|
182
|
+
"input": "POST / HTTP/1.1\nHost: domain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeReservedBidInfo\n<公共请求参数>\n\n{\n \"BusinessId\": \"P0011712825815133328\"\n}",
|
183
|
+
"output": "{\n \"Response\": {\n \"BidList\": [\n {\n \"BidStatus\": \"up\",\n \"BidTime\": \"17:19:30\",\n \"Price\": 210,\n \"User\": \"roy***@tencent.com\"\n },\n {\n \"BidStatus\": \"down\",\n \"BidTime\": \"17:18:45\",\n \"Price\": 200,\n \"User\": \"155***@qq.com\"\n },\n {\n \"BidStatus\": \"down\",\n \"BidTime\": \"17:15:24\",\n \"Price\": 190,\n \"User\": \"roy***@tencent.com\"\n }\n ],\n \"Price\": 200,\n \"RequestId\": \"43271422-1fe8-4af5-99ff-afc140ea35b2\",\n \"UpPrice\": 210,\n \"UpUser\": \"roy***@tencent.com\"\n }\n}",
|
184
|
+
"title": "请求成功示例"
|
185
|
+
}
|
186
|
+
],
|
171
187
|
"DescribeReservedPreDomainInfo": [
|
172
188
|
{
|
173
189
|
"document": "",
|
174
190
|
"input": "POST / HTTP/1.1\nHost: domain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeReservedPreDomainInfo\n<公共请求参数>\n\n{\n \"DomainList\": [\n \"abc\"\n ],\n \"ReservedStatus\": 0,\n \"ReservedTimeSort\": \"abc\",\n \"Limit\": 0,\n \"Offset\": 0\n}",
|
175
191
|
"output": "{\n \"Response\": {\n \"ReservedPreDomainInfoList\": [\n {\n \"Domain\": \"abc\",\n \"ReservedStatus\": 0,\n \"FailReason\": \"abc\",\n \"ChangeOwnerTime\": \"abc\",\n \"RegTime\": \"abc\",\n \"ExpireTime\": \"abc\",\n \"ResourceId\": \"abc\"\n }\n ],\n \"Total\": 0,\n \"RequestId\": \"abc\"\n }\n}",
|
176
192
|
"title": "成功示例"
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"document": "请求成功获取参数示例",
|
196
|
+
"input": "POST / HTTP/1.1\nHost: domain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeReservedPreDomainInfo\n<公共请求参数>\n\n{}",
|
197
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a6bd9e77-517f-4fd8-9ee9-f7042b7ae847\",\n \"ReservedPreDomainInfoList\": [\n {\n \"BusinessId\": \"P0011712734968570466\",\n \"ChangeOwnerTime\": \"2024-03-15 08:40:34\",\n \"Domain\": \"fdasfasfdsaf.com\",\n \"ExpireTime\": \"2024-01-14 08:40:34\",\n \"FailReason\": \"\",\n \"RegTime\": \"2020-01-14 08:40:34\",\n \"ReservedStatus\": 6,\n \"ResourceId\": \"R0011712734968672830\"\n }\n ],\n \"Total\": 1\n }\n}",
|
198
|
+
"title": "请求成功示例"
|
177
199
|
}
|
178
200
|
],
|
179
201
|
"DescribeTemplate": [
|
@@ -1518,6 +1518,15 @@
|
|
1518
1518
|
"required": false,
|
1519
1519
|
"type": "string"
|
1520
1520
|
},
|
1521
|
+
{
|
1522
|
+
"disabled": false,
|
1523
|
+
"document": "源端tdsql连接方式:proxy-通过tdsql proxy主机访问各个set节点,注意只有在自研上云的网络环境下才能通过这种方式连接,SrcInfos中只需要提供proxy主机信息。set-直连set节点,如选择直连set方式,需要正确填写proxy主机信息及所有set节点信息。源端是tdsqlmysql类型必填。",
|
1524
|
+
"example": "proxy",
|
1525
|
+
"member": "string",
|
1526
|
+
"name": "SrcConnectType",
|
1527
|
+
"required": false,
|
1528
|
+
"type": "string"
|
1529
|
+
},
|
1521
1530
|
{
|
1522
1531
|
"disabled": false,
|
1523
1532
|
"document": "源端信息,单节点数据库使用,且SrcNodeType传single",
|
@@ -2374,6 +2383,17 @@
|
|
2374
2383
|
"required": false,
|
2375
2384
|
"type": "string",
|
2376
2385
|
"value_allowed_null": true
|
2386
|
+
},
|
2387
|
+
{
|
2388
|
+
"disabled": false,
|
2389
|
+
"document": "tdsql连接方式:proxy-通过tdsql proxy主机访问各个set节点,注意只有在自研上云的网络环境下才能通过这种方式连接,Info中只需要提供proxy主机信息。set-直连set节点,如选择直连set方式,Info中需要正确填写proxy主机信息及所有set节点信息。源端是tdsqlmysql类型必填。\n注意:此字段可能返回 null,表示取不到有效值。",
|
2390
|
+
"example": "proxy",
|
2391
|
+
"member": "string",
|
2392
|
+
"name": "ConnectType",
|
2393
|
+
"output_required": false,
|
2394
|
+
"required": false,
|
2395
|
+
"type": "string",
|
2396
|
+
"value_allowed_null": true
|
2377
2397
|
}
|
2378
2398
|
],
|
2379
2399
|
"usage": "both"
|
@@ -2383,7 +2403,7 @@
|
|
2383
2403
|
"members": [
|
2384
2404
|
{
|
2385
2405
|
"disabled": false,
|
2386
|
-
"document": "表示节点角色,针对分布式数据库,如mongodb中的mongos
|
2406
|
+
"document": "表示节点角色,针对分布式数据库,如mongodb中的mongos节点。tdsqlmysql的可选项:proxy表示节点类型为主机,set表示节点类型为节点。proxy类型必须填在数组第一项。tdsqlmysql类型的源/目标配置必填。\n注意:此字段可能返回 null,表示取不到有效值。",
|
2387
2407
|
"example": "mongos",
|
2388
2408
|
"member": "string",
|
2389
2409
|
"name": "Role",
|
@@ -2603,7 +2623,7 @@
|
|
2603
2623
|
},
|
2604
2624
|
{
|
2605
2625
|
"disabled": false,
|
2606
|
-
"document": "tdsql
|
2626
|
+
"document": "tdsql的分片id。如节点类型为set必填。\n注意:此字段可能返回 null,表示取不到有效值。",
|
2607
2627
|
"example": "set_1693279393_1",
|
2608
2628
|
"member": "string",
|
2609
2629
|
"name": "SetId",
|
@@ -1611,13 +1611,22 @@
|
|
1611
1611
|
"CreateServerlessInstanceRequest": {
|
1612
1612
|
"document": "CreateServerlessInstance请求参数结构体",
|
1613
1613
|
"members": [
|
1614
|
+
{
|
1615
|
+
"disabled": false,
|
1616
|
+
"document": "索引名,需以-AppId结尾",
|
1617
|
+
"example": "test-12345678",
|
1618
|
+
"member": "string",
|
1619
|
+
"name": "IndexName",
|
1620
|
+
"required": true,
|
1621
|
+
"type": "string"
|
1622
|
+
},
|
1614
1623
|
{
|
1615
1624
|
"disabled": false,
|
1616
1625
|
"document": "可用区",
|
1617
1626
|
"example": "ap-guangzhou-3",
|
1618
1627
|
"member": "string",
|
1619
1628
|
"name": "Zone",
|
1620
|
-
"required":
|
1629
|
+
"required": false,
|
1621
1630
|
"type": "string"
|
1622
1631
|
},
|
1623
1632
|
{
|
@@ -1626,7 +1635,7 @@
|
|
1626
1635
|
"example": "vpc-xxxxxx",
|
1627
1636
|
"member": "string",
|
1628
1637
|
"name": "VpcId",
|
1629
|
-
"required":
|
1638
|
+
"required": false,
|
1630
1639
|
"type": "string"
|
1631
1640
|
},
|
1632
1641
|
{
|
@@ -1635,16 +1644,7 @@
|
|
1635
1644
|
"example": "subnet-xxxxxx",
|
1636
1645
|
"member": "string",
|
1637
1646
|
"name": "SubnetId",
|
1638
|
-
"required":
|
1639
|
-
"type": "string"
|
1640
|
-
},
|
1641
|
-
{
|
1642
|
-
"disabled": false,
|
1643
|
-
"document": "索引名,需以-AppId结尾",
|
1644
|
-
"example": "test-12345678",
|
1645
|
-
"member": "string",
|
1646
|
-
"name": "IndexName",
|
1647
|
-
"required": true,
|
1647
|
+
"required": false,
|
1648
1648
|
"type": "string"
|
1649
1649
|
},
|
1650
1650
|
{
|
@@ -346,34 +346,34 @@
|
|
346
346
|
],
|
347
347
|
"UpdateInstance": [
|
348
348
|
{
|
349
|
-
"document": "
|
350
|
-
"input": "POST / HTTP/1.1\nHost: es.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"es-
|
349
|
+
"document": "重置指定ES集群实例Kibana密码",
|
350
|
+
"input": "POST / HTTP/1.1\nHost: es.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"es-xxxxxxxx\",\n \"Password\": \"newPwd_123\"\n}",
|
351
351
|
"output": "{\n \"Response\": {\n \"RequestId\": \"1\",\n \"DealName\": \"1\"\n }\n}",
|
352
|
-
"title": "
|
352
|
+
"title": "重置Kibana密码"
|
353
353
|
},
|
354
354
|
{
|
355
|
-
"document": "
|
356
|
-
"input": "POST / HTTP/1.1\nHost: es.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"es-
|
355
|
+
"document": "用以对集群的节点规格(核数、内存大小)和磁盘大小进行扩缩容操作(当前仅支持纵向扩容)",
|
356
|
+
"input": "POST / HTTP/1.1\nHost: es.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"es-xxxxxxxx\",\n \"DiskSize\": \"150\",\n \"NodeType\": \"ES.S1.MEDIUM4\"\n}",
|
357
357
|
"output": "{\n \"Response\": {\n \"RequestId\": \"1\",\n \"DealName\": \"1\"\n }\n}",
|
358
|
-
"title": "ES
|
358
|
+
"title": "ES集群纵向扩缩容"
|
359
359
|
},
|
360
360
|
{
|
361
|
-
"document": "
|
362
|
-
"input": "POST / HTTP/1.1\nHost: es.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"es-
|
361
|
+
"document": "用以对指定ES集群实例进行横向扩缩容,纵向扩缩容,增加专用主节点,专用主节点横向扩缩容,纵向扩缩容等操作,NodeInfoList要传递目标的全量节点信息",
|
362
|
+
"input": "POST / HTTP/1.1\nHost: es.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"es-xxxxxx\",\n \"NodeInfoList\": [\n {\n \"NodeType\": \"ES.S1.SMALL2\",\n \"NodeNum\": \"3\",\n \"Type\": \"dedicatedMaster\"\n },\n {\n \"DiskSize\": \"100\",\n \"NodeType\": \"ES.S1.SMALL2\",\n \"NodeNum\": \"2\",\n \"Type\": \"hotData\",\n \"DiskType\": \"CLOUD_SSD\"\n }\n ]\n}",
|
363
363
|
"output": "{\n \"Response\": {\n \"RequestId\": \"1\",\n \"DealName\": \"1\"\n }\n}",
|
364
|
-
"title": "
|
364
|
+
"title": "ES集群节点规格变更"
|
365
365
|
},
|
366
366
|
{
|
367
|
-
"document": "
|
368
|
-
"input": "POST / HTTP/1.1\nHost: es.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"es-
|
367
|
+
"document": "用以修改指定ES集群实例的名称",
|
368
|
+
"input": "POST / HTTP/1.1\nHost: es.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"es-xxxxxx\",\n \"InstanceName\": \"newName\"\n}",
|
369
369
|
"output": "{\n \"Response\": {\n \"RequestId\": \"1\",\n \"DealName\": \"1\"\n }\n}",
|
370
|
-
"title": "
|
370
|
+
"title": "修改ES集群实例名称"
|
371
371
|
},
|
372
372
|
{
|
373
|
-
"document": "
|
374
|
-
"input": "POST / HTTP/1.1\nHost: es.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"es-xxxxxxxx\",\n \"
|
373
|
+
"document": "用以对指定的ES集群实例的配置进行修改操作",
|
374
|
+
"input": "POST / HTTP/1.1\nHost: es.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"es-xxxxxxxx\",\n \"EsConfig\": \"{\\\"action.destructive_requires_name\\\":\\\"true\\\"}\"\n}",
|
375
375
|
"output": "{\n \"Response\": {\n \"RequestId\": \"1\",\n \"DealName\": \"1\"\n }\n}",
|
376
|
-
"title": "ES
|
376
|
+
"title": "修改ES集群实例配置"
|
377
377
|
}
|
378
378
|
],
|
379
379
|
"UpdateJdk": [
|
@@ -401,17 +401,17 @@
|
|
401
401
|
}
|
402
402
|
],
|
403
403
|
"UpdatePlugins": [
|
404
|
-
{
|
405
|
-
"document": "批量安装插件",
|
406
|
-
"input": "https://es.tencentcloudapi.com/?Action=UpdatePlugins\n&InstanceId=es-xxxxxxxx\n&InstallPluginList.0=analysis-qq\n&InstallPluginList.1=sql\n&<公共请求参数>",
|
407
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"c96a110c-7493-452d-a99b-683d07xxxxxx\"\n }\n}",
|
408
|
-
"title": "批量安装插件"
|
409
|
-
},
|
410
404
|
{
|
411
405
|
"document": "批量卸载插件",
|
412
406
|
"input": "https://es.tencentcloudapi.com/?Action=UpdatePlugins\n&InstanceId=es-xxxxxxxx\n&RemovePluginList.0=analysis-qq\n&RemovePluginList.1=sql\n&<公共请求参数>",
|
413
407
|
"output": "{\n \"Response\": {\n \"RequestId\": \"c96a110c-7493-452d-a99b-683d07xxxxxx\"\n }\n}",
|
414
408
|
"title": "批量卸载插件"
|
409
|
+
},
|
410
|
+
{
|
411
|
+
"document": "批量安装插件",
|
412
|
+
"input": "https://es.tencentcloudapi.com/?Action=UpdatePlugins\n&InstanceId=es-xxxxxxxx\n&InstallPluginList.0=analysis-qq\n&InstallPluginList.1=sql\n&<公共请求参数>",
|
413
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"c96a110c-7493-452d-a99b-683d07xxxxxx\"\n }\n}",
|
414
|
+
"title": "批量安装插件"
|
415
415
|
}
|
416
416
|
],
|
417
417
|
"UpdateRequestTargetNodeTypes": [
|