tccli 3.0.1300.3__py2.py3-none-any.whl → 3.0.1302.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tccli/__init__.py +1 -1
- tccli/services/__init__.py +2 -1
- tccli/services/asr/v20190614/api.json +18 -18
- tccli/services/batch/v20170312/api.json +14 -14
- tccli/services/bh/bh_client.py +623 -93
- tccli/services/bh/v20230418/api.json +1054 -32
- tccli/services/bh/v20230418/examples.json +93 -1
- tccli/services/billing/billing_client.py +4 -57
- tccli/services/billing/v20180709/api.json +3 -305
- tccli/services/billing/v20180709/examples.json +2 -10
- tccli/services/bpaas/v20181217/api.json +56 -56
- tccli/services/cat/cat_client.py +61 -8
- tccli/services/cat/v20180409/api.json +115 -0
- tccli/services/cat/v20180409/examples.json +20 -0
- tccli/services/cbs/v20170312/api.json +9 -7
- tccli/services/cbs/v20170312/examples.json +2 -2
- tccli/services/ccc/ccc_client.py +216 -4
- tccli/services/ccc/v20200210/api.json +364 -6
- tccli/services/ccc/v20200210/examples.json +32 -0
- tccli/services/cdb/v20170320/api.json +23 -14
- tccli/services/cdb/v20170320/examples.json +3 -3
- tccli/services/cdc/cdc_client.py +173 -67
- tccli/services/cdc/v20201214/api.json +96 -0
- tccli/services/cdc/v20201214/examples.json +16 -0
- tccli/services/cdn/v20180606/api.json +365 -279
- tccli/services/cdwch/v20200915/api.json +21 -21
- tccli/services/cdwdoris/v20211228/api.json +21 -1
- tccli/services/cdwdoris/v20211228/examples.json +4 -4
- tccli/services/cdwpg/v20201230/api.json +375 -360
- tccli/services/cdwpg/v20201230/examples.json +1 -1
- tccli/services/cfw/cfw_client.py +53 -0
- tccli/services/cfw/v20190904/api.json +201 -5
- tccli/services/cfw/v20190904/examples.json +8 -0
- tccli/services/chc/chc_client.py +57 -4
- tccli/services/chc/v20230418/api.json +108 -1
- tccli/services/chc/v20230418/examples.json +8 -0
- tccli/services/ckafka/ckafka_client.py +408 -302
- tccli/services/ckafka/v20190819/api.json +197 -2
- tccli/services/ckafka/v20190819/examples.json +16 -0
- tccli/services/clb/v20180317/api.json +439 -379
- tccli/services/clb/v20180317/examples.json +7 -7
- tccli/services/cls/cls_client.py +53 -0
- tccli/services/cls/v20201016/api.json +86 -3
- tccli/services/cls/v20201016/examples.json +11 -3
- tccli/services/cvm/v20170312/api.json +165 -147
- tccli/services/cvm/v20170312/examples.json +6 -6
- tccli/services/cwp/v20180228/api.json +93 -14
- tccli/services/cwp/v20180228/examples.json +7 -7
- tccli/services/cynosdb/cynosdb_client.py +171 -12
- tccli/services/cynosdb/v20190107/api.json +252 -3
- tccli/services/cynosdb/v20190107/examples.json +24 -0
- tccli/services/dbbrain/dbbrain_client.py +57 -4
- tccli/services/dbbrain/v20210527/api.json +62 -0
- tccli/services/dbbrain/v20210527/examples.json +8 -0
- tccli/services/dc/v20180410/api.json +1 -1
- tccli/services/dlc/dlc_client.py +53 -0
- tccli/services/dlc/v20210125/api.json +816 -655
- tccli/services/dlc/v20210125/examples.json +73 -59
- tccli/services/dsgc/v20190723/api.json +18 -0
- tccli/services/dts/v20211206/api.json +4 -4
- tccli/services/dts/v20211206/examples.json +6 -0
- tccli/services/emr/emr_client.py +53 -0
- tccli/services/emr/v20190103/api.json +127 -0
- tccli/services/emr/v20190103/examples.json +8 -0
- tccli/services/es/es_client.py +686 -151
- tccli/services/es/v20180416/api.json +509 -436
- tccli/services/es/v20180416/examples.json +43 -49
- tccli/services/es/v20250101/api.json +1391 -0
- tccli/services/es/v20250101/examples.json +85 -0
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +142 -21
- tccli/services/ess/v20201111/examples.json +14 -0
- tccli/services/essbasic/essbasic_client.py +53 -0
- tccli/services/essbasic/v20210526/api.json +112 -9
- tccli/services/essbasic/v20210526/examples.json +8 -0
- tccli/services/gaap/v20180529/api.json +321 -312
- tccli/services/gaap/v20180529/examples.json +2 -2
- tccli/services/gs/gs_client.py +538 -8
- tccli/services/gs/v20191118/api.json +947 -44
- tccli/services/gs/v20191118/examples.json +87 -1
- tccli/services/gwlb/v20240906/api.json +56 -37
- tccli/services/gwlb/v20240906/examples.json +11 -5
- tccli/services/hunyuan/hunyuan_client.py +175 -69
- tccli/services/hunyuan/v20230901/api.json +191 -1
- tccli/services/hunyuan/v20230901/examples.json +17 -1
- tccli/services/ioa/ioa_client.py +227 -15
- tccli/services/ioa/v20220601/api.json +479 -0
- tccli/services/ioa/v20220601/examples.json +44 -0
- tccli/services/iotexplorer/iotexplorer_client.py +322 -4
- tccli/services/iotexplorer/v20190423/api.json +865 -52
- tccli/services/iotexplorer/v20190423/examples.json +64 -16
- tccli/services/iotvideo/iotvideo_client.py +57 -4
- tccli/services/iotvideo/v20211125/api.json +146 -0
- tccli/services/iotvideo/v20211125/examples.json +8 -0
- tccli/services/iotvideoindustry/v20201201/api.json +1 -1
- tccli/services/kms/v20190118/api.json +38 -2
- tccli/services/lcic/v20220817/api.json +66 -1
- tccli/services/lcic/v20220817/examples.json +1 -1
- tccli/services/lighthouse/lighthouse_client.py +0 -106
- tccli/services/lighthouse/v20200324/api.json +11 -98
- tccli/services/lighthouse/v20200324/examples.json +0 -16
- tccli/services/live/v20180801/api.json +1 -1
- tccli/services/lke/v20231130/api.json +208 -10
- tccli/services/lke/v20231130/examples.json +10 -10
- tccli/services/lkeap/lkeap_client.py +53 -0
- tccli/services/lkeap/v20240522/api.json +48 -4
- tccli/services/lkeap/v20240522/examples.json +8 -0
- tccli/services/mna/mna_client.py +4 -163
- tccli/services/mna/v20210119/api.json +0 -524
- tccli/services/mna/v20210119/examples.json +0 -24
- tccli/services/monitor/monitor_client.py +114 -8
- tccli/services/monitor/v20180724/api.json +129 -18
- tccli/services/monitor/v20180724/examples.json +17 -1
- tccli/services/mps/v20190612/api.json +1223 -1031
- tccli/services/mps/v20190612/examples.json +1 -1
- tccli/services/nlp/v20190408/examples.json +1 -1
- tccli/services/oceanus/v20190422/api.json +12 -12
- tccli/services/oceanus/v20190422/examples.json +15 -3
- tccli/services/ocr/v20181119/api.json +13 -3
- tccli/services/postgres/v20170312/api.json +2 -2
- tccli/services/privatedns/v20201028/api.json +30 -11
- tccli/services/privatedns/v20201028/examples.json +10 -10
- tccli/services/rce/v20201103/api.json +3 -3
- tccli/services/ses/v20201002/api.json +10 -1
- tccli/services/smop/v20201203/api.json +2 -2
- tccli/services/sqlserver/v20180328/api.json +1 -1
- tccli/services/ssm/v20190923/api.json +27 -0
- tccli/services/sts/sts_client.py +53 -0
- tccli/services/sts/v20180813/api.json +101 -1
- tccli/services/sts/v20180813/examples.json +8 -0
- tccli/services/taf/taf_client.py +0 -53
- tccli/services/taf/v20200210/api.json +0 -138
- tccli/services/taf/v20200210/examples.json +0 -8
- tccli/services/tan/v20220420/api.json +2 -2
- tccli/services/tat/v20201028/api.json +2 -2
- tccli/services/tcb/v20180608/api.json +29 -1
- tccli/services/tcbr/v20220217/api.json +32 -0
- tccli/services/tccatalog/v20241024/api.json +1 -1
- tccli/services/tccatalog/v20241024/examples.json +1 -1
- tccli/services/tcr/v20190924/api.json +5 -5
- tccli/services/tcr/v20190924/examples.json +2 -2
- tccli/services/tcss/v20201101/api.json +84 -34
- tccli/services/tcss/v20201101/examples.json +2809 -0
- tccli/services/tdmq/v20200217/api.json +40 -0
- tccli/services/tdmq/v20200217/examples.json +1 -1
- tccli/services/tds/tds_client.py +53 -0
- tccli/services/tds/v20220801/api.json +265 -0
- tccli/services/tds/v20220801/examples.json +8 -0
- tccli/services/tem/v20210701/api.json +664 -575
- tccli/services/tem/v20210701/examples.json +2 -2
- tccli/services/teo/v20220901/api.json +236 -208
- tccli/services/teo/v20220901/examples.json +13 -13
- tccli/services/tione/tione_client.py +53 -0
- tccli/services/tione/v20211111/api.json +256 -0
- tccli/services/tione/v20211111/examples.json +8 -0
- tccli/services/tke/v20180525/api.json +1 -1
- tccli/services/trocket/trocket_client.py +489 -12
- tccli/services/trocket/v20230308/api.json +925 -146
- tccli/services/trocket/v20230308/examples.json +72 -0
- tccli/services/trtc/v20190722/api.json +13 -19
- tccli/services/trtc/v20190722/examples.json +8 -8
- tccli/services/tse/v20201207/api.json +1016 -995
- tccli/services/tse/v20201207/examples.json +2 -2
- tccli/services/tsf/v20180326/api.json +510 -465
- tccli/services/tsf/v20180326/examples.json +4 -4
- tccli/services/tts/v20190823/api.json +10 -10
- tccli/services/vclm/v20240523/api.json +2 -2
- tccli/services/vcube/v20220410/api.json +10 -0
- tccli/services/vdb/v20230616/api.json +10 -0
- tccli/services/vdb/v20230616/examples.json +1 -1
- tccli/services/vpc/v20170312/api.json +824 -254
- tccli/services/vpc/v20170312/examples.json +66 -10
- tccli/services/vpc/vpc_client.py +383 -12
- tccli/services/vrs/v20200824/api.json +9 -0
- tccli/services/waf/v20180125/api.json +8113 -5814
- tccli/services/waf/v20180125/examples.json +90 -0
- tccli/services/waf/waf_client.py +559 -82
- tccli/services/wedata/v20210820/api.json +1379 -24
- tccli/services/wedata/v20210820/examples.json +25 -1
- tccli/services/wedata/wedata_client.py +171 -12
- tccli/services/weilingwith/v20230427/api.json +1 -1
- tccli/services/weilingwith/v20230427/examples.json +3 -3
- {tccli-3.0.1300.3.dist-info → tccli-3.0.1302.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1300.3.dist-info → tccli-3.0.1302.1.dist-info}/RECORD +187 -184
- {tccli-3.0.1300.3.dist-info → tccli-3.0.1302.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1300.3.dist-info → tccli-3.0.1302.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1300.3.dist-info → tccli-3.0.1302.1.dist-info}/license_files/LICENSE +0 -0
@@ -745,7 +745,7 @@ def doCreateAuditLogFile(args, parsed_globals):
|
|
745
745
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
746
746
|
|
747
747
|
|
748
|
-
def
|
748
|
+
def doDescribeSlaveZones(args, parsed_globals):
|
749
749
|
g_param = parse_global_arg(parsed_globals)
|
750
750
|
|
751
751
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -774,11 +774,11 @@ def doRenewClusters(args, parsed_globals):
|
|
774
774
|
client = mod.CynosdbClient(cred, g_param[OptionsDefine.Region], profile)
|
775
775
|
client._sdkVersion += ("_CLI_" + __version__)
|
776
776
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
777
|
-
model = models.
|
777
|
+
model = models.DescribeSlaveZonesRequest()
|
778
778
|
model.from_json_string(json.dumps(args))
|
779
779
|
start_time = time.time()
|
780
780
|
while True:
|
781
|
-
rsp = client.
|
781
|
+
rsp = client.DescribeSlaveZones(model)
|
782
782
|
result = rsp.to_json_string()
|
783
783
|
try:
|
784
784
|
json_obj = json.loads(result)
|
@@ -1265,6 +1265,58 @@ def doDescribeResourcesByDealName(args, parsed_globals):
|
|
1265
1265
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1266
1266
|
|
1267
1267
|
|
1268
|
+
def doModifyAuditService(args, parsed_globals):
|
1269
|
+
g_param = parse_global_arg(parsed_globals)
|
1270
|
+
|
1271
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1272
|
+
cred = credential.CVMRoleCredential()
|
1273
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1274
|
+
cred = credential.STSAssumeRoleCredential(
|
1275
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1276
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1277
|
+
)
|
1278
|
+
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):
|
1279
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1280
|
+
else:
|
1281
|
+
cred = credential.Credential(
|
1282
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1283
|
+
)
|
1284
|
+
http_profile = HttpProfile(
|
1285
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1286
|
+
reqMethod="POST",
|
1287
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1288
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1289
|
+
)
|
1290
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1291
|
+
if g_param[OptionsDefine.Language]:
|
1292
|
+
profile.language = g_param[OptionsDefine.Language]
|
1293
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1294
|
+
client = mod.CynosdbClient(cred, g_param[OptionsDefine.Region], profile)
|
1295
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1296
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1297
|
+
model = models.ModifyAuditServiceRequest()
|
1298
|
+
model.from_json_string(json.dumps(args))
|
1299
|
+
start_time = time.time()
|
1300
|
+
while True:
|
1301
|
+
rsp = client.ModifyAuditService(model)
|
1302
|
+
result = rsp.to_json_string()
|
1303
|
+
try:
|
1304
|
+
json_obj = json.loads(result)
|
1305
|
+
except TypeError as e:
|
1306
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1307
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1308
|
+
break
|
1309
|
+
cur_time = time.time()
|
1310
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1311
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1312
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1313
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1314
|
+
else:
|
1315
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1316
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1317
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1318
|
+
|
1319
|
+
|
1268
1320
|
def doExportResourcePackageDeductDetails(args, parsed_globals):
|
1269
1321
|
g_param = parse_global_arg(parsed_globals)
|
1270
1322
|
|
@@ -5373,6 +5425,58 @@ def doDescribeAuditRuleWithInstanceIds(args, parsed_globals):
|
|
5373
5425
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5374
5426
|
|
5375
5427
|
|
5428
|
+
def doDescribeSSLStatus(args, parsed_globals):
|
5429
|
+
g_param = parse_global_arg(parsed_globals)
|
5430
|
+
|
5431
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
5432
|
+
cred = credential.CVMRoleCredential()
|
5433
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
5434
|
+
cred = credential.STSAssumeRoleCredential(
|
5435
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
5436
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
5437
|
+
)
|
5438
|
+
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):
|
5439
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
5440
|
+
else:
|
5441
|
+
cred = credential.Credential(
|
5442
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
5443
|
+
)
|
5444
|
+
http_profile = HttpProfile(
|
5445
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
5446
|
+
reqMethod="POST",
|
5447
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
5448
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
5449
|
+
)
|
5450
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
5451
|
+
if g_param[OptionsDefine.Language]:
|
5452
|
+
profile.language = g_param[OptionsDefine.Language]
|
5453
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
5454
|
+
client = mod.CynosdbClient(cred, g_param[OptionsDefine.Region], profile)
|
5455
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
5456
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
5457
|
+
model = models.DescribeSSLStatusRequest()
|
5458
|
+
model.from_json_string(json.dumps(args))
|
5459
|
+
start_time = time.time()
|
5460
|
+
while True:
|
5461
|
+
rsp = client.DescribeSSLStatus(model)
|
5462
|
+
result = rsp.to_json_string()
|
5463
|
+
try:
|
5464
|
+
json_obj = json.loads(result)
|
5465
|
+
except TypeError as e:
|
5466
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
5467
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
5468
|
+
break
|
5469
|
+
cur_time = time.time()
|
5470
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
5471
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
5472
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
5473
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
5474
|
+
else:
|
5475
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
5476
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
5477
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5478
|
+
|
5479
|
+
|
5376
5480
|
def doExportInstanceErrorLogs(args, parsed_globals):
|
5377
5481
|
g_param = parse_global_arg(parsed_globals)
|
5378
5482
|
|
@@ -6101,7 +6205,7 @@ def doModifyAccountDescription(args, parsed_globals):
|
|
6101
6205
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
6102
6206
|
|
6103
6207
|
|
6104
|
-
def
|
6208
|
+
def doRenewClusters(args, parsed_globals):
|
6105
6209
|
g_param = parse_global_arg(parsed_globals)
|
6106
6210
|
|
6107
6211
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -6130,11 +6234,11 @@ def doModifyServerlessStrategy(args, parsed_globals):
|
|
6130
6234
|
client = mod.CynosdbClient(cred, g_param[OptionsDefine.Region], profile)
|
6131
6235
|
client._sdkVersion += ("_CLI_" + __version__)
|
6132
6236
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
6133
|
-
model = models.
|
6237
|
+
model = models.RenewClustersRequest()
|
6134
6238
|
model.from_json_string(json.dumps(args))
|
6135
6239
|
start_time = time.time()
|
6136
6240
|
while True:
|
6137
|
-
rsp = client.
|
6241
|
+
rsp = client.RenewClusters(model)
|
6138
6242
|
result = rsp.to_json_string()
|
6139
6243
|
try:
|
6140
6244
|
json_obj = json.loads(result)
|
@@ -6621,6 +6725,58 @@ def doUpgradeClusterVersion(args, parsed_globals):
|
|
6621
6725
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
6622
6726
|
|
6623
6727
|
|
6728
|
+
def doOpenSSL(args, parsed_globals):
|
6729
|
+
g_param = parse_global_arg(parsed_globals)
|
6730
|
+
|
6731
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
6732
|
+
cred = credential.CVMRoleCredential()
|
6733
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
6734
|
+
cred = credential.STSAssumeRoleCredential(
|
6735
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
6736
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
6737
|
+
)
|
6738
|
+
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):
|
6739
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
6740
|
+
else:
|
6741
|
+
cred = credential.Credential(
|
6742
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
6743
|
+
)
|
6744
|
+
http_profile = HttpProfile(
|
6745
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
6746
|
+
reqMethod="POST",
|
6747
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
6748
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
6749
|
+
)
|
6750
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
6751
|
+
if g_param[OptionsDefine.Language]:
|
6752
|
+
profile.language = g_param[OptionsDefine.Language]
|
6753
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
6754
|
+
client = mod.CynosdbClient(cred, g_param[OptionsDefine.Region], profile)
|
6755
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
6756
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
6757
|
+
model = models.OpenSSLRequest()
|
6758
|
+
model.from_json_string(json.dumps(args))
|
6759
|
+
start_time = time.time()
|
6760
|
+
while True:
|
6761
|
+
rsp = client.OpenSSL(model)
|
6762
|
+
result = rsp.to_json_string()
|
6763
|
+
try:
|
6764
|
+
json_obj = json.loads(result)
|
6765
|
+
except TypeError as e:
|
6766
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
6767
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
6768
|
+
break
|
6769
|
+
cur_time = time.time()
|
6770
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
6771
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
6772
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
6773
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
6774
|
+
else:
|
6775
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
6776
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
6777
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
6778
|
+
|
6779
|
+
|
6624
6780
|
def doSearchClusterDatabases(args, parsed_globals):
|
6625
6781
|
g_param = parse_global_arg(parsed_globals)
|
6626
6782
|
|
@@ -6985,7 +7141,7 @@ def doDescribeClusterDetailDatabases(args, parsed_globals):
|
|
6985
7141
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
6986
7142
|
|
6987
7143
|
|
6988
|
-
def
|
7144
|
+
def doModifyServerlessStrategy(args, parsed_globals):
|
6989
7145
|
g_param = parse_global_arg(parsed_globals)
|
6990
7146
|
|
6991
7147
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -7014,11 +7170,11 @@ def doModifyAuditService(args, parsed_globals):
|
|
7014
7170
|
client = mod.CynosdbClient(cred, g_param[OptionsDefine.Region], profile)
|
7015
7171
|
client._sdkVersion += ("_CLI_" + __version__)
|
7016
7172
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
7017
|
-
model = models.
|
7173
|
+
model = models.ModifyServerlessStrategyRequest()
|
7018
7174
|
model.from_json_string(json.dumps(args))
|
7019
7175
|
start_time = time.time()
|
7020
7176
|
while True:
|
7021
|
-
rsp = client.
|
7177
|
+
rsp = client.ModifyServerlessStrategy(model)
|
7022
7178
|
result = rsp.to_json_string()
|
7023
7179
|
try:
|
7024
7180
|
json_obj = json.loads(result)
|
@@ -8102,7 +8258,7 @@ ACTION_MAP = {
|
|
8102
8258
|
"DescribeResourcePackageList": doDescribeResourcePackageList,
|
8103
8259
|
"DescribeSupportProxyVersion": doDescribeSupportProxyVersion,
|
8104
8260
|
"CreateAuditLogFile": doCreateAuditLogFile,
|
8105
|
-
"
|
8261
|
+
"DescribeSlaveZones": doDescribeSlaveZones,
|
8106
8262
|
"CloseProxyEndPoint": doCloseProxyEndPoint,
|
8107
8263
|
"CloseProxy": doCloseProxy,
|
8108
8264
|
"DescribeProxySpecs": doDescribeProxySpecs,
|
@@ -8112,6 +8268,7 @@ ACTION_MAP = {
|
|
8112
8268
|
"DescribeInstanceSpecs": doDescribeInstanceSpecs,
|
8113
8269
|
"DescribeBinlogDownloadUrl": doDescribeBinlogDownloadUrl,
|
8114
8270
|
"DescribeResourcesByDealName": doDescribeResourcesByDealName,
|
8271
|
+
"ModifyAuditService": doModifyAuditService,
|
8115
8272
|
"ExportResourcePackageDeductDetails": doExportResourcePackageDeductDetails,
|
8116
8273
|
"ModifyClusterStorage": doModifyClusterStorage,
|
8117
8274
|
"ActivateInstance": doActivateInstance,
|
@@ -8191,6 +8348,7 @@ ACTION_MAP = {
|
|
8191
8348
|
"DescribeResourcePackageSaleSpec": doDescribeResourcePackageSaleSpec,
|
8192
8349
|
"ModifyAccountPrivileges": doModifyAccountPrivileges,
|
8193
8350
|
"DescribeAuditRuleWithInstanceIds": doDescribeAuditRuleWithInstanceIds,
|
8351
|
+
"DescribeSSLStatus": doDescribeSSLStatus,
|
8194
8352
|
"ExportInstanceErrorLogs": doExportInstanceErrorLogs,
|
8195
8353
|
"AddClusterSlaveZone": doAddClusterSlaveZone,
|
8196
8354
|
"ModifyBackupName": doModifyBackupName,
|
@@ -8205,7 +8363,7 @@ ACTION_MAP = {
|
|
8205
8363
|
"OpenReadOnlyInstanceExclusiveAccess": doOpenReadOnlyInstanceExclusiveAccess,
|
8206
8364
|
"DescribeBackupList": doDescribeBackupList,
|
8207
8365
|
"ModifyAccountDescription": doModifyAccountDescription,
|
8208
|
-
"
|
8366
|
+
"RenewClusters": doRenewClusters,
|
8209
8367
|
"CreateClusterDatabase": doCreateClusterDatabase,
|
8210
8368
|
"ModifyResourcePackageName": doModifyResourcePackageName,
|
8211
8369
|
"DeleteAuditLogFile": doDeleteAuditLogFile,
|
@@ -8215,6 +8373,7 @@ ACTION_MAP = {
|
|
8215
8373
|
"OfflineCluster": doOfflineCluster,
|
8216
8374
|
"DescribeParamTemplateDetail": doDescribeParamTemplateDetail,
|
8217
8375
|
"UpgradeClusterVersion": doUpgradeClusterVersion,
|
8376
|
+
"OpenSSL": doOpenSSL,
|
8218
8377
|
"SearchClusterDatabases": doSearchClusterDatabases,
|
8219
8378
|
"DescribeClusterParams": doDescribeClusterParams,
|
8220
8379
|
"RefundResourcePackage": doRefundResourcePackage,
|
@@ -8222,7 +8381,7 @@ ACTION_MAP = {
|
|
8222
8381
|
"DescribeMaintainPeriod": doDescribeMaintainPeriod,
|
8223
8382
|
"SwitchProxyVpc": doSwitchProxyVpc,
|
8224
8383
|
"DescribeClusterDetailDatabases": doDescribeClusterDetailDatabases,
|
8225
|
-
"
|
8384
|
+
"ModifyServerlessStrategy": doModifyServerlessStrategy,
|
8226
8385
|
"DescribeZones": doDescribeZones,
|
8227
8386
|
"DescribeBackupDownloadUrl": doDescribeBackupDownloadUrl,
|
8228
8387
|
"SwitchClusterVpc": doSwitchClusterVpc,
|
@@ -553,6 +553,13 @@
|
|
553
553
|
"output": "DescribeRollbackTimeRangeResponse",
|
554
554
|
"status": "online"
|
555
555
|
},
|
556
|
+
"DescribeSSLStatus": {
|
557
|
+
"document": "查询实例SSL状态",
|
558
|
+
"input": "DescribeSSLStatusRequest",
|
559
|
+
"name": "查询实例SSL状态",
|
560
|
+
"output": "DescribeSSLStatusResponse",
|
561
|
+
"status": "online"
|
562
|
+
},
|
556
563
|
"DescribeServerlessInstanceSpecs": {
|
557
564
|
"document": "查询Serverless实例可选规格",
|
558
565
|
"input": "DescribeServerlessInstanceSpecsRequest",
|
@@ -567,6 +574,13 @@
|
|
567
574
|
"output": "DescribeServerlessStrategyResponse",
|
568
575
|
"status": "online"
|
569
576
|
},
|
577
|
+
"DescribeSlaveZones": {
|
578
|
+
"document": "查询从可用区",
|
579
|
+
"input": "DescribeSlaveZonesRequest",
|
580
|
+
"name": "查询从可用区",
|
581
|
+
"output": "DescribeSlaveZonesResponse",
|
582
|
+
"status": "online"
|
583
|
+
},
|
570
584
|
"DescribeSupportProxyVersion": {
|
571
585
|
"document": "本接口(DescribeSupportProxyVersion)用于查询支持的数据库代理版本。",
|
572
586
|
"input": "DescribeSupportProxyVersionRequest",
|
@@ -910,6 +924,13 @@
|
|
910
924
|
"output": "OpenReadOnlyInstanceExclusiveAccessResponse",
|
911
925
|
"status": "online"
|
912
926
|
},
|
927
|
+
"OpenSSL": {
|
928
|
+
"document": "开启SSL加密",
|
929
|
+
"input": "OpenSSLRequest",
|
930
|
+
"name": "开启SSL加密",
|
931
|
+
"output": "OpenSSLResponse",
|
932
|
+
"status": "online"
|
933
|
+
},
|
913
934
|
"OpenWan": {
|
914
935
|
"document": "本接口(OpenWan)用于开通外网。",
|
915
936
|
"input": "OpenWanRequest",
|
@@ -1088,7 +1109,7 @@
|
|
1088
1109
|
},
|
1089
1110
|
"metadata": {
|
1090
1111
|
"apiVersion": "2019-01-07",
|
1091
|
-
"api_brief": "",
|
1112
|
+
"api_brief": "介绍如何使用 API 对 TDSQL-C MySQL 版进行操作,包括购买新集群、查询集群列表、创建用户账号、续费集群等。",
|
1092
1113
|
"serviceNameCN": "TDSQL-C MySQL 版",
|
1093
1114
|
"serviceShortName": "cynosdb"
|
1094
1115
|
},
|
@@ -3529,6 +3550,16 @@
|
|
3529
3550
|
"output_required": false,
|
3530
3551
|
"type": "string",
|
3531
3552
|
"value_allowed_null": false
|
3553
|
+
},
|
3554
|
+
{
|
3555
|
+
"disabled": false,
|
3556
|
+
"document": "节点列表",
|
3557
|
+
"example": "[\"libran-0\"]",
|
3558
|
+
"member": "string",
|
3559
|
+
"name": "NodeList",
|
3560
|
+
"output_required": false,
|
3561
|
+
"type": "list",
|
3562
|
+
"value_allowed_null": false
|
3532
3563
|
}
|
3533
3564
|
],
|
3534
3565
|
"usage": "out"
|
@@ -3818,7 +3849,7 @@
|
|
3818
3849
|
{
|
3819
3850
|
"disabled": false,
|
3820
3851
|
"document": "已废弃。",
|
3821
|
-
"example": "
|
3852
|
+
"example": "已废弃",
|
3822
3853
|
"member": "AuditLogFilter",
|
3823
3854
|
"name": "Filter",
|
3824
3855
|
"required": false,
|
@@ -3827,11 +3858,20 @@
|
|
3827
3858
|
{
|
3828
3859
|
"disabled": false,
|
3829
3860
|
"document": "审计日志过滤条件",
|
3830
|
-
"example": "
|
3861
|
+
"example": "[{\"Type\": \"host\",\"Compare\": \"INC\",\"Value\": \"100.0.\"}]",
|
3831
3862
|
"member": "InstanceAuditLogFilter",
|
3832
3863
|
"name": "LogFilter",
|
3833
3864
|
"required": false,
|
3834
3865
|
"type": "list"
|
3866
|
+
},
|
3867
|
+
{
|
3868
|
+
"disabled": false,
|
3869
|
+
"document": "审计日志列",
|
3870
|
+
"example": "[\"SqlType\",\"TableName\"]",
|
3871
|
+
"member": "string",
|
3872
|
+
"name": "ColumnFilter",
|
3873
|
+
"required": false,
|
3874
|
+
"type": "list"
|
3835
3875
|
}
|
3836
3876
|
],
|
3837
3877
|
"type": "object"
|
@@ -6800,6 +6840,26 @@
|
|
6800
6840
|
"output_required": false,
|
6801
6841
|
"type": "string",
|
6802
6842
|
"value_allowed_null": false
|
6843
|
+
},
|
6844
|
+
{
|
6845
|
+
"disabled": false,
|
6846
|
+
"document": "未知字段",
|
6847
|
+
"example": "stable",
|
6848
|
+
"member": "string",
|
6849
|
+
"name": "CynosVersionTag",
|
6850
|
+
"output_required": true,
|
6851
|
+
"type": "string",
|
6852
|
+
"value_allowed_null": false
|
6853
|
+
},
|
6854
|
+
{
|
6855
|
+
"disabled": false,
|
6856
|
+
"document": "libradb 节点信息",
|
6857
|
+
"example": "[\"libradbn-1\"]",
|
6858
|
+
"member": "string",
|
6859
|
+
"name": "NodeList",
|
6860
|
+
"output_required": false,
|
6861
|
+
"type": "list",
|
6862
|
+
"value_allowed_null": false
|
6803
6863
|
}
|
6804
6864
|
],
|
6805
6865
|
"usage": "out"
|
@@ -11973,6 +12033,62 @@
|
|
11973
12033
|
],
|
11974
12034
|
"type": "object"
|
11975
12035
|
},
|
12036
|
+
"DescribeSSLStatusRequest": {
|
12037
|
+
"document": "DescribeSSLStatus请求参数结构体",
|
12038
|
+
"members": [
|
12039
|
+
{
|
12040
|
+
"disabled": false,
|
12041
|
+
"document": "集群ID",
|
12042
|
+
"example": "cynosdbmysql-bzxxrmtq",
|
12043
|
+
"member": "string",
|
12044
|
+
"name": "ClusterId",
|
12045
|
+
"required": true,
|
12046
|
+
"type": "string"
|
12047
|
+
},
|
12048
|
+
{
|
12049
|
+
"disabled": false,
|
12050
|
+
"document": "实例ID",
|
12051
|
+
"example": "cynosdbmysql-ins-bzxxrmtq",
|
12052
|
+
"member": "string",
|
12053
|
+
"name": "InstanceId",
|
12054
|
+
"required": false,
|
12055
|
+
"type": "string"
|
12056
|
+
}
|
12057
|
+
],
|
12058
|
+
"type": "object"
|
12059
|
+
},
|
12060
|
+
"DescribeSSLStatusResponse": {
|
12061
|
+
"document": "DescribeSSLStatus返回参数结构体",
|
12062
|
+
"members": [
|
12063
|
+
{
|
12064
|
+
"disabled": false,
|
12065
|
+
"document": "yes-开启,no-关闭\n注意:此字段可能返回 null,表示取不到有效值。",
|
12066
|
+
"example": "no",
|
12067
|
+
"member": "string",
|
12068
|
+
"name": "IsOpenSSL",
|
12069
|
+
"output_required": false,
|
12070
|
+
"type": "string",
|
12071
|
+
"value_allowed_null": true
|
12072
|
+
},
|
12073
|
+
{
|
12074
|
+
"disabled": false,
|
12075
|
+
"document": "证书下载地址",
|
12076
|
+
"example": "无",
|
12077
|
+
"member": "string",
|
12078
|
+
"name": "DownloadUrl",
|
12079
|
+
"output_required": false,
|
12080
|
+
"type": "string",
|
12081
|
+
"value_allowed_null": false
|
12082
|
+
},
|
12083
|
+
{
|
12084
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
12085
|
+
"member": "string",
|
12086
|
+
"name": "RequestId",
|
12087
|
+
"type": "string"
|
12088
|
+
}
|
12089
|
+
],
|
12090
|
+
"type": "object"
|
12091
|
+
},
|
11976
12092
|
"DescribeServerlessInstanceSpecsRequest": {
|
11977
12093
|
"document": "DescribeServerlessInstanceSpecs请求参数结构体",
|
11978
12094
|
"members": [
|
@@ -12097,6 +12213,52 @@
|
|
12097
12213
|
],
|
12098
12214
|
"type": "object"
|
12099
12215
|
},
|
12216
|
+
"DescribeSlaveZonesRequest": {
|
12217
|
+
"document": "DescribeSlaveZones请求参数结构体",
|
12218
|
+
"members": [
|
12219
|
+
{
|
12220
|
+
"disabled": false,
|
12221
|
+
"document": "可用区",
|
12222
|
+
"example": "ap-guangzhou-3",
|
12223
|
+
"member": "string",
|
12224
|
+
"name": "Zone",
|
12225
|
+
"required": true,
|
12226
|
+
"type": "string"
|
12227
|
+
},
|
12228
|
+
{
|
12229
|
+
"disabled": false,
|
12230
|
+
"document": "云架集群ID",
|
12231
|
+
"example": "1",
|
12232
|
+
"member": "int64",
|
12233
|
+
"name": "OssClusterId",
|
12234
|
+
"required": false,
|
12235
|
+
"type": "int"
|
12236
|
+
}
|
12237
|
+
],
|
12238
|
+
"type": "object"
|
12239
|
+
},
|
12240
|
+
"DescribeSlaveZonesResponse": {
|
12241
|
+
"document": "DescribeSlaveZones返回参数结构体",
|
12242
|
+
"members": [
|
12243
|
+
{
|
12244
|
+
"disabled": false,
|
12245
|
+
"document": "从可用区",
|
12246
|
+
"example": "ap-guangzhou-6",
|
12247
|
+
"member": "string",
|
12248
|
+
"name": "SlaveZones",
|
12249
|
+
"output_required": true,
|
12250
|
+
"type": "list",
|
12251
|
+
"value_allowed_null": false
|
12252
|
+
},
|
12253
|
+
{
|
12254
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
12255
|
+
"member": "string",
|
12256
|
+
"name": "RequestId",
|
12257
|
+
"type": "string"
|
12258
|
+
}
|
12259
|
+
],
|
12260
|
+
"type": "object"
|
12261
|
+
},
|
12100
12262
|
"DescribeSupportProxyVersionRequest": {
|
12101
12263
|
"document": "DescribeSupportProxyVersion请求参数结构体",
|
12102
12264
|
"members": [
|
@@ -15366,6 +15528,26 @@
|
|
15366
15528
|
"output_required": true,
|
15367
15529
|
"type": "string",
|
15368
15530
|
"value_allowed_null": false
|
15531
|
+
},
|
15532
|
+
{
|
15533
|
+
"disabled": false,
|
15534
|
+
"document": "libra节点数量",
|
15535
|
+
"example": "2",
|
15536
|
+
"member": "int64",
|
15537
|
+
"name": "LibraNodeCount",
|
15538
|
+
"output_required": false,
|
15539
|
+
"type": "int",
|
15540
|
+
"value_allowed_null": false
|
15541
|
+
},
|
15542
|
+
{
|
15543
|
+
"disabled": false,
|
15544
|
+
"document": "原libra节点数量",
|
15545
|
+
"example": "1",
|
15546
|
+
"member": "int64",
|
15547
|
+
"name": "OldLibraNodeCount",
|
15548
|
+
"output_required": false,
|
15549
|
+
"type": "int",
|
15550
|
+
"value_allowed_null": false
|
15369
15551
|
}
|
15370
15552
|
],
|
15371
15553
|
"usage": "out"
|
@@ -15613,6 +15795,17 @@
|
|
15613
15795
|
"required": false,
|
15614
15796
|
"type": "string",
|
15615
15797
|
"value_allowed_null": false
|
15798
|
+
},
|
15799
|
+
{
|
15800
|
+
"disabled": false,
|
15801
|
+
"document": "libra组件类型",
|
15802
|
+
"example": "libracdc",
|
15803
|
+
"member": "string",
|
15804
|
+
"name": "Component",
|
15805
|
+
"output_required": false,
|
15806
|
+
"required": false,
|
15807
|
+
"type": "string",
|
15808
|
+
"value_allowed_null": false
|
15616
15809
|
}
|
15617
15810
|
],
|
15618
15811
|
"usage": "both"
|
@@ -17017,6 +17210,62 @@
|
|
17017
17210
|
],
|
17018
17211
|
"type": "object"
|
17019
17212
|
},
|
17213
|
+
"OpenSSLRequest": {
|
17214
|
+
"document": "OpenSSL请求参数结构体",
|
17215
|
+
"members": [
|
17216
|
+
{
|
17217
|
+
"disabled": false,
|
17218
|
+
"document": "集群ID",
|
17219
|
+
"example": "cynosdbmysql-bzxxrmtq",
|
17220
|
+
"member": "string",
|
17221
|
+
"name": "ClusterId",
|
17222
|
+
"required": true,
|
17223
|
+
"type": "string"
|
17224
|
+
},
|
17225
|
+
{
|
17226
|
+
"disabled": false,
|
17227
|
+
"document": "实例ID",
|
17228
|
+
"example": "cynosdbmysql-ins-bzxxrmtq",
|
17229
|
+
"member": "string",
|
17230
|
+
"name": "InstanceId",
|
17231
|
+
"required": false,
|
17232
|
+
"type": "string"
|
17233
|
+
}
|
17234
|
+
],
|
17235
|
+
"type": "object"
|
17236
|
+
},
|
17237
|
+
"OpenSSLResponse": {
|
17238
|
+
"document": "OpenSSL返回参数结构体",
|
17239
|
+
"members": [
|
17240
|
+
{
|
17241
|
+
"disabled": false,
|
17242
|
+
"document": "任务流ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
17243
|
+
"example": "123",
|
17244
|
+
"member": "int64",
|
17245
|
+
"name": "FlowId",
|
17246
|
+
"output_required": false,
|
17247
|
+
"type": "int",
|
17248
|
+
"value_allowed_null": true
|
17249
|
+
},
|
17250
|
+
{
|
17251
|
+
"disabled": false,
|
17252
|
+
"document": "任务id\n注意:此字段可能返回 null,表示取不到有效值。",
|
17253
|
+
"example": "无",
|
17254
|
+
"member": "int64",
|
17255
|
+
"name": "TaskId",
|
17256
|
+
"output_required": false,
|
17257
|
+
"type": "int",
|
17258
|
+
"value_allowed_null": true
|
17259
|
+
},
|
17260
|
+
{
|
17261
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
17262
|
+
"member": "string",
|
17263
|
+
"name": "RequestId",
|
17264
|
+
"type": "string"
|
17265
|
+
}
|
17266
|
+
],
|
17267
|
+
"type": "object"
|
17268
|
+
},
|
17020
17269
|
"OpenWanRequest": {
|
17021
17270
|
"document": "OpenWan请求参数结构体",
|
17022
17271
|
"members": [
|