tccli 3.0.1102.1__py2.py3-none-any.whl → 3.0.1104.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/ImageToImage.md +1 -1
- tccli/examples/csip/v20221121/DescribeDbAssets.md +7 -0
- tccli/examples/csip/v20221121/DescribeOrganizationUserInfo.md +12 -1
- tccli/examples/cwp/v20180228/DescribePublicProxyInstallCommand.md +4 -4
- tccli/examples/cynosdb/v20190107/CreateCLSDelivery.md +18 -0
- tccli/examples/cynosdb/v20190107/DeleteCLSDelivery.md +18 -0
- tccli/examples/cynosdb/v20190107/DescribeInstanceCLSLogDelivery.md +18 -0
- tccli/examples/cynosdb/v20190107/StartCLSDelivery.md +18 -0
- tccli/examples/cynosdb/v20190107/StopCLSDelivery.md +18 -0
- tccli/examples/ess/v20201111/CreateUserVerifyUrl.md +29 -0
- tccli/examples/ess/v20201111/DescribeUserVerifyStatus.md +23 -0
- tccli/examples/hai/v20230812/DescribeInstances.md +3 -2
- tccli/examples/hunyuan/v20230901/QueryHunyuanImageJob.md +33 -0
- tccli/examples/hunyuan/v20230901/SubmitHunyuanImageJob.md +21 -0
- tccli/examples/iotexplorer/v20190423/CreateTRTCSignaturesWithRoomId.md +30 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStorageAIServiceTask.md +36 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStorageAIServiceTasks.md +3 -0
- tccli/examples/iotexplorer/v20190423/DismissRoomByStrRoomIdFromTRTC.md +20 -0
- tccli/examples/iotexplorer/v20190423/GenerateCloudStorageAIServiceTaskFileURL.md +24 -0
- tccli/examples/iotexplorer/v20190423/RemoveUserByRoomIdFromTRTC.md +21 -0
- tccli/examples/lighthouse/v20200324/DescribeInstancesDeniedActions.md +11 -6
- tccli/examples/live/v20180801/DescribeLivePadProcessorList.md +25 -0
- tccli/examples/live/v20180801/StopLivePadProcessor.md +23 -0
- tccli/examples/mrs/v20200910/DrugInstructionObject.md +98 -0
- tccli/examples/ssl/v20191205/DescribeDownloadCertificateUrl.md +23 -0
- tccli/examples/tke/v20220501/CreateNodePool.md +33 -0
- tccli/examples/tke/v20220501/DeleteNodePool.md +21 -0
- tccli/examples/tke/v20220501/DescribeNodePools.md +9 -3
- tccli/examples/tke/v20220501/ModifyNodePool.md +32 -0
- tccli/examples/waf/v20180125/CreateIpAccessControl.md +27 -0
- tccli/examples/waf/v20180125/DeleteIpAccessControlV2.md +25 -0
- tccli/examples/waf/v20180125/ImportIpAccessControl.md +30 -0
- tccli/examples/waf/v20180125/ModifyIpAccessControl.md +28 -0
- tccli/services/aiart/v20221229/api.json +3 -3
- tccli/services/aiart/v20221229/examples.json +1 -1
- tccli/services/apm/v20210622/api.json +1 -1
- tccli/services/batch/v20170312/api.json +1 -1
- tccli/services/billing/v20180709/api.json +2 -2
- tccli/services/captcha/v20190722/api.json +2 -2
- tccli/services/ccc/v20200210/api.json +3 -3
- tccli/services/cdb/v20170320/api.json +2 -2
- tccli/services/clb/v20180317/api.json +2 -2
- tccli/services/cls/v20201016/api.json +2 -2
- tccli/services/csip/v20221121/api.json +80 -2
- tccli/services/csip/v20221121/examples.json +4 -4
- tccli/services/cvm/v20170312/api.json +1 -1
- tccli/services/cwp/v20180228/api.json +17 -5
- tccli/services/cwp/v20180228/examples.json +2 -2
- tccli/services/cynosdb/cynosdb_client.py +269 -4
- tccli/services/cynosdb/v20190107/api.json +131 -0
- tccli/services/cynosdb/v20190107/examples.json +40 -0
- tccli/services/dlc/v20210125/api.json +70 -1
- tccli/services/ess/ess_client.py +110 -4
- tccli/services/ess/v20201111/api.json +185 -5
- tccli/services/ess/v20201111/examples.json +16 -0
- tccli/services/essbasic/v20210526/api.json +4 -4
- tccli/services/faceid/v20180301/api.json +1 -1
- tccli/services/fmu/v20191213/api.json +1 -1
- tccli/services/hai/v20230812/api.json +2 -2
- tccli/services/hai/v20230812/examples.json +1 -1
- tccli/services/hunyuan/hunyuan_client.py +110 -4
- tccli/services/hunyuan/v20230901/api.json +188 -4
- tccli/services/hunyuan/v20230901/examples.json +16 -0
- tccli/services/iotexplorer/iotexplorer_client.py +298 -33
- tccli/services/iotexplorer/v20190423/api.json +359 -20
- tccli/services/iotexplorer/v20190423/examples.json +41 -1
- tccli/services/iss/v20230517/api.json +10 -0
- tccli/services/lighthouse/v20200324/api.json +45 -33
- tccli/services/lighthouse/v20200324/examples.json +3 -3
- tccli/services/live/live_client.py +114 -8
- tccli/services/live/v20180801/api.json +124 -0
- tccli/services/live/v20180801/examples.json +16 -0
- tccli/services/lke/v20231130/api.json +109 -3
- tccli/services/mrs/mrs_client.py +53 -0
- tccli/services/mrs/v20200910/api.json +1649 -415
- tccli/services/mrs/v20200910/examples.json +8 -0
- tccli/services/ocr/v20181119/api.json +1 -1
- tccli/services/rce/rce_client.py +0 -53
- tccli/services/rce/v20201103/api.json +0 -197
- tccli/services/rce/v20201103/examples.json +0 -8
- tccli/services/ssl/ssl_client.py +57 -4
- tccli/services/ssl/v20191205/api.json +63 -0
- tccli/services/ssl/v20191205/examples.json +8 -0
- tccli/services/ssm/v20190923/api.json +1 -1
- tccli/services/tdmq/v20200217/api.json +40 -10
- tccli/services/teo/v20220901/api.json +34 -0
- tccli/services/tke/tke_client.py +171 -12
- tccli/services/tke/v20180525/api.json +1 -1
- tccli/services/tke/v20220501/api.json +1403 -86
- tccli/services/tke/v20220501/examples.json +25 -1
- tccli/services/trtc/v20190722/api.json +6 -9
- tccli/services/tse/v20201207/api.json +2 -2
- tccli/services/vpc/v20170312/api.json +1 -0
- tccli/services/waf/v20180125/api.json +396 -0
- tccli/services/waf/v20180125/examples.json +32 -0
- tccli/services/waf/waf_client.py +216 -4
- {tccli-3.0.1102.1.dist-info → tccli-3.0.1104.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1102.1.dist-info → tccli-3.0.1104.1.dist-info}/RECORD +102 -77
- {tccli-3.0.1102.1.dist-info → tccli-3.0.1104.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1102.1.dist-info → tccli-3.0.1104.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1102.1.dist-info → tccli-3.0.1104.1.dist-info}/license_files/LICENSE +0 -0
@@ -1369,6 +1369,58 @@ def doExportInstanceSlowQueries(args, parsed_globals):
|
|
1369
1369
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1370
1370
|
|
1371
1371
|
|
1372
|
+
def doDeleteCLSDelivery(args, parsed_globals):
|
1373
|
+
g_param = parse_global_arg(parsed_globals)
|
1374
|
+
|
1375
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1376
|
+
cred = credential.CVMRoleCredential()
|
1377
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1378
|
+
cred = credential.STSAssumeRoleCredential(
|
1379
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1380
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1381
|
+
)
|
1382
|
+
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):
|
1383
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1384
|
+
else:
|
1385
|
+
cred = credential.Credential(
|
1386
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1387
|
+
)
|
1388
|
+
http_profile = HttpProfile(
|
1389
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1390
|
+
reqMethod="POST",
|
1391
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1392
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1393
|
+
)
|
1394
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1395
|
+
if g_param[OptionsDefine.Language]:
|
1396
|
+
profile.language = g_param[OptionsDefine.Language]
|
1397
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1398
|
+
client = mod.CynosdbClient(cred, g_param[OptionsDefine.Region], profile)
|
1399
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1400
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1401
|
+
model = models.DeleteCLSDeliveryRequest()
|
1402
|
+
model.from_json_string(json.dumps(args))
|
1403
|
+
start_time = time.time()
|
1404
|
+
while True:
|
1405
|
+
rsp = client.DeleteCLSDelivery(model)
|
1406
|
+
result = rsp.to_json_string()
|
1407
|
+
try:
|
1408
|
+
json_obj = json.loads(result)
|
1409
|
+
except TypeError as e:
|
1410
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1411
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1412
|
+
break
|
1413
|
+
cur_time = time.time()
|
1414
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1415
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1416
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1417
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1418
|
+
else:
|
1419
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1420
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1421
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1422
|
+
|
1423
|
+
|
1372
1424
|
def doDescribeChangedParamsAfterUpgrade(args, parsed_globals):
|
1373
1425
|
g_param = parse_global_arg(parsed_globals)
|
1374
1426
|
|
@@ -4125,6 +4177,58 @@ def doModifyInstanceParam(args, parsed_globals):
|
|
4125
4177
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4126
4178
|
|
4127
4179
|
|
4180
|
+
def doDescribeInstanceCLSLogDelivery(args, parsed_globals):
|
4181
|
+
g_param = parse_global_arg(parsed_globals)
|
4182
|
+
|
4183
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
4184
|
+
cred = credential.CVMRoleCredential()
|
4185
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
4186
|
+
cred = credential.STSAssumeRoleCredential(
|
4187
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
4188
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
4189
|
+
)
|
4190
|
+
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):
|
4191
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
4192
|
+
else:
|
4193
|
+
cred = credential.Credential(
|
4194
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
4195
|
+
)
|
4196
|
+
http_profile = HttpProfile(
|
4197
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
4198
|
+
reqMethod="POST",
|
4199
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
4200
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
4201
|
+
)
|
4202
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
4203
|
+
if g_param[OptionsDefine.Language]:
|
4204
|
+
profile.language = g_param[OptionsDefine.Language]
|
4205
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
4206
|
+
client = mod.CynosdbClient(cred, g_param[OptionsDefine.Region], profile)
|
4207
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
4208
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
4209
|
+
model = models.DescribeInstanceCLSLogDeliveryRequest()
|
4210
|
+
model.from_json_string(json.dumps(args))
|
4211
|
+
start_time = time.time()
|
4212
|
+
while True:
|
4213
|
+
rsp = client.DescribeInstanceCLSLogDelivery(model)
|
4214
|
+
result = rsp.to_json_string()
|
4215
|
+
try:
|
4216
|
+
json_obj = json.loads(result)
|
4217
|
+
except TypeError as e:
|
4218
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
4219
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
4220
|
+
break
|
4221
|
+
cur_time = time.time()
|
4222
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
4223
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
4224
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
4225
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
4226
|
+
else:
|
4227
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
4228
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
4229
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4230
|
+
|
4231
|
+
|
4128
4232
|
def doBindClusterResourcePackages(args, parsed_globals):
|
4129
4233
|
g_param = parse_global_arg(parsed_globals)
|
4130
4234
|
|
@@ -4957,6 +5061,58 @@ def doInquirePriceRenew(args, parsed_globals):
|
|
4957
5061
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4958
5062
|
|
4959
5063
|
|
5064
|
+
def doStartCLSDelivery(args, parsed_globals):
|
5065
|
+
g_param = parse_global_arg(parsed_globals)
|
5066
|
+
|
5067
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
5068
|
+
cred = credential.CVMRoleCredential()
|
5069
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
5070
|
+
cred = credential.STSAssumeRoleCredential(
|
5071
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
5072
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
5073
|
+
)
|
5074
|
+
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):
|
5075
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
5076
|
+
else:
|
5077
|
+
cred = credential.Credential(
|
5078
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
5079
|
+
)
|
5080
|
+
http_profile = HttpProfile(
|
5081
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
5082
|
+
reqMethod="POST",
|
5083
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
5084
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
5085
|
+
)
|
5086
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
5087
|
+
if g_param[OptionsDefine.Language]:
|
5088
|
+
profile.language = g_param[OptionsDefine.Language]
|
5089
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
5090
|
+
client = mod.CynosdbClient(cred, g_param[OptionsDefine.Region], profile)
|
5091
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
5092
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
5093
|
+
model = models.StartCLSDeliveryRequest()
|
5094
|
+
model.from_json_string(json.dumps(args))
|
5095
|
+
start_time = time.time()
|
5096
|
+
while True:
|
5097
|
+
rsp = client.StartCLSDelivery(model)
|
5098
|
+
result = rsp.to_json_string()
|
5099
|
+
try:
|
5100
|
+
json_obj = json.loads(result)
|
5101
|
+
except TypeError as e:
|
5102
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
5103
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
5104
|
+
break
|
5105
|
+
cur_time = time.time()
|
5106
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
5107
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
5108
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
5109
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
5110
|
+
else:
|
5111
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
5112
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
5113
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5114
|
+
|
5115
|
+
|
4960
5116
|
def doReloadBalanceProxyNode(args, parsed_globals):
|
4961
5117
|
g_param = parse_global_arg(parsed_globals)
|
4962
5118
|
|
@@ -5113,6 +5269,58 @@ def doModifyAuditRuleTemplates(args, parsed_globals):
|
|
5113
5269
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5114
5270
|
|
5115
5271
|
|
5272
|
+
def doStopCLSDelivery(args, parsed_globals):
|
5273
|
+
g_param = parse_global_arg(parsed_globals)
|
5274
|
+
|
5275
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
5276
|
+
cred = credential.CVMRoleCredential()
|
5277
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
5278
|
+
cred = credential.STSAssumeRoleCredential(
|
5279
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
5280
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
5281
|
+
)
|
5282
|
+
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):
|
5283
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
5284
|
+
else:
|
5285
|
+
cred = credential.Credential(
|
5286
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
5287
|
+
)
|
5288
|
+
http_profile = HttpProfile(
|
5289
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
5290
|
+
reqMethod="POST",
|
5291
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
5292
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
5293
|
+
)
|
5294
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
5295
|
+
if g_param[OptionsDefine.Language]:
|
5296
|
+
profile.language = g_param[OptionsDefine.Language]
|
5297
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
5298
|
+
client = mod.CynosdbClient(cred, g_param[OptionsDefine.Region], profile)
|
5299
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
5300
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
5301
|
+
model = models.StopCLSDeliveryRequest()
|
5302
|
+
model.from_json_string(json.dumps(args))
|
5303
|
+
start_time = time.time()
|
5304
|
+
while True:
|
5305
|
+
rsp = client.StopCLSDelivery(model)
|
5306
|
+
result = rsp.to_json_string()
|
5307
|
+
try:
|
5308
|
+
json_obj = json.loads(result)
|
5309
|
+
except TypeError as e:
|
5310
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
5311
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
5312
|
+
break
|
5313
|
+
cur_time = time.time()
|
5314
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
5315
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
5316
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
5317
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
5318
|
+
else:
|
5319
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
5320
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
5321
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5322
|
+
|
5323
|
+
|
5116
5324
|
def doDescribeBackupList(args, parsed_globals):
|
5117
5325
|
g_param = parse_global_arg(parsed_globals)
|
5118
5326
|
|
@@ -5581,6 +5789,58 @@ def doDescribeInstances(args, parsed_globals):
|
|
5581
5789
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5582
5790
|
|
5583
5791
|
|
5792
|
+
def doDescribeParamTemplateDetail(args, parsed_globals):
|
5793
|
+
g_param = parse_global_arg(parsed_globals)
|
5794
|
+
|
5795
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
5796
|
+
cred = credential.CVMRoleCredential()
|
5797
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
5798
|
+
cred = credential.STSAssumeRoleCredential(
|
5799
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
5800
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
5801
|
+
)
|
5802
|
+
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):
|
5803
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
5804
|
+
else:
|
5805
|
+
cred = credential.Credential(
|
5806
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
5807
|
+
)
|
5808
|
+
http_profile = HttpProfile(
|
5809
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
5810
|
+
reqMethod="POST",
|
5811
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
5812
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
5813
|
+
)
|
5814
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
5815
|
+
if g_param[OptionsDefine.Language]:
|
5816
|
+
profile.language = g_param[OptionsDefine.Language]
|
5817
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
5818
|
+
client = mod.CynosdbClient(cred, g_param[OptionsDefine.Region], profile)
|
5819
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
5820
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
5821
|
+
model = models.DescribeParamTemplateDetailRequest()
|
5822
|
+
model.from_json_string(json.dumps(args))
|
5823
|
+
start_time = time.time()
|
5824
|
+
while True:
|
5825
|
+
rsp = client.DescribeParamTemplateDetail(model)
|
5826
|
+
result = rsp.to_json_string()
|
5827
|
+
try:
|
5828
|
+
json_obj = json.loads(result)
|
5829
|
+
except TypeError as e:
|
5830
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
5831
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
5832
|
+
break
|
5833
|
+
cur_time = time.time()
|
5834
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
5835
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
5836
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
5837
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
5838
|
+
else:
|
5839
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
5840
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
5841
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5842
|
+
|
5843
|
+
|
5584
5844
|
def doUpgradeClusterVersion(args, parsed_globals):
|
5585
5845
|
g_param = parse_global_arg(parsed_globals)
|
5586
5846
|
|
@@ -6257,7 +6517,7 @@ def doModifyDBInstanceSecurityGroups(args, parsed_globals):
|
|
6257
6517
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
6258
6518
|
|
6259
6519
|
|
6260
|
-
def
|
6520
|
+
def doCreateCLSDelivery(args, parsed_globals):
|
6261
6521
|
g_param = parse_global_arg(parsed_globals)
|
6262
6522
|
|
6263
6523
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -6286,11 +6546,11 @@ def doDescribeParamTemplateDetail(args, parsed_globals):
|
|
6286
6546
|
client = mod.CynosdbClient(cred, g_param[OptionsDefine.Region], profile)
|
6287
6547
|
client._sdkVersion += ("_CLI_" + __version__)
|
6288
6548
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
6289
|
-
model = models.
|
6549
|
+
model = models.CreateCLSDeliveryRequest()
|
6290
6550
|
model.from_json_string(json.dumps(args))
|
6291
6551
|
start_time = time.time()
|
6292
6552
|
while True:
|
6293
|
-
rsp = client.
|
6553
|
+
rsp = client.CreateCLSDelivery(model)
|
6294
6554
|
result = rsp.to_json_string()
|
6295
6555
|
try:
|
6296
6556
|
json_obj = json.loads(result)
|
@@ -7126,6 +7386,7 @@ ACTION_MAP = {
|
|
7126
7386
|
"DescribeProxyNodes": doDescribeProxyNodes,
|
7127
7387
|
"DisassociateSecurityGroups": doDisassociateSecurityGroups,
|
7128
7388
|
"ExportInstanceSlowQueries": doExportInstanceSlowQueries,
|
7389
|
+
"DeleteCLSDelivery": doDeleteCLSDelivery,
|
7129
7390
|
"DescribeChangedParamsAfterUpgrade": doDescribeChangedParamsAfterUpgrade,
|
7130
7391
|
"DescribeAccountPrivileges": doDescribeAccountPrivileges,
|
7131
7392
|
"CloseClusterPasswordComplexity": doCloseClusterPasswordComplexity,
|
@@ -7179,6 +7440,7 @@ ACTION_MAP = {
|
|
7179
7440
|
"DescribeRollbackTimeRange": doDescribeRollbackTimeRange,
|
7180
7441
|
"DescribeFlow": doDescribeFlow,
|
7181
7442
|
"ModifyInstanceParam": doModifyInstanceParam,
|
7443
|
+
"DescribeInstanceCLSLogDelivery": doDescribeInstanceCLSLogDelivery,
|
7182
7444
|
"BindClusterResourcePackages": doBindClusterResourcePackages,
|
7183
7445
|
"DescribeAuditLogs": doDescribeAuditLogs,
|
7184
7446
|
"UnbindClusterResourcePackages": doUnbindClusterResourcePackages,
|
@@ -7195,9 +7457,11 @@ ACTION_MAP = {
|
|
7195
7457
|
"DescribeAccounts": doDescribeAccounts,
|
7196
7458
|
"SetRenewFlag": doSetRenewFlag,
|
7197
7459
|
"InquirePriceRenew": doInquirePriceRenew,
|
7460
|
+
"StartCLSDelivery": doStartCLSDelivery,
|
7198
7461
|
"ReloadBalanceProxyNode": doReloadBalanceProxyNode,
|
7199
7462
|
"OfflineCluster": doOfflineCluster,
|
7200
7463
|
"ModifyAuditRuleTemplates": doModifyAuditRuleTemplates,
|
7464
|
+
"StopCLSDelivery": doStopCLSDelivery,
|
7201
7465
|
"DescribeBackupList": doDescribeBackupList,
|
7202
7466
|
"ModifyAccountDescription": doModifyAccountDescription,
|
7203
7467
|
"CreateClusterDatabase": doCreateClusterDatabase,
|
@@ -7207,6 +7471,7 @@ ACTION_MAP = {
|
|
7207
7471
|
"DescribeResourcePackageDetail": doDescribeResourcePackageDetail,
|
7208
7472
|
"ModifyBackupConfig": doModifyBackupConfig,
|
7209
7473
|
"DescribeInstances": doDescribeInstances,
|
7474
|
+
"DescribeParamTemplateDetail": doDescribeParamTemplateDetail,
|
7210
7475
|
"UpgradeClusterVersion": doUpgradeClusterVersion,
|
7211
7476
|
"SearchClusterDatabases": doSearchClusterDatabases,
|
7212
7477
|
"DescribeClusterParams": doDescribeClusterParams,
|
@@ -7220,7 +7485,7 @@ ACTION_MAP = {
|
|
7220
7485
|
"DescribeBackupDownloadUrl": doDescribeBackupDownloadUrl,
|
7221
7486
|
"CreateProxy": doCreateProxy,
|
7222
7487
|
"ModifyDBInstanceSecurityGroups": doModifyDBInstanceSecurityGroups,
|
7223
|
-
"
|
7488
|
+
"CreateCLSDelivery": doCreateCLSDelivery,
|
7224
7489
|
"ModifyBinlogSaveDays": doModifyBinlogSaveDays,
|
7225
7490
|
"DescribeAccountAllGrantPrivileges": doDescribeAccountAllGrantPrivileges,
|
7226
7491
|
"OpenReadOnlyInstanceExclusiveAccess": doOpenReadOnlyInstanceExclusiveAccess,
|
@@ -98,6 +98,13 @@
|
|
98
98
|
"output": "CreateBackupResponse",
|
99
99
|
"status": "online"
|
100
100
|
},
|
101
|
+
"CreateCLSDelivery": {
|
102
|
+
"document": "创建日志投递",
|
103
|
+
"input": "CreateCLSDeliveryRequest",
|
104
|
+
"name": "创建日志投递",
|
105
|
+
"output": "CreateCLSDeliveryResponse",
|
106
|
+
"status": "online"
|
107
|
+
},
|
101
108
|
"CreateClusterDatabase": {
|
102
109
|
"document": "创建数据库",
|
103
110
|
"input": "CreateClusterDatabaseRequest",
|
@@ -168,6 +175,13 @@
|
|
168
175
|
"output": "DeleteBackupResponse",
|
169
176
|
"status": "online"
|
170
177
|
},
|
178
|
+
"DeleteCLSDelivery": {
|
179
|
+
"document": "删除日志投递",
|
180
|
+
"input": "DeleteCLSDeliveryRequest",
|
181
|
+
"name": "删除日志投递",
|
182
|
+
"output": "DeleteCLSDeliveryResponse",
|
183
|
+
"status": "online"
|
184
|
+
},
|
171
185
|
"DeleteClusterDatabase": {
|
172
186
|
"document": "删除数据库",
|
173
187
|
"input": "DeleteClusterDatabaseRequest",
|
@@ -364,6 +378,13 @@
|
|
364
378
|
"output": "DescribeFlowResponse",
|
365
379
|
"status": "online"
|
366
380
|
},
|
381
|
+
"DescribeInstanceCLSLogDelivery": {
|
382
|
+
"document": "查询实例日志投递信息",
|
383
|
+
"input": "DescribeInstanceCLSLogDeliveryRequest",
|
384
|
+
"name": "查询实例日志投递信息",
|
385
|
+
"output": "DescribeInstanceCLSLogDeliveryResponse",
|
386
|
+
"status": "online"
|
387
|
+
},
|
367
388
|
"DescribeInstanceDetail": {
|
368
389
|
"document": "本接口(DescribeInstanceDetail)用于查询实例详情。",
|
369
390
|
"input": "DescribeInstanceDetailRequest",
|
@@ -896,6 +917,20 @@
|
|
896
917
|
"output": "SetRenewFlagResponse",
|
897
918
|
"status": "online"
|
898
919
|
},
|
920
|
+
"StartCLSDelivery": {
|
921
|
+
"document": "开启日志投递",
|
922
|
+
"input": "StartCLSDeliveryRequest",
|
923
|
+
"name": "开启日志投递",
|
924
|
+
"output": "StartCLSDeliveryResponse",
|
925
|
+
"status": "online"
|
926
|
+
},
|
927
|
+
"StopCLSDelivery": {
|
928
|
+
"document": "停止日志投递",
|
929
|
+
"input": "StopCLSDeliveryRequest",
|
930
|
+
"name": "停止日志投递",
|
931
|
+
"output": "StopCLSDeliveryResponse",
|
932
|
+
"status": "online"
|
933
|
+
},
|
899
934
|
"SwitchClusterVpc": {
|
900
935
|
"document": "更换集群vpc",
|
901
936
|
"input": "SwitchClusterVpcRequest",
|
@@ -3596,6 +3631,23 @@
|
|
3596
3631
|
],
|
3597
3632
|
"type": "object"
|
3598
3633
|
},
|
3634
|
+
"CreateCLSDeliveryRequest": {
|
3635
|
+
"document": "CreateCLSDelivery请求参数结构体",
|
3636
|
+
"members": [],
|
3637
|
+
"type": "object"
|
3638
|
+
},
|
3639
|
+
"CreateCLSDeliveryResponse": {
|
3640
|
+
"document": "CreateCLSDelivery返回参数结构体",
|
3641
|
+
"members": [
|
3642
|
+
{
|
3643
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3644
|
+
"member": "string",
|
3645
|
+
"name": "RequestId",
|
3646
|
+
"type": "string"
|
3647
|
+
}
|
3648
|
+
],
|
3649
|
+
"type": "object"
|
3650
|
+
},
|
3599
3651
|
"CreateClusterDatabaseRequest": {
|
3600
3652
|
"document": "CreateClusterDatabase请求参数结构体",
|
3601
3653
|
"members": [
|
@@ -7351,6 +7403,23 @@
|
|
7351
7403
|
],
|
7352
7404
|
"type": "object"
|
7353
7405
|
},
|
7406
|
+
"DeleteCLSDeliveryRequest": {
|
7407
|
+
"document": "DeleteCLSDelivery请求参数结构体",
|
7408
|
+
"members": [],
|
7409
|
+
"type": "object"
|
7410
|
+
},
|
7411
|
+
"DeleteCLSDeliveryResponse": {
|
7412
|
+
"document": "DeleteCLSDelivery返回参数结构体",
|
7413
|
+
"members": [
|
7414
|
+
{
|
7415
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
7416
|
+
"member": "string",
|
7417
|
+
"name": "RequestId",
|
7418
|
+
"type": "string"
|
7419
|
+
}
|
7420
|
+
],
|
7421
|
+
"type": "object"
|
7422
|
+
},
|
7354
7423
|
"DeleteClusterDatabaseRequest": {
|
7355
7424
|
"document": "DeleteClusterDatabase请求参数结构体",
|
7356
7425
|
"members": [
|
@@ -9342,6 +9411,23 @@
|
|
9342
9411
|
],
|
9343
9412
|
"type": "object"
|
9344
9413
|
},
|
9414
|
+
"DescribeInstanceCLSLogDeliveryRequest": {
|
9415
|
+
"document": "DescribeInstanceCLSLogDelivery请求参数结构体",
|
9416
|
+
"members": [],
|
9417
|
+
"type": "object"
|
9418
|
+
},
|
9419
|
+
"DescribeInstanceCLSLogDeliveryResponse": {
|
9420
|
+
"document": "DescribeInstanceCLSLogDelivery返回参数结构体",
|
9421
|
+
"members": [
|
9422
|
+
{
|
9423
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
9424
|
+
"member": "string",
|
9425
|
+
"name": "RequestId",
|
9426
|
+
"type": "string"
|
9427
|
+
}
|
9428
|
+
],
|
9429
|
+
"type": "object"
|
9430
|
+
},
|
9345
9431
|
"DescribeInstanceDetailRequest": {
|
9346
9432
|
"document": "DescribeInstanceDetail请求参数结构体",
|
9347
9433
|
"members": [
|
@@ -16859,6 +16945,17 @@
|
|
16859
16945
|
"required": false,
|
16860
16946
|
"type": "string",
|
16861
16947
|
"value_allowed_null": true
|
16948
|
+
},
|
16949
|
+
{
|
16950
|
+
"disabled": false,
|
16951
|
+
"document": "当前资源包绑定在当前实例下的抵扣优先级\n注意:此字段可能返回 null,表示取不到有效值。",
|
16952
|
+
"example": "1",
|
16953
|
+
"member": "int64",
|
16954
|
+
"name": "DeductionPriority",
|
16955
|
+
"output_required": true,
|
16956
|
+
"required": false,
|
16957
|
+
"type": "int",
|
16958
|
+
"value_allowed_null": true
|
16862
16959
|
}
|
16863
16960
|
],
|
16864
16961
|
"usage": "both"
|
@@ -18397,6 +18494,40 @@
|
|
18397
18494
|
],
|
18398
18495
|
"usage": "out"
|
18399
18496
|
},
|
18497
|
+
"StartCLSDeliveryRequest": {
|
18498
|
+
"document": "StartCLSDelivery请求参数结构体",
|
18499
|
+
"members": [],
|
18500
|
+
"type": "object"
|
18501
|
+
},
|
18502
|
+
"StartCLSDeliveryResponse": {
|
18503
|
+
"document": "StartCLSDelivery返回参数结构体",
|
18504
|
+
"members": [
|
18505
|
+
{
|
18506
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
18507
|
+
"member": "string",
|
18508
|
+
"name": "RequestId",
|
18509
|
+
"type": "string"
|
18510
|
+
}
|
18511
|
+
],
|
18512
|
+
"type": "object"
|
18513
|
+
},
|
18514
|
+
"StopCLSDeliveryRequest": {
|
18515
|
+
"document": "StopCLSDelivery请求参数结构体",
|
18516
|
+
"members": [],
|
18517
|
+
"type": "object"
|
18518
|
+
},
|
18519
|
+
"StopCLSDeliveryResponse": {
|
18520
|
+
"document": "StopCLSDelivery返回参数结构体",
|
18521
|
+
"members": [
|
18522
|
+
{
|
18523
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
18524
|
+
"member": "string",
|
18525
|
+
"name": "RequestId",
|
18526
|
+
"type": "string"
|
18527
|
+
}
|
18528
|
+
],
|
18529
|
+
"type": "object"
|
18530
|
+
},
|
18400
18531
|
"SwitchClusterLogBin": {
|
18401
18532
|
"document": "转换集群log bin开关",
|
18402
18533
|
"members": [
|
@@ -112,6 +112,14 @@
|
|
112
112
|
"title": "创建备份"
|
113
113
|
}
|
114
114
|
],
|
115
|
+
"CreateCLSDelivery": [
|
116
|
+
{
|
117
|
+
"document": "",
|
118
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCLSDelivery\n<公共请求参数>\n\n{}",
|
119
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"347698da-03e4-4078-8d96-9a8b219c01a5\"\n }\n}",
|
120
|
+
"title": "创建日志投递"
|
121
|
+
}
|
122
|
+
],
|
115
123
|
"CreateClusterDatabase": [
|
116
124
|
{
|
117
125
|
"document": "创建数据库",
|
@@ -198,6 +206,14 @@
|
|
198
206
|
"title": "删除备份"
|
199
207
|
}
|
200
208
|
],
|
209
|
+
"DeleteCLSDelivery": [
|
210
|
+
{
|
211
|
+
"document": "",
|
212
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteCLSDelivery\n<公共请求参数>\n\n{}",
|
213
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"347698da-03e4-4078-8d96-9a8b219c01a5\"\n }\n}",
|
214
|
+
"title": "删除日志投递"
|
215
|
+
}
|
216
|
+
],
|
201
217
|
"DeleteClusterDatabase": [
|
202
218
|
{
|
203
219
|
"document": "",
|
@@ -434,6 +450,14 @@
|
|
434
450
|
"title": "查询任务流信息"
|
435
451
|
}
|
436
452
|
],
|
453
|
+
"DescribeInstanceCLSLogDelivery": [
|
454
|
+
{
|
455
|
+
"document": "",
|
456
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceCLSLogDelivery\n<公共请求参数>\n\n{}",
|
457
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"347698da-03e4-4078-8d96-9a8b219c01a5\"\n }\n}",
|
458
|
+
"title": "查询实例日志投递信息"
|
459
|
+
}
|
460
|
+
],
|
437
461
|
"DescribeInstanceDetail": [
|
438
462
|
{
|
439
463
|
"document": "",
|
@@ -1048,6 +1072,22 @@
|
|
1048
1072
|
"title": "设置自动续费标志"
|
1049
1073
|
}
|
1050
1074
|
],
|
1075
|
+
"StartCLSDelivery": [
|
1076
|
+
{
|
1077
|
+
"document": "",
|
1078
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartCLSDelivery\n<公共请求参数>\n\n{}",
|
1079
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"347698da-03e4-4078-8d96-9a8b219c01a5\"\n }\n}",
|
1080
|
+
"title": "开启日志投递"
|
1081
|
+
}
|
1082
|
+
],
|
1083
|
+
"StopCLSDelivery": [
|
1084
|
+
{
|
1085
|
+
"document": "",
|
1086
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StopCLSDelivery\n<公共请求参数>\n\n{}",
|
1087
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"347698da-03e4-4078-8d96-9a8b219c01a5\"\n }\n}",
|
1088
|
+
"title": "停止日志投递"
|
1089
|
+
}
|
1090
|
+
],
|
1051
1091
|
"SwitchClusterVpc": [
|
1052
1092
|
{
|
1053
1093
|
"document": "转换网络",
|