tccli 3.0.1133.1__py2.py3-none-any.whl → 3.0.1135.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/asr/v20190614/api.json +2 -2
  3. tccli/services/billing/v20180709/api.json +10 -0
  4. tccli/services/cam/v20190116/api.json +41 -12
  5. tccli/services/cdb/cdb_client.py +57 -4
  6. tccli/services/cdb/v20170320/api.json +270 -0
  7. tccli/services/cdb/v20170320/examples.json +8 -0
  8. tccli/services/cls/v20201016/api.json +3 -3
  9. tccli/services/cls/v20201016/examples.json +1 -1
  10. tccli/services/cmq/v20190304/api.json +53 -49
  11. tccli/services/cmq/v20190304/examples.json +2 -2
  12. tccli/services/cynosdb/cynosdb_client.py +57 -4
  13. tccli/services/cynosdb/v20190107/api.json +111 -0
  14. tccli/services/cynosdb/v20190107/examples.json +8 -0
  15. tccli/services/dlc/dlc_client.py +53 -0
  16. tccli/services/dlc/v20210125/api.json +153 -6
  17. tccli/services/dlc/v20210125/examples.json +14 -6
  18. tccli/services/dsgc/v20190723/api.json +45 -40
  19. tccli/services/dts/dts_client.py +0 -53
  20. tccli/services/dts/v20180330/api.json +0 -98
  21. tccli/services/dts/v20180330/examples.json +0 -8
  22. tccli/services/emr/v20190103/api.json +4 -4
  23. tccli/services/ess/ess_client.py +411 -305
  24. tccli/services/ess/v20201111/api.json +144 -0
  25. tccli/services/ess/v20201111/examples.json +16 -0
  26. tccli/services/essbasic/essbasic_client.py +110 -4
  27. tccli/services/essbasic/v20210526/api.json +138 -3
  28. tccli/services/essbasic/v20210526/examples.json +16 -0
  29. tccli/services/facefusion/v20181201/api.json +12 -12
  30. tccli/services/facefusion/v20181201/examples.json +4 -4
  31. tccli/services/iotexplorer/v20190423/api.json +4 -4
  32. tccli/services/lcic/v20220817/api.json +4 -4
  33. tccli/services/lighthouse/v20200324/api.json +1 -1
  34. tccli/services/lke/v20231130/api.json +274 -82
  35. tccli/services/lke/v20231130/examples.json +11 -5
  36. tccli/services/mongodb/mongodb_client.py +57 -4
  37. tccli/services/mongodb/v20190725/api.json +96 -0
  38. tccli/services/mongodb/v20190725/examples.json +8 -0
  39. tccli/services/mps/v20190612/api.json +57 -7
  40. tccli/services/mps/v20190612/examples.json +1 -1
  41. tccli/services/ocr/v20181119/api.json +373 -3
  42. tccli/services/organization/organization_client.py +118 -12
  43. tccli/services/organization/v20210331/api.json +68 -0
  44. tccli/services/organization/v20210331/examples.json +16 -0
  45. tccli/services/ses/v20201002/api.json +20 -1
  46. tccli/services/tdmq/tdmq_client.py +443 -19
  47. tccli/services/tdmq/v20200217/api.json +607 -17
  48. tccli/services/tdmq/v20200217/examples.json +64 -0
  49. tccli/services/tke/v20180525/api.json +33 -21
  50. tccli/services/tke/v20180525/examples.json +4 -4
  51. tccli/services/trro/v20220325/api.json +6 -6
  52. tccli/services/trtc/v20190722/api.json +4 -4
  53. tccli/services/tsf/v20180326/api.json +37 -27
  54. tccli/services/tsf/v20180326/examples.json +1 -1
  55. {tccli-3.0.1133.1.dist-info → tccli-3.0.1135.1.dist-info}/METADATA +2 -2
  56. {tccli-3.0.1133.1.dist-info → tccli-3.0.1135.1.dist-info}/RECORD +59 -59
  57. {tccli-3.0.1133.1.dist-info → tccli-3.0.1135.1.dist-info}/WHEEL +0 -0
  58. {tccli-3.0.1133.1.dist-info → tccli-3.0.1135.1.dist-info}/entry_points.txt +0 -0
  59. {tccli-3.0.1133.1.dist-info → tccli-3.0.1135.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1133.1'
1
+ __version__ = '3.0.1135.1'
@@ -832,7 +832,7 @@
832
832
  {
833
833
  "disabled": false,
834
834
  "document": "录音文件识别的请求返回结果。",
835
- "example": "{ \"Response\": { \"RequestId\": \"8824366f-0e8f-4bd4-8924-af5e84127caa\"",
835
+ "example": "",
836
836
  "member": "TaskStatus",
837
837
  "name": "Data",
838
838
  "output_required": true,
@@ -2302,7 +2302,7 @@
2302
2302
  "example": "无",
2303
2303
  "member": "string",
2304
2304
  "name": "VoicePrintId",
2305
- "required": true,
2305
+ "required": false,
2306
2306
  "type": "string"
2307
2307
  }
2308
2308
  ],
