tencentcloud-sdk-cynosdb 3.0.1134 → 3.0.1163
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190107/client.rb +72 -0
- data/lib/v20190107/models.rb +655 -36
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f49cbd280edabefa1c67517d638d04eaeefaa8df
|
|
4
|
+
data.tar.gz: 244f314dba24d1f27e4ca0d408326e3213f5d1c0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 92347b1ac4b027c459bb2448de8cbe4b664b34336313b436a2a8132ca8c6070d019c547b266dcd41bc18088bd2406257acbd79fdb8ea208c126ee4cd504c20b6
|
|
7
|
+
data.tar.gz: 1883b1a2e8b18b1bb12441a0fbf93df4cd284fc487599bf3ffbba74ac5a5cab39a1237f21b285132686a22abc3c3af81851630ac531a0180ef3cde36e3ab1262
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1163
|
data/lib/v20190107/client.rb
CHANGED
|
@@ -485,6 +485,30 @@ module TencentCloud
|
|
|
485
485
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
486
486
|
end
|
|
487
487
|
|
|
488
|
+
# 本接口(CreateClusters)用于新购集群。
|
|
489
|
+
|
|
490
|
+
# @param request: Request instance for CreateIntegrateCluster.
|
|
491
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::CreateIntegrateClusterRequest`
|
|
492
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::CreateIntegrateClusterResponse`
|
|
493
|
+
def CreateIntegrateCluster(request)
|
|
494
|
+
body = send_request('CreateIntegrateCluster', request.serialize)
|
|
495
|
+
response = JSON.parse(body)
|
|
496
|
+
if response['Response'].key?('Error') == false
|
|
497
|
+
model = CreateIntegrateClusterResponse.new
|
|
498
|
+
model.deserialize(response['Response'])
|
|
499
|
+
model
|
|
500
|
+
else
|
|
501
|
+
code = response['Response']['Error']['Code']
|
|
502
|
+
message = response['Response']['Error']['Message']
|
|
503
|
+
reqid = response['Response']['RequestId']
|
|
504
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
505
|
+
end
|
|
506
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
507
|
+
raise e
|
|
508
|
+
rescue StandardError => e
|
|
509
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
510
|
+
end
|
|
511
|
+
|
|
488
512
|
# 本接口(CreateParamTemplate)用于创建参数模板。
|
|
489
513
|
|
|
490
514
|
# @param request: Request instance for CreateParamTemplate.
|
|
@@ -1709,6 +1733,30 @@ module TencentCloud
|
|
|
1709
1733
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1710
1734
|
end
|
|
1711
1735
|
|
|
1736
|
+
# 本接口(DescribeIntegrateTask)用于查询集群任务。
|
|
1737
|
+
|
|
1738
|
+
# @param request: Request instance for DescribeIntegrateTask.
|
|
1739
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeIntegrateTaskRequest`
|
|
1740
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::DescribeIntegrateTaskResponse`
|
|
1741
|
+
def DescribeIntegrateTask(request)
|
|
1742
|
+
body = send_request('DescribeIntegrateTask', request.serialize)
|
|
1743
|
+
response = JSON.parse(body)
|
|
1744
|
+
if response['Response'].key?('Error') == false
|
|
1745
|
+
model = DescribeIntegrateTaskResponse.new
|
|
1746
|
+
model.deserialize(response['Response'])
|
|
1747
|
+
model
|
|
1748
|
+
else
|
|
1749
|
+
code = response['Response']['Error']['Code']
|
|
1750
|
+
message = response['Response']['Error']['Message']
|
|
1751
|
+
reqid = response['Response']['RequestId']
|
|
1752
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1753
|
+
end
|
|
1754
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1755
|
+
raise e
|
|
1756
|
+
rescue StandardError => e
|
|
1757
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1758
|
+
end
|
|
1759
|
+
|
|
1712
1760
|
# 本接口(DescribeIsolatedInstances)用于查询回收站实例列表。
|
|
1713
1761
|
|
|
1714
1762
|
# @param request: Request instance for DescribeIsolatedInstances.
|
|
@@ -2357,6 +2405,30 @@ module TencentCloud
|
|
|
2357
2405
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2358
2406
|
end
|
|
2359
2407
|
|
|
2408
|
+
# 此接口(InquirePriceMultiSpec)用于批量询价
|
|
2409
|
+
|
|
2410
|
+
# @param request: Request instance for InquirePriceMultiSpec.
|
|
2411
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::InquirePriceMultiSpecRequest`
|
|
2412
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::InquirePriceMultiSpecResponse`
|
|
2413
|
+
def InquirePriceMultiSpec(request)
|
|
2414
|
+
body = send_request('InquirePriceMultiSpec', request.serialize)
|
|
2415
|
+
response = JSON.parse(body)
|
|
2416
|
+
if response['Response'].key?('Error') == false
|
|
2417
|
+
model = InquirePriceMultiSpecResponse.new
|
|
2418
|
+
model.deserialize(response['Response'])
|
|
2419
|
+
model
|
|
2420
|
+
else
|
|
2421
|
+
code = response['Response']['Error']['Code']
|
|
2422
|
+
message = response['Response']['Error']['Message']
|
|
2423
|
+
reqid = response['Response']['RequestId']
|
|
2424
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2425
|
+
end
|
|
2426
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2427
|
+
raise e
|
|
2428
|
+
rescue StandardError => e
|
|
2429
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2430
|
+
end
|
|
2431
|
+
|
|
2360
2432
|
# 本接口(InquirePriceRenew)用于查询续费集群价格。
|
|
2361
2433
|
|
|
2362
2434
|
# @param request: Request instance for InquirePriceRenew.
|
data/lib/v20190107/models.rb
CHANGED
|
@@ -35,10 +35,18 @@ module TencentCloud
|
|
|
35
35
|
# @type NoSupportTransparentDataEncryptionReason: String
|
|
36
36
|
# @param IsSupportManualLogic: 是否支持手动发起逻辑备份
|
|
37
37
|
# @type IsSupportManualLogic: String
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
# @param IsSupportGlobalEncryption: 是否支持开启全局加密
|
|
39
|
+
# @type IsSupportGlobalEncryption: String
|
|
40
|
+
# @param NoSupportGlobalEncryptionReason: 不支持全局加密的原因
|
|
41
|
+
# @type NoSupportGlobalEncryptionReason: String
|
|
42
|
+
# @param NoSupportTransparentDataEncryptionReasonCode: 不支持透明加密原因状态码
|
|
43
|
+
# @type NoSupportTransparentDataEncryptionReasonCode: String
|
|
44
|
+
# @param NoSupportGlobalEncryptionReasonCode: 不支持全局加密原因状态码
|
|
45
|
+
# @type NoSupportGlobalEncryptionReasonCode: String
|
|
46
|
+
|
|
47
|
+
attr_accessor :IsSupportSlaveZone, :NonsupportSlaveZoneReason, :IsSupportRo, :NonsupportRoReason, :IsSupportManualSnapshot, :IsSupportTransparentDataEncryption, :NoSupportTransparentDataEncryptionReason, :IsSupportManualLogic, :IsSupportGlobalEncryption, :NoSupportGlobalEncryptionReason, :NoSupportTransparentDataEncryptionReasonCode, :NoSupportGlobalEncryptionReasonCode
|
|
48
|
+
|
|
49
|
+
def initialize(issupportslavezone=nil, nonsupportslavezonereason=nil, issupportro=nil, nonsupportroreason=nil, issupportmanualsnapshot=nil, issupporttransparentdataencryption=nil, nosupporttransparentdataencryptionreason=nil, issupportmanuallogic=nil, issupportglobalencryption=nil, nosupportglobalencryptionreason=nil, nosupporttransparentdataencryptionreasoncode=nil, nosupportglobalencryptionreasoncode=nil)
|
|
42
50
|
@IsSupportSlaveZone = issupportslavezone
|
|
43
51
|
@NonsupportSlaveZoneReason = nonsupportslavezonereason
|
|
44
52
|
@IsSupportRo = issupportro
|
|
@@ -47,6 +55,10 @@ module TencentCloud
|
|
|
47
55
|
@IsSupportTransparentDataEncryption = issupporttransparentdataencryption
|
|
48
56
|
@NoSupportTransparentDataEncryptionReason = nosupporttransparentdataencryptionreason
|
|
49
57
|
@IsSupportManualLogic = issupportmanuallogic
|
|
58
|
+
@IsSupportGlobalEncryption = issupportglobalencryption
|
|
59
|
+
@NoSupportGlobalEncryptionReason = nosupportglobalencryptionreason
|
|
60
|
+
@NoSupportTransparentDataEncryptionReasonCode = nosupporttransparentdataencryptionreasoncode
|
|
61
|
+
@NoSupportGlobalEncryptionReasonCode = nosupportglobalencryptionreasoncode
|
|
50
62
|
end
|
|
51
63
|
|
|
52
64
|
def deserialize(params)
|
|
@@ -58,6 +70,10 @@ module TencentCloud
|
|
|
58
70
|
@IsSupportTransparentDataEncryption = params['IsSupportTransparentDataEncryption']
|
|
59
71
|
@NoSupportTransparentDataEncryptionReason = params['NoSupportTransparentDataEncryptionReason']
|
|
60
72
|
@IsSupportManualLogic = params['IsSupportManualLogic']
|
|
73
|
+
@IsSupportGlobalEncryption = params['IsSupportGlobalEncryption']
|
|
74
|
+
@NoSupportGlobalEncryptionReason = params['NoSupportGlobalEncryptionReason']
|
|
75
|
+
@NoSupportTransparentDataEncryptionReasonCode = params['NoSupportTransparentDataEncryptionReasonCode']
|
|
76
|
+
@NoSupportGlobalEncryptionReasonCode = params['NoSupportGlobalEncryptionReasonCode']
|
|
61
77
|
end
|
|
62
78
|
end
|
|
63
79
|
|
|
@@ -247,8 +263,8 @@ module TencentCloud
|
|
|
247
263
|
|
|
248
264
|
attr_accessor :ClusterId, :Cpu, :Memory, :ReadOnlyCount, :DeviceType, :InstanceGrpId, :VpcId, :SubnetId, :Port, :InstanceName, :AutoVoucher, :DbType, :OrderSource, :DealMode, :ParamTemplateId, :InstanceParams, :SecurityGroupIds, :UpgradeProxy
|
|
249
265
|
extend Gem::Deprecate
|
|
250
|
-
deprecate :InstanceGrpId, :none, 2025,
|
|
251
|
-
deprecate :InstanceGrpId=, :none, 2025,
|
|
266
|
+
deprecate :InstanceGrpId, :none, 2025, 11
|
|
267
|
+
deprecate :InstanceGrpId=, :none, 2025, 11
|
|
252
268
|
|
|
253
269
|
def initialize(clusterid=nil, cpu=nil, memory=nil, readonlycount=nil, devicetype=nil, instancegrpid=nil, vpcid=nil, subnetid=nil, port=nil, instancename=nil, autovoucher=nil, dbtype=nil, ordersource=nil, dealmode=nil, paramtemplateid=nil, instanceparams=nil, securitygroupids=nil, upgradeproxy=nil)
|
|
254
270
|
@ClusterId = clusterid
|
|
@@ -1117,10 +1133,10 @@ module TencentCloud
|
|
|
1117
1133
|
|
|
1118
1134
|
attr_accessor :ID, :AppId, :ClusterId, :Region, :CreateTime, :DelayTime, :ErrMsg, :FlowId, :Input, :InstanceGrpId, :InstanceGroupId, :InstanceId, :ObjectId, :ObjectType, :Operator, :Output, :Status, :TaskType, :TriggerTaskId, :UpdateTime, :StartTime, :EndTime, :ClusterName, :InstanceName, :Process, :ModifyParamsData, :CreateClustersData, :RollbackData, :ModifyInstanceData, :ManualBackupData, :ModifyDbVersionData, :ClusterSlaveData, :SwitchClusterLogBin, :ModifyInstanceParamsData, :TaskMaintainInfo, :InstanceCLSDeliveryInfos, :TaskProgressInfo, :GdnTaskInfo
|
|
1119
1135
|
extend Gem::Deprecate
|
|
1120
|
-
deprecate :InstanceGrpId, :none, 2025,
|
|
1121
|
-
deprecate :InstanceGrpId=, :none, 2025,
|
|
1122
|
-
deprecate :ModifyParamsData, :none, 2025,
|
|
1123
|
-
deprecate :ModifyParamsData=, :none, 2025,
|
|
1136
|
+
deprecate :InstanceGrpId, :none, 2025, 11
|
|
1137
|
+
deprecate :InstanceGrpId=, :none, 2025, 11
|
|
1138
|
+
deprecate :ModifyParamsData, :none, 2025, 11
|
|
1139
|
+
deprecate :ModifyParamsData=, :none, 2025, 11
|
|
1124
1140
|
|
|
1125
1141
|
def initialize(id=nil, appid=nil, clusterid=nil, region=nil, createtime=nil, delaytime=nil, errmsg=nil, flowid=nil, input=nil, instancegrpid=nil, instancegroupid=nil, instanceid=nil, objectid=nil, objecttype=nil, operator=nil, output=nil, status=nil, tasktype=nil, triggertaskid=nil, updatetime=nil, starttime=nil, endtime=nil, clustername=nil, instancename=nil, process=nil, modifyparamsdata=nil, createclustersdata=nil, rollbackdata=nil, modifyinstancedata=nil, manualbackupdata=nil, modifydbversiondata=nil, clusterslavedata=nil, switchclusterlogbin=nil, modifyinstanceparamsdata=nil, taskmaintaininfo=nil, instanceclsdeliveryinfos=nil, taskprogressinfo=nil, gdntaskinfo=nil)
|
|
1126
1142
|
@ID = id
|
|
@@ -1578,8 +1594,8 @@ module TencentCloud
|
|
|
1578
1594
|
|
|
1579
1595
|
attr_accessor :InstanceGrpId, :InstanceGroupId, :InstanceId
|
|
1580
1596
|
extend Gem::Deprecate
|
|
1581
|
-
deprecate :InstanceGrpId, :none, 2025,
|
|
1582
|
-
deprecate :InstanceGrpId=, :none, 2025,
|
|
1597
|
+
deprecate :InstanceGrpId, :none, 2025, 11
|
|
1598
|
+
deprecate :InstanceGrpId=, :none, 2025, 11
|
|
1583
1599
|
|
|
1584
1600
|
def initialize(instancegrpid=nil, instancegroupid=nil, instanceid=nil)
|
|
1585
1601
|
@InstanceGrpId = instancegrpid
|
|
@@ -1948,8 +1964,8 @@ module TencentCloud
|
|
|
1948
1964
|
|
|
1949
1965
|
attr_accessor :InstanceId, :StartTime, :EndTime, :Order, :OrderBy, :Filter, :LogFilter, :ColumnFilter
|
|
1950
1966
|
extend Gem::Deprecate
|
|
1951
|
-
deprecate :Filter, :none, 2025,
|
|
1952
|
-
deprecate :Filter=, :none, 2025,
|
|
1967
|
+
deprecate :Filter, :none, 2025, 11
|
|
1968
|
+
deprecate :Filter=, :none, 2025, 11
|
|
1953
1969
|
|
|
1954
1970
|
def initialize(instanceid=nil, starttime=nil, endtime=nil, order=nil, orderby=nil, filter=nil, logfilter=nil, columnfilter=nil)
|
|
1955
1971
|
@InstanceId = instanceid
|
|
@@ -2535,6 +2551,211 @@ module TencentCloud
|
|
|
2535
2551
|
end
|
|
2536
2552
|
end
|
|
2537
2553
|
|
|
2554
|
+
# CreateIntegrateCluster请求参数结构体
|
|
2555
|
+
class CreateIntegrateClusterRequest < TencentCloud::Common::AbstractModel
|
|
2556
|
+
# @param Zone: 可用区
|
|
2557
|
+
# @type Zone: String
|
|
2558
|
+
# @param VpcId: 所属VPC网络ID
|
|
2559
|
+
# @type VpcId: String
|
|
2560
|
+
# @param SubnetId: 所属子网ID
|
|
2561
|
+
# @type SubnetId: String
|
|
2562
|
+
# @param DbVersion: 数据库版本,取值范围:
|
|
2563
|
+
# <li> MYSQL可选值:5.7,8.0 </li>
|
|
2564
|
+
# @type DbVersion: String
|
|
2565
|
+
# @param ProjectId: 所属项目ID
|
|
2566
|
+
# @type ProjectId: Integer
|
|
2567
|
+
# @param ClusterName: 集群名称,长度小于64个字符,每个字符取值范围:大/小写字母,数字,特殊符号('-','_','.')
|
|
2568
|
+
# @type ClusterName: String
|
|
2569
|
+
# @param AdminPassword: 账号密码(8-64个字符,包含大小写英文字母、数字和符号~!@#$%^&*_-+=`|\(){}[]:;'<>,.?/中的任意三种)
|
|
2570
|
+
# @type AdminPassword: String
|
|
2571
|
+
# @param Port: 端口,默认3306,取值范围[0, 65535)
|
|
2572
|
+
# @type Port: Integer
|
|
2573
|
+
# @param PayMode: 计费模式,按量计费:0,包年包月:1。默认按量计费。
|
|
2574
|
+
# @type PayMode: Integer
|
|
2575
|
+
# @param Count: 购买集群数,可选值范围[1,3],默认为1
|
|
2576
|
+
# @type Count: Integer
|
|
2577
|
+
# @param StorageLimit: 普通实例存储上限,单位GB
|
|
2578
|
+
# 当DbType为MYSQL,且存储计费模式为预付费时,该参数需不大于cpu与memory对应存储规格上限
|
|
2579
|
+
# @type StorageLimit: Integer
|
|
2580
|
+
# @param TimeSpan: 包年包月购买时长
|
|
2581
|
+
# @type TimeSpan: Integer
|
|
2582
|
+
# @param TimeUnit: 包年包月购买时长单位,['s','d','m','y']
|
|
2583
|
+
# @type TimeUnit: String
|
|
2584
|
+
# @param AutoRenewFlag: 包年包月购买是否自动续费,默认为0。
|
|
2585
|
+
# 0标识默认续费方式,1表示自动续费,2表示不自动续费。
|
|
2586
|
+
# @type AutoRenewFlag: Integer
|
|
2587
|
+
# @param AutoVoucher: 是否自动选择代金券 1是 0否 默认为0
|
|
2588
|
+
# @type AutoVoucher: Integer
|
|
2589
|
+
# @param ResourceTags: 集群创建需要绑定的tag数组信息
|
|
2590
|
+
# @type ResourceTags: Array
|
|
2591
|
+
# @param StoragePayMode: 集群存储计费模式,按量计费:0,包年包月:1。默认按量计费
|
|
2592
|
+
# 当DbType为MYSQL时,在集群计算计费模式为后付费(包括DbMode为SERVERLESS)时,存储计费模式仅可为按量计费
|
|
2593
|
+
# 回档与克隆均不支持包年包月存储
|
|
2594
|
+
# @type StoragePayMode: Integer
|
|
2595
|
+
# @param SecurityGroupIds: 安全组id数组
|
|
2596
|
+
# @type SecurityGroupIds: Array
|
|
2597
|
+
# @param AlarmPolicyIds: 告警策略Id数组
|
|
2598
|
+
# @type AlarmPolicyIds: Array
|
|
2599
|
+
# @param ClusterParams: 参数数组,暂时支持character_set_server (utf8|latin1|gbk|utf8mb4) ,lower_case_table_names,1-大小写不敏感,0-大小写敏感
|
|
2600
|
+
# @type ClusterParams: Array
|
|
2601
|
+
# @param DealMode: 交易模式,0-下单且支付,1-下单
|
|
2602
|
+
# @type DealMode: Integer
|
|
2603
|
+
# @param ParamTemplateId: 参数模板ID,可以通过查询参数模板信息DescribeParamTemplates获得参数模板ID
|
|
2604
|
+
# @type ParamTemplateId: Integer
|
|
2605
|
+
# @param SlaveZone: 多可用区地址
|
|
2606
|
+
# @type SlaveZone: String
|
|
2607
|
+
# @param InstanceInitInfos: 实例初始化配置信息,主要用于购买集群时选不同规格实例
|
|
2608
|
+
# @type InstanceInitInfos: Array
|
|
2609
|
+
# @param GdnId: 全球数据库唯一标识
|
|
2610
|
+
# @type GdnId: String
|
|
2611
|
+
# @param ProxyConfig: 数据库代理配置
|
|
2612
|
+
# @type ProxyConfig: :class:`Tencentcloud::Cynosdb.v20190107.models.ProxyConfigInfo`
|
|
2613
|
+
# @param AutoArchive: 是否自动归档
|
|
2614
|
+
# @type AutoArchive: String
|
|
2615
|
+
# @param AutoArchiveDelayHours: 暂停后的归档处理时间
|
|
2616
|
+
# @type AutoArchiveDelayHours: Integer
|
|
2617
|
+
# @param EncryptMethod: 加密方法(由加密算法和密钥对版本组成)
|
|
2618
|
+
# @type EncryptMethod: String
|
|
2619
|
+
# @param IntegrateCreateClusterConfig: 集成集群配置信息
|
|
2620
|
+
# @type IntegrateCreateClusterConfig: :class:`Tencentcloud::Cynosdb.v20190107.models.IntegrateCreateClusterConfig`
|
|
2621
|
+
# @param StorageVersion: 存储架构类型。 枚举值:1.0/2.0 默认值:1.0
|
|
2622
|
+
# @type StorageVersion: String
|
|
2623
|
+
|
|
2624
|
+
attr_accessor :Zone, :VpcId, :SubnetId, :DbVersion, :ProjectId, :ClusterName, :AdminPassword, :Port, :PayMode, :Count, :StorageLimit, :TimeSpan, :TimeUnit, :AutoRenewFlag, :AutoVoucher, :ResourceTags, :StoragePayMode, :SecurityGroupIds, :AlarmPolicyIds, :ClusterParams, :DealMode, :ParamTemplateId, :SlaveZone, :InstanceInitInfos, :GdnId, :ProxyConfig, :AutoArchive, :AutoArchiveDelayHours, :EncryptMethod, :IntegrateCreateClusterConfig, :StorageVersion
|
|
2625
|
+
|
|
2626
|
+
def initialize(zone=nil, vpcid=nil, subnetid=nil, dbversion=nil, projectid=nil, clustername=nil, adminpassword=nil, port=nil, paymode=nil, count=nil, storagelimit=nil, timespan=nil, timeunit=nil, autorenewflag=nil, autovoucher=nil, resourcetags=nil, storagepaymode=nil, securitygroupids=nil, alarmpolicyids=nil, clusterparams=nil, dealmode=nil, paramtemplateid=nil, slavezone=nil, instanceinitinfos=nil, gdnid=nil, proxyconfig=nil, autoarchive=nil, autoarchivedelayhours=nil, encryptmethod=nil, integratecreateclusterconfig=nil, storageversion=nil)
|
|
2627
|
+
@Zone = zone
|
|
2628
|
+
@VpcId = vpcid
|
|
2629
|
+
@SubnetId = subnetid
|
|
2630
|
+
@DbVersion = dbversion
|
|
2631
|
+
@ProjectId = projectid
|
|
2632
|
+
@ClusterName = clustername
|
|
2633
|
+
@AdminPassword = adminpassword
|
|
2634
|
+
@Port = port
|
|
2635
|
+
@PayMode = paymode
|
|
2636
|
+
@Count = count
|
|
2637
|
+
@StorageLimit = storagelimit
|
|
2638
|
+
@TimeSpan = timespan
|
|
2639
|
+
@TimeUnit = timeunit
|
|
2640
|
+
@AutoRenewFlag = autorenewflag
|
|
2641
|
+
@AutoVoucher = autovoucher
|
|
2642
|
+
@ResourceTags = resourcetags
|
|
2643
|
+
@StoragePayMode = storagepaymode
|
|
2644
|
+
@SecurityGroupIds = securitygroupids
|
|
2645
|
+
@AlarmPolicyIds = alarmpolicyids
|
|
2646
|
+
@ClusterParams = clusterparams
|
|
2647
|
+
@DealMode = dealmode
|
|
2648
|
+
@ParamTemplateId = paramtemplateid
|
|
2649
|
+
@SlaveZone = slavezone
|
|
2650
|
+
@InstanceInitInfos = instanceinitinfos
|
|
2651
|
+
@GdnId = gdnid
|
|
2652
|
+
@ProxyConfig = proxyconfig
|
|
2653
|
+
@AutoArchive = autoarchive
|
|
2654
|
+
@AutoArchiveDelayHours = autoarchivedelayhours
|
|
2655
|
+
@EncryptMethod = encryptmethod
|
|
2656
|
+
@IntegrateCreateClusterConfig = integratecreateclusterconfig
|
|
2657
|
+
@StorageVersion = storageversion
|
|
2658
|
+
end
|
|
2659
|
+
|
|
2660
|
+
def deserialize(params)
|
|
2661
|
+
@Zone = params['Zone']
|
|
2662
|
+
@VpcId = params['VpcId']
|
|
2663
|
+
@SubnetId = params['SubnetId']
|
|
2664
|
+
@DbVersion = params['DbVersion']
|
|
2665
|
+
@ProjectId = params['ProjectId']
|
|
2666
|
+
@ClusterName = params['ClusterName']
|
|
2667
|
+
@AdminPassword = params['AdminPassword']
|
|
2668
|
+
@Port = params['Port']
|
|
2669
|
+
@PayMode = params['PayMode']
|
|
2670
|
+
@Count = params['Count']
|
|
2671
|
+
@StorageLimit = params['StorageLimit']
|
|
2672
|
+
@TimeSpan = params['TimeSpan']
|
|
2673
|
+
@TimeUnit = params['TimeUnit']
|
|
2674
|
+
@AutoRenewFlag = params['AutoRenewFlag']
|
|
2675
|
+
@AutoVoucher = params['AutoVoucher']
|
|
2676
|
+
unless params['ResourceTags'].nil?
|
|
2677
|
+
@ResourceTags = []
|
|
2678
|
+
params['ResourceTags'].each do |i|
|
|
2679
|
+
tag_tmp = Tag.new
|
|
2680
|
+
tag_tmp.deserialize(i)
|
|
2681
|
+
@ResourceTags << tag_tmp
|
|
2682
|
+
end
|
|
2683
|
+
end
|
|
2684
|
+
@StoragePayMode = params['StoragePayMode']
|
|
2685
|
+
@SecurityGroupIds = params['SecurityGroupIds']
|
|
2686
|
+
@AlarmPolicyIds = params['AlarmPolicyIds']
|
|
2687
|
+
unless params['ClusterParams'].nil?
|
|
2688
|
+
@ClusterParams = []
|
|
2689
|
+
params['ClusterParams'].each do |i|
|
|
2690
|
+
paramitem_tmp = ParamItem.new
|
|
2691
|
+
paramitem_tmp.deserialize(i)
|
|
2692
|
+
@ClusterParams << paramitem_tmp
|
|
2693
|
+
end
|
|
2694
|
+
end
|
|
2695
|
+
@DealMode = params['DealMode']
|
|
2696
|
+
@ParamTemplateId = params['ParamTemplateId']
|
|
2697
|
+
@SlaveZone = params['SlaveZone']
|
|
2698
|
+
unless params['InstanceInitInfos'].nil?
|
|
2699
|
+
@InstanceInitInfos = []
|
|
2700
|
+
params['InstanceInitInfos'].each do |i|
|
|
2701
|
+
integrateinstanceinfo_tmp = IntegrateInstanceInfo.new
|
|
2702
|
+
integrateinstanceinfo_tmp.deserialize(i)
|
|
2703
|
+
@InstanceInitInfos << integrateinstanceinfo_tmp
|
|
2704
|
+
end
|
|
2705
|
+
end
|
|
2706
|
+
@GdnId = params['GdnId']
|
|
2707
|
+
unless params['ProxyConfig'].nil?
|
|
2708
|
+
@ProxyConfig = ProxyConfigInfo.new
|
|
2709
|
+
@ProxyConfig.deserialize(params['ProxyConfig'])
|
|
2710
|
+
end
|
|
2711
|
+
@AutoArchive = params['AutoArchive']
|
|
2712
|
+
@AutoArchiveDelayHours = params['AutoArchiveDelayHours']
|
|
2713
|
+
@EncryptMethod = params['EncryptMethod']
|
|
2714
|
+
unless params['IntegrateCreateClusterConfig'].nil?
|
|
2715
|
+
@IntegrateCreateClusterConfig = IntegrateCreateClusterConfig.new
|
|
2716
|
+
@IntegrateCreateClusterConfig.deserialize(params['IntegrateCreateClusterConfig'])
|
|
2717
|
+
end
|
|
2718
|
+
@StorageVersion = params['StorageVersion']
|
|
2719
|
+
end
|
|
2720
|
+
end
|
|
2721
|
+
|
|
2722
|
+
# CreateIntegrateCluster返回参数结构体
|
|
2723
|
+
class CreateIntegrateClusterResponse < TencentCloud::Common::AbstractModel
|
|
2724
|
+
# @param TranId: 冻结流水ID
|
|
2725
|
+
# @type TranId: String
|
|
2726
|
+
# @param DealNames: 订单号
|
|
2727
|
+
# @type DealNames: Array
|
|
2728
|
+
# @param ResourceIds: 资源ID列表(该字段已不再维护,请使用dealNames字段查询接口DescribeResourcesByDealName获取资源ID)
|
|
2729
|
+
# @type ResourceIds: Array
|
|
2730
|
+
# @param ClusterIds: 集群ID列表(该字段已不再维护,请使用dealNames字段查询接口DescribeResourcesByDealName获取集群ID)
|
|
2731
|
+
# @type ClusterIds: Array
|
|
2732
|
+
# @param BigDealIds: 大订单号
|
|
2733
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
2734
|
+
# @type BigDealIds: Array
|
|
2735
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2736
|
+
# @type RequestId: String
|
|
2737
|
+
|
|
2738
|
+
attr_accessor :TranId, :DealNames, :ResourceIds, :ClusterIds, :BigDealIds, :RequestId
|
|
2739
|
+
|
|
2740
|
+
def initialize(tranid=nil, dealnames=nil, resourceids=nil, clusterids=nil, bigdealids=nil, requestid=nil)
|
|
2741
|
+
@TranId = tranid
|
|
2742
|
+
@DealNames = dealnames
|
|
2743
|
+
@ResourceIds = resourceids
|
|
2744
|
+
@ClusterIds = clusterids
|
|
2745
|
+
@BigDealIds = bigdealids
|
|
2746
|
+
@RequestId = requestid
|
|
2747
|
+
end
|
|
2748
|
+
|
|
2749
|
+
def deserialize(params)
|
|
2750
|
+
@TranId = params['TranId']
|
|
2751
|
+
@DealNames = params['DealNames']
|
|
2752
|
+
@ResourceIds = params['ResourceIds']
|
|
2753
|
+
@ClusterIds = params['ClusterIds']
|
|
2754
|
+
@BigDealIds = params['BigDealIds']
|
|
2755
|
+
@RequestId = params['RequestId']
|
|
2756
|
+
end
|
|
2757
|
+
end
|
|
2758
|
+
|
|
2538
2759
|
# CreateParamTemplate请求参数结构体
|
|
2539
2760
|
class CreateParamTemplateRequest < TencentCloud::Common::AbstractModel
|
|
2540
2761
|
# @param TemplateName: 模板名称
|
|
@@ -2830,7 +3051,7 @@ module TencentCloud
|
|
|
2830
3051
|
# @param PackageVersion: 资源包版本
|
|
2831
3052
|
# base-基础版本,common-通用版本,enterprise-企业版本
|
|
2832
3053
|
# @type PackageVersion: String
|
|
2833
|
-
# @param PackageSpec:
|
|
3054
|
+
# @param PackageSpec: 资源包大小,计算资源单位:个;存储资源:GB
|
|
2834
3055
|
# @type PackageSpec: Float
|
|
2835
3056
|
# @param ExpireDay: 资源包有效期,单位:天
|
|
2836
3057
|
# @type ExpireDay: Integer
|
|
@@ -4906,8 +5127,8 @@ module TencentCloud
|
|
|
4906
5127
|
|
|
4907
5128
|
attr_accessor :InstanceId, :StartTime, :EndTime, :Order, :OrderBy, :Filter, :Limit, :Offset, :LogFilter
|
|
4908
5129
|
extend Gem::Deprecate
|
|
4909
|
-
deprecate :Filter, :none, 2025,
|
|
4910
|
-
deprecate :Filter=, :none, 2025,
|
|
5130
|
+
deprecate :Filter, :none, 2025, 11
|
|
5131
|
+
deprecate :Filter=, :none, 2025, 11
|
|
4911
5132
|
|
|
4912
5133
|
def initialize(instanceid=nil, starttime=nil, endtime=nil, order=nil, orderby=nil, filter=nil, limit=nil, offset=nil, logfilter=nil)
|
|
4913
5134
|
@InstanceId = instanceid
|
|
@@ -5944,8 +6165,8 @@ module TencentCloud
|
|
|
5944
6165
|
|
|
5945
6166
|
attr_accessor :TotalCount, :InstanceGrpInfoList, :InstanceGroupInfoList, :RequestId
|
|
5946
6167
|
extend Gem::Deprecate
|
|
5947
|
-
deprecate :InstanceGrpInfoList, :none, 2025,
|
|
5948
|
-
deprecate :InstanceGrpInfoList=, :none, 2025,
|
|
6168
|
+
deprecate :InstanceGrpInfoList, :none, 2025, 11
|
|
6169
|
+
deprecate :InstanceGrpInfoList=, :none, 2025, 11
|
|
5949
6170
|
|
|
5950
6171
|
def initialize(totalcount=nil, instancegrpinfolist=nil, instancegroupinfolist=nil, requestid=nil)
|
|
5951
6172
|
@TotalCount = totalcount
|
|
@@ -6237,20 +6458,28 @@ module TencentCloud
|
|
|
6237
6458
|
# @type KeyId: String
|
|
6238
6459
|
# @param KeyRegion: 加密秘钥地域
|
|
6239
6460
|
# @type KeyRegion: String
|
|
6461
|
+
# @param KeyType: 秘钥类型
|
|
6462
|
+
# @type KeyType: String
|
|
6463
|
+
# @param IsOpenGlobalEncryption: 是否已经开启全局加密
|
|
6464
|
+
# @type IsOpenGlobalEncryption: Boolean
|
|
6240
6465
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6241
6466
|
# @type RequestId: String
|
|
6242
6467
|
|
|
6243
|
-
attr_accessor :KeyId, :KeyRegion, :RequestId
|
|
6468
|
+
attr_accessor :KeyId, :KeyRegion, :KeyType, :IsOpenGlobalEncryption, :RequestId
|
|
6244
6469
|
|
|
6245
|
-
def initialize(keyid=nil, keyregion=nil, requestid=nil)
|
|
6470
|
+
def initialize(keyid=nil, keyregion=nil, keytype=nil, isopenglobalencryption=nil, requestid=nil)
|
|
6246
6471
|
@KeyId = keyid
|
|
6247
6472
|
@KeyRegion = keyregion
|
|
6473
|
+
@KeyType = keytype
|
|
6474
|
+
@IsOpenGlobalEncryption = isopenglobalencryption
|
|
6248
6475
|
@RequestId = requestid
|
|
6249
6476
|
end
|
|
6250
6477
|
|
|
6251
6478
|
def deserialize(params)
|
|
6252
6479
|
@KeyId = params['KeyId']
|
|
6253
6480
|
@KeyRegion = params['KeyRegion']
|
|
6481
|
+
@KeyType = params['KeyType']
|
|
6482
|
+
@IsOpenGlobalEncryption = params['IsOpenGlobalEncryption']
|
|
6254
6483
|
@RequestId = params['RequestId']
|
|
6255
6484
|
end
|
|
6256
6485
|
end
|
|
@@ -6337,13 +6566,13 @@ module TencentCloud
|
|
|
6337
6566
|
class DescribeDBSecurityGroupsRequest < TencentCloud::Common::AbstractModel
|
|
6338
6567
|
# @param InstanceId: 实例ID(InstanceId与InstanceGroupId必须任选一个传入)
|
|
6339
6568
|
# @type InstanceId: String
|
|
6340
|
-
# @param InstanceGroupId: 实例组ID
|
|
6569
|
+
# @param InstanceGroupId: 实例组 ID,可通过 [DescribeClusterInstanceGroups](https://cloud.tencent.com/document/product/1003/103934) 接口查询。
|
|
6341
6570
|
# @type InstanceGroupId: String
|
|
6342
6571
|
|
|
6343
6572
|
attr_accessor :InstanceId, :InstanceGroupId
|
|
6344
6573
|
extend Gem::Deprecate
|
|
6345
|
-
deprecate :InstanceId, :none, 2025,
|
|
6346
|
-
deprecate :InstanceId=, :none, 2025,
|
|
6574
|
+
deprecate :InstanceId, :none, 2025, 11
|
|
6575
|
+
deprecate :InstanceId=, :none, 2025, 11
|
|
6347
6576
|
|
|
6348
6577
|
def initialize(instanceid=nil, instancegroupid=nil)
|
|
6349
6578
|
@InstanceId = instanceid
|
|
@@ -6923,6 +7152,54 @@ module TencentCloud
|
|
|
6923
7152
|
end
|
|
6924
7153
|
end
|
|
6925
7154
|
|
|
7155
|
+
# DescribeIntegrateTask请求参数结构体
|
|
7156
|
+
class DescribeIntegrateTaskRequest < TencentCloud::Common::AbstractModel
|
|
7157
|
+
# @param BigDealId: 大订单id,大订单id和子订单id必须二选一
|
|
7158
|
+
# @type BigDealId: String
|
|
7159
|
+
# @param DealNames: 订单列表
|
|
7160
|
+
# @type DealNames: Array
|
|
7161
|
+
|
|
7162
|
+
attr_accessor :BigDealId, :DealNames
|
|
7163
|
+
|
|
7164
|
+
def initialize(bigdealid=nil, dealnames=nil)
|
|
7165
|
+
@BigDealId = bigdealid
|
|
7166
|
+
@DealNames = dealnames
|
|
7167
|
+
end
|
|
7168
|
+
|
|
7169
|
+
def deserialize(params)
|
|
7170
|
+
@BigDealId = params['BigDealId']
|
|
7171
|
+
@DealNames = params['DealNames']
|
|
7172
|
+
end
|
|
7173
|
+
end
|
|
7174
|
+
|
|
7175
|
+
# DescribeIntegrateTask返回参数结构体
|
|
7176
|
+
class DescribeIntegrateTaskResponse < TencentCloud::Common::AbstractModel
|
|
7177
|
+
# @param CurrentStep: 当前步骤
|
|
7178
|
+
# @type CurrentStep: String
|
|
7179
|
+
# @param CurrentProgress: 当前进度
|
|
7180
|
+
# @type CurrentProgress: String
|
|
7181
|
+
# @param TaskStatus: 任务状态
|
|
7182
|
+
# @type TaskStatus: String
|
|
7183
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7184
|
+
# @type RequestId: String
|
|
7185
|
+
|
|
7186
|
+
attr_accessor :CurrentStep, :CurrentProgress, :TaskStatus, :RequestId
|
|
7187
|
+
|
|
7188
|
+
def initialize(currentstep=nil, currentprogress=nil, taskstatus=nil, requestid=nil)
|
|
7189
|
+
@CurrentStep = currentstep
|
|
7190
|
+
@CurrentProgress = currentprogress
|
|
7191
|
+
@TaskStatus = taskstatus
|
|
7192
|
+
@RequestId = requestid
|
|
7193
|
+
end
|
|
7194
|
+
|
|
7195
|
+
def deserialize(params)
|
|
7196
|
+
@CurrentStep = params['CurrentStep']
|
|
7197
|
+
@CurrentProgress = params['CurrentProgress']
|
|
7198
|
+
@TaskStatus = params['TaskStatus']
|
|
7199
|
+
@RequestId = params['RequestId']
|
|
7200
|
+
end
|
|
7201
|
+
end
|
|
7202
|
+
|
|
6926
7203
|
# DescribeIsolatedInstances请求参数结构体
|
|
6927
7204
|
class DescribeIsolatedInstancesRequest < TencentCloud::Common::AbstractModel
|
|
6928
7205
|
# @param Limit: 返回数量,默认为 20,最大值为 100
|
|
@@ -8537,6 +8814,93 @@ module TencentCloud
|
|
|
8537
8814
|
end
|
|
8538
8815
|
end
|
|
8539
8816
|
|
|
8817
|
+
# 商品价格
|
|
8818
|
+
class GoodsPrice < TencentCloud::Common::AbstractModel
|
|
8819
|
+
# @param InstancePrice: 实例价格
|
|
8820
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8821
|
+
# @type InstancePrice: :class:`Tencentcloud::Cynosdb.v20190107.models.TradePrice`
|
|
8822
|
+
# @param StoragePrice: 存储价格
|
|
8823
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8824
|
+
# @type StoragePrice: :class:`Tencentcloud::Cynosdb.v20190107.models.TradePrice`
|
|
8825
|
+
# @param GoodsSpec: 商品规格
|
|
8826
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8827
|
+
# @type GoodsSpec: :class:`Tencentcloud::Cynosdb.v20190107.models.GoodsSpec`
|
|
8828
|
+
|
|
8829
|
+
attr_accessor :InstancePrice, :StoragePrice, :GoodsSpec
|
|
8830
|
+
|
|
8831
|
+
def initialize(instanceprice=nil, storageprice=nil, goodsspec=nil)
|
|
8832
|
+
@InstancePrice = instanceprice
|
|
8833
|
+
@StoragePrice = storageprice
|
|
8834
|
+
@GoodsSpec = goodsspec
|
|
8835
|
+
end
|
|
8836
|
+
|
|
8837
|
+
def deserialize(params)
|
|
8838
|
+
unless params['InstancePrice'].nil?
|
|
8839
|
+
@InstancePrice = TradePrice.new
|
|
8840
|
+
@InstancePrice.deserialize(params['InstancePrice'])
|
|
8841
|
+
end
|
|
8842
|
+
unless params['StoragePrice'].nil?
|
|
8843
|
+
@StoragePrice = TradePrice.new
|
|
8844
|
+
@StoragePrice.deserialize(params['StoragePrice'])
|
|
8845
|
+
end
|
|
8846
|
+
unless params['GoodsSpec'].nil?
|
|
8847
|
+
@GoodsSpec = GoodsSpec.new
|
|
8848
|
+
@GoodsSpec.deserialize(params['GoodsSpec'])
|
|
8849
|
+
end
|
|
8850
|
+
end
|
|
8851
|
+
end
|
|
8852
|
+
|
|
8853
|
+
# 商品规格
|
|
8854
|
+
class GoodsSpec < TencentCloud::Common::AbstractModel
|
|
8855
|
+
# @param GoodsNum: 商品数量
|
|
8856
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8857
|
+
# @type GoodsNum: Integer
|
|
8858
|
+
# @param Cpu: CPU核数,PREPAID与POSTPAID实例类型必传
|
|
8859
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8860
|
+
# @type Cpu: Integer
|
|
8861
|
+
# @param Memory: 内存大小,单位G,PREPAID与POSTPAID实例类型必传
|
|
8862
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8863
|
+
# @type Memory: Integer
|
|
8864
|
+
# @param Ccu: Ccu大小,serverless类型必传
|
|
8865
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8866
|
+
# @type Ccu: Float
|
|
8867
|
+
# @param StorageLimit: 存储大小,PREPAID存储类型必传
|
|
8868
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8869
|
+
# @type StorageLimit: Integer
|
|
8870
|
+
# @param TimeSpan: 购买时长
|
|
8871
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8872
|
+
# @type TimeSpan: Integer
|
|
8873
|
+
# @param TimeUnit: 时长单位
|
|
8874
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8875
|
+
# @type TimeUnit: String
|
|
8876
|
+
# @param DeviceType: 机器类型
|
|
8877
|
+
# @type DeviceType: String
|
|
8878
|
+
|
|
8879
|
+
attr_accessor :GoodsNum, :Cpu, :Memory, :Ccu, :StorageLimit, :TimeSpan, :TimeUnit, :DeviceType
|
|
8880
|
+
|
|
8881
|
+
def initialize(goodsnum=nil, cpu=nil, memory=nil, ccu=nil, storagelimit=nil, timespan=nil, timeunit=nil, devicetype=nil)
|
|
8882
|
+
@GoodsNum = goodsnum
|
|
8883
|
+
@Cpu = cpu
|
|
8884
|
+
@Memory = memory
|
|
8885
|
+
@Ccu = ccu
|
|
8886
|
+
@StorageLimit = storagelimit
|
|
8887
|
+
@TimeSpan = timespan
|
|
8888
|
+
@TimeUnit = timeunit
|
|
8889
|
+
@DeviceType = devicetype
|
|
8890
|
+
end
|
|
8891
|
+
|
|
8892
|
+
def deserialize(params)
|
|
8893
|
+
@GoodsNum = params['GoodsNum']
|
|
8894
|
+
@Cpu = params['Cpu']
|
|
8895
|
+
@Memory = params['Memory']
|
|
8896
|
+
@Ccu = params['Ccu']
|
|
8897
|
+
@StorageLimit = params['StorageLimit']
|
|
8898
|
+
@TimeSpan = params['TimeSpan']
|
|
8899
|
+
@TimeUnit = params['TimeUnit']
|
|
8900
|
+
@DeviceType = params['DeviceType']
|
|
8901
|
+
end
|
|
8902
|
+
end
|
|
8903
|
+
|
|
8540
8904
|
# GrantAccountPrivileges请求参数结构体
|
|
8541
8905
|
class GrantAccountPrivilegesRequest < TencentCloud::Common::AbstractModel
|
|
8542
8906
|
# @param ClusterId: 集群id
|
|
@@ -8767,6 +9131,68 @@ module TencentCloud
|
|
|
8767
9131
|
end
|
|
8768
9132
|
end
|
|
8769
9133
|
|
|
9134
|
+
# InquirePriceMultiSpec请求参数结构体
|
|
9135
|
+
class InquirePriceMultiSpecRequest < TencentCloud::Common::AbstractModel
|
|
9136
|
+
# @param Zone: 可用区,每个地域提供最佳实践
|
|
9137
|
+
# @type Zone: String
|
|
9138
|
+
# @param InstancePayMode: 实例购买类型,可选值为:PREPAID, POSTPAID, SERVERLESS
|
|
9139
|
+
# @type InstancePayMode: String
|
|
9140
|
+
# @param StoragePayMode: 存储购买类型,可选值为:PREPAID, POSTPAID
|
|
9141
|
+
# @type StoragePayMode: String
|
|
9142
|
+
# @param GoodsSpecs: 商品规格
|
|
9143
|
+
# @type GoodsSpecs: Array
|
|
9144
|
+
|
|
9145
|
+
attr_accessor :Zone, :InstancePayMode, :StoragePayMode, :GoodsSpecs
|
|
9146
|
+
|
|
9147
|
+
def initialize(zone=nil, instancepaymode=nil, storagepaymode=nil, goodsspecs=nil)
|
|
9148
|
+
@Zone = zone
|
|
9149
|
+
@InstancePayMode = instancepaymode
|
|
9150
|
+
@StoragePayMode = storagepaymode
|
|
9151
|
+
@GoodsSpecs = goodsspecs
|
|
9152
|
+
end
|
|
9153
|
+
|
|
9154
|
+
def deserialize(params)
|
|
9155
|
+
@Zone = params['Zone']
|
|
9156
|
+
@InstancePayMode = params['InstancePayMode']
|
|
9157
|
+
@StoragePayMode = params['StoragePayMode']
|
|
9158
|
+
unless params['GoodsSpecs'].nil?
|
|
9159
|
+
@GoodsSpecs = []
|
|
9160
|
+
params['GoodsSpecs'].each do |i|
|
|
9161
|
+
goodsspec_tmp = GoodsSpec.new
|
|
9162
|
+
goodsspec_tmp.deserialize(i)
|
|
9163
|
+
@GoodsSpecs << goodsspec_tmp
|
|
9164
|
+
end
|
|
9165
|
+
end
|
|
9166
|
+
end
|
|
9167
|
+
end
|
|
9168
|
+
|
|
9169
|
+
# InquirePriceMultiSpec返回参数结构体
|
|
9170
|
+
class InquirePriceMultiSpecResponse < TencentCloud::Common::AbstractModel
|
|
9171
|
+
# @param GoodsPrice: 商品价格
|
|
9172
|
+
# @type GoodsPrice: Array
|
|
9173
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9174
|
+
# @type RequestId: String
|
|
9175
|
+
|
|
9176
|
+
attr_accessor :GoodsPrice, :RequestId
|
|
9177
|
+
|
|
9178
|
+
def initialize(goodsprice=nil, requestid=nil)
|
|
9179
|
+
@GoodsPrice = goodsprice
|
|
9180
|
+
@RequestId = requestid
|
|
9181
|
+
end
|
|
9182
|
+
|
|
9183
|
+
def deserialize(params)
|
|
9184
|
+
unless params['GoodsPrice'].nil?
|
|
9185
|
+
@GoodsPrice = []
|
|
9186
|
+
params['GoodsPrice'].each do |i|
|
|
9187
|
+
goodsprice_tmp = GoodsPrice.new
|
|
9188
|
+
goodsprice_tmp.deserialize(i)
|
|
9189
|
+
@GoodsPrice << goodsprice_tmp
|
|
9190
|
+
end
|
|
9191
|
+
end
|
|
9192
|
+
@RequestId = params['RequestId']
|
|
9193
|
+
end
|
|
9194
|
+
end
|
|
9195
|
+
|
|
8770
9196
|
# InquirePriceRenew请求参数结构体
|
|
8771
9197
|
class InquirePriceRenewRequest < TencentCloud::Common::AbstractModel
|
|
8772
9198
|
# @param ClusterId: 集群ID
|
|
@@ -9117,6 +9543,26 @@ module TencentCloud
|
|
|
9117
9543
|
end
|
|
9118
9544
|
end
|
|
9119
9545
|
|
|
9546
|
+
# 实例权重
|
|
9547
|
+
class InstanceNameWeight < TencentCloud::Common::AbstractModel
|
|
9548
|
+
# @param InstanceName: 实例名称,创建集群中InstanceInitInfo.InstanceName所指定名称
|
|
9549
|
+
# @type InstanceName: String
|
|
9550
|
+
# @param Weight: 权重
|
|
9551
|
+
# @type Weight: Integer
|
|
9552
|
+
|
|
9553
|
+
attr_accessor :InstanceName, :Weight
|
|
9554
|
+
|
|
9555
|
+
def initialize(instancename=nil, weight=nil)
|
|
9556
|
+
@InstanceName = instancename
|
|
9557
|
+
@Weight = weight
|
|
9558
|
+
end
|
|
9559
|
+
|
|
9560
|
+
def deserialize(params)
|
|
9561
|
+
@InstanceName = params['InstanceName']
|
|
9562
|
+
@Weight = params['Weight']
|
|
9563
|
+
end
|
|
9564
|
+
end
|
|
9565
|
+
|
|
9120
9566
|
# 实例网络信息
|
|
9121
9567
|
class InstanceNetInfo < TencentCloud::Common::AbstractModel
|
|
9122
9568
|
# @param InstanceGroupType: 网络类型
|
|
@@ -9267,6 +9713,73 @@ module TencentCloud
|
|
|
9267
9713
|
end
|
|
9268
9714
|
end
|
|
9269
9715
|
|
|
9716
|
+
# 集成集群配置
|
|
9717
|
+
class IntegrateCreateClusterConfig < TencentCloud::Common::AbstractModel
|
|
9718
|
+
# @param BinlogSaveDays: binlog保留天数[7,1830]
|
|
9719
|
+
# @type BinlogSaveDays: Integer
|
|
9720
|
+
# @param BackupSaveDays: 备份保留天数[7,1830]
|
|
9721
|
+
# @type BackupSaveDays: Integer
|
|
9722
|
+
# @param SemiSyncTimeout: 半同步超时时间[1000,4294967295]
|
|
9723
|
+
# @type SemiSyncTimeout: Integer
|
|
9724
|
+
# @param ProxyEndPointConfigs: proxy连接地址配置信息
|
|
9725
|
+
# @type ProxyEndPointConfigs: Array
|
|
9726
|
+
|
|
9727
|
+
attr_accessor :BinlogSaveDays, :BackupSaveDays, :SemiSyncTimeout, :ProxyEndPointConfigs
|
|
9728
|
+
|
|
9729
|
+
def initialize(binlogsavedays=nil, backupsavedays=nil, semisynctimeout=nil, proxyendpointconfigs=nil)
|
|
9730
|
+
@BinlogSaveDays = binlogsavedays
|
|
9731
|
+
@BackupSaveDays = backupsavedays
|
|
9732
|
+
@SemiSyncTimeout = semisynctimeout
|
|
9733
|
+
@ProxyEndPointConfigs = proxyendpointconfigs
|
|
9734
|
+
end
|
|
9735
|
+
|
|
9736
|
+
def deserialize(params)
|
|
9737
|
+
@BinlogSaveDays = params['BinlogSaveDays']
|
|
9738
|
+
@BackupSaveDays = params['BackupSaveDays']
|
|
9739
|
+
@SemiSyncTimeout = params['SemiSyncTimeout']
|
|
9740
|
+
unless params['ProxyEndPointConfigs'].nil?
|
|
9741
|
+
@ProxyEndPointConfigs = []
|
|
9742
|
+
params['ProxyEndPointConfigs'].each do |i|
|
|
9743
|
+
proxyendpointconfiginfo_tmp = ProxyEndPointConfigInfo.new
|
|
9744
|
+
proxyendpointconfiginfo_tmp.deserialize(i)
|
|
9745
|
+
@ProxyEndPointConfigs << proxyendpointconfiginfo_tmp
|
|
9746
|
+
end
|
|
9747
|
+
end
|
|
9748
|
+
end
|
|
9749
|
+
end
|
|
9750
|
+
|
|
9751
|
+
# 实例初始化配置信息
|
|
9752
|
+
class IntegrateInstanceInfo < TencentCloud::Common::AbstractModel
|
|
9753
|
+
# @param Cpu: 实例cpu
|
|
9754
|
+
# @type Cpu: Integer
|
|
9755
|
+
# @param Memory: 实例内存
|
|
9756
|
+
# @type Memory: Integer
|
|
9757
|
+
# @param InstanceType: 实例类型 rw/ro
|
|
9758
|
+
# @type InstanceType: String
|
|
9759
|
+
# @param InstanceCount: 实例个数,范围[1,15]
|
|
9760
|
+
# @type InstanceCount: Integer
|
|
9761
|
+
# @param DeviceType: 实例机器类型 common-公通用型,exclusive-独享型
|
|
9762
|
+
# @type DeviceType: String
|
|
9763
|
+
|
|
9764
|
+
attr_accessor :Cpu, :Memory, :InstanceType, :InstanceCount, :DeviceType
|
|
9765
|
+
|
|
9766
|
+
def initialize(cpu=nil, memory=nil, instancetype=nil, instancecount=nil, devicetype=nil)
|
|
9767
|
+
@Cpu = cpu
|
|
9768
|
+
@Memory = memory
|
|
9769
|
+
@InstanceType = instancetype
|
|
9770
|
+
@InstanceCount = instancecount
|
|
9771
|
+
@DeviceType = devicetype
|
|
9772
|
+
end
|
|
9773
|
+
|
|
9774
|
+
def deserialize(params)
|
|
9775
|
+
@Cpu = params['Cpu']
|
|
9776
|
+
@Memory = params['Memory']
|
|
9777
|
+
@InstanceType = params['InstanceType']
|
|
9778
|
+
@InstanceCount = params['InstanceCount']
|
|
9779
|
+
@DeviceType = params['DeviceType']
|
|
9780
|
+
end
|
|
9781
|
+
end
|
|
9782
|
+
|
|
9270
9783
|
# IsolateCluster请求参数结构体
|
|
9271
9784
|
class IsolateClusterRequest < TencentCloud::Common::AbstractModel
|
|
9272
9785
|
# @param ClusterId: 集群ID
|
|
@@ -10967,10 +11480,14 @@ module TencentCloud
|
|
|
10967
11480
|
# @param ConnectionPoolTimeOut: 连接池时间。
|
|
10968
11481
|
# 可选范围:0~300(秒)
|
|
10969
11482
|
# @type ConnectionPoolTimeOut: Integer
|
|
11483
|
+
# @param ApNodeAsRoNode: 是否将libra节点当作普通RO节点
|
|
11484
|
+
# @type ApNodeAsRoNode: Boolean
|
|
11485
|
+
# @param ApQueryToOtherNode: libra节点故障,是否转发给其他节点
|
|
11486
|
+
# @type ApQueryToOtherNode: Boolean
|
|
10970
11487
|
|
|
10971
|
-
attr_accessor :ClusterId, :ProxyGroupId, :ConsistencyType, :ConsistencyTimeOut, :WeightMode, :InstanceWeights, :FailOver, :AutoAddRo, :OpenRw, :RwType, :TransSplit, :AccessMode, :OpenConnectionPool, :ConnectionPoolType, :ConnectionPoolTimeOut
|
|
11488
|
+
attr_accessor :ClusterId, :ProxyGroupId, :ConsistencyType, :ConsistencyTimeOut, :WeightMode, :InstanceWeights, :FailOver, :AutoAddRo, :OpenRw, :RwType, :TransSplit, :AccessMode, :OpenConnectionPool, :ConnectionPoolType, :ConnectionPoolTimeOut, :ApNodeAsRoNode, :ApQueryToOtherNode
|
|
10972
11489
|
|
|
10973
|
-
def initialize(clusterid=nil, proxygroupid=nil, consistencytype=nil, consistencytimeout=nil, weightmode=nil, instanceweights=nil, failover=nil, autoaddro=nil, openrw=nil, rwtype=nil, transsplit=nil, accessmode=nil, openconnectionpool=nil, connectionpooltype=nil, connectionpooltimeout=nil)
|
|
11490
|
+
def initialize(clusterid=nil, proxygroupid=nil, consistencytype=nil, consistencytimeout=nil, weightmode=nil, instanceweights=nil, failover=nil, autoaddro=nil, openrw=nil, rwtype=nil, transsplit=nil, accessmode=nil, openconnectionpool=nil, connectionpooltype=nil, connectionpooltimeout=nil, apnodeasronode=nil, apquerytoothernode=nil)
|
|
10974
11491
|
@ClusterId = clusterid
|
|
10975
11492
|
@ProxyGroupId = proxygroupid
|
|
10976
11493
|
@ConsistencyType = consistencytype
|
|
@@ -10986,6 +11503,8 @@ module TencentCloud
|
|
|
10986
11503
|
@OpenConnectionPool = openconnectionpool
|
|
10987
11504
|
@ConnectionPoolType = connectionpooltype
|
|
10988
11505
|
@ConnectionPoolTimeOut = connectionpooltimeout
|
|
11506
|
+
@ApNodeAsRoNode = apnodeasronode
|
|
11507
|
+
@ApQueryToOtherNode = apquerytoothernode
|
|
10989
11508
|
end
|
|
10990
11509
|
|
|
10991
11510
|
def deserialize(params)
|
|
@@ -11011,6 +11530,8 @@ module TencentCloud
|
|
|
11011
11530
|
@OpenConnectionPool = params['OpenConnectionPool']
|
|
11012
11531
|
@ConnectionPoolType = params['ConnectionPoolType']
|
|
11013
11532
|
@ConnectionPoolTimeOut = params['ConnectionPoolTimeOut']
|
|
11533
|
+
@ApNodeAsRoNode = params['ApNodeAsRoNode']
|
|
11534
|
+
@ApQueryToOtherNode = params['ApQueryToOtherNode']
|
|
11014
11535
|
end
|
|
11015
11536
|
end
|
|
11016
11537
|
|
|
@@ -11263,8 +11784,8 @@ module TencentCloud
|
|
|
11263
11784
|
|
|
11264
11785
|
attr_accessor :ClusterId, :InstanceGrpId, :InstanceGroupId, :Vip, :Vport, :DbType, :OldIpReserveHours
|
|
11265
11786
|
extend Gem::Deprecate
|
|
11266
|
-
deprecate :InstanceGrpId, :none, 2025,
|
|
11267
|
-
deprecate :InstanceGrpId=, :none, 2025,
|
|
11787
|
+
deprecate :InstanceGrpId, :none, 2025, 11
|
|
11788
|
+
deprecate :InstanceGrpId=, :none, 2025, 11
|
|
11268
11789
|
|
|
11269
11790
|
def initialize(clusterid=nil, instancegrpid=nil, instancegroupid=nil, vip=nil, vport=nil, dbtype=nil, oldipreservehours=nil)
|
|
11270
11791
|
@ClusterId = clusterid
|
|
@@ -11564,8 +12085,8 @@ module TencentCloud
|
|
|
11564
12085
|
|
|
11565
12086
|
attr_accessor :InstanceId, :LogExpireDay, :HighLogExpireDay, :AuditRuleFilters, :RuleTemplateIds, :AuditAll
|
|
11566
12087
|
extend Gem::Deprecate
|
|
11567
|
-
deprecate :AuditRuleFilters, :none, 2025,
|
|
11568
|
-
deprecate :AuditRuleFilters=, :none, 2025,
|
|
12088
|
+
deprecate :AuditRuleFilters, :none, 2025, 11
|
|
12089
|
+
deprecate :AuditRuleFilters=, :none, 2025, 11
|
|
11569
12090
|
|
|
11570
12091
|
def initialize(instanceid=nil, logexpireday=nil, highlogexpireday=nil, auditrulefilters=nil, ruletemplateids=nil, auditall=nil)
|
|
11571
12092
|
@InstanceId = instanceid
|
|
@@ -11723,14 +12244,17 @@ module TencentCloud
|
|
|
11723
12244
|
# @type KeyId: String
|
|
11724
12245
|
# @param KeyRegion: 秘钥地域
|
|
11725
12246
|
# @type KeyRegion: String
|
|
12247
|
+
# @param IsOpenGlobalEncryption: 是否开启全局加密
|
|
12248
|
+
# @type IsOpenGlobalEncryption: Boolean
|
|
11726
12249
|
|
|
11727
|
-
attr_accessor :ClusterId, :KeyType, :KeyId, :KeyRegion
|
|
12250
|
+
attr_accessor :ClusterId, :KeyType, :KeyId, :KeyRegion, :IsOpenGlobalEncryption
|
|
11728
12251
|
|
|
11729
|
-
def initialize(clusterid=nil, keytype=nil, keyid=nil, keyregion=nil)
|
|
12252
|
+
def initialize(clusterid=nil, keytype=nil, keyid=nil, keyregion=nil, isopenglobalencryption=nil)
|
|
11730
12253
|
@ClusterId = clusterid
|
|
11731
12254
|
@KeyType = keytype
|
|
11732
12255
|
@KeyId = keyid
|
|
11733
12256
|
@KeyRegion = keyregion
|
|
12257
|
+
@IsOpenGlobalEncryption = isopenglobalencryption
|
|
11734
12258
|
end
|
|
11735
12259
|
|
|
11736
12260
|
def deserialize(params)
|
|
@@ -11738,6 +12262,7 @@ module TencentCloud
|
|
|
11738
12262
|
@KeyType = params['KeyType']
|
|
11739
12263
|
@KeyId = params['KeyId']
|
|
11740
12264
|
@KeyRegion = params['KeyRegion']
|
|
12265
|
+
@IsOpenGlobalEncryption = params['IsOpenGlobalEncryption']
|
|
11741
12266
|
end
|
|
11742
12267
|
end
|
|
11743
12268
|
|
|
@@ -11872,8 +12397,8 @@ module TencentCloud
|
|
|
11872
12397
|
|
|
11873
12398
|
attr_accessor :InstanceGrpId, :InstanceId, :InstanceGroupId
|
|
11874
12399
|
extend Gem::Deprecate
|
|
11875
|
-
deprecate :InstanceGrpId, :none, 2025,
|
|
11876
|
-
deprecate :InstanceGrpId=, :none, 2025,
|
|
12400
|
+
deprecate :InstanceGrpId, :none, 2025, 11
|
|
12401
|
+
deprecate :InstanceGrpId=, :none, 2025, 11
|
|
11877
12402
|
|
|
11878
12403
|
def initialize(instancegrpid=nil, instanceid=nil, instancegroupid=nil)
|
|
11879
12404
|
@InstanceGrpId = instancegrpid
|
|
@@ -12515,6 +13040,45 @@ module TencentCloud
|
|
|
12515
13040
|
end
|
|
12516
13041
|
end
|
|
12517
13042
|
|
|
13043
|
+
# 访问代理配置
|
|
13044
|
+
class ProxyConfigInfo < TencentCloud::Common::AbstractModel
|
|
13045
|
+
# @param ProxyCount: 数据库代理组节点个数。该参数不再建议使用,建议使用ProxyZones
|
|
13046
|
+
# @type ProxyCount: Integer
|
|
13047
|
+
# @param Cpu: cpu核数
|
|
13048
|
+
# @type Cpu: Integer
|
|
13049
|
+
# @param Mem: 内存
|
|
13050
|
+
# @type Mem: Integer
|
|
13051
|
+
# @param Description: 描述说明
|
|
13052
|
+
# @type Description: String
|
|
13053
|
+
# @param ProxyZones: 数据库节点信息(该参数与ProxyCount需要任选一个输入)
|
|
13054
|
+
# @type ProxyZones: Array
|
|
13055
|
+
|
|
13056
|
+
attr_accessor :ProxyCount, :Cpu, :Mem, :Description, :ProxyZones
|
|
13057
|
+
|
|
13058
|
+
def initialize(proxycount=nil, cpu=nil, mem=nil, description=nil, proxyzones=nil)
|
|
13059
|
+
@ProxyCount = proxycount
|
|
13060
|
+
@Cpu = cpu
|
|
13061
|
+
@Mem = mem
|
|
13062
|
+
@Description = description
|
|
13063
|
+
@ProxyZones = proxyzones
|
|
13064
|
+
end
|
|
13065
|
+
|
|
13066
|
+
def deserialize(params)
|
|
13067
|
+
@ProxyCount = params['ProxyCount']
|
|
13068
|
+
@Cpu = params['Cpu']
|
|
13069
|
+
@Mem = params['Mem']
|
|
13070
|
+
@Description = params['Description']
|
|
13071
|
+
unless params['ProxyZones'].nil?
|
|
13072
|
+
@ProxyZones = []
|
|
13073
|
+
params['ProxyZones'].each do |i|
|
|
13074
|
+
proxyzone_tmp = ProxyZone.new
|
|
13075
|
+
proxyzone_tmp.deserialize(i)
|
|
13076
|
+
@ProxyZones << proxyzone_tmp
|
|
13077
|
+
end
|
|
13078
|
+
end
|
|
13079
|
+
end
|
|
13080
|
+
end
|
|
13081
|
+
|
|
12518
13082
|
# 数据库代理连接池信息
|
|
12519
13083
|
class ProxyConnectionPoolInfo < TencentCloud::Common::AbstractModel
|
|
12520
13084
|
# @param ConnectionPoolTimeOut: 连接池保持阈值:单位(秒)
|
|
@@ -12539,6 +13103,53 @@ module TencentCloud
|
|
|
12539
13103
|
end
|
|
12540
13104
|
end
|
|
12541
13105
|
|
|
13106
|
+
# 集成集群proxy地址配置
|
|
13107
|
+
class ProxyEndPointConfigInfo < TencentCloud::Common::AbstractModel
|
|
13108
|
+
# @param UniqueVpcId: 所属VPC网络ID
|
|
13109
|
+
# @type UniqueVpcId: String
|
|
13110
|
+
# @param UniqueSubnetId: 所属子网ID
|
|
13111
|
+
# @type UniqueSubnetId: String
|
|
13112
|
+
# @param SecurityGroupIds: 安全组id数组
|
|
13113
|
+
# @type SecurityGroupIds: Array
|
|
13114
|
+
# @param WeightMode: 权重模式: system-系统分配,custom-自定义
|
|
13115
|
+
# @type WeightMode: String
|
|
13116
|
+
# @param AutoAddRo: 是否自动添加只读实例,yes-是,no-不自动添加
|
|
13117
|
+
# @type AutoAddRo: String
|
|
13118
|
+
# @param RwType: 读写属性: READWRITE,READONLY
|
|
13119
|
+
# @type RwType: String
|
|
13120
|
+
# @param InstanceNameWeights: 权重信息
|
|
13121
|
+
# @type InstanceNameWeights: Array
|
|
13122
|
+
|
|
13123
|
+
attr_accessor :UniqueVpcId, :UniqueSubnetId, :SecurityGroupIds, :WeightMode, :AutoAddRo, :RwType, :InstanceNameWeights
|
|
13124
|
+
|
|
13125
|
+
def initialize(uniquevpcid=nil, uniquesubnetid=nil, securitygroupids=nil, weightmode=nil, autoaddro=nil, rwtype=nil, instancenameweights=nil)
|
|
13126
|
+
@UniqueVpcId = uniquevpcid
|
|
13127
|
+
@UniqueSubnetId = uniquesubnetid
|
|
13128
|
+
@SecurityGroupIds = securitygroupids
|
|
13129
|
+
@WeightMode = weightmode
|
|
13130
|
+
@AutoAddRo = autoaddro
|
|
13131
|
+
@RwType = rwtype
|
|
13132
|
+
@InstanceNameWeights = instancenameweights
|
|
13133
|
+
end
|
|
13134
|
+
|
|
13135
|
+
def deserialize(params)
|
|
13136
|
+
@UniqueVpcId = params['UniqueVpcId']
|
|
13137
|
+
@UniqueSubnetId = params['UniqueSubnetId']
|
|
13138
|
+
@SecurityGroupIds = params['SecurityGroupIds']
|
|
13139
|
+
@WeightMode = params['WeightMode']
|
|
13140
|
+
@AutoAddRo = params['AutoAddRo']
|
|
13141
|
+
@RwType = params['RwType']
|
|
13142
|
+
unless params['InstanceNameWeights'].nil?
|
|
13143
|
+
@InstanceNameWeights = []
|
|
13144
|
+
params['InstanceNameWeights'].each do |i|
|
|
13145
|
+
instancenameweight_tmp = InstanceNameWeight.new
|
|
13146
|
+
instancenameweight_tmp.deserialize(i)
|
|
13147
|
+
@InstanceNameWeights << instancenameweight_tmp
|
|
13148
|
+
end
|
|
13149
|
+
end
|
|
13150
|
+
end
|
|
13151
|
+
end
|
|
13152
|
+
|
|
12542
13153
|
# proxy组
|
|
12543
13154
|
class ProxyGroup < TencentCloud::Common::AbstractModel
|
|
12544
13155
|
# @param ProxyGroupId: 数据库代理组ID
|
|
@@ -12677,10 +13288,14 @@ module TencentCloud
|
|
|
12677
13288
|
# @type TransSplit: Boolean
|
|
12678
13289
|
# @param AccessMode: 连接模式,可选值:balance,nearby
|
|
12679
13290
|
# @type AccessMode: String
|
|
13291
|
+
# @param ApNodeAsRoNode: 是否将libra节点当作普通RO节点
|
|
13292
|
+
# @type ApNodeAsRoNode: Boolean
|
|
13293
|
+
# @param ApQueryToOtherNode: libra节点故障,是否转发给其他节点
|
|
13294
|
+
# @type ApQueryToOtherNode: Boolean
|
|
12680
13295
|
|
|
12681
|
-
attr_accessor :ConsistencyType, :ConsistencyTimeOut, :WeightMode, :FailOver, :AutoAddRo, :InstanceWeights, :OpenRw, :RwType, :TransSplit, :AccessMode
|
|
13296
|
+
attr_accessor :ConsistencyType, :ConsistencyTimeOut, :WeightMode, :FailOver, :AutoAddRo, :InstanceWeights, :OpenRw, :RwType, :TransSplit, :AccessMode, :ApNodeAsRoNode, :ApQueryToOtherNode
|
|
12682
13297
|
|
|
12683
|
-
def initialize(consistencytype=nil, consistencytimeout=nil, weightmode=nil, failover=nil, autoaddro=nil, instanceweights=nil, openrw=nil, rwtype=nil, transsplit=nil, accessmode=nil)
|
|
13298
|
+
def initialize(consistencytype=nil, consistencytimeout=nil, weightmode=nil, failover=nil, autoaddro=nil, instanceweights=nil, openrw=nil, rwtype=nil, transsplit=nil, accessmode=nil, apnodeasronode=nil, apquerytoothernode=nil)
|
|
12684
13299
|
@ConsistencyType = consistencytype
|
|
12685
13300
|
@ConsistencyTimeOut = consistencytimeout
|
|
12686
13301
|
@WeightMode = weightmode
|
|
@@ -12691,6 +13306,8 @@ module TencentCloud
|
|
|
12691
13306
|
@RwType = rwtype
|
|
12692
13307
|
@TransSplit = transsplit
|
|
12693
13308
|
@AccessMode = accessmode
|
|
13309
|
+
@ApNodeAsRoNode = apnodeasronode
|
|
13310
|
+
@ApQueryToOtherNode = apquerytoothernode
|
|
12694
13311
|
end
|
|
12695
13312
|
|
|
12696
13313
|
def deserialize(params)
|
|
@@ -12711,6 +13328,8 @@ module TencentCloud
|
|
|
12711
13328
|
@RwType = params['RwType']
|
|
12712
13329
|
@TransSplit = params['TransSplit']
|
|
12713
13330
|
@AccessMode = params['AccessMode']
|
|
13331
|
+
@ApNodeAsRoNode = params['ApNodeAsRoNode']
|
|
13332
|
+
@ApQueryToOtherNode = params['ApQueryToOtherNode']
|
|
12714
13333
|
end
|
|
12715
13334
|
end
|
|
12716
13335
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-cynosdb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1163
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-11-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -33,9 +33,9 @@ executables: []
|
|
|
33
33
|
extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
|
-
- lib/tencentcloud-sdk-cynosdb.rb
|
|
37
|
-
- lib/v20190107/models.rb
|
|
38
36
|
- lib/v20190107/client.rb
|
|
37
|
+
- lib/v20190107/models.rb
|
|
38
|
+
- lib/tencentcloud-sdk-cynosdb.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
|
41
41
|
licenses:
|