tencentcloud-sdk-cynosdb 3.0.576 → 3.0.577

Sign up to get free protection for your applications and to get access to all the features.
@@ -751,6 +751,78 @@ module TencentCloud
751
751
  end
752
752
  end
753
753
 
754
+ # CloseClusterPasswordComplexity请求参数结构体
755
+ class CloseClusterPasswordComplexityRequest < TencentCloud::Common::AbstractModel
756
+ # @param ClusterIds: 集群ID数组
757
+ # @type ClusterIds: Array
758
+
759
+ attr_accessor :ClusterIds
760
+
761
+ def initialize(clusterids=nil)
762
+ @ClusterIds = clusterids
763
+ end
764
+
765
+ def deserialize(params)
766
+ @ClusterIds = params['ClusterIds']
767
+ end
768
+ end
769
+
770
+ # CloseClusterPasswordComplexity返回参数结构体
771
+ class CloseClusterPasswordComplexityResponse < TencentCloud::Common::AbstractModel
772
+ # @param FlowId: 任务流ID
773
+ # @type FlowId: Integer
774
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
775
+ # @type RequestId: String
776
+
777
+ attr_accessor :FlowId, :RequestId
778
+
779
+ def initialize(flowid=nil, requestid=nil)
780
+ @FlowId = flowid
781
+ @RequestId = requestid
782
+ end
783
+
784
+ def deserialize(params)
785
+ @FlowId = params['FlowId']
786
+ @RequestId = params['RequestId']
787
+ end
788
+ end
789
+
790
+ # CloseWan请求参数结构体
791
+ class CloseWanRequest < TencentCloud::Common::AbstractModel
792
+ # @param InstanceGrpId: 实例组id
793
+ # @type InstanceGrpId: String
794
+
795
+ attr_accessor :InstanceGrpId
796
+
797
+ def initialize(instancegrpid=nil)
798
+ @InstanceGrpId = instancegrpid
799
+ end
800
+
801
+ def deserialize(params)
802
+ @InstanceGrpId = params['InstanceGrpId']
803
+ end
804
+ end
805
+
806
+ # CloseWan返回参数结构体
807
+ class CloseWanResponse < TencentCloud::Common::AbstractModel
808
+ # @param FlowId: 任务流ID
809
+ # @type FlowId: Integer
810
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
811
+ # @type RequestId: String
812
+
813
+ attr_accessor :FlowId, :RequestId
814
+
815
+ def initialize(flowid=nil, requestid=nil)
816
+ @FlowId = flowid
817
+ @RequestId = requestid
818
+ end
819
+
820
+ def deserialize(params)
821
+ @FlowId = params['FlowId']
822
+ @RequestId = params['RequestId']
823
+ end
824
+ end
825
+
754
826
  # 集群实例信息
755
827
  class ClusterInstanceDetail < TencentCloud::Common::AbstractModel
756
828
  # @param InstanceId: 实例ID
@@ -843,6 +915,46 @@ module TencentCloud
843
915
  end
844
916
  end
845
917
 
918
+ # CopyClusterPasswordComplexity请求参数结构体
919
+ class CopyClusterPasswordComplexityRequest < TencentCloud::Common::AbstractModel
920
+ # @param ClusterIds: 复制集群ID数组
921
+ # @type ClusterIds: Array
922
+ # @param SourceClusterId: 集群id
923
+ # @type SourceClusterId: String
924
+
925
+ attr_accessor :ClusterIds, :SourceClusterId
926
+
927
+ def initialize(clusterids=nil, sourceclusterid=nil)
928
+ @ClusterIds = clusterids
929
+ @SourceClusterId = sourceclusterid
930
+ end
931
+
932
+ def deserialize(params)
933
+ @ClusterIds = params['ClusterIds']
934
+ @SourceClusterId = params['SourceClusterId']
935
+ end
936
+ end
937
+
938
+ # CopyClusterPasswordComplexity返回参数结构体
939
+ class CopyClusterPasswordComplexityResponse < TencentCloud::Common::AbstractModel
940
+ # @param FlowId: 任务流ID
941
+ # @type FlowId: Integer
942
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
943
+ # @type RequestId: String
944
+
945
+ attr_accessor :FlowId, :RequestId
946
+
947
+ def initialize(flowid=nil, requestid=nil)
948
+ @FlowId = flowid
949
+ @RequestId = requestid
950
+ end
951
+
952
+ def deserialize(params)
953
+ @FlowId = params['FlowId']
954
+ @RequestId = params['RequestId']
955
+ end
956
+ end
957
+
846
958
  # CreateAccounts请求参数结构体
847
959
  class CreateAccountsRequest < TencentCloud::Common::AbstractModel
848
960
  # @param ClusterId: 集群id
@@ -1059,6 +1171,65 @@ module TencentCloud
1059
1171
  end
1060
1172
  end
1061
1173
 
1174
+ # CreateClusterDatabase请求参数结构体
1175
+ class CreateClusterDatabaseRequest < TencentCloud::Common::AbstractModel
1176
+ # @param ClusterId: 集群ID
1177
+ # @type ClusterId: String
1178
+ # @param DbName: 数据库名
1179
+ # @type DbName: String
1180
+ # @param CharacterSet: 字符集类型
1181
+ # @type CharacterSet: String
1182
+ # @param CollateRule: 排序规则
1183
+ # @type CollateRule: String
1184
+ # @param UserHostPrivileges: 授权用户主机权限
1185
+ # @type UserHostPrivileges: Array
1186
+ # @param Description: 备注
1187
+ # @type Description: String
1188
+
1189
+ attr_accessor :ClusterId, :DbName, :CharacterSet, :CollateRule, :UserHostPrivileges, :Description
1190
+
1191
+ def initialize(clusterid=nil, dbname=nil, characterset=nil, collaterule=nil, userhostprivileges=nil, description=nil)
1192
+ @ClusterId = clusterid
1193
+ @DbName = dbname
1194
+ @CharacterSet = characterset
1195
+ @CollateRule = collaterule
1196
+ @UserHostPrivileges = userhostprivileges
1197
+ @Description = description
1198
+ end
1199
+
1200
+ def deserialize(params)
1201
+ @ClusterId = params['ClusterId']
1202
+ @DbName = params['DbName']
1203
+ @CharacterSet = params['CharacterSet']
1204
+ @CollateRule = params['CollateRule']
1205
+ unless params['UserHostPrivileges'].nil?
1206
+ @UserHostPrivileges = []
1207
+ params['UserHostPrivileges'].each do |i|
1208
+ userhostprivilege_tmp = UserHostPrivilege.new
1209
+ userhostprivilege_tmp.deserialize(i)
1210
+ @UserHostPrivileges << userhostprivilege_tmp
1211
+ end
1212
+ end
1213
+ @Description = params['Description']
1214
+ end
1215
+ end
1216
+
1217
+ # CreateClusterDatabase返回参数结构体
1218
+ class CreateClusterDatabaseResponse < TencentCloud::Common::AbstractModel
1219
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1220
+ # @type RequestId: String
1221
+
1222
+ attr_accessor :RequestId
1223
+
1224
+ def initialize(requestid=nil)
1225
+ @RequestId = requestid
1226
+ end
1227
+
1228
+ def deserialize(params)
1229
+ @RequestId = params['RequestId']
1230
+ end
1231
+ end
1232
+
1062
1233
  # CreateClusters请求参数结构体
1063
1234
  class CreateClustersRequest < TencentCloud::Common::AbstractModel
1064
1235
  # @param Zone: 可用区
@@ -1318,6 +1489,69 @@ module TencentCloud
1318
1489
  end
1319
1490
  end
1320
1491
 
1492
+ # CreateParamTemplate请求参数结构体
1493
+ class CreateParamTemplateRequest < TencentCloud::Common::AbstractModel
1494
+ # @param TemplateName: 模版名称
1495
+ # @type TemplateName: String
1496
+ # @param EngineVersion: mysql版本号
1497
+ # @type EngineVersion: String
1498
+ # @param TemplateDescription: 模版描述
1499
+ # @type TemplateDescription: String
1500
+ # @param TemplateId: 可选参数,需要复制的模版ID
1501
+ # @type TemplateId: Integer
1502
+ # @param DbMode: 数据库类型,可选值:NORMAL(默认值),SERVERLESS
1503
+ # @type DbMode: String
1504
+ # @param ParamList: 参数列表
1505
+ # @type ParamList: Array
1506
+
1507
+ attr_accessor :TemplateName, :EngineVersion, :TemplateDescription, :TemplateId, :DbMode, :ParamList
1508
+
1509
+ def initialize(templatename=nil, engineversion=nil, templatedescription=nil, templateid=nil, dbmode=nil, paramlist=nil)
1510
+ @TemplateName = templatename
1511
+ @EngineVersion = engineversion
1512
+ @TemplateDescription = templatedescription
1513
+ @TemplateId = templateid
1514
+ @DbMode = dbmode
1515
+ @ParamList = paramlist
1516
+ end
1517
+
1518
+ def deserialize(params)
1519
+ @TemplateName = params['TemplateName']
1520
+ @EngineVersion = params['EngineVersion']
1521
+ @TemplateDescription = params['TemplateDescription']
1522
+ @TemplateId = params['TemplateId']
1523
+ @DbMode = params['DbMode']
1524
+ unless params['ParamList'].nil?
1525
+ @ParamList = []
1526
+ params['ParamList'].each do |i|
1527
+ paramitem_tmp = ParamItem.new
1528
+ paramitem_tmp.deserialize(i)
1529
+ @ParamList << paramitem_tmp
1530
+ end
1531
+ end
1532
+ end
1533
+ end
1534
+
1535
+ # CreateParamTemplate返回参数结构体
1536
+ class CreateParamTemplateResponse < TencentCloud::Common::AbstractModel
1537
+ # @param TemplateId: 模版ID
1538
+ # @type TemplateId: Integer
1539
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1540
+ # @type RequestId: String
1541
+
1542
+ attr_accessor :TemplateId, :RequestId
1543
+
1544
+ def initialize(templateid=nil, requestid=nil)
1545
+ @TemplateId = templateid
1546
+ @RequestId = requestid
1547
+ end
1548
+
1549
+ def deserialize(params)
1550
+ @TemplateId = params['TemplateId']
1551
+ @RequestId = params['RequestId']
1552
+ end
1553
+ end
1554
+
1321
1555
  # 集群信息