@@ -7038,6 +7038,16 @@
7038
7038
  "output_required": false,
7039
7039
  "type": "string",
7040
7040
  "value_allowed_null": true
7041
+ },
7042
+ {
7043
+ "disabled": false,
7044
+ "document": "标签信息\n注意:此字段可能返回 null,表示取不到有效值。",
7045
+ "example": "无",
7046
+ "member": "string",
7047
+ "name": "Tags",
7048
+ "output_required": false,
7049
+ "type": "string",
7050
+ "value_allowed_null": true
7041
7051
  }
7042
7052
  ],
7043
7053
  "usage": "out"
@@ -633,7 +633,7 @@
633
633
  "example": "AccessKeyId",
634
634
  "member": "string",
635
635
  "name": "AccessKeyId",
636
- "required": true,
636
+ "output_required": true,
637
637
  "type": "string",
638
638
  "value_allowed_null": false
639
639
  },
@@ -643,7 +643,7 @@
643
643
  "example": "Active",
644
644
  "member": "string",
645
645
  "name": "Status",
646
- "required": true,
646
+ "output_required": true,
647
647
  "type": "string",
648
648
  "value_allowed_null": false
649
649
  },
@@ -653,9 +653,19 @@
653
653
  "example": "2021-03-20 00:00:00",
654
654
  "member": "datetime",
655
655
  "name": "CreateTime",
656
- "required": true,
656
+ "output_required": true,
657
657
  "type": "string",
658
658
  "value_allowed_null": false
659
+ },
660
+ {
661
+ "disabled": false,
662
+ "document": "密钥描述\n注意:此字段可能返回 null,表示取不到有效值。",
663
+ "example": "备注",
664
+ "member": "string",
665
+ "name": "Description",
666
+ "output_required": false,
667
+ "type": "string",
668
+ "value_allowed_null": true
659
669
  }
660
670
  ],
661
671
  "usage": "out"
@@ -666,42 +676,52 @@
666
676
  {
667
677
  "disabled": false,
668
678
  "document": "访问密钥标识",
669
- "example": "",
679
+ "example": "",
670
680
  "member": "string",
671
681
  "name": "AccessKeyId",
672
- "required": true,
682
+ "output_required": true,
673
683
  "type": "string",
674
684
  "value_allowed_null": false
675
685
  },
676
686
  {
677
687
  "disabled": false,
678
688
  "document": "访问密钥(密钥仅创建时可见,请妥善保存)",
679
- "example": "",
689
+ "example": "",
680
690
  "member": "string",
681
691
  "name": "SecretAccessKey",
682
- "required": true,
692
+ "output_required": true,
683
693
  "type": "string",
684
694
  "value_allowed_null": false
685
695
  },
686
696
  {
687
697
  "disabled": false,
688
698
  "document": "密钥状态,激活(Active)或未激活(Inactive)",
689
- "example": "",
699
+ "example": "",
690
700
  "member": "string",
691
701
  "name": "Status",
692
- "required": true,
702
+ "output_required": true,
693
703
  "type": "string",
694
704
  "value_allowed_null": false
695
705
  },
