Class: TencentCloud::Mongodb::V20180408::CreateDBInstanceRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mongodb::V20180408::CreateDBInstanceRequest
- Defined in:
- lib/v20180408/models.rb
Overview
CreateDBInstance请求参数结构体
Instance Attribute Summary collapse
- #GoodsNum ⇒ Object
- #InstanceType ⇒ Object
- #MachineCode ⇒ Object
- #Memory ⇒ Object
- #MongoVersion ⇒ Object
- #Password ⇒ Object
- #ProjectId ⇒ Object
- #SecondaryNum ⇒ Object
- #SecurityGroup ⇒ Object
- #TimeSpan ⇒ Object
- #UniqSubnetId ⇒ Object
- #UniqVpcId ⇒ Object
- #Volume ⇒ Object
- #Zone ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(secondarynum = nil, memory = nil, volume = nil, mongoversion = nil, machinecode = nil, goodsnum = nil, zone = nil, timespan = nil, password = nil, projectid = nil, securitygroup = nil, uniqvpcid = nil, uniqsubnetid = nil, instancetype = nil) ⇒ CreateDBInstanceRequest
constructor
A new instance of CreateDBInstanceRequest.
Constructor Details
#initialize(secondarynum = nil, memory = nil, volume = nil, mongoversion = nil, machinecode = nil, goodsnum = nil, zone = nil, timespan = nil, password = nil, projectid = nil, securitygroup = nil, uniqvpcid = nil, uniqsubnetid = nil, instancetype = nil) ⇒ CreateDBInstanceRequest
Returns a new instance of CreateDBInstanceRequest.
217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 |
# File 'lib/v20180408/models.rb', line 217 def initialize(secondarynum=nil, memory=nil, volume=nil, mongoversion=nil, machinecode=nil, goodsnum=nil, zone=nil, timespan=nil, password=nil, projectid=nil, securitygroup=nil, uniqvpcid=nil, uniqsubnetid=nil, instancetype=nil) @SecondaryNum = secondarynum @Memory = memory @Volume = volume @MongoVersion = mongoversion @MachineCode = machinecode @GoodsNum = goodsnum @Zone = zone @TimeSpan = timespan @Password = password @ProjectId = projectid @SecurityGroup = securitygroup @UniqVpcId = uniqvpcid @UniqSubnetId = uniqsubnetid @InstanceType = instancetype end |
Instance Attribute Details
#GoodsNum ⇒ Object
215 216 217 |
# File 'lib/v20180408/models.rb', line 215 def GoodsNum @GoodsNum end |
#InstanceType ⇒ Object
215 216 217 |
# File 'lib/v20180408/models.rb', line 215 def InstanceType @InstanceType end |
#MachineCode ⇒ Object
215 216 217 |
# File 'lib/v20180408/models.rb', line 215 def MachineCode @MachineCode end |
#Memory ⇒ Object
215 216 217 |
# File 'lib/v20180408/models.rb', line 215 def Memory @Memory end |
#MongoVersion ⇒ Object
215 216 217 |
# File 'lib/v20180408/models.rb', line 215 def MongoVersion @MongoVersion end |
#Password ⇒ Object
215 216 217 |
# File 'lib/v20180408/models.rb', line 215 def Password @Password end |
#ProjectId ⇒ Object
215 216 217 |
# File 'lib/v20180408/models.rb', line 215 def ProjectId @ProjectId end |
#SecondaryNum ⇒ Object
215 216 217 |
# File 'lib/v20180408/models.rb', line 215 def SecondaryNum @SecondaryNum end |
#SecurityGroup ⇒ Object
215 216 217 |
# File 'lib/v20180408/models.rb', line 215 def SecurityGroup @SecurityGroup end |
#TimeSpan ⇒ Object
215 216 217 |
# File 'lib/v20180408/models.rb', line 215 def TimeSpan @TimeSpan end |
#UniqSubnetId ⇒ Object
215 216 217 |
# File 'lib/v20180408/models.rb', line 215 def UniqSubnetId @UniqSubnetId end |
#UniqVpcId ⇒ Object
215 216 217 |
# File 'lib/v20180408/models.rb', line 215 def UniqVpcId @UniqVpcId end |
#Volume ⇒ Object
215 216 217 |
# File 'lib/v20180408/models.rb', line 215 def Volume @Volume end |
#Zone ⇒ Object
215 216 217 |
# File 'lib/v20180408/models.rb', line 215 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 |
# File 'lib/v20180408/models.rb', line 234 def deserialize(params) @SecondaryNum = params['SecondaryNum'] @Memory = params['Memory'] @Volume = params['Volume'] @MongoVersion = params['MongoVersion'] @MachineCode = params['MachineCode'] @GoodsNum = params['GoodsNum'] @Zone = params['Zone'] @TimeSpan = params['TimeSpan'] @Password = params['Password'] @ProjectId = params['ProjectId'] @SecurityGroup = params['SecurityGroup'] @UniqVpcId = params['UniqVpcId'] @UniqSubnetId = params['UniqSubnetId'] @InstanceType = params['InstanceType'] end |