lib/v20180411/models.rb in tencentcloud-sdk-dcdb-3.0.600 vs lib/v20180411/models.rb in tencentcloud-sdk-dcdb-3.0.601
- old
+ new
@@ -680,10 +680,12 @@
# @type ShardNodeStorage: Integer
# @param DbVersionId: db版本
# @type DbVersionId: String
# @param SecurityGroupId: 安全组ID
# @type SecurityGroupId: String
+ # @param SecurityGroupIds: 安全组ID列表
+ # @type SecurityGroupIds: Array
# @param DcnInstanceId: DCN源实例ID
# @type DcnInstanceId: String
# @param DcnRegion: DCN源实例地域名
# @type DcnRegion: String
# @param InstanceName: 自定义实例名称
@@ -703,13 +705,13 @@
# @param RollbackInstanceId: 需要回档的源实例ID
# @type RollbackInstanceId: String
# @param RollbackTime: 回档时间
# @type RollbackTime: String
- attr_accessor :GoodsNum, :ShardNum, :ShardMemory, :ShardStorage, :ClusterId, :Zone, :ProjectId, :Cpu, :VpcId, :SubnetId, :ShardMachine, :ShardNodeNum, :ShardNodeCpu, :ShardNodeMemory, :ShardNodeStorage, :DbVersionId, :SecurityGroupId, :DcnInstanceId, :DcnRegion, :InstanceName, :ResourceTags, :Ipv6Flag, :Pid, :InitParams, :MasterHostId, :SlaveHostIds, :RollbackInstanceId, :RollbackTime
+ attr_accessor :GoodsNum, :ShardNum, :ShardMemory, :ShardStorage, :ClusterId, :Zone, :ProjectId, :Cpu, :VpcId, :SubnetId, :ShardMachine, :ShardNodeNum, :ShardNodeCpu, :ShardNodeMemory, :ShardNodeStorage, :DbVersionId, :SecurityGroupId, :SecurityGroupIds, :DcnInstanceId, :DcnRegion, :InstanceName, :ResourceTags, :Ipv6Flag, :Pid, :InitParams, :MasterHostId, :SlaveHostIds, :RollbackInstanceId, :RollbackTime
- def initialize(goodsnum=nil, shardnum=nil, shardmemory=nil, shardstorage=nil, clusterid=nil, zone=nil, projectid=nil, cpu=nil, vpcid=nil, subnetid=nil, shardmachine=nil, shardnodenum=nil, shardnodecpu=nil, shardnodememory=nil, shardnodestorage=nil, dbversionid=nil, securitygroupid=nil, dcninstanceid=nil, dcnregion=nil, instancename=nil, resourcetags=nil, ipv6flag=nil, pid=nil, initparams=nil, masterhostid=nil, slavehostids=nil, rollbackinstanceid=nil, rollbacktime=nil)
+ def initialize(goodsnum=nil, shardnum=nil, shardmemory=nil, shardstorage=nil, clusterid=nil, zone=nil, projectid=nil, cpu=nil, vpcid=nil, subnetid=nil, shardmachine=nil, shardnodenum=nil, shardnodecpu=nil, shardnodememory=nil, shardnodestorage=nil, dbversionid=nil, securitygroupid=nil, securitygroupids=nil, dcninstanceid=nil, dcnregion=nil, instancename=nil, resourcetags=nil, ipv6flag=nil, pid=nil, initparams=nil, masterhostid=nil, slavehostids=nil, rollbackinstanceid=nil, rollbacktime=nil)
@GoodsNum = goodsnum
@ShardNum = shardnum
@ShardMemory = shardmemory
@ShardStorage = shardstorage
@ClusterId = clusterid
@@ -723,10 +725,11 @@
@ShardNodeCpu = shardnodecpu
@ShardNodeMemory = shardnodememory
@ShardNodeStorage = shardnodestorage
@DbVersionId = dbversionid
@SecurityGroupId = securitygroupid
+ @SecurityGroupIds = securitygroupids
@DcnInstanceId = dcninstanceid
@DcnRegion = dcnregion
@InstanceName = instancename
@ResourceTags = resourcetags
@Ipv6Flag = ipv6flag
@@ -754,9 +757,10 @@
@ShardNodeCpu = params['ShardNodeCpu']
@ShardNodeMemory = params['ShardNodeMemory']
@ShardNodeStorage = params['ShardNodeStorage']
@DbVersionId = params['DbVersionId']
@SecurityGroupId = params['SecurityGroupId']
+ @SecurityGroupIds = params['SecurityGroupIds']
@DcnInstanceId = params['DcnInstanceId']
@DcnRegion = params['DcnRegion']
@InstanceName = params['InstanceName']
unless params['ResourceTags'].nil?
@ResourceTags = []