696
706
  {
697
707
  "disabled": false,
698
708
  "document": "创建时间",
699
- "example": "",
709
+ "example": "",
700
710
  "member": "datetime",
701
711
  "name": "CreateTime",
702
- "required": true,
712
+ "output_required": true,
703
713
  "type": "string",
704
714
  "value_allowed_null": false
715
+ },
716
+ {
717
+ "disabled": false,
718
+ "document": "描述\n注意:此字段可能返回 null,表示取不到有效值。",
719
+ "example": "无",
720
+ "member": "string",
721
+ "name": "Description",
722
+ "output_required": false,
723
+ "type": "string",
724
+ "value_allowed_null": true
705
725
  }
706
726
  ],
707
727
  "usage": "out"
@@ -1551,6 +1571,15 @@
1551
1571
  "name": "TargetUin",
1552
1572
  "required": false,
1553
1573
  "type": "int"
1574
+ },
1575
+ {
1576
+ "disabled": false,
1577
+ "document": "密钥描述,长度在1到1024之间,可包含大小写字符,数字以及特殊字符:=,.@:/-。 正则为:[\\w+=,.@:/-]*。",
1578
+ "example": "备注",
1579
+ "member": "string",
1580
+ "name": "Description",
1581
+ "required": false,
1582
+ "type": "string"
1554
1583
  }
1555
1584
  ],
1556
1585
  "type": "object"
@@ -1564,7 +1593,7 @@
1564
1593
  "example": "无",
1565
1594
  "member": "AccessKeyDetail",
1566
1595
  "name": "AccessKey",
1567
- "required": true,
1596
+ "output_required": true,
1568
1597
  "type": "object",
1569
1598
  "value_allowed_null": true
1570
1599
  },
@@ -433,6 +433,58 @@ def doIsolateDBInstance(args, parsed_globals):
433
433
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
434
434
 
435
435
 
436
+ def doDescribeRoGroups(args, parsed_globals):
437
+ g_param = parse_global_arg(parsed_globals)
438
+
439
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
440
+ cred = credential.CVMRoleCredential()
441
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
442
+ cred = credential.STSAssumeRoleCredential(
443
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
444
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
445
+ )
446
+ 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):
447
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
448
+ else:
449
+ cred = credential.Credential(
450
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
451
+ )
452
+ http_profile = HttpProfile(
453
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
454
+ reqMethod="POST",
455
+ endpoint=g_param[OptionsDefine.Endpoint],
456
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
457
+ )
458
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
459
+ if g_param[OptionsDefine.Language]:
460
+ profile.language = g_param[OptionsDefine.Language]
461
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
462
+ client = mod.CdbClient(cred, g_param[OptionsDefine.Region], profile)
463
+ client._sdkVersion += ("_CLI_" + __version__)
464
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
465
+ model = models.DescribeRoGroupsRequest()
466
+ model.from_json_string(json.dumps(args))
467
+ start_time = time.time()
468
+ while True:
469
+ rsp = client.DescribeRoGroups(model)
470
+ result = rsp.to_json_string()
471
+ try:
472
+ json_obj = json.loads(result)
473
+ except TypeError as e:
474
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
475
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
476
+ break
477
+ cur_time = time.time()
478
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
479
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
480
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
481
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
482
+ else:
483
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
484
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
485
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
486
+
487
+
436
488
  def doDescribeAccounts(args, parsed_globals):
437
489
  g_param = parse_global_arg(parsed_globals)
438
490
 
@@ -1005,7 +1057,7 @@ def doStopRollback(args, parsed_globals):
1005
1057
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1006
1058
 
1007
1059
 
1008
- def doDescribeRoGroups(args, parsed_globals):
1060
+ def doDescribeInstanceUpgradeType(args, parsed_globals):
1009
1061
  g_param = parse_global_arg(parsed_globals)
1010
1062
 
1011
1063
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1034,11 +1086,11 @@ def doDescribeRoGroups(args, parsed_globals):
1034
1086
  client = mod.CdbClient(cred, g_param[OptionsDefine.Region], profile)
1035
1087
  client._sdkVersion += ("_CLI_" + __version__)
1036
1088
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1037
- model = models.DescribeRoGroupsRequest()
1089
+ model = models.DescribeInstanceUpgradeTypeRequest()
1038
1090
  model.from_json_string(json.dumps(args))
1039
1091
  start_time = time.time()
1040
1092
  while True:
1041
- rsp = client.DescribeRoGroups(model)
1093
+ rsp = client.DescribeInstanceUpgradeType(model)
1042
1094
  result = rsp.to_json_string()
1043
1095
  try:
1044
1096
  json_obj = json.loads(result)
@@ -8564,6 +8616,7 @@ ACTION_MAP = {
8564
8616
  "CreateAuditRuleTemplate": doCreateAuditRuleTemplate,
8565
8617
  "BalanceRoGroupLoad": doBalanceRoGroupLoad,
8566
8618
  "IsolateDBInstance": doIsolateDBInstance,
8619
+ "DescribeRoGroups": doDescribeRoGroups,
8567
8620
  "DescribeAccounts": doDescribeAccounts,
8568
8621
  "ModifyInstanceTag": doModifyInstanceTag,
8569
8622
  "DescribeTimeWindow": doDescribeTimeWindow,
@@ -8575,7 +8628,7 @@ ACTION_MAP = {
8575
8628
  "DescribeCdbZoneConfig": doDescribeCdbZoneConfig,
8576
8629
  "CloseAuditService": doCloseAuditService,
8577
8630
  "StopRollback": doStopRollback,
8578
- "DescribeRoGroups": doDescribeRoGroups,
8631
+ "DescribeInstanceUpgradeType": doDescribeInstanceUpgradeType,
8579
8632
  "OfflineIsolatedInstances": doOfflineIsolatedInstances,
8580
8633
  "CreateAuditLogFile": doCreateAuditLogFile,
8581
8634
  "OpenDBInstanceGTID": doOpenDBInstanceGTID,
@@ -588,6 +588,13 @@
588
588
  "output": "DescribeInstanceParamsResponse",
589
589
  "status": "online"
590
590
  },
591
+ "DescribeInstanceUpgradeType": {
592
+ "document": "本接口(DescribeInstanceUpgradeType)用于查询数据库实例升级类型。",
593
+ "input": "DescribeInstanceUpgradeTypeRequest",
594
+ "name": "查询数据库实例升级类型",
595
+ "output": "DescribeInstanceUpgradeTypeResponse",
596
+ "status": "online"
597
+ },
591
598
  "DescribeLocalBinlogConfig": {
592
599
  "document": "该接口用于查询实例本地binlog保留策略。",
593
600
  "input": "DescribeLocalBinlogConfigRequest",
@@ -4223,6 +4230,30 @@
4223
4230
  ],
4224
4231
  "usage": "both"
4225
4232
  },
4233
+ "ClusterTopology": {
4234
+ "document": "集群版的节点拓扑配置。",
4235
+ "members": [
4236
+ {
4237
+ "disabled": false,
4238
+ "document": "RW 节点拓扑。",
4239
+ "example": "无",
4240
+ "member": "ReadWriteNode",
4241
+ "name": "ReadWriteNode",
4242
+ "required": false,
4243
+ "type": "object"
4244
+ },
4245
+ {
4246
+ "disabled": false,
4247
+ "document": "RO 节点拓扑。",
4248
+ "example": "无",
4249
+ "member": "ReadonlyNode",
4250
+ "name": "ReadOnlyNodes",
4251
+ "required": false,
4252
+ "type": "list"
4253
+ }
4254
+ ],
4255
+ "usage": "in"
4256
+ },
4226
4257
  "ColumnPrivilege": {
4227
4258
  "document": "列权限信息",
4228
4259
  "members": [
@@ -10858,6 +10889,161 @@
10858
10889
  ],
10859
10890
  "type": "object"
10860
10891
  },
10892
+ "DescribeInstanceUpgradeTypeRequest": {
10893
+ "document": "DescribeInstanceUpgradeType请求参数结构体",
10894
+ "members": [
10895
+ {
10896
+ "disabled": false,
10897
+ "document": "实例id",
10898
+ "example": "cdb-xxx",
10899
+ "member": "string",
10900
+ "name": "InstanceId",
10901
+ "required": true,
10902
+ "type": "string"
10903
+ },
10904
+ {
10905
+ "disabled": false,
10906
+ "document": "目标实例cpu",
10907
+ "example": "2",
10908
+ "member": "float",
10909
+ "name": "DstCpu",
10910
+ "required": true,
10911
+ "type": "float"
10912
+ },
10913
+ {
10914
+ "disabled": false,
10915
+ "document": "目标实例内存",
10916
+ "example": "4000",
10917
+ "member": "uint64",
10918
+ "name": "DstMemory",
10919
+ "required": true,
10920
+ "type": "int"
10921
+ },
10922
+ {
10923
+ "disabled": false,
10924
+ "document": "目标实例磁盘",
10925
+ "example": "8000",
10926
+ "member": "uint64",
10927
+ "name": "DstDisk",
10928
+ "required": true,
10929
+ "type": "int"
10930
+ },
10931
+ {
10932
+ "disabled": false,
10933
+ "document": "目标实例版本",
10934
+ "example": "5.7",
10935
+ "member": "string",
10936
+ "name": "DstVersion",
10937
+ "required": false,
10938
+ "type": "string"
10939
+ },
10940
+ {
10941
+ "disabled": false,
10942
+ "document": "目标实例部署模型",
10943
+ "example": "0",
10944
+ "member": "int64",
10945
+ "name": "DstDeployMode",
10946
+ "required": false,
10947
+ "type": "int"
10948
+ },
10949
+ {
10950
+ "disabled": false,
10951
+ "document": "目标实例复制类型",
10952
+ "example": "0",
10953
+ "member": "int64",
10954
+ "name": "DstProtectMode",
10955
+ "required": false,
10956
+ "type": "int"
10957
+ },
10958
+ {
10959
+ "disabled": false,
10960
+ "document": "目标实例备机1可用区",
10961
+ "example": "100001",
10962
+ "member": "int64",
10963
+ "name": "DstSlaveZone",
10964
+ "required": false,
10965
+ "type": "int"
10966
+ },
10967
+ {
10968
+ "disabled": false,
10969
+ "document": "目标实例备机2可用区",
10970
+ "example": "100001",
10971
+ "member": "int64",
10972
+ "name": "DstBackupZone",
10973
+ "required": false,
10974
+ "type": "int"
10975
+ },
10976
+ {
10977
+ "disabled": false,
10978
+ "document": "目标实例类型",
10979
+ "example": "CUSTOM",
10980
+ "member": "string",
10981
+ "name": "DstCdbType",
10982
+ "required": false,
10983
+ "type": "string"
10984
+ },
10985
+ {
10986
+ "disabled": false,
10987
+ "document": "目标实例主可用区",
10988
+ "example": "100001",
10989
+ "member": "int64",
10990
+ "name": "DstZoneId",
10991
+ "required": false,
10992
+ "type": "int"
10993
+ },
10994
+ {
10995
+ "disabled": false,
10996
+ "document": "独享集群CDB实例的节点分布情况",
10997
+ "example": "无",
10998
+ "member": "NodeDistribution",
10999
+ "name": "NodeDistribution",
11000
+ "required": false,
11001
+ "type": "object"
11002
+ },
11003
+ {
11004
+ "disabled": false,
11005
+ "document": "集群版的节点拓扑配置",
11006
+ "example": "无",
11007
+ "member": "ClusterTopology",
11008
+ "name": "ClusterTopology",
11009
+ "required": false,
11010
+ "type": "object"
11011
+ }
11012
+ ],
11013
+ "type": "object"
11014
+ },
11015
+ "DescribeInstanceUpgradeTypeResponse": {
11016
+ "document": "DescribeInstanceUpgradeType返回参数结构体",
11017
+ "members": [
11018
+ {
11019
+ "disabled": false,
11020
+ "document": "实例id",
11021
+ "example": "cdb-xxx",
11022
+ "member": "string",
11023
+ "name": "InstanceId",
11024
+ "output_required": true,
11025
+ "type": "string",
11026
+ "value_allowed_null": false
11027
+ },
11028
+ {
11029
+ "disabled": false,
11030
+ "document": "实例升级类型",
11031
+ "example": "Trsf",
11032
+ "member": "string",
11033
+ "name": "UpgradeType",
11034
+ "output_required": true,
11035
+ "type": "string",
11036
+ "value_allowed_null": false
11037
+ },
11038
+ {
11039
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
11040
+ "member": "string",
11041
+ "name": "RequestId",
11042
+ "type": "string"
11043
+ }
11044
+ ],
11045
+ "type": "object"
11046
+ },
10861
11047
  "DescribeLocalBinlogConfigRequest": {
10862
11048
  "document": "DescribeLocalBinlogConfig请求参数结构体",
10863
11049
  "members": [
@@ -16097,6 +16283,42 @@
16097
16283
  ],
16098
16284
  "type": "object"
16099
16285
  },
16286
+ "NodeDistribution": {
16287
+ "document": "独享集群CDB实例的节点分布情况",
16288
+ "members": [
16289
+ {
16290
+ "disabled": false,
16291
+ "document": "主实例Master节点所在主机ID或者只读实例所在主机ID",
16292
+ "example": "dch-fexbu7pp",
16293
+ "member": "string",
16294
+ "name": "Node",
16295
+ "required": true,
16296
+ "type": "string",
16297
+ "value_allowed_null": false
16298
+ },
16299
+ {
16300
+ "disabled": false,
16301
+ "document": "主实例第一Slave节点所在主机ID",
16302
+ "example": "dch-cawss6q",
16303
+ "member": "string",
16304
+ "name": "SlaveNodeOne",
16305
+ "required": true,
16306
+ "type": "string",
16307
+ "value_allowed_null": false
16308
+ },
16309
+ {
16310
+ "disabled": false,
16311
+ "document": "主实例第二Slave节点所在主机ID",
16312
+ "example": "dch-bsxj39l",
16313
+ "member": "string",
16314
+ "name": "SlaveNodeTwo",
16315
+ "required": true,
16316
+ "type": "string",
16317
+ "value_allowed_null": false
16318
+ }
16319
+ ],
16320
+ "usage": "in"
16321
+ },
16100
16322
  "OfflineIsolatedInstancesRequest": {
16101
16323
  "document": "OfflineIsolatedInstances请求参数结构体",
16102
16324
  "members": [
@@ -17320,6 +17542,54 @@
17320
17542
  ],
17321
17543
  "usage": "in"
17322
17544
  },
17545
+ "ReadWriteNode": {
17546
+ "document": "集群版 RW 节点的配置。",
17547
+ "members": [
17548
+ {
17549
+ "disabled": false,
17550
+ "document": "RW 节点所在可用区。",
17551
+ "example": "ap-guangzhou-4",
17552
+ "member": "string",
17553
+ "name": "Zone",
17554
+ "required": true,
17555
+ "type": "string"
17556
+ },
17557
+ {
17558
+ "disabled": false,
17559
+ "document": "升级集群版实例时,如果要调整只读节点可用区,需要指定节点id。",
17560
+ "example": "dbn-73ktfl1j",
17561
+ "member": "string",
17562
+ "name": "NodeId",
17563
+ "required": false,
17564
+ "type": "string"
17565
+ }
17566
+ ],
17567
+ "usage": "in"
17568
+ },
17569
+ "ReadonlyNode": {
17570
+ "document": "集群版的 RO 节点配置。",
17571
+ "members": [
17572
+ {
17573
+ "disabled": false,
17574
+ "document": "是否分布在随机可用区。传入YES表示随机可用区。否则使用Zone指定的可用区。",
17575
+ "example": "YES",
17576
+ "member": "string",
17577
+ "name": "IsRandomZone",
17578
+ "required": false,
17579
+ "type": "string"
17580
+ },
17581
+ {
17582
+ "disabled": false,
17583
+ "document": "指定该节点分布在哪个可用区。",
17584
+ "example": "无",
17585
+ "member": "string",
17586
+ "name": "Zone",
17587
+ "required": false,
17588
+ "type": "string"
17589
+ }
17590
+ ],
17591
+ "usage": "in"
17592
+ },
17323
17593
  "ReleaseIsolatedDBInstancesRequest": {
17324
17594
  "document": "ReleaseIsolatedDBInstances请求参数结构体",
17325
17595
  "members": [
@@ -714,6 +714,14 @@
714
714
  "title": "查询实例的可设置参数列表"
715
715
  }
716
716
  ],
717
+ "DescribeInstanceUpgradeType": [
718
+ {
719
+ "document": "",
720
+ "input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceUpgradeType\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-xxxxx\",\n \"DstCpu\": 1,\n \"DstMemory\": 1000,\n \"DstDisk\": 200,\n \"DstVersion\": \"8.0\",\n \"DstProtectMode\": 0,\n \"DstDeployMode\": 0,\n \"DstSlaveZone\": 100003,\n \"DstBackupZone\": 0,\n \"DstCdbType\": \"CUSTOM\"\n}",
721
+ "output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\",\n \"InstanceId\": \"cdb-xxx\",\n \"UpgradeType\": \"Trsf\"\n }\n}",
722
+ "title": "查询数据库实例升级类型"
723
+ }
724
+ ],
717
725
  "DescribeLocalBinlogConfig": [
718
726
  {
719
727
  "document": "",
@@ -7587,7 +7587,7 @@
7587
7587
  "members": [
7588
7588
  {
7589
7589
  "disabled": false,
7590
- "document": "<li> topicName按照【日志主题名称】进行过滤,默认为模糊匹配,可使用PreciseSearch参数设置为精确匹配。类型:String必选:否<br><li> logsetName按照【日志集名称】进行过滤,默认为模糊匹配,可使用PreciseSearch参数设置为精确匹配。类型:String必选:否<br><li> topicId按照【日志主题ID】进行过滤。类型:String必选:否<br><li> logsetId按照【日志集ID】进行过滤,可通过调用DescribeLogsets查询已创建的日志集列表或登录控制台进行查看;也可以调用CreateLogset创建新的日志集。类型:String必选:否<br><li> tagKey按照【标签键】进行过滤。类型:String必选:否<br><li> tag:tagKey按照【标签键值对】进行过滤。tagKey使用具体的标签键进行替换,例如tag:exampleKey。类型:String必选:否<br><li> storageType按照【日志主题的存储类型】进行过滤。可选值 hot(标准存储),cold(低频存储)类型:String必选:否每次请求的Filters的上限为10,Filter.Values的上限为100。",
7590
+ "document": "<ul><li>topicName 按照【日志主题名称】进行过滤,默认为模糊匹配,可使用 PreciseSearch 参数设置为精确匹配。类型:String。必选:否</li>\n<li>logsetName 按照【日志集名称】进行过滤,默认为模糊匹配,可使用 PreciseSearch 参数设置为精确匹配。类型:String。必选:否</li>\n<li>topicId 按照【日志主题ID】进行过滤。类型:String。必选:否</li>\n<li>logsetId 按照【日志集ID】进行过滤,可通过调用 DescribeLogsets 查询已创建的日志集列表或登录控制台进行查看;也可以调用 CreateLogset 创建新的日志集。类型:String。必选:否</li>\n<li>tagKey 按照【标签键】进行过滤。类型:String。必选:否</li>\n<li>tag:tagKey 按照【标签键值对】进行过滤。tagKey 使用具体的标签键进行替换,例如 tag:exampleKey。类型:String。必选:否</li>\n<li>storageType 按照【日志主题的存储类型】进行过滤。可选值 hot(标准存储),cold(低频存储)类型:String。必选:否</li></ul>\n注意:每次请求的 Filters 的上限为10,Filter.Values 的上限为100。",
7591
7591
  "example": "无",
7592
7592
  "member": "Filter",
7593
7593
  "name": "Filters",
@@ -7614,7 +7614,7 @@
7614
7614
  },
7615
7615
  {
7616
7616
  "disabled": false,
7617
- "document": "控制Filters相关字段是否为精确匹配。\n- 0: 默认值,topicName和logsetName模糊匹配\n- 1: topicName精确匹配\n- 2: logsetName精确匹配\n- 3: topicName和logsetName都精确匹配",
7617
+ "document": "控制Filters相关字段是否为精确匹配。\n<ul><li>0: 默认值,topicName logsetName 模糊匹配</li>\n<li>1: topicName 精确匹配</li>\n<li>2: logsetName精确匹配</li>\n<li>3: topicName 和logsetName 都精确匹配</li></ul>",
7618
7618
  "example": "1",
7619
7619
  "member": "uint64",
7620
7620
  "name": "PreciseSearch",
@@ -7623,7 +7623,7 @@
7623
7623
  },
7624
7624
  {
7625
7625
  "disabled": false,
7626
- "document": "主题类型\n- 0:日志主题,默认值\n- 1:指标主题\n",
7626
+ "document": "主题类型\n<ul><li>0:日志主题,默认值</li>\n<li>1:指标主题</li></ul>",
7627
7627
  "example": "无",
7628
7628
  "member": "uint64",
7629
7629
  "name": "BizType",
@@ -564,7 +564,7 @@
564
564
  {
565
565
  "document": "获取日志主题列表",
566
566
  "input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopics\n<公共请求参数>\n\n{\n \"Filters\": [],\n \"Offset\": 10,\n \"Limit\": 30\n}",
567
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Topics\": [\n {\n \"Index\": true,\n \"PartitionCount\": 1,\n \"Describes\": \"x1\",\n \"Status\": true,\n \"Tags\": [\n {\n \"Value\": \"x10\",\n \"Key\": \"x11\"\n }\n ],\n \"AssumerName\": \"x12\",\n \"SubAssumerName\": \"x13\",\n \"MaxSplitPartitions\": 0,\n \"LogsetId\": \"x15\",\n \"TopicId\": \"x16\",\n \"HotPeriod\": 1,\n \"StorageType\": \"x17\",\n \"Period\": 0,\n \"AutoSplit\": true,\n \"CreateTime\": \"x18\",\n \"TopicName\": \"x19\"\n }\n ],\n \"RequestId\": \"x20\"\n }\n}",
567
+ "output": "{\n \"Response\": {\n \"Topics\": [\n {\n \"LogsetId\": \"46c34030-f7fd-xxxx-91ee-053215c2bf9c\",\n \"TopicId\": \"305f8be8-25a9-xxxx-8f05-361dafab39fe\",\n \"TopicName\": \"test\",\n \"PartitionCount\": 1,\n \"Index\": true,\n \"AssumerName\": \"\",\n \"SubAssumerName\": \"\",\n \"CreateTime\": \"2022-12-30 16:02:52\",\n \"Status\": true,\n \"Tags\": [],\n \"AutoSplit\": true,\n \"MaxSplitPartitions\": 50,\n \"StorageType\": \"hot\",\n \"Period\": 27,\n \"Describes\": \"\",\n \"HotPeriod\": 0,\n \"BizType\": 0,\n \"IsWebTracking\": false\n }\n ],\n \"RequestId\": \"cdb48d76-9be0-xxxx-8654-56290de7442e\",\n \"TotalCount\": 1\n }\n}",
568
568
  "title": "获取日志主题列表"
569
569
  }
570
570
  ],