1322
1556
  class CynosdbCluster < TencentCloud::Common::AbstractModel
1323
1557
  # @param Status: 集群状态, 可选值如下:
@@ -2398,6 +2632,81 @@ module TencentCloud
2398
2632
  end
2399
2633
  end
2400
2634
 
2635
+ # 数据库详细信息
2636
+ class DbInfo < TencentCloud::Common::AbstractModel
2637
+ # @param DbName: 数据库名称
2638
+ # @type DbName: String
2639
+ # @param CharacterSet: 字符集类型
2640
+ # @type CharacterSet: String
2641
+ # @param Status: 数据库状态
2642
+ # @type Status: String
2643
+ # @param CollateRule: 拍讯规则
2644
+ # @type CollateRule: String
2645
+ # @param Description: 数据库备注
2646
+ # 注意:此字段可能返回 null,表示取不到有效值。
2647
+ # @type Description: String
2648
+ # @param UserHostPrivileges: 用户权限
2649
+ # 注意:此字段可能返回 null,表示取不到有效值。
2650
+ # @type UserHostPrivileges: Array
2651
+ # @param DbId: 数据库ID
2652
+ # 注意:此字段可能返回 null,表示取不到有效值。
2653
+ # @type DbId: Integer
2654
+ # @param CreateTime: 创建时间
2655
+ # 注意:此字段可能返回 null,表示取不到有效值。
2656
+ # @type CreateTime: String
2657
+ # @param UpdateTime: 更新时间
2658
+ # 注意:此字段可能返回 null,表示取不到有效值。
2659
+ # @type UpdateTime: String
2660
+ # @param AppId: 用户appid
2661
+ # 注意:此字段可能返回 null,表示取不到有效值。
2662
+ # @type AppId: Integer
2663
+ # @param Uin: 用户Uin
2664
+ # 注意:此字段可能返回 null,表示取不到有效值。
2665
+ # @type Uin: String
2666
+ # @param ClusterId: 集群Id
2667
+ # 注意:此字段可能返回 null,表示取不到有效值。
2668
+ # @type ClusterId: String
2669
+
2670
+ attr_accessor :DbName, :CharacterSet, :Status, :CollateRule, :Description, :UserHostPrivileges, :DbId, :CreateTime, :UpdateTime, :AppId, :Uin, :ClusterId
2671
+
2672
+ def initialize(dbname=nil, characterset=nil, status=nil, collaterule=nil, description=nil, userhostprivileges=nil, dbid=nil, createtime=nil, updatetime=nil, appid=nil, uin=nil, clusterid=nil)
2673
+ @DbName = dbname
2674
+ @CharacterSet = characterset
2675
+ @Status = status
2676
+ @CollateRule = collaterule
2677
+ @Description = description
2678
+ @UserHostPrivileges = userhostprivileges
2679
+ @DbId = dbid
2680
+ @CreateTime = createtime
2681
+ @UpdateTime = updatetime
2682
+ @AppId = appid
2683
+ @Uin = uin
2684
+ @ClusterId = clusterid
2685
+ end
2686
+
2687
+ def deserialize(params)
2688
+ @DbName = params['DbName']
2689
+ @CharacterSet = params['CharacterSet']
2690
+ @Status = params['Status']
2691
+ @CollateRule = params['CollateRule']
2692
+ @Description = params['Description']
2693
+ unless params['UserHostPrivileges'].nil?
2694
+ @UserHostPrivileges = []
2695
+ params['UserHostPrivileges'].each do |i|
2696
+ userhostprivilege_tmp = UserHostPrivilege.new
2697
+ userhostprivilege_tmp.deserialize(i)
2698
+ @UserHostPrivileges << userhostprivilege_tmp
2699
+ end
2700
+ end
2701
+ @DbId = params['DbId']
2702
+ @CreateTime = params['CreateTime']
2703
+ @UpdateTime = params['UpdateTime']
2704
+ @AppId = params['AppId']
2705
+ @Uin = params['Uin']
2706
+ @ClusterId = params['ClusterId']
2707
+ end
2708
+ end
2709
+
2401
2710
  # 数据库表
2402
2711
  class DbTable < TencentCloud::Common::AbstractModel
2403
2712
  # @param Db: 数据库名称
@@ -2418,6 +2727,49 @@ module TencentCloud
2418
2727
  end
2419
2728
  end
2420
2729
 
2730
+ # DeleteAccounts请求参数结构体
2731
+ class DeleteAccountsRequest < TencentCloud::Common::AbstractModel
2732
+ # @param ClusterId: 集群ID
2733
+ # @type ClusterId: String
2734
+ # @param Accounts: 账号数组,包含account和host
2735
+ # @type Accounts: Array
2736
+
2737
+ attr_accessor :ClusterId, :Accounts
2738
+
2739
+ def initialize(clusterid=nil, accounts=nil)
2740
+ @ClusterId = clusterid
2741
+ @Accounts = accounts
2742
+ end
2743
+
2744
+ def deserialize(params)
2745
+ @ClusterId = params['ClusterId']
2746
+ unless params['Accounts'].nil?
2747
+ @Accounts = []
2748
+ params['Accounts'].each do |i|
2749
+ inputaccount_tmp = InputAccount.new
2750
+ inputaccount_tmp.deserialize(i)
2751
+ @Accounts << inputaccount_tmp
2752
+ end
2753
+ end
2754
+ end
2755
+ end
2756
+
2757
+ # DeleteAccounts返回参数结构体
2758
+ class DeleteAccountsResponse < TencentCloud::Common::AbstractModel
2759
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2760
+ # @type RequestId: String
2761
+
2762
+ attr_accessor :RequestId
2763
+
2764
+ def initialize(requestid=nil)
2765
+ @RequestId = requestid
2766
+ end
2767
+
2768
+ def deserialize(params)
2769
+ @RequestId = params['RequestId']
2770
+ end
2771
+ end
2772
+
2421
2773
  # DeleteAuditLogFile请求参数结构体
2422
2774
  class DeleteAuditLogFileRequest < TencentCloud::Common::AbstractModel
2423
2775
  # @param InstanceId: 实例ID
@@ -2526,32 +2878,100 @@ module TencentCloud
2526
2878
  end
2527
2879
  end
2528
2880
 
2529
- # DescribeAccountAllGrantPrivileges请求参数结构体
2530
- class DescribeAccountAllGrantPrivilegesRequest < TencentCloud::Common::AbstractModel
2531
- # @param ClusterId: 集群id
2881
+ # DeleteClusterDatabase请求参数结构体
2882
+ class DeleteClusterDatabaseRequest < TencentCloud::Common::AbstractModel
2883
+ # @param ClusterId: 集群ID
2532
2884
  # @type ClusterId: String
2533
- # @param Account: 账号信息
2534
- # @type Account: :class:`Tencentcloud::Cynosdb.v20190107.models.InputAccount`
2885
+ # @param DbNames: 数据库名
2886
+ # @type DbNames: Array
2535
2887
 
2536
- attr_accessor :ClusterId, :Account
2888
+ attr_accessor :ClusterId, :DbNames
2537
2889
 
2538
- def initialize(clusterid=nil, account=nil)
2890
+ def initialize(clusterid=nil, dbnames=nil)
2539
2891
  @ClusterId = clusterid
2540
- @Account = account
2892
+ @DbNames = dbnames
2541
2893
  end
2542
2894
 
2543
2895
  def deserialize(params)
2544
2896
  @ClusterId = params['ClusterId']
2545
- unless params['Account'].nil?
2546
- @Account = InputAccount.new
2547
- @Account.deserialize(params['Account'])
2548
- end
2897
+ @DbNames = params['DbNames']
2549
2898
  end
2550
2899
  end
2551
2900
 
2552
- # DescribeAccountAllGrantPrivileges返回参数结构体
2553
- class DescribeAccountAllGrantPrivilegesResponse < TencentCloud::Common::AbstractModel
2554
- # @param PrivilegeStatements: 权限语句
2901
+ # DeleteClusterDatabase返回参数结构体
2902
+ class DeleteClusterDatabaseResponse < TencentCloud::Common::AbstractModel
2903
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2904
+ # @type RequestId: String
2905
+
2906
+ attr_accessor :RequestId
2907
+
2908
+ def initialize(requestid=nil)
2909
+ @RequestId = requestid
2910
+ end
2911
+
2912
+ def deserialize(params)
2913
+ @RequestId = params['RequestId']
2914
+ end
2915
+ end
2916
+
2917
+ # DeleteParamTemplate请求参数结构体
2918
+ class DeleteParamTemplateRequest < TencentCloud::Common::AbstractModel
2919
+ # @param TemplateId: 参数模版ID
2920
+ # @type TemplateId: Integer
2921
+
2922
+ attr_accessor :TemplateId
2923
+
2924
+ def initialize(templateid=nil)
2925
+ @TemplateId = templateid
2926
+ end
2927
+
2928
+ def deserialize(params)
2929
+ @TemplateId = params['TemplateId']
2930
+ end
2931
+ end
2932
+
2933
+ # DeleteParamTemplate返回参数结构体
2934
+ class DeleteParamTemplateResponse < TencentCloud::Common::AbstractModel
2935
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2936
+ # @type RequestId: String
2937
+
2938
+ attr_accessor :RequestId
2939
+
2940
+ def initialize(requestid=nil)
2941
+ @RequestId = requestid
2942
+ end
2943
+
2944
+ def deserialize(params)
2945
+ @RequestId = params['RequestId']
2946
+ end
2947
+ end
2948
+
2949
+ # DescribeAccountAllGrantPrivileges请求参数结构体
2950
+ class DescribeAccountAllGrantPrivilegesRequest < TencentCloud::Common::AbstractModel
2951
+ # @param ClusterId: 集群id
2952
+ # @type ClusterId: String
2953
+ # @param Account: 账号信息
2954
+ # @type Account: :class:`Tencentcloud::Cynosdb.v20190107.models.InputAccount`
2955
+
2956
+ attr_accessor :ClusterId, :Account
2957
+
2958
+ def initialize(clusterid=nil, account=nil)
2959
+ @ClusterId = clusterid
2960
+ @Account = account
2961
+ end
2962
+
2963
+ def deserialize(params)
2964
+ @ClusterId = params['ClusterId']
2965
+ unless params['Account'].nil?
2966
+ @Account = InputAccount.new
2967
+ @Account.deserialize(params['Account'])
2968
+ end
2969
+ end
2970
+ end
2971
+
2972
+ # DescribeAccountAllGrantPrivileges返回参数结构体
2973
+ class DescribeAccountAllGrantPrivilegesResponse < TencentCloud::Common::AbstractModel
2974
+ # @param PrivilegeStatements: 权限语句
2555
2975
  # 注意:此字段可能返回 null,表示取不到有效值。
2556
2976
  # @type PrivilegeStatements: Array
2557
2977
  # @param GlobalPrivileges: 全局权限
@@ -2599,6 +3019,62 @@ module TencentCloud
2599
3019
  end
2600
3020
  end
2601
3021
 
3022
+ # DescribeAccountPrivileges请求参数结构体
3023
+ class DescribeAccountPrivilegesRequest < TencentCloud::Common::AbstractModel
3024
+ # @param ClusterId: 集群id
3025
+ # @type ClusterId: String
3026
+ # @param AccountName: 账户名
3027
+ # @type AccountName: String
3028
+ # @param Host: 主机
3029
+ # @type Host: String
3030
+ # @param Db: 数据库名,为*时,忽略Type/TableName, 表示修改用户全局权限;
3031
+ # @type Db: String
3032
+ # @param Type: 指定数据库下的对象类型,可选"table","*"
3033
+ # @type Type: String
3034
+ # @param TableName: 当Type="table"时,用来指定表名
3035
+ # @type TableName: String
3036
+
3037
+ attr_accessor :ClusterId, :AccountName, :Host, :Db, :Type, :TableName
3038
+
3039
+ def initialize(clusterid=nil, accountname=nil, host=nil, db=nil, type=nil, tablename=nil)
3040
+ @ClusterId = clusterid
3041
+ @AccountName = accountname
3042
+ @Host = host
3043
+ @Db = db
3044
+ @Type = type
3045
+ @TableName = tablename
3046
+ end
3047
+
3048
+ def deserialize(params)
3049
+ @ClusterId = params['ClusterId']
3050
+ @AccountName = params['AccountName']
3051
+ @Host = params['Host']
3052
+ @Db = params['Db']
3053
+ @Type = params['Type']
3054
+ @TableName = params['TableName']
3055
+ end
3056
+ end
3057
+
3058
+ # DescribeAccountPrivileges返回参数结构体
3059
+ class DescribeAccountPrivilegesResponse < TencentCloud::Common::AbstractModel
3060
+ # @param Privileges: 权限列表,示例值为:["select","update","delete","create","drop","references","index","alter","show_db","create_tmp_table","lock_tables","execute","create_view","show_view","create_routine","alter_routine","event","trigger"]
3061
+ # @type Privileges: Array
3062
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3063
+ # @type RequestId: String
3064
+
3065
+ attr_accessor :Privileges, :RequestId
3066
+
3067
+ def initialize(privileges=nil, requestid=nil)
3068
+ @Privileges = privileges
3069
+ @RequestId = requestid
3070
+ end
3071
+
3072
+ def deserialize(params)
3073
+ @Privileges = params['Privileges']
3074
+ @RequestId = params['RequestId']
3075
+ end
3076
+ end
3077
+
2602
3078
  # DescribeAccounts请求参数结构体
2603
3079
  class DescribeAccountsRequest < TencentCloud::Common::AbstractModel
2604
3080
  # @param ClusterId: 集群ID
@@ -3248,6 +3724,66 @@ module TencentCloud
3248
3724
  end
3249
3725
  end
3250
3726
 
3727
+ # DescribeClusterDetailDatabases请求参数结构体
3728
+ class DescribeClusterDetailDatabasesRequest < TencentCloud::Common::AbstractModel
3729
+ # @param ClusterId: 集群ID
3730
+ # @type ClusterId: String
3731
+ # @param Offset: 偏移量,默认0
3732
+ # @type Offset: Integer
3733
+ # @param Limit: 返回数量,默认20,最大100
3734
+ # @type Limit: Integer
3735
+ # @param DbName: 数据库名称
3736
+ # @type DbName: String
3737
+
3738
+ attr_accessor :ClusterId, :Offset, :Limit, :DbName
3739
+
3740
+ def initialize(clusterid=nil, offset=nil, limit=nil, dbname=nil)
3741
+ @ClusterId = clusterid
3742
+ @Offset = offset
3743
+ @Limit = limit
3744
+ @DbName = dbname
3745
+ end
3746
+
3747
+ def deserialize(params)
3748
+ @ClusterId = params['ClusterId']
3749
+ @Offset = params['Offset']
3750
+ @Limit = params['Limit']
3751
+ @DbName = params['DbName']
3752
+ end
3753
+ end
3754
+
3755
+ # DescribeClusterDetailDatabases返回参数结构体
3756
+ class DescribeClusterDetailDatabasesResponse < TencentCloud::Common::AbstractModel
3757
+ # @param DbInfos: 数据库信息
3758
+ # 注意:此字段可能返回 null,表示取不到有效值。
3759
+ # @type DbInfos: Array
3760
+ # @param TotalCount: 总数
3761
+ # @type TotalCount: Integer
3762
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3763
+ # @type RequestId: String
3764
+
3765
+ attr_accessor :DbInfos, :TotalCount, :RequestId
3766
+
3767
+ def initialize(dbinfos=nil, totalcount=nil, requestid=nil)
3768
+ @DbInfos = dbinfos
3769
+ @TotalCount = totalcount
3770
+ @RequestId = requestid
3771
+ end
3772
+
3773
+ def deserialize(params)
3774
+ unless params['DbInfos'].nil?
3775
+ @DbInfos = []
3776
+ params['DbInfos'].each do |i|
3777
+ dbinfo_tmp = DbInfo.new
3778
+ dbinfo_tmp.deserialize(i)
3779
+ @DbInfos << dbinfo_tmp
3780
+ end
3781
+ end
3782
+ @TotalCount = params['TotalCount']
3783
+ @RequestId = params['RequestId']
3784
+ end
3785
+ end
3786
+
3251
3787
  # DescribeClusterDetail请求参数结构体
3252
3788
  class DescribeClusterDetailRequest < TencentCloud::Common::AbstractModel
3253
3789
  # @param ClusterId: 集群Id
@@ -3454,6 +3990,86 @@ module TencentCloud
3454
3990
  end
3455
3991
  end
3456
3992
 
3993
+ # DescribeClusterPasswordComplexity请求参数结构体
3994
+ class DescribeClusterPasswordComplexityRequest < TencentCloud::Common::AbstractModel
3995
+ # @param ClusterId: 集群ID
3996
+ # @type ClusterId: String
3997
+
3998
+ attr_accessor :ClusterId
3999
+
4000
+ def initialize(clusterid=nil)
4001
+ @ClusterId = clusterid
4002
+ end
4003
+
4004
+ def deserialize(params)
4005
+ @ClusterId = params['ClusterId']
4006
+ end
4007
+ end
4008
+
4009
+ # DescribeClusterPasswordComplexity返回参数结构体
4010
+ class DescribeClusterPasswordComplexityResponse < TencentCloud::Common::AbstractModel
4011
+ # @param ValidatePasswordDictionary: 数据字典参数
4012
+ # 注意:此字段可能返回 null,表示取不到有效值。
4013
+ # @type ValidatePasswordDictionary: :class:`Tencentcloud::Cynosdb.v20190107.models.ParamInfo`
4014
+ # @param ValidatePasswordLength: 密码长度
4015
+ # 注意:此字段可能返回 null,表示取不到有效值。
4016
+ # @type ValidatePasswordLength: :class:`Tencentcloud::Cynosdb.v20190107.models.ParamInfo`
4017
+ # @param ValidatePasswordMixedCaseCount: 大小写敏感字符个数
4018
+ # 注意:此字段可能返回 null,表示取不到有效值。
4019
+ # @type ValidatePasswordMixedCaseCount: :class:`Tencentcloud::Cynosdb.v20190107.models.ParamInfo`
4020
+ # @param ValidatePasswordNumberCount: 数字个数
4021
+ # 注意:此字段可能返回 null,表示取不到有效值。
4022
+ # @type ValidatePasswordNumberCount: :class:`Tencentcloud::Cynosdb.v20190107.models.ParamInfo`
4023
+ # @param ValidatePasswordPolicy: 密码等级
4024
+ # 注意:此字段可能返回 null,表示取不到有效值。
4025
+ # @type ValidatePasswordPolicy: :class:`Tencentcloud::Cynosdb.v20190107.models.ParamInfo`
4026
+ # @param ValidatePasswordSpecialCharCount: 特殊字符个数
4027
+ # 注意:此字段可能返回 null,表示取不到有效值。
4028
+ # @type ValidatePasswordSpecialCharCount: :class:`Tencentcloud::Cynosdb.v20190107.models.ParamInfo`
4029
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4030
+ # @type RequestId: String
4031
+
4032
+ attr_accessor :ValidatePasswordDictionary, :ValidatePasswordLength, :ValidatePasswordMixedCaseCount, :ValidatePasswordNumberCount, :ValidatePasswordPolicy, :ValidatePasswordSpecialCharCount, :RequestId
4033
+
4034
+ def initialize(validatepassworddictionary=nil, validatepasswordlength=nil, validatepasswordmixedcasecount=nil, validatepasswordnumbercount=nil, validatepasswordpolicy=nil, validatepasswordspecialcharcount=nil, requestid=nil)
4035
+ @ValidatePasswordDictionary = validatepassworddictionary
4036
+ @ValidatePasswordLength = validatepasswordlength
4037
+ @ValidatePasswordMixedCaseCount = validatepasswordmixedcasecount
4038
+ @ValidatePasswordNumberCount = validatepasswordnumbercount
4039
+ @ValidatePasswordPolicy = validatepasswordpolicy
4040
+ @ValidatePasswordSpecialCharCount = validatepasswordspecialcharcount
4041
+ @RequestId = requestid
4042
+ end
4043
+
4044
+ def deserialize(params)
4045
+ unless params['ValidatePasswordDictionary'].nil?
4046
+ @ValidatePasswordDictionary = ParamInfo.new
4047
+ @ValidatePasswordDictionary.deserialize(params['ValidatePasswordDictionary'])
4048
+ end
4049
+ unless params['ValidatePasswordLength'].nil?
4050
+ @ValidatePasswordLength = ParamInfo.new
4051
+ @ValidatePasswordLength.deserialize(params['ValidatePasswordLength'])
4052
+ end
4053
+ unless params['ValidatePasswordMixedCaseCount'].nil?
4054
+ @ValidatePasswordMixedCaseCount = ParamInfo.new
4055
+ @ValidatePasswordMixedCaseCount.deserialize(params['ValidatePasswordMixedCaseCount'])
4056
+ end
4057
+ unless params['ValidatePasswordNumberCount'].nil?
4058
+ @ValidatePasswordNumberCount = ParamInfo.new
4059
+ @ValidatePasswordNumberCount.deserialize(params['ValidatePasswordNumberCount'])
4060
+ end
4061
+ unless params['ValidatePasswordPolicy'].nil?
4062
+ @ValidatePasswordPolicy = ParamInfo.new
4063
+ @ValidatePasswordPolicy.deserialize(params['ValidatePasswordPolicy'])
4064
+ end
4065
+ unless params['ValidatePasswordSpecialCharCount'].nil?
4066
+ @ValidatePasswordSpecialCharCount = ParamInfo.new
4067
+ @ValidatePasswordSpecialCharCount.deserialize(params['ValidatePasswordSpecialCharCount'])
4068
+ end
4069
+ @RequestId = params['RequestId']
4070
+ end
4071
+ end
4072
+
3457
4073
  # DescribeClusters请求参数结构体
3458
4074
  class DescribeClustersRequest < TencentCloud::Common::AbstractModel
3459
4075
  # @param DbType: 引擎类型:目前支持“MYSQL”, “POSTGRESQL”
@@ -3731,6 +4347,57 @@ module TencentCloud
3731
4347
  end
3732
4348
  end
3733
4349
 
4350
+ # DescribeInstanceParams请求参数结构体
4351
+ class DescribeInstanceParamsRequest < TencentCloud::Common::AbstractModel
4352
+ # @param ClusterId: 集群ID
4353
+ # @type ClusterId: String
4354
+ # @param InstanceIds: 实例ID,支持批量查询
4355
+ # @type InstanceIds: Array
4356
+ # @param ParamKeyword: 参数名搜索条件,支持模糊匹配
4357
+ # @type ParamKeyword: String
4358
+
4359
+ attr_accessor :ClusterId, :InstanceIds, :ParamKeyword
4360
+
4361
+ def initialize(clusterid=nil, instanceids=nil, paramkeyword=nil)
4362
+ @ClusterId = clusterid
4363
+ @InstanceIds = instanceids
4364
+ @ParamKeyword = paramkeyword
4365
+ end
4366
+
4367
+ def deserialize(params)
4368
+ @ClusterId = params['ClusterId']
4369
+ @InstanceIds = params['InstanceIds']
4370
+ @ParamKeyword = params['ParamKeyword']
4371
+ end
4372
+ end
4373
+
4374
+ # DescribeInstanceParams返回参数结构体
4375
+ class DescribeInstanceParamsResponse < TencentCloud::Common::AbstractModel
4376
+ # @param Items: 实例参数列表
4377
+ # @type Items: Array
4378
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4379
+ # @type RequestId: String
4380
+
4381
+ attr_accessor :Items, :RequestId
4382
+
4383
+ def initialize(items=nil, requestid=nil)
4384
+ @Items = items
4385
+ @RequestId = requestid
4386
+ end
4387
+
4388
+ def deserialize(params)
4389
+ unless params['Items'].nil?
4390
+ @Items = []
4391
+ params['Items'].each do |i|
4392
+ instanceparamitem_tmp = InstanceParamItem.new
4393
+ instanceparamitem_tmp.deserialize(i)
4394
+ @Items << instanceparamitem_tmp
4395
+ end
4396
+ end
4397
+ @RequestId = params['RequestId']
4398
+ end
4399
+ end
4400
+
3734
4401
  # DescribeInstanceSlowQueries请求参数结构体
3735
4402
  class DescribeInstanceSlowQueriesRequest < TencentCloud::Common::AbstractModel
3736
4403
  # @param InstanceId: 实例ID
@@ -3999,53 +4666,120 @@ module TencentCloud
3999
4666
  end
4000
4667
  end
4001
4668
 
4002
- # DescribeParamTemplates请求参数结构体
4003
- class DescribeParamTemplatesRequest < TencentCloud::Common::AbstractModel
4004
- # @param EngineVersions: 数据库引擎版本号
4005
- # @type EngineVersions: Array
4006
- # @param TemplateNames: 模版名称
4007
- # @type TemplateNames: Array
4008
- # @param TemplateIds: 模版ID
4009
- # @type TemplateIds: Array
4010
- # @param DbModes: 数据库类型,可选值:NORMAL,SERVERLESS
4011
- # @type DbModes: Array
4012
- # @param Offset: 查询偏移量
4013
- # @type Offset: Integer
4014
- # @param Limit: 查询限制条数
4015
- # @type Limit: Integer
4016
- # @param Products: 查询的模板对应的产品类型
4017
- # @type Products: Array
4018
- # @param TemplateTypes: 模版类型
4019
- # @type TemplateTypes: Array
4020
- # @param EngineTypes: 版本类型
4021
- # @type EngineTypes: Array
4022
- # @param OrderBy: 返回结果的排序字段
4023
- # @type OrderBy: String
4024
- # @param OrderDirection: 排序方式(asc、desc)
4025
- # @type OrderDirection: String
4669
+ # DescribeParamTemplateDetail请求参数结构体
4670
+ class DescribeParamTemplateDetailRequest < TencentCloud::Common::AbstractModel
4671
+ # @param TemplateId: 参数模版ID
4672
+ # @type TemplateId: Integer
4026
4673
 
4027
- attr_accessor :EngineVersions, :TemplateNames, :TemplateIds, :DbModes, :Offset, :Limit, :Products, :TemplateTypes, :EngineTypes, :OrderBy, :OrderDirection
4674
+ attr_accessor :TemplateId
4028
4675
 
4029
- def initialize(engineversions=nil, templatenames=nil, templateids=nil, dbmodes=nil, offset=nil, limit=nil, products=nil, templatetypes=nil, enginetypes=nil, orderby=nil, orderdirection=nil)
4030
- @EngineVersions = engineversions
4031
- @TemplateNames = templatenames
4032
- @TemplateIds = templateids
4033
- @DbModes = dbmodes
4034
- @Offset = offset
4035
- @Limit = limit
4036
- @Products = products
4037
- @TemplateTypes = templatetypes
4038
- @EngineTypes = enginetypes
4039
- @OrderBy = orderby
4040
- @OrderDirection = orderdirection
4676
+ def initialize(templateid=nil)
4677
+ @TemplateId = templateid
4041
4678
  end
4042
4679
 
4043
4680
  def deserialize(params)
4044
- @EngineVersions = params['EngineVersions']
4045
- @TemplateNames = params['TemplateNames']
4046
- @TemplateIds = params['TemplateIds']
4047
- @DbModes = params['DbModes']
4048
- @Offset = params['Offset']
4681
+ @TemplateId = params['TemplateId']
4682
+ end
4683
+ end
4684
+
4685
+ # DescribeParamTemplateDetail返回参数结构体
4686
+ class DescribeParamTemplateDetailResponse < TencentCloud::Common::AbstractModel
4687
+ # @param TemplateId: 参数模版ID
4688
+ # @type TemplateId: Integer
4689
+ # @param TemplateName: 参数模版名称
4690
+ # @type TemplateName: String
4691
+ # @param TemplateDescription: 参数模版描述
4692
+ # @type TemplateDescription: String
4693
+ # @param EngineVersion: 引擎版本
4694
+ # @type EngineVersion: String
4695
+ # @param TotalCount: 参数总条数
4696
+ # @type TotalCount: Integer
4697
+ # @param Items: 参数列表
4698
+ # @type Items: Array
4699
+ # @param DbMode: 数据库类型,可选值:NORMAL,SERVERLESS
4700
+ # @type DbMode: String
4701
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4702
+ # @type RequestId: String
4703
+
4704
+ attr_accessor :TemplateId, :TemplateName, :TemplateDescription, :EngineVersion, :TotalCount, :Items, :DbMode, :RequestId
4705
+
4706
+ def initialize(templateid=nil, templatename=nil, templatedescription=nil, engineversion=nil, totalcount=nil, items=nil, dbmode=nil, requestid=nil)
4707
+ @TemplateId = templateid
4708
+ @TemplateName = templatename
4709
+ @TemplateDescription = templatedescription
4710
+ @EngineVersion = engineversion
4711
+ @TotalCount = totalcount
4712
+ @Items = items
4713
+ @DbMode = dbmode
4714
+ @RequestId = requestid
4715
+ end
4716
+
4717
+ def deserialize(params)
4718
+ @TemplateId = params['TemplateId']
4719
+ @TemplateName = params['TemplateName']
4720
+ @TemplateDescription = params['TemplateDescription']
4721
+ @EngineVersion = params['EngineVersion']
4722
+ @TotalCount = params['TotalCount']
4723
+ unless params['Items'].nil?
4724
+ @Items = []
4725
+ params['Items'].each do |i|
4726
+ paramdetail_tmp = ParamDetail.new
4727
+ paramdetail_tmp.deserialize(i)
4728
+ @Items << paramdetail_tmp
4729
+ end
4730
+ end
4731
+ @DbMode = params['DbMode']
4732
+ @RequestId = params['RequestId']
4733
+ end
4734
+ end
4735
+
4736
+ # DescribeParamTemplates请求参数结构体
4737
+ class DescribeParamTemplatesRequest < TencentCloud::Common::AbstractModel
4738
+ # @param EngineVersions: 数据库引擎版本号
4739
+ # @type EngineVersions: Array
4740
+ # @param TemplateNames: 模版名称
4741
+ # @type TemplateNames: Array
4742
+ # @param TemplateIds: 模版ID
4743
+ # @type TemplateIds: Array
4744
+ # @param DbModes: 数据库类型,可选值:NORMAL,SERVERLESS
4745
+ # @type DbModes: Array
4746
+ # @param Offset: 查询偏移量
4747
+ # @type Offset: Integer
4748
+ # @param Limit: 查询限制条数
4749
+ # @type Limit: Integer
4750
+ # @param Products: 查询的模板对应的产品类型
4751
+ # @type Products: Array
4752
+ # @param TemplateTypes: 模版类型
4753
+ # @type TemplateTypes: Array
4754
+ # @param EngineTypes: 版本类型
4755
+ # @type EngineTypes: Array
4756
+ # @param OrderBy: 返回结果的排序字段
4757
+ # @type OrderBy: String
4758
+ # @param OrderDirection: 排序方式(asc、desc)
4759
+ # @type OrderDirection: String
4760
+
4761
+ attr_accessor :EngineVersions, :TemplateNames, :TemplateIds, :DbModes, :Offset, :Limit, :Products, :TemplateTypes, :EngineTypes, :OrderBy, :OrderDirection
4762
+
4763
+ def initialize(engineversions=nil, templatenames=nil, templateids=nil, dbmodes=nil, offset=nil, limit=nil, products=nil, templatetypes=nil, enginetypes=nil, orderby=nil, orderdirection=nil)
4764
+ @EngineVersions = engineversions
4765
+ @TemplateNames = templatenames
4766
+ @TemplateIds = templateids
4767
+ @DbModes = dbmodes
4768
+ @Offset = offset
4769
+ @Limit = limit
4770
+ @Products = products
4771
+ @TemplateTypes = templatetypes
4772
+ @EngineTypes = enginetypes
4773
+ @OrderBy = orderby
4774
+ @OrderDirection = orderdirection
4775
+ end
4776
+
4777
+ def deserialize(params)
4778
+ @EngineVersions = params['EngineVersions']
4779
+ @TemplateNames = params['TemplateNames']
4780
+ @TemplateIds = params['TemplateIds']
4781
+ @DbModes = params['DbModes']
4782
+ @Offset = params['Offset']
4049
4783
  @Limit = params['Limit']
4050
4784
  @Products = params['Products']
4051
4785
  @TemplateTypes = params['TemplateTypes']
@@ -4914,6 +5648,33 @@ module TencentCloud
4914
5648
  end
4915
5649
  end
4916
5650
 
5651
+ # 实例参数信息
5652
+ class InstanceParamItem < TencentCloud::Common::AbstractModel
5653
+ # @param InstanceId: 实例ID
5654
+ # @type InstanceId: String
5655
+ # @param ParamsItems: 实例参数列表
5656
+ # @type ParamsItems: Array
5657
+
5658
+ attr_accessor :InstanceId, :ParamsItems
5659
+
5660
+ def initialize(instanceid=nil, paramsitems=nil)
5661
+ @InstanceId = instanceid
5662
+ @ParamsItems = paramsitems
5663
+ end
5664
+
5665
+ def deserialize(params)
5666
+ @InstanceId = params['InstanceId']
5667
+ unless params['ParamsItems'].nil?
5668
+ @ParamsItems = []
5669
+ params['ParamsItems'].each do |i|
5670
+ paramitemdetail_tmp = ParamItemDetail.new
5671
+ paramitemdetail_tmp.deserialize(i)
5672
+ @ParamsItems << paramitemdetail_tmp
5673
+ end
5674
+ end
5675
+ end
5676
+ end
5677
+
4917
5678
  # 实例可售卖规格详细信息,创建实例时Cpu/Memory确定实例规格,存储可选大小为[MinStorageSize,MaxStorageSize]
4918
5679
  class InstanceSpec < TencentCloud::Common::AbstractModel
4919
5680
  # @param Cpu: 实例CPU,单位:核
@@ -5081,6 +5842,93 @@ module TencentCloud
5081
5842
  end
5082
5843
  end
5083
5844
 
5845
+ # ModifyAccountDescription请求参数结构体
5846
+ class ModifyAccountDescriptionRequest < TencentCloud::Common::AbstractModel
5847
+ # @param AccountName: 数据库账号名
5848
+ # @type AccountName: String
5849
+ # @param Description: 数据库账号描述信息
5850
+ # @type Description: String
5851
+ # @param ClusterId: 集群ID
5852
+ # @type ClusterId: String
5853
+ # @param Host: 主机,默认为"%"
5854
+ # @type Host: String
5855
+
5856
+ attr_accessor :AccountName, :Description, :ClusterId, :Host
5857
+
5858
+ def initialize(accountname=nil, description=nil, clusterid=nil, host=nil)
5859
+ @AccountName = accountname
5860
+ @Description = description
5861
+ @ClusterId = clusterid
5862
+ @Host = host
5863
+ end
5864
+
5865
+ def deserialize(params)
5866
+ @AccountName = params['AccountName']
5867
+ @Description = params['Description']
5868
+ @ClusterId = params['ClusterId']
5869
+ @Host = params['Host']
5870
+ end
5871
+ end
5872
+
5873
+ # ModifyAccountDescription返回参数结构体
5874
+ class ModifyAccountDescriptionResponse < TencentCloud::Common::AbstractModel
5875
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5876
+ # @type RequestId: String
5877
+
5878
+ attr_accessor :RequestId
5879
+
5880
+ def initialize(requestid=nil)
5881
+ @RequestId = requestid
5882
+ end
5883
+
5884
+ def deserialize(params)
5885
+ @RequestId = params['RequestId']
5886
+ end
5887
+ end
5888
+
5889
+ # ModifyAccountHost请求参数结构体
5890
+ class ModifyAccountHostRequest < TencentCloud::Common::AbstractModel
5891
+ # @param ClusterId: 集群id
5892
+ # @type ClusterId: String
5893
+ # @param NewHost: 新主机
5894
+ # @type NewHost: String
5895
+ # @param Account: 账号信息
5896
+ # @type Account: :class:`Tencentcloud::Cynosdb.v20190107.models.InputAccount`
5897
+
5898
+ attr_accessor :ClusterId, :NewHost, :Account
5899
+
5900
+ def initialize(clusterid=nil, newhost=nil, account=nil)
5901
+ @ClusterId = clusterid
5902
+ @NewHost = newhost
5903
+ @Account = account
5904
+ end
5905
+
5906
+ def deserialize(params)
5907
+ @ClusterId = params['ClusterId']
5908
+ @NewHost = params['NewHost']
5909
+ unless params['Account'].nil?
5910
+ @Account = InputAccount.new
5911
+ @Account.deserialize(params['Account'])
5912
+ end
5913
+ end
5914
+ end
5915
+
5916
+ # ModifyAccountHost返回参数结构体
5917
+ class ModifyAccountHostResponse < TencentCloud::Common::AbstractModel
5918
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5919
+ # @type RequestId: String
5920
+
5921
+ attr_accessor :RequestId
5922
+
5923
+ def initialize(requestid=nil)
5924
+ @RequestId = requestid
5925
+ end
5926
+
5927
+ def deserialize(params)
5928
+ @RequestId = params['RequestId']
5929
+ end
5930
+ end
5931
+
5084
5932
  # ModifyAccountParams请求参数结构体
5085
5933
  class ModifyAccountParamsRequest < TencentCloud::Common::AbstractModel
5086
5934
  # @param ClusterId: 集群id,不超过32个字符
@@ -5131,6 +5979,71 @@ module TencentCloud
5131
5979
  end
5132
5980
  end
5133
5981
 
5982
+ # ModifyAccountPrivileges请求参数结构体
5983
+ class ModifyAccountPrivilegesRequest < TencentCloud::Common::AbstractModel
5984
+ # @param ClusterId: 集群id
5985
+ # @type ClusterId: String
5986
+ # @param Account: 账号信息
5987
+ # @type Account: :class:`Tencentcloud::Cynosdb.v20190107.models.InputAccount`
5988
+ # @param GlobalPrivileges: 全局权限数组
5989
+ # @type GlobalPrivileges: Array
5990
+ # @param DatabasePrivileges: 数据库权限数组
5991
+ # @type DatabasePrivileges: Array
5992
+ # @param TablePrivileges: 表权限数组
5993
+ # @type TablePrivileges: Array
5994
+
5995
+ attr_accessor :ClusterId, :Account, :GlobalPrivileges, :DatabasePrivileges, :TablePrivileges
5996
+
5997
+ def initialize(clusterid=nil, account=nil, globalprivileges=nil, databaseprivileges=nil, tableprivileges=nil)
5998
+ @ClusterId = clusterid
5999
+ @Account = account
6000
+ @GlobalPrivileges = globalprivileges
6001
+ @DatabasePrivileges = databaseprivileges
6002
+ @TablePrivileges = tableprivileges
6003
+ end
6004
+
6005
+ def deserialize(params)
6006
+ @ClusterId = params['ClusterId']
6007
+ unless params['Account'].nil?
6008
+ @Account = InputAccount.new
6009
+ @Account.deserialize(params['Account'])
6010
+ end
6011
+ @GlobalPrivileges = params['GlobalPrivileges']
6012
+ unless params['DatabasePrivileges'].nil?
6013
+ @DatabasePrivileges = []
6014
+ params['DatabasePrivileges'].each do |i|
6015
+ databaseprivileges_tmp = DatabasePrivileges.new
6016
+ databaseprivileges_tmp.deserialize(i)
6017
+ @DatabasePrivileges << databaseprivileges_tmp
6018
+ end
6019
+ end
6020
+ unless params['TablePrivileges'].nil?
6021
+ @TablePrivileges = []
6022
+ params['TablePrivileges'].each do |i|
6023
+ tableprivileges_tmp = TablePrivileges.new
6024
+ tableprivileges_tmp.deserialize(i)
6025
+ @TablePrivileges << tableprivileges_tmp
6026
+ end
6027
+ end
6028
+ end
6029
+ end
6030
+
6031
+ # ModifyAccountPrivileges返回参数结构体
6032
+ class ModifyAccountPrivilegesResponse < TencentCloud::Common::AbstractModel
6033
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6034
+ # @type RequestId: String
6035
+
6036
+ attr_accessor :RequestId
6037
+
6038
+ def initialize(requestid=nil)
6039
+ @RequestId = requestid
6040
+ end
6041
+
6042
+ def deserialize(params)
6043
+ @RequestId = params['RequestId']
6044
+ end
6045
+ end
6046
+
5134
6047
  # ModifyAuditRuleTemplates请求参数结构体
5135
6048
  class ModifyAuditRuleTemplatesRequest < TencentCloud::Common::AbstractModel
5136
6049
  # @param RuleTemplateIds: 审计规则模版ID。
@@ -5333,6 +6246,104 @@ module TencentCloud
5333
6246
  end
5334
6247
  end
5335
6248
 
6249
+ # ModifyBinlogSaveDays请求参数结构体
6250
+ class ModifyBinlogSaveDaysRequest < TencentCloud::Common::AbstractModel
6251
+ # @param ClusterId: 集群ID
6252
+ # @type ClusterId: String
6253
+ # @param BinlogSaveDays: Binlog保留天数
6254
+ # @type BinlogSaveDays: Integer
6255
+
6256
+ attr_accessor :ClusterId, :BinlogSaveDays
6257
+
6258
+ def initialize(clusterid=nil, binlogsavedays=nil)
6259
+ @ClusterId = clusterid
6260
+ @BinlogSaveDays = binlogsavedays
6261
+ end
6262
+
6263
+ def deserialize(params)
6264
+ @ClusterId = params['ClusterId']
6265
+ @BinlogSaveDays = params['BinlogSaveDays']
6266
+ end
6267
+ end
6268
+
6269
+ # ModifyBinlogSaveDays返回参数结构体
6270
+ class ModifyBinlogSaveDaysResponse < TencentCloud::Common::AbstractModel
6271
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6272
+ # @type RequestId: String
6273
+
6274
+ attr_accessor :RequestId
6275
+
6276
+ def initialize(requestid=nil)
6277
+ @RequestId = requestid
6278
+ end
6279
+
6280
+ def deserialize(params)
6281
+ @RequestId = params['RequestId']
6282
+ end
6283
+ end
6284
+
6285
+ # ModifyClusterDatabase请求参数结构体
6286
+ class ModifyClusterDatabaseRequest < TencentCloud::Common::AbstractModel
6287
+ # @param ClusterId: 集群ID
6288
+ # @type ClusterId: String
6289
+ # @param DbName: 数据库名
6290
+ # @type DbName: String
6291
+ # @param NewUserHostPrivileges: 新授权用户主机权限
6292
+ # @type NewUserHostPrivileges: Array
6293
+ # @param Description: 备注
6294
+ # @type Description: String
6295
+ # @param OldUserHostPrivileges: 历史授权用户主机权限
6296
+ # @type OldUserHostPrivileges: Array
6297
+
6298
+ attr_accessor :ClusterId, :DbName, :NewUserHostPrivileges, :Description, :OldUserHostPrivileges
6299
+
6300
+ def initialize(clusterid=nil, dbname=nil, newuserhostprivileges=nil, description=nil, olduserhostprivileges=nil)
6301
+ @ClusterId = clusterid
6302
+ @DbName = dbname
6303
+ @NewUserHostPrivileges = newuserhostprivileges
6304
+ @Description = description
6305
+ @OldUserHostPrivileges = olduserhostprivileges
6306
+ end
6307
+
6308
+ def deserialize(params)
6309
+ @ClusterId = params['ClusterId']
6310
+ @DbName = params['DbName']
6311
+ unless params['NewUserHostPrivileges'].nil?
6312
+ @NewUserHostPrivileges = []
6313
+ params['NewUserHostPrivileges'].each do |i|
6314
+ userhostprivilege_tmp = UserHostPrivilege.new
6315
+ userhostprivilege_tmp.deserialize(i)
6316
+ @NewUserHostPrivileges << userhostprivilege_tmp
6317
+ end
6318
+ end
6319
+ @Description = params['Description']
6320
+ unless params['OldUserHostPrivileges'].nil?
6321
+ @OldUserHostPrivileges = []
6322
+ params['OldUserHostPrivileges'].each do |i|
6323
+ userhostprivilege_tmp = UserHostPrivilege.new
6324
+ userhostprivilege_tmp.deserialize(i)
6325
+ @OldUserHostPrivileges << userhostprivilege_tmp
6326
+ end
6327
+ end
6328
+ end
6329
+ end
6330
+
6331
+ # ModifyClusterDatabase返回参数结构体
6332
+ class ModifyClusterDatabaseResponse < TencentCloud::Common::AbstractModel
6333
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6334
+ # @type RequestId: String
6335
+
6336
+ attr_accessor :RequestId
6337
+
6338
+ def initialize(requestid=nil)
6339
+ @RequestId = requestid
6340
+ end
6341
+
6342
+ def deserialize(params)
6343
+ @RequestId = params['RequestId']
6344
+ end
6345
+ end
6346
+
5336
6347
  # ModifyClusterName请求参数结构体
5337
6348
  class ModifyClusterNameRequest < TencentCloud::Common::AbstractModel
5338
6349
  # @param ClusterId: 集群ID
@@ -5420,6 +6431,66 @@ module TencentCloud
5420
6431
  end
5421
6432
  end
5422
6433
 
6434
+ # ModifyClusterPasswordComplexity请求参数结构体
6435
+ class ModifyClusterPasswordComplexityRequest < TencentCloud::Common::AbstractModel
6436
+ # @param ClusterId: 集群id
6437
+ # @type ClusterId: String
6438
+ # @param ValidatePasswordLength: 密码长度
6439
+ # @type ValidatePasswordLength: Integer
6440
+ # @param ValidatePasswordMixedCaseCount: 大小写字符个数
6441
+ # @type ValidatePasswordMixedCaseCount: Integer
6442
+ # @param ValidatePasswordSpecialCharCount: 特殊字符个数
6443
+ # @type ValidatePasswordSpecialCharCount: Integer
6444
+ # @param ValidatePasswordNumberCount: 数字个数
6445
+ # @type ValidatePasswordNumberCount: Integer
6446
+ # @param ValidatePasswordPolicy: 密码强度("MEDIUM", "STRONG")
6447
+ # @type ValidatePasswordPolicy: String
6448
+ # @param ValidatePasswordDictionary: 数据字典
6449
+ # @type ValidatePasswordDictionary: Array
6450
+
6451
+ attr_accessor :ClusterId, :ValidatePasswordLength, :ValidatePasswordMixedCaseCount, :ValidatePasswordSpecialCharCount, :ValidatePasswordNumberCount, :ValidatePasswordPolicy, :ValidatePasswordDictionary
6452
+
6453
+ def initialize(clusterid=nil, validatepasswordlength=nil, validatepasswordmixedcasecount=nil, validatepasswordspecialcharcount=nil, validatepasswordnumbercount=nil, validatepasswordpolicy=nil, validatepassworddictionary=nil)
6454
+ @ClusterId = clusterid
6455
+ @ValidatePasswordLength = validatepasswordlength
6456
+ @ValidatePasswordMixedCaseCount = validatepasswordmixedcasecount
6457
+ @ValidatePasswordSpecialCharCount = validatepasswordspecialcharcount
6458
+ @ValidatePasswordNumberCount = validatepasswordnumbercount
6459
+ @ValidatePasswordPolicy = validatepasswordpolicy
6460
+ @ValidatePasswordDictionary = validatepassworddictionary
6461
+ end
6462
+
6463
+ def deserialize(params)
6464
+ @ClusterId = params['ClusterId']
6465
+ @ValidatePasswordLength = params['ValidatePasswordLength']
6466
+ @ValidatePasswordMixedCaseCount = params['ValidatePasswordMixedCaseCount']
6467
+ @ValidatePasswordSpecialCharCount = params['ValidatePasswordSpecialCharCount']
6468
+ @ValidatePasswordNumberCount = params['ValidatePasswordNumberCount']
6469
+ @ValidatePasswordPolicy = params['ValidatePasswordPolicy']
6470
+ @ValidatePasswordDictionary = params['ValidatePasswordDictionary']
6471
+ end
6472
+ end
6473
+
6474
+ # ModifyClusterPasswordComplexity返回参数结构体
6475
+ class ModifyClusterPasswordComplexityResponse < TencentCloud::Common::AbstractModel
6476
+ # @param FlowId: 任务流ID
6477
+ # @type FlowId: Integer
6478
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6479
+ # @type RequestId: String
6480
+
6481
+ attr_accessor :FlowId, :RequestId
6482
+
6483
+ def initialize(flowid=nil, requestid=nil)
6484
+ @FlowId = flowid
6485
+ @RequestId = requestid
6486
+ end
6487
+
6488
+ def deserialize(params)
6489
+ @FlowId = params['FlowId']
6490
+ @RequestId = params['RequestId']
6491
+ end
6492
+ end
6493
+
5423
6494
  # ModifyClusterSlaveZone请求参数结构体
5424
6495
  class ModifyClusterSlaveZoneRequest < TencentCloud::Common::AbstractModel
5425
6496
  # @param ClusterId: 集群Id
@@ -5599,6 +6670,72 @@ module TencentCloud
5599
6670
  end
5600
6671
  end
5601
6672
 
6673
+ # ModifyInstanceParam请求参数结构体
6674
+ class ModifyInstanceParamRequest < TencentCloud::Common::AbstractModel
6675
+ # @param ClusterId: 集群ID
6676
+ # @type ClusterId: String
6677
+ # @param InstanceIds: 实例ID
6678
+ # @type InstanceIds: Array
6679
+ # @param ClusterParamList: 集群参数列表
6680
+ # @type ClusterParamList: Array
6681
+ # @param InstanceParamList: 实例参数列表
6682
+ # @type InstanceParamList: Array
6683
+ # @param IsInMaintainPeriod: yes:在运维时间窗内修改,no:立即执行(默认值)
6684
+ # @type IsInMaintainPeriod: String
6685
+
6686
+ attr_accessor :ClusterId, :InstanceIds, :ClusterParamList, :InstanceParamList, :IsInMaintainPeriod
6687
+
6688
+ def initialize(clusterid=nil, instanceids=nil, clusterparamlist=nil, instanceparamlist=nil, isinmaintainperiod=nil)
6689
+ @ClusterId = clusterid
6690
+ @InstanceIds = instanceids
6691
+ @ClusterParamList = clusterparamlist
6692
+ @InstanceParamList = instanceparamlist
6693
+ @IsInMaintainPeriod = isinmaintainperiod
6694
+ end
6695
+
6696
+ def deserialize(params)
6697
+ @ClusterId = params['ClusterId']
6698
+ @InstanceIds = params['InstanceIds']
6699
+ unless params['ClusterParamList'].nil?
6700
+ @ClusterParamList = []
6701
+ params['ClusterParamList'].each do |i|
6702
+ modifyparamitem_tmp = ModifyParamItem.new
6703
+ modifyparamitem_tmp.deserialize(i)
6704
+ @ClusterParamList << modifyparamitem_tmp
6705
+ end
6706
+ end
6707
+ unless params['InstanceParamList'].nil?
6708
+ @InstanceParamList = []
6709
+ params['InstanceParamList'].each do |i|
6710
+ modifyparamitem_tmp = ModifyParamItem.new
6711
+ modifyparamitem_tmp.deserialize(i)
6712
+ @InstanceParamList << modifyparamitem_tmp
6713
+ end
6714
+ end
6715
+ @IsInMaintainPeriod = params['IsInMaintainPeriod']
6716
+ end
6717
+ end
6718
+
6719
+ # ModifyInstanceParam返回参数结构体
6720
+ class ModifyInstanceParamResponse < TencentCloud::Common::AbstractModel
6721
+ # @param FlowId: 任务ID
6722
+ # @type FlowId: Integer
6723
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6724
+ # @type RequestId: String
6725
+
6726
+ attr_accessor :FlowId, :RequestId
6727
+
6728
+ def initialize(flowid=nil, requestid=nil)
6729
+ @FlowId = flowid
6730
+ @RequestId = requestid
6731
+ end
6732
+
6733
+ def deserialize(params)
6734
+ @FlowId = params['FlowId']
6735
+ @RequestId = params['RequestId']
6736
+ end
6737
+ end
6738
+
5602
6739
  # ModifyMaintainPeriodConfig请求参数结构体
5603
6740
  class ModifyMaintainPeriodConfigRequest < TencentCloud::Common::AbstractModel
5604
6741
  # @param InstanceId: 实例ID
@@ -5668,6 +6805,57 @@ module TencentCloud
5668
6805
  end
5669
6806
  end
5670
6807
 
6808
+ # ModifyParamTemplate请求参数结构体
6809
+ class ModifyParamTemplateRequest < TencentCloud::Common::AbstractModel
6810
+ # @param TemplateId: 模版ID
6811
+ # @type TemplateId: Integer
6812
+ # @param TemplateName: 模版名
6813
+ # @type TemplateName: String
6814
+ # @param TemplateDescription: 模版描述
6815
+ # @type TemplateDescription: String
6816
+ # @param ParamList: 参数列表
6817
+ # @type ParamList: Array
6818
+
6819
+ attr_accessor :TemplateId, :TemplateName, :TemplateDescription, :ParamList
6820
+
6821
+ def initialize(templateid=nil, templatename=nil, templatedescription=nil, paramlist=nil)
6822
+ @TemplateId = templateid
6823
+ @TemplateName = templatename
6824
+ @TemplateDescription = templatedescription
6825
+ @ParamList = paramlist
6826
+ end
6827
+
6828
+ def deserialize(params)
6829
+ @TemplateId = params['TemplateId']
6830
+ @TemplateName = params['TemplateName']
6831
+ @TemplateDescription = params['TemplateDescription']
6832
+ unless params['ParamList'].nil?
6833
+ @ParamList = []
6834
+ params['ParamList'].each do |i|
6835
+ modifyparamitem_tmp = ModifyParamItem.new
6836
+ modifyparamitem_tmp.deserialize(i)
6837
+ @ParamList << modifyparamitem_tmp
6838
+ end
6839
+ end
6840
+ end
6841
+ end
6842
+
6843
+ # ModifyParamTemplate返回参数结构体
6844
+ class ModifyParamTemplateResponse < TencentCloud::Common::AbstractModel
6845
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6846
+ # @type RequestId: String
6847
+
6848
+ attr_accessor :RequestId
6849
+
6850
+ def initialize(requestid=nil)
6851
+ @RequestId = requestid
6852
+ end
6853
+
6854
+ def deserialize(params)
6855
+ @RequestId = params['RequestId']
6856
+ end
6857
+ end
6858
+
5671
6859
  # ModifyVipVport请求参数结构体
5672
6860
  class ModifyVipVportRequest < TencentCloud::Common::AbstractModel
5673
6861
  # @param ClusterId: 集群id
@@ -6039,6 +7227,66 @@ module TencentCloud
6039
7227
  end
6040
7228
  end
6041
7229
 
7230
+ # OpenClusterPasswordComplexity请求参数结构体
7231
+ class OpenClusterPasswordComplexityRequest < TencentCloud::Common::AbstractModel
7232
+ # @param ClusterId: 集群id
7233
+ # @type ClusterId: String
7234
+ # @param ValidatePasswordLength: 密码长度
7235
+ # @type ValidatePasswordLength: Integer
7236
+ # @param ValidatePasswordMixedCaseCount: 大小写字符个数
7237
+ # @type ValidatePasswordMixedCaseCount: Integer
7238
+ # @param ValidatePasswordSpecialCharCount: 特殊字符个数
7239
+ # @type ValidatePasswordSpecialCharCount: Integer
7240
+ # @param ValidatePasswordNumberCount: 数字个数
7241
+ # @type ValidatePasswordNumberCount: Integer
7242
+ # @param ValidatePasswordPolicy: 密码强度("MEDIUM", "STRONG")
7243
+ # @type ValidatePasswordPolicy: String
7244
+ # @param ValidatePasswordDictionary: 数据字典
7245
+ # @type ValidatePasswordDictionary: Array
7246
+
7247
+ attr_accessor :ClusterId, :ValidatePasswordLength, :ValidatePasswordMixedCaseCount, :ValidatePasswordSpecialCharCount, :ValidatePasswordNumberCount, :ValidatePasswordPolicy, :ValidatePasswordDictionary
7248
+
7249
+ def initialize(clusterid=nil, validatepasswordlength=nil, validatepasswordmixedcasecount=nil, validatepasswordspecialcharcount=nil, validatepasswordnumbercount=nil, validatepasswordpolicy=nil, validatepassworddictionary=nil)
7250
+ @ClusterId = clusterid
7251
+ @ValidatePasswordLength = validatepasswordlength
7252
+ @ValidatePasswordMixedCaseCount = validatepasswordmixedcasecount
7253
+ @ValidatePasswordSpecialCharCount = validatepasswordspecialcharcount
7254
+ @ValidatePasswordNumberCount = validatepasswordnumbercount
7255
+ @ValidatePasswordPolicy = validatepasswordpolicy
7256
+ @ValidatePasswordDictionary = validatepassworddictionary
7257
+ end
7258
+
7259
+ def deserialize(params)
7260
+ @ClusterId = params['ClusterId']
7261
+ @ValidatePasswordLength = params['ValidatePasswordLength']
7262
+ @ValidatePasswordMixedCaseCount = params['ValidatePasswordMixedCaseCount']
7263
+ @ValidatePasswordSpecialCharCount = params['ValidatePasswordSpecialCharCount']
7264
+ @ValidatePasswordNumberCount = params['ValidatePasswordNumberCount']
7265
+ @ValidatePasswordPolicy = params['ValidatePasswordPolicy']
7266
+ @ValidatePasswordDictionary = params['ValidatePasswordDictionary']
7267
+ end
7268
+ end
7269
+
7270
+ # OpenClusterPasswordComplexity返回参数结构体
7271
+ class OpenClusterPasswordComplexityResponse < TencentCloud::Common::AbstractModel
7272
+ # @param FlowId: 任务流ID
7273
+ # @type FlowId: Integer
7274
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7275
+ # @type RequestId: String
7276
+
7277
+ attr_accessor :FlowId, :RequestId
7278
+
7279
+ def initialize(flowid=nil, requestid=nil)
7280
+ @FlowId = flowid
7281
+ @RequestId = requestid
7282
+ end
7283
+
7284
+ def deserialize(params)
7285
+ @FlowId = params['FlowId']
7286
+ @RequestId = params['RequestId']
7287
+ end
7288
+ end
7289
+
6042
7290
  # OpenReadOnlyInstanceExclusiveAccess请求参数结构体
6043
7291
  class OpenReadOnlyInstanceExclusiveAccessRequest < TencentCloud::Common::AbstractModel
6044
7292
  # @param ClusterId: 集群ID
@@ -6095,6 +7343,125 @@ module TencentCloud
6095
7343
  end
6096
7344
  end
6097
7345
 
7346
+ # OpenWan请求参数结构体
7347
+ class OpenWanRequest < TencentCloud::Common::AbstractModel
7348
+ # @param InstanceGrpId: 实例组id
7349
+ # @type InstanceGrpId: String
7350
+
7351
+ attr_accessor :InstanceGrpId
7352
+
7353
+ def initialize(instancegrpid=nil)
7354
+ @InstanceGrpId = instancegrpid
7355
+ end
7356
+
7357
+ def deserialize(params)
7358
+ @InstanceGrpId = params['InstanceGrpId']
7359
+ end
7360
+ end
7361
+
7362
+ # OpenWan返回参数结构体
7363
+ class OpenWanResponse < TencentCloud::Common::AbstractModel
7364
+ # @param FlowId: 任务流ID
7365
+ # @type FlowId: Integer
7366
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7367
+ # @type RequestId: String
7368
+
7369
+ attr_accessor :FlowId, :RequestId
7370
+
7371
+ def initialize(flowid=nil, requestid=nil)
7372
+ @FlowId = flowid
7373
+ @RequestId = requestid
7374
+ end
7375
+
7376
+ def deserialize(params)
7377
+ @FlowId = params['FlowId']
7378
+ @RequestId = params['RequestId']
7379
+ end
7380
+ end
7381
+
7382
+ # 实例参数详细描述
7383
+ class ParamDetail < TencentCloud::Common::AbstractModel
7384
+ # @param ParamName: 参数名称
7385
+ # @type ParamName: String
7386
+ # @param ParamType: 参数类型:integer,enum,float,string,func
7387
+ # @type ParamType: String
7388
+ # @param SupportFunc: true-支持"func",false-不支持公式
7389
+ # @type SupportFunc: Boolean
7390
+ # @param Default: 默认值
7391
+ # @type Default: String
7392
+ # @param Description: 参数描述
7393
+ # @type Description: String
7394
+ # @param CurrentValue: 参数当前值
7395
+ # @type CurrentValue: String
7396
+ # @param NeedReboot: 修改参数后,是否需要重启数据库以使参数生效。0-不需要重启,1-需要重启。
7397
+ # @type NeedReboot: Integer
7398
+ # @param Max: 参数容许的最大值
7399
+ # @type Max: String
7400
+ # @param Min: 参数容许的最小值
7401
+ # @type Min: String
7402
+ # @param EnumValue: 参数的可选枚举值。如果为非枚举值,则为空
7403
+ # 注意:此字段可能返回 null,表示取不到有效值。
7404
+ # @type EnumValue: Array
7405
+ # @param IsGlobal: 1:全局参数,0:非全局参数
7406
+ # @type IsGlobal: Integer
7407
+ # @param MatchType: 匹配类型,multiVal
7408
+ # @type MatchType: String
7409
+ # @param MatchValue: 匹配目标值,当multiVal时,各个key用,分割
7410
+ # @type MatchValue: String
7411
+ # @param IsFunc: true-为公式,false-非公式
7412
+ # 注意:此字段可能返回 null,表示取不到有效值。
7413
+ # @type IsFunc: Boolean
7414
+ # @param Func: 参数设置为公式时,Func返回设置的公式内容
7415
+ # 注意:此字段可能返回 null,表示取不到有效值。
7416
+ # @type Func: String
7417
+ # @param ModifiableInfo: 参数是否可修改
7418
+ # 注意:此字段可能返回 null,表示取不到有效值。
7419
+ # @type ModifiableInfo: :class:`Tencentcloud::Cynosdb.v20190107.models.ModifiableInfo`
7420
+
7421
+ attr_accessor :ParamName, :ParamType, :SupportFunc, :Default, :Description, :CurrentValue, :NeedReboot, :Max, :Min, :EnumValue, :IsGlobal, :MatchType, :MatchValue, :IsFunc, :Func, :ModifiableInfo
7422
+
7423
+ def initialize(paramname=nil, paramtype=nil, supportfunc=nil, default=nil, description=nil, currentvalue=nil, needreboot=nil, max=nil, min=nil, enumvalue=nil, isglobal=nil, matchtype=nil, matchvalue=nil, isfunc=nil, func=nil, modifiableinfo=nil)
7424
+ @ParamName = paramname
7425
+ @ParamType = paramtype
7426
+ @SupportFunc = supportfunc
7427
+ @Default = default
7428
+ @Description = description
7429
+ @CurrentValue = currentvalue
7430
+ @NeedReboot = needreboot
7431
+ @Max = max
7432
+ @Min = min
7433
+ @EnumValue = enumvalue
7434
+ @IsGlobal = isglobal
7435
+ @MatchType = matchtype
7436
+ @MatchValue = matchvalue
7437
+ @IsFunc = isfunc
7438
+ @Func = func
7439
+ @ModifiableInfo = modifiableinfo
7440
+ end
7441
+
7442
+ def deserialize(params)
7443
+ @ParamName = params['ParamName']
7444
+ @ParamType = params['ParamType']
7445
+ @SupportFunc = params['SupportFunc']
7446
+ @Default = params['Default']
7447
+ @Description = params['Description']
7448
+ @CurrentValue = params['CurrentValue']
7449
+ @NeedReboot = params['NeedReboot']
7450
+ @Max = params['Max']
7451
+ @Min = params['Min']
7452
+ @EnumValue = params['EnumValue']
7453
+ @IsGlobal = params['IsGlobal']
7454
+ @MatchType = params['MatchType']
7455
+ @MatchValue = params['MatchValue']
7456
+ @IsFunc = params['IsFunc']
7457
+ @Func = params['Func']
7458
+ unless params['ModifiableInfo'].nil?
7459
+ @ModifiableInfo = ModifiableInfo.new
7460
+ @ModifiableInfo.deserialize(params['ModifiableInfo'])
7461
+ end
7462
+ end
7463
+ end
7464
+
6098
7465
  # 参数信息
6099
7466
  class ParamInfo < TencentCloud::Common::AbstractModel
6100
7467
  # @param CurrentValue: 当前值
@@ -6199,6 +7566,68 @@ module TencentCloud
6199
7566
  end
6200
7567
  end
6201
7568
 
7569
+ # 实例参数信息
7570
+ class ParamItemDetail < TencentCloud::Common::AbstractModel
7571
+ # @param CurrentValue: 当前值
7572
+ # @type CurrentValue: String
7573
+ # @param Default: 默认值
7574
+ # @type Default: String
7575
+ # @param EnumValue: 参数的可选枚举值。如果为非枚举值,则为空
7576
+ # @type EnumValue: Array
7577
+ # @param IsGlobal: 1:全局参数,0:非全局参数
7578
+ # @type IsGlobal: Integer
7579
+ # @param Max: 最大值
7580
+ # @type Max: String
7581
+ # @param Min: 最小值
7582
+ # @type Min: String
7583
+ # @param NeedReboot: 修改参数后,是否需要重启数据库以使参数生效。0-不需要重启,1-需要重启。
7584
+ # @type NeedReboot: Integer
7585
+ # @param ParamName: 参数名称
7586
+ # @type ParamName: String
7587
+ # @param ParamType: 参数类型:integer,enum,float,string,func
7588
+ # @type ParamType: String
7589
+ # @param Description: 参数描述
7590
+ # @type Description: String
7591
+ # @param IsFunc: 类型是否为公式
7592
+ # 注意:此字段可能返回 null,表示取不到有效值。
7593
+ # @type IsFunc: Boolean
7594
+ # @param Func: 参数配置公式
7595
+ # 注意:此字段可能返回 null,表示取不到有效值。
7596
+ # @type Func: String
7597
+
7598
+ attr_accessor :CurrentValue, :Default, :EnumValue, :IsGlobal, :Max, :Min, :NeedReboot, :ParamName, :ParamType, :Description, :IsFunc, :Func
7599
+
7600
+ def initialize(currentvalue=nil, default=nil, enumvalue=nil, isglobal=nil, max=nil, min=nil, needreboot=nil, paramname=nil, paramtype=nil, description=nil, isfunc=nil, func=nil)
7601
+ @CurrentValue = currentvalue
7602
+ @Default = default
7603
+ @EnumValue = enumvalue
7604
+ @IsGlobal = isglobal
7605
+ @Max = max
7606
+ @Min = min
7607
+ @NeedReboot = needreboot
7608
+ @ParamName = paramname
7609
+ @ParamType = paramtype
7610
+ @Description = description
7611
+ @IsFunc = isfunc
7612
+ @Func = func
7613
+ end
7614
+
7615
+ def deserialize(params)
7616
+ @CurrentValue = params['CurrentValue']
7617
+ @Default = params['Default']
7618
+ @EnumValue = params['EnumValue']
7619
+ @IsGlobal = params['IsGlobal']
7620
+ @Max = params['Max']
7621
+ @Min = params['Min']
7622
+ @NeedReboot = params['NeedReboot']
7623
+ @ParamName = params['ParamName']
7624
+ @ParamType = params['ParamType']
7625
+ @Description = params['Description']
7626
+ @IsFunc = params['IsFunc']
7627
+ @Func = params['Func']
7628
+ end
7629
+ end
7630
+
6202
7631
  # 参数模板信息
6203
7632
  class ParamTemplateListInfo < TencentCloud::Common::AbstractModel
6204
7633
  # @param Id: 参数模板ID
@@ -7396,6 +8825,50 @@ module TencentCloud
7396
8825
  end
7397
8826
  end
7398
8827
 
8828
+ # UpgradeClusterVersion请求参数结构体
8829
+ class UpgradeClusterVersionRequest < TencentCloud::Common::AbstractModel
8830
+ # @param ClusterId: 集群id
8831
+ # @type ClusterId: String
8832
+ # @param CynosVersion: 内核版本
8833
+ # @type CynosVersion: String
8834
+ # @param UpgradeType: 升级时间类型,可选:upgradeImmediate,upgradeInMaintain
8835
+ # @type UpgradeType: String
8836
+
8837
+ attr_accessor :ClusterId, :CynosVersion, :UpgradeType
8838
+
8839
+ def initialize(clusterid=nil, cynosversion=nil, upgradetype=nil)
8840
+ @ClusterId = clusterid
8841
+ @CynosVersion = cynosversion
8842
+ @UpgradeType = upgradetype
8843
+ end
8844
+
8845
+ def deserialize(params)
8846
+ @ClusterId = params['ClusterId']
8847
+ @CynosVersion = params['CynosVersion']
8848
+ @UpgradeType = params['UpgradeType']
8849
+ end
8850
+ end
8851
+
8852
+ # UpgradeClusterVersion返回参数结构体
8853
+ class UpgradeClusterVersionResponse < TencentCloud::Common::AbstractModel
8854
+ # @param FlowId: 异步任务id
8855
+ # @type FlowId: Integer
8856
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8857
+ # @type RequestId: String
8858
+
8859
+ attr_accessor :FlowId, :RequestId
8860
+
8861
+ def initialize(flowid=nil, requestid=nil)
8862
+ @FlowId = flowid
8863
+ @RequestId = requestid
8864
+ end
8865
+
8866
+ def deserialize(params)
8867
+ @FlowId = params['FlowId']
8868
+ @RequestId = params['RequestId']
8869
+ end
8870
+ end
8871
+
7399
8872
  # UpgradeInstance请求参数结构体
7400
8873
  class UpgradeInstanceRequest < TencentCloud::Common::AbstractModel
7401
8874
  # @param InstanceId: 实例ID
@@ -7474,6 +8947,32 @@ module TencentCloud
7474
8947
  end
7475
8948
  end
7476
8949
 
8950
+ # 用户主机权限
8951
+ class UserHostPrivilege < TencentCloud::Common::AbstractModel
8952
+ # @param DbUserName: 授权用户
8953
+ # @type DbUserName: String
8954
+ # @param DbHost: 客户端ip
8955
+ # 注意:此字段可能返回 null,表示取不到有效值。
8956
+ # @type DbHost: String
8957
+ # @param DbPrivilege: 用户权限
8958
+ # 注意:此字段可能返回 null,表示取不到有效值。
8959
+ # @type DbPrivilege: String
8960
+
8961
+ attr_accessor :DbUserName, :DbHost, :DbPrivilege
8962
+
8963
+ def initialize(dbusername=nil, dbhost=nil, dbprivilege=nil)
8964
+ @DbUserName = dbusername
8965
+ @DbHost = dbhost
8966
+ @DbPrivilege = dbprivilege
8967
+ end
8968
+
8969
+ def deserialize(params)
8970
+ @DbUserName = params['DbUserName']
8971
+ @DbHost = params['DbHost']
8972
+ @DbPrivilege = params['DbPrivilege']
8973
+ end
8974
+ end
8975
+
7477
8976
  # 可用区库存信息
7478
8977
  class ZoneStockInfo < TencentCloud::Common::AbstractModel
7479
8978
  # @param Zone: 可用区