tccli 3.0.1283.1__py2.py3-none-any.whl → 3.0.1285.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/acp/v20220105/api.json +23 -23
- tccli/services/acp/v20220105/examples.json +2 -8
- tccli/services/advisor/v20200721/api.json +4 -2
- tccli/services/apm/v20210622/api.json +1 -1
- tccli/services/autoscaling/v20180419/api.json +88 -86
- tccli/services/bh/bh_client.py +53 -0
- tccli/services/bh/v20230418/api.json +199 -0
- tccli/services/bh/v20230418/examples.json +8 -0
- tccli/services/cdn/v20180606/api.json +4 -2
- tccli/services/cdwch/v20200915/api.json +19 -9
- tccli/services/cdwch/v20200915/examples.json +1 -1
- tccli/services/cdwdoris/v20211228/api.json +18 -0
- tccli/services/cfg/v20210820/api.json +48 -24
- tccli/services/cfg/v20210820/examples.json +8 -2
- tccli/services/clb/v20180317/api.json +21 -3
- tccli/services/cmq/v20190304/api.json +92 -92
- tccli/services/cynosdb/v20190107/api.json +389 -379
- tccli/services/dbbrain/v20191016/api.json +17 -17
- tccli/services/dbbrain/v20210527/api.json +22 -22
- tccli/services/dcdb/v20180411/api.json +14 -4
- tccli/services/dcdb/v20180411/examples.json +1 -1
- tccli/services/dlc/v20210125/api.json +130 -58
- tccli/services/dlc/v20210125/examples.json +5 -5
- tccli/services/domain/v20180808/api.json +160 -160
- tccli/services/dsgc/v20190723/api.json +2 -2
- tccli/services/dts/v20180330/api.json +19 -19
- tccli/services/dts/v20211206/api.json +829 -818
- tccli/services/emr/emr_client.py +53 -0
- tccli/services/emr/v20190103/api.json +247 -0
- tccli/services/emr/v20190103/examples.json +8 -0
- tccli/services/es/v20180416/api.json +13 -3
- tccli/services/es/v20180416/examples.json +2 -2
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +122 -1
- tccli/services/ess/v20201111/examples.json +26 -0
- tccli/services/essbasic/essbasic_client.py +57 -4
- tccli/services/essbasic/v20210526/api.json +163 -0
- tccli/services/essbasic/v20210526/examples.json +26 -0
- tccli/services/fmu/fmu_client.py +8 -167
- tccli/services/fmu/v20191213/api.json +0 -292
- tccli/services/fmu/v20191213/examples.json +0 -24
- tccli/services/goosefs/v20220519/api.json +26 -24
- tccli/services/goosefs/v20220519/examples.json +2 -2
- tccli/services/iotcloud/v20210408/api.json +27 -27
- tccli/services/iotcloud/v20210408/examples.json +6 -6
- tccli/services/iotexplorer/iotexplorer_client.py +0 -106
- tccli/services/iotexplorer/v20190423/api.json +0 -274
- tccli/services/iotexplorer/v20190423/examples.json +0 -16
- tccli/services/iss/v20230517/api.json +547 -537
- tccli/services/iss/v20230517/examples.json +2 -2
- tccli/services/kms/v20190118/api.json +20 -0
- tccli/services/lcic/lcic_client.py +114 -8
- tccli/services/lcic/v20220817/api.json +108 -0
- tccli/services/lcic/v20220817/examples.json +16 -0
- tccli/services/lke/v20231130/api.json +8 -8
- tccli/services/lke/v20231130/examples.json +1 -1
- tccli/services/lowcode/v20210108/api.json +165 -165
- tccli/services/lowcode/v20210108/examples.json +5 -5
- tccli/services/mariadb/v20170312/api.json +12 -2
- tccli/services/mariadb/v20170312/examples.json +4 -4
- tccli/services/mongodb/mongodb_client.py +57 -4
- tccli/services/mongodb/v20190725/api.json +63 -0
- tccli/services/mongodb/v20190725/examples.json +14 -0
- tccli/services/monitor/v20180724/api.json +36 -36
- tccli/services/monitor/v20180724/examples.json +10 -10
- tccli/services/ocr/v20181119/api.json +2 -2
- tccli/services/ocr/v20181119/examples.json +2 -2
- tccli/services/organization/organization_client.py +53 -0
- tccli/services/organization/v20210331/api.json +61 -0
- tccli/services/organization/v20210331/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +11 -2
- tccli/services/redis/v20180412/examples.json +1 -1
- tccli/services/scf/v20180416/api.json +40 -0
- tccli/services/svp/svp_client.py +57 -4
- tccli/services/svp/v20240125/api.json +319 -0
- tccli/services/svp/v20240125/examples.json +8 -0
- tccli/services/tdmq/tdmq_client.py +4 -57
- tccli/services/tdmq/v20200217/api.json +118 -212
- tccli/services/tdmq/v20200217/examples.json +0 -8
- tccli/services/tds/v20220801/api.json +2 -2
- tccli/services/tione/v20211111/api.json +41 -1
- tccli/services/trtc/v20190722/api.json +16 -5
- tccli/services/tse/v20201207/api.json +207 -104
- tccli/services/tsf/tsf_client.py +53 -0
- tccli/services/tsf/v20180326/api.json +48 -4
- tccli/services/tsf/v20180326/examples.json +8 -0
- tccli/services/vclm/v20240523/api.json +20 -2
- tccli/services/vdb/v20230616/api.json +62 -62
- tccli/services/vdb/v20230616/examples.json +2 -2
- tccli/services/vpc/v20170312/api.json +54 -0
- tccli/services/vpc/v20170312/examples.json +8 -0
- tccli/services/vpc/vpc_client.py +53 -0
- tccli/services/waf/v20180125/api.json +143 -0
- tccli/services/waf/v20180125/examples.json +16 -0
- tccli/services/waf/waf_client.py +106 -0
- tccli/services/wedata/v20210820/api.json +1220 -5
- tccli/services/wedata/v20210820/examples.json +32 -8
- tccli/services/wedata/wedata_client.py +159 -0
- {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/RECORD +104 -104
- {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/license_files/LICENSE +0 -0
tccli/services/bh/bh_client.py
CHANGED
@@ -953,6 +953,58 @@ def doDeleteAcls(args, parsed_globals):
|
|
953
953
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
954
954
|
|
955
955
|
|
956
|
+
def doAccessDevices(args, parsed_globals):
|
957
|
+
g_param = parse_global_arg(parsed_globals)
|
958
|
+
|
959
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
960
|
+
cred = credential.CVMRoleCredential()
|
961
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
962
|
+
cred = credential.STSAssumeRoleCredential(
|
963
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
964
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
965
|
+
)
|
966
|
+
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):
|
967
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
968
|
+
else:
|
969
|
+
cred = credential.Credential(
|
970
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
971
|
+
)
|
972
|
+
http_profile = HttpProfile(
|
973
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
974
|
+
reqMethod="POST",
|
975
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
976
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
977
|
+
)
|
978
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
979
|
+
if g_param[OptionsDefine.Language]:
|
980
|
+
profile.language = g_param[OptionsDefine.Language]
|
981
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
982
|
+
client = mod.BhClient(cred, g_param[OptionsDefine.Region], profile)
|
983
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
984
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
985
|
+
model = models.AccessDevicesRequest()
|
986
|
+
model.from_json_string(json.dumps(args))
|
987
|
+
start_time = time.time()
|
988
|
+
while True:
|
989
|
+
rsp = client.AccessDevices(model)
|
990
|
+
result = rsp.to_json_string()
|
991
|
+
try:
|
992
|
+
json_obj = json.loads(result)
|
993
|
+
except TypeError as e:
|
994
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
995
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
996
|
+
break
|
997
|
+
cur_time = time.time()
|
998
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
999
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1000
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1001
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1002
|
+
else:
|
1003
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1004
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1005
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1006
|
+
|
1007
|
+
|
956
1008
|
def doDescribeResources(args, parsed_globals):
|
957
1009
|
g_param = parse_global_arg(parsed_globals)
|
958
1010
|
|
@@ -3270,6 +3322,7 @@ ACTION_MAP = {
|
|
3270
3322
|
"BindDeviceAccountPassword": doBindDeviceAccountPassword,
|
3271
3323
|
"SearchSession": doSearchSession,
|
3272
3324
|
"DeleteAcls": doDeleteAcls,
|
3325
|
+
"AccessDevices": doAccessDevices,
|
3273
3326
|
"DescribeResources": doDescribeResources,
|
3274
3327
|
"DeleteUserGroupMembers": doDeleteUserGroupMembers,
|
3275
3328
|
"ModifyChangePwdTask": doModifyChangePwdTask,
|
@@ -1,5 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
|
+
"AccessDevices": {
|
4
|
+
"document": "外部客户访问资产",
|
5
|
+
"input": "AccessDevicesRequest",
|
6
|
+
"name": "运维登录资产",
|
7
|
+
"output": "AccessDevicesResponse",
|
8
|
+
"status": "online"
|
9
|
+
},
|
3
10
|
"AddDeviceGroupMembers": {
|
4
11
|
"document": "添加资产组成员",
|
5
12
|
"input": "AddDeviceGroupMembersRequest",
|
@@ -481,6 +488,198 @@
|
|
481
488
|
],
|
482
489
|
"usage": "both"
|
483
490
|
},
|
491
|
+
"AccessDevicesRequest": {
|
492
|
+
"document": "AccessDevices请求参数结构体",
|
493
|
+
"members": [
|
494
|
+
{
|
495
|
+
"disabled": false,
|
496
|
+
"document": "资源id",
|
497
|
+
"example": "ins-bhtest",
|
498
|
+
"member": "string",
|
499
|
+
"name": "InstanceId",
|
500
|
+
"required": true,
|
501
|
+
"type": "string"
|
502
|
+
},
|
503
|
+
{
|
504
|
+
"disabled": false,
|
505
|
+
"document": "账号",
|
506
|
+
"example": "root",
|
507
|
+
"member": "string",
|
508
|
+
"name": "Account",
|
509
|
+
"required": true,
|
510
|
+
"type": "string"
|
511
|
+
},
|
512
|
+
{
|
513
|
+
"disabled": false,
|
514
|
+
"document": "运维端登录账号",
|
515
|
+
"example": "zhangsan",
|
516
|
+
"member": "string",
|
517
|
+
"name": "LoginAccount",
|
518
|
+
"required": true,
|
519
|
+
"type": "string"
|
520
|
+
},
|
521
|
+
{
|
522
|
+
"disabled": false,
|
523
|
+
"document": "运维端登录密码",
|
524
|
+
"example": "980930",
|
525
|
+
"member": "string",
|
526
|
+
"name": "LoginPassword",
|
527
|
+
"required": true,
|
528
|
+
"type": "string"
|
529
|
+
},
|
530
|
+
{
|
531
|
+
"disabled": false,
|
532
|
+
"document": "密码",
|
533
|
+
"example": "1a2b3c",
|
534
|
+
"member": "string",
|
535
|
+
"name": "Password",
|
536
|
+
"required": false,
|
537
|
+
"type": "string"
|
538
|
+
},
|
539
|
+
{
|
540
|
+
"disabled": false,
|
541
|
+
"document": "私钥",
|
542
|
+
"example": "bh-test-private-key",
|
543
|
+
"member": "string",
|
544
|
+
"name": "PrivateKey",
|
545
|
+
"required": false,
|
546
|
+
"type": "string"
|
547
|
+
},
|
548
|
+
{
|
549
|
+
"disabled": false,
|
550
|
+
"document": "私钥密码",
|
551
|
+
"example": "1a2b3c",
|
552
|
+
"member": "string",
|
553
|
+
"name": "PrivateKeyPassword",
|
554
|
+
"required": false,
|
555
|
+
"type": "string"
|
556
|
+
},
|
557
|
+
{
|
558
|
+
"disabled": false,
|
559
|
+
"document": "客户端工具",
|
560
|
+
"example": "mrd",
|
561
|
+
"member": "string",
|
562
|
+
"name": "Exe",
|
563
|
+
"required": false,
|
564
|
+
"type": "string"
|
565
|
+
},
|
566
|
+
{
|
567
|
+
"disabled": false,
|
568
|
+
"document": "RDP挂载盘符驱动(mstsc支持)",
|
569
|
+
"example": "[\"c:\",\"d:\"]",
|
570
|
+
"member": "string",
|
571
|
+
"name": "Drivers",
|
572
|
+
"required": false,
|
573
|
+
"type": "list"
|
574
|
+
},
|
575
|
+
{
|
576
|
+
"disabled": false,
|
577
|
+
"document": "窗口宽度(RDP支持)",
|
578
|
+
"example": "800",
|
579
|
+
"member": "uint64",
|
580
|
+
"name": "Width",
|
581
|
+
"required": false,
|
582
|
+
"type": "int"
|
583
|
+
},
|
584
|
+
{
|
585
|
+
"disabled": false,
|
586
|
+
"document": "窗口高度(RDP支持)",
|
587
|
+
"example": "600",
|
588
|
+
"member": "uint64",
|
589
|
+
"name": "Height",
|
590
|
+
"required": false,
|
591
|
+
"type": "int"
|
592
|
+
},
|
593
|
+
{
|
594
|
+
"disabled": false,
|
595
|
+
"document": "是否内网访问(默认不是)",
|
596
|
+
"example": "false",
|
597
|
+
"member": "bool",
|
598
|
+
"name": "IntranetAccess",
|
599
|
+
"required": false,
|
600
|
+
"type": "bool"
|
601
|
+
}
|
602
|
+
],
|
603
|
+
"type": "object"
|
604
|
+
},
|
605
|
+
"AccessDevicesResponse": {
|
606
|
+
"document": "AccessDevices返回参数结构体",
|
607
|
+
"members": [
|
608
|
+
{
|
609
|
+
"disabled": false,
|
610
|
+
"document": "认证信息",
|
611
|
+
"example": "{\"Ip\":\"127.0.0.1\",\"Port\":22}",
|
612
|
+
"member": "AccessInfo",
|
613
|
+
"name": "AccessInfo",
|
614
|
+
"output_required": false,
|
615
|
+
"type": "object",
|
616
|
+
"value_allowed_null": false
|
617
|
+
},
|
618
|
+
{
|
619
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
620
|
+
"member": "string",
|
621
|
+
"name": "RequestId",
|
622
|
+
"type": "string"
|
623
|
+
}
|
624
|
+
],
|
625
|
+
"type": "object"
|
626
|
+
},
|
627
|
+
"AccessInfo": {
|
628
|
+
"document": "认证信息",
|
629
|
+
"members": [
|
630
|
+
{
|
631
|
+
"disabled": false,
|
632
|
+
"document": "地址",
|
633
|
+
"example": "127.0.0.1",
|
634
|
+
"member": "string",
|
635
|
+
"name": "Ip",
|
636
|
+
"output_required": false,
|
637
|
+
"type": "string",
|
638
|
+
"value_allowed_null": false
|
639
|
+
},
|
640
|
+
{
|
641
|
+
"disabled": false,
|
642
|
+
"document": "端口",
|
643
|
+
"example": "80",
|
644
|
+
"member": "uint64",
|
645
|
+
"name": "Port",
|
646
|
+
"output_required": false,
|
647
|
+
"type": "int",
|
648
|
+
"value_allowed_null": false
|
649
|
+
},
|
650
|
+
{
|
651
|
+
"disabled": false,
|
652
|
+
"document": "账号",
|
653
|
+
"example": "v_feifei",
|
654
|
+
"member": "string",
|
655
|
+
"name": "User",
|
656
|
+
"output_required": false,
|
657
|
+
"type": "string",
|
658
|
+
"value_allowed_null": false
|
659
|
+
},
|
660
|
+
{
|
661
|
+
"disabled": false,
|
662
|
+
"document": "密码",
|
663
|
+
"example": "980930",
|
664
|
+
"member": "string",
|
665
|
+
"name": "Password",
|
666
|
+
"output_required": false,
|
667
|
+
"type": "string",
|
668
|
+
"value_allowed_null": false
|
669
|
+
},
|
670
|
+
{
|
671
|
+
"disabled": false,
|
672
|
+
"document": "唤起链接|wss链接",
|
673
|
+
"example": "tsecbh://CgcxLjIuMS4xEgNtcmQaDzEyMy4yMDcuMTA2LjIxNyDFQSoNMTkyLjE2OC4xMS4xMzIr546w572R546v5aKD5YaF572R6K6_6Zeu6ZW_5pyf5L2_55SoLeWLv-WIoDoNYWRtaW5pc3RyYXRvckIQcmYwU1pIQ0ozcmlFQ1lVb0gBUIAIWIAGeAA",
|
674
|
+
"member": "string",
|
675
|
+
"name": "AccessURL",
|
676
|
+
"output_required": false,
|
677
|
+
"type": "string",
|
678
|
+
"value_allowed_null": false
|
679
|
+
}
|
680
|
+
],
|
681
|
+
"usage": "out"
|
682
|
+
},
|
484
683
|
"Acl": {
|
485
684
|
"document": "访问权限",
|
486
685
|
"members": [
|
@@ -1,5 +1,13 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
|
+
"AccessDevices": [
|
4
|
+
{
|
5
|
+
"document": "",
|
6
|
+
"input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AccessDevices\n<公共请求参数>\n\n{\n \"InstanceId\": \"ins-2ftyp2vu\",\n \"Account\": \"zhangsan\",\n \"LoginAccount\": \"account\",\n \"LoginPassword\": \"pass\",\n \"Password\": \"\",\n \"PrivateKey\": \"\",\n \"PrivateKeyPassword\": \"\",\n \"Exe\": \"web\",\n \"Drivers\": [\n \"\"\n ],\n \"Width\": 60,\n \"Height\": 80,\n \"IntranetAccess\": false\n}",
|
7
|
+
"output": "{\n \"Response\": {\n \"AccessInfo\": {\n \"AccessURL\": \"\",\n \"Ip\": \"11.11.11.11\",\n \"Password\": \"sHUbwq6nFm9mja05n10X6YZ1TbTr0mpS\",\n \"Port\": 8322,\n \"User\": \"root@FdfmcRltiJZ2nNam\"\n },\n \"RequestId\": \"3bd56f7b-6453-476d-b0fa-c97c164d68b8\"\n }\n}",
|
8
|
+
"title": "访问示例"
|
9
|
+
}
|
10
|
+
],
|
3
11
|
"AddDeviceGroupMembers": [
|
4
12
|
{
|
5
13
|
"document": "",
|
@@ -16281,9 +16281,10 @@
|
|
16281
16281
|
{
|
16282
16282
|
"disabled": false,
|
16283
16283
|
"document": "国内特殊配置。\n注意:此字段可能返回 null,表示取不到有效值。",
|
16284
|
-
"example": "",
|
16284
|
+
"example": "null",
|
16285
16285
|
"member": "MainlandConfig",
|
16286
16286
|
"name": "Mainland",
|
16287
|
+
"output_required": true,
|
16287
16288
|
"required": false,
|
16288
16289
|
"type": "object",
|
16289
16290
|
"value_allowed_null": true
|
@@ -16291,9 +16292,10 @@
|
|
16291
16292
|
{
|
16292
16293
|
"disabled": false,
|
16293
16294
|
"document": "海外特殊配置。\n注意:此字段可能返回 null,表示取不到有效值。",
|
16294
|
-
"example": "",
|
16295
|
+
"example": "null",
|
16295
16296
|
"member": "OverseaConfig",
|
16296
16297
|
"name": "Overseas",
|
16298
|
+
"output_required": true,
|
16297
16299
|
"required": false,
|
16298
16300
|
"type": "object",
|
16299
16301
|
"value_allowed_null": true
|
@@ -2419,7 +2419,7 @@
|
|
2419
2419
|
{
|
2420
2420
|
"disabled": false,
|
2421
2421
|
"document": "错误流程说明信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
2422
|
-
"example": "
|
2422
|
+
"example": "error",
|
2423
2423
|
"member": "string",
|
2424
2424
|
"name": "FlowMsg",
|
2425
2425
|
"output_required": true,
|
@@ -2479,7 +2479,7 @@
|
|
2479
2479
|
{
|
2480
2480
|
"disabled": false,
|
2481
2481
|
"document": "日志主题ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
2482
|
-
"example": "
|
2482
|
+
"example": "error",
|
2483
2483
|
"member": "string",
|
2484
2484
|
"name": "ClsTopicId",
|
2485
2485
|
"output_required": true,
|
@@ -2489,7 +2489,7 @@
|
|
2489
2489
|
{
|
2490
2490
|
"disabled": false,
|
2491
2491
|
"document": "日志集ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
2492
|
-
"example": "
|
2492
|
+
"example": "error",
|
2493
2493
|
"member": "string",
|
2494
2494
|
"name": "ClsLogSetId",
|
2495
2495
|
"output_required": true,
|
@@ -2639,7 +2639,7 @@
|
|
2639
2639
|
{
|
2640
2640
|
"disabled": false,
|
2641
2641
|
"document": "服务信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
2642
|
-
"example": "[]",
|
2642
|
+
"example": "[\"error\"]",
|
2643
2643
|
"member": "ServiceInfo",
|
2644
2644
|
"name": "Components",
|
2645
2645
|
"output_required": true,
|
@@ -2649,7 +2649,7 @@
|
|
2649
2649
|
{
|
2650
2650
|
"disabled": false,
|
2651
2651
|
"document": "可升级的内核版本\n注意:此字段可能返回 null,表示取不到有效值。",
|
2652
|
-
"example": "
|
2652
|
+
"example": "error",
|
2653
2653
|
"member": "string",
|
2654
2654
|
"name": "UpgradeVersions",
|
2655
2655
|
"output_required": true,
|
@@ -2755,6 +2755,16 @@
|
|
2755
2755
|
"output_required": false,
|
2756
2756
|
"type": "list",
|
2757
2757
|
"value_allowed_null": true
|
2758
|
+
},
|
2759
|
+
{
|
2760
|
+
"disabled": false,
|
2761
|
+
"document": "是否开启公网clb",
|
2762
|
+
"example": "true",
|
2763
|
+
"member": "bool",
|
2764
|
+
"name": "HasPublicCloudClb",
|
2765
|
+
"output_required": false,
|
2766
|
+
"type": "bool",
|
2767
|
+
"value_allowed_null": false
|
2758
2768
|
}
|
2759
2769
|
],
|
2760
2770
|
"usage": "out"
|
@@ -3975,7 +3985,7 @@
|
|
3975
3985
|
"example": "123",
|
3976
3986
|
"member": "string",
|
3977
3987
|
"name": "FlowId",
|
3978
|
-
"
|
3988
|
+
"output_required": true,
|
3979
3989
|
"type": "string",
|
3980
3990
|
"value_allowed_null": true
|
3981
3991
|
},
|
@@ -3985,17 +3995,17 @@
|
|
3985
3995
|
"example": "cdwch-xxxxxxx",
|
3986
3996
|
"member": "string",
|
3987
3997
|
"name": "InstanceId",
|
3988
|
-
"
|
3998
|
+
"output_required": true,
|
3989
3999
|
"type": "string",
|
3990
4000
|
"value_allowed_null": true
|
3991
4001
|
},
|
3992
4002
|
{
|
3993
4003
|
"disabled": false,
|
3994
4004
|
"document": "错误信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
3995
|
-
"example": "
|
4005
|
+
"example": "InvalidParameter",
|
3996
4006
|
"member": "string",
|
3997
4007
|
"name": "ErrorMsg",
|
3998
|
-
"
|
4008
|
+
"output_required": true,
|
3999
4009
|
"type": "string",
|
4000
4010
|
"value_allowed_null": true
|
4001
4011
|
},
|
@@ -220,7 +220,7 @@
|
|
220
220
|
{
|
221
221
|
"document": "",
|
222
222
|
"input": "POST / HTTP/1.1\nHost: cdwch.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ScaleUpInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwch-nzb9s4zz\",\n \"Type\": \"DATA\",\n \"SpecName\": \"SCH1\",\n \"ScaleUpEnableRolling\": false\n}",
|
223
|
-
"output": "{\n \"Response\": {\n \"InstanceId\": \"
|
223
|
+
"output": "{\n \"Response\": {\n \"InstanceId\": \"cdwch-xxxxxxxx\",\n \"FlowId\": \"001\",\n \"RequestId\": \"20a71202-27c4-4120-80c4-fb1a8e15dxxx\",\n \"ErrorMsg\": \"InvalidParameter\"\n }\n}",
|
224
224
|
"title": "示例"
|
225
225
|
}
|
226
226
|
]
|
@@ -4281,6 +4281,15 @@
|
|
4281
4281
|
"name": "SortOrder",
|
4282
4282
|
"required": false,
|
4283
4283
|
"type": "string"
|
4284
|
+
},
|
4285
|
+
{
|
4286
|
+
"disabled": false,
|
4287
|
+
"document": "user",
|
4288
|
+
"example": "user1",
|
4289
|
+
"member": "string",
|
4290
|
+
"name": "UserName",
|
4291
|
+
"required": false,
|
4292
|
+
"type": "string"
|
4284
4293
|
}
|
4285
4294
|
],
|
4286
4295
|
"type": "object"
|
@@ -4453,6 +4462,15 @@
|
|
4453
4462
|
"name": "SortOrder",
|
4454
4463
|
"required": false,
|
4455
4464
|
"type": "string"
|
4465
|
+
},
|
4466
|
+
{
|
4467
|
+
"disabled": false,
|
4468
|
+
"document": "user",
|
4469
|
+
"example": "user1",
|
4470
|
+
"member": "string",
|
4471
|
+
"name": "UserName",
|
4472
|
+
"required": false,
|
4473
|
+
"type": "string"
|
4456
4474
|
}
|
4457
4475
|
],
|
4458
4476
|
"type": "object"
|