Class: TencentCloud::Sqlserver::V20180328::DescribeInstanceTradeParameterRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Sqlserver::V20180328::DescribeInstanceTradeParameterRequest
- Defined in:
- lib/v20180328/models.rb
Overview
DescribeInstanceTradeParameter请求参数结构体
Instance Attribute Summary collapse
- #AutoRenewFlag ⇒ Object
- #Collation ⇒ Object
- #Cpu ⇒ Object
- #DBVersion ⇒ Object
- #DrZones ⇒ Object
- #GoodsNum ⇒ Object
- #InstanceChargeType ⇒ Object
- #InstanceType ⇒ Object
- #MachineType ⇒ Object
- #Memory ⇒ Object
- #MultiNodes ⇒ Object
- #MultiZones ⇒ Object
- #Period ⇒ Object
- #ProjectId ⇒ Object
- #ResourceTags ⇒ Object
- #SecurityGroupList ⇒ Object
- #Span ⇒ Object
- #StartTime ⇒ Object
- #Storage ⇒ Object
- #SubnetId ⇒ Object
- #TimeZone ⇒ Object
- #VpcId ⇒ Object
- #Weekly ⇒ Object
- #Zone ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(zone = nil, cpu = nil, memory = nil, storage = nil, instancetype = nil, machinetype = nil, instancechargetype = nil, projectid = nil, goodsnum = nil, dbversion = nil, subnetid = nil, vpcid = nil, period = nil, securitygrouplist = nil, autorenewflag = nil, weekly = nil, starttime = nil, span = nil, multizones = nil, resourcetags = nil, timezone = nil, collation = nil, multinodes = nil, drzones = nil) ⇒ DescribeInstanceTradeParameterRequest
constructor
A new instance of DescribeInstanceTradeParameterRequest.
Constructor Details
#initialize(zone = nil, cpu = nil, memory = nil, storage = nil, instancetype = nil, machinetype = nil, instancechargetype = nil, projectid = nil, goodsnum = nil, dbversion = nil, subnetid = nil, vpcid = nil, period = nil, securitygrouplist = nil, autorenewflag = nil, weekly = nil, starttime = nil, span = nil, multizones = nil, resourcetags = nil, timezone = nil, collation = nil, multinodes = nil, drzones = nil) ⇒ DescribeInstanceTradeParameterRequest
Returns a new instance of DescribeInstanceTradeParameterRequest.
5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 |
# File 'lib/v20180328/models.rb', line 5563 def initialize(zone=nil, cpu=nil, memory=nil, storage=nil, instancetype=nil, machinetype=nil, instancechargetype=nil, projectid=nil, goodsnum=nil, dbversion=nil, subnetid=nil, vpcid=nil, period=nil, securitygrouplist=nil, autorenewflag=nil, weekly=nil, starttime=nil, span=nil, multizones=nil, =nil, timezone=nil, collation=nil, multinodes=nil, drzones=nil) @Zone = zone @Cpu = cpu @Memory = memory @Storage = storage @InstanceType = instancetype @MachineType = machinetype @InstanceChargeType = instancechargetype @ProjectId = projectid @GoodsNum = goodsnum @DBVersion = dbversion @SubnetId = subnetid @VpcId = vpcid @Period = period @SecurityGroupList = securitygrouplist @AutoRenewFlag = autorenewflag @Weekly = weekly @StartTime = starttime @Span = span @MultiZones = multizones @ResourceTags = @TimeZone = timezone @Collation = collation @MultiNodes = multinodes @DrZones = drzones end |
Instance Attribute Details
#AutoRenewFlag ⇒ Object
5561 5562 5563 |
# File 'lib/v20180328/models.rb', line 5561 def AutoRenewFlag @AutoRenewFlag end |
#Collation ⇒ Object
5561 5562 5563 |
# File 'lib/v20180328/models.rb', line 5561 def Collation @Collation end |
#Cpu ⇒ Object
5561 5562 5563 |
# File 'lib/v20180328/models.rb', line 5561 def Cpu @Cpu end |
#DBVersion ⇒ Object
5561 5562 5563 |
# File 'lib/v20180328/models.rb', line 5561 def DBVersion @DBVersion end |
#DrZones ⇒ Object
5561 5562 5563 |
# File 'lib/v20180328/models.rb', line 5561 def DrZones @DrZones end |
#GoodsNum ⇒ Object
5561 5562 5563 |
# File 'lib/v20180328/models.rb', line 5561 def GoodsNum @GoodsNum end |
#InstanceChargeType ⇒ Object
5561 5562 5563 |
# File 'lib/v20180328/models.rb', line 5561 def InstanceChargeType @InstanceChargeType end |
#InstanceType ⇒ Object
5561 5562 5563 |
# File 'lib/v20180328/models.rb', line 5561 def InstanceType @InstanceType end |
#MachineType ⇒ Object
5561 5562 5563 |
# File 'lib/v20180328/models.rb', line 5561 def MachineType @MachineType end |
#Memory ⇒ Object
5561 5562 5563 |
# File 'lib/v20180328/models.rb', line 5561 def Memory @Memory end |
#MultiNodes ⇒ Object
5561 5562 5563 |
# File 'lib/v20180328/models.rb', line 5561 def MultiNodes @MultiNodes end |
#MultiZones ⇒ Object
5561 5562 5563 |
# File 'lib/v20180328/models.rb', line 5561 def MultiZones @MultiZones end |
#Period ⇒ Object
5561 5562 5563 |
# File 'lib/v20180328/models.rb', line 5561 def Period @Period end |
#ProjectId ⇒ Object
5561 5562 5563 |
# File 'lib/v20180328/models.rb', line 5561 def ProjectId @ProjectId end |
#ResourceTags ⇒ Object
5561 5562 5563 |
# File 'lib/v20180328/models.rb', line 5561 def ResourceTags @ResourceTags end |
#SecurityGroupList ⇒ Object
5561 5562 5563 |
# File 'lib/v20180328/models.rb', line 5561 def SecurityGroupList @SecurityGroupList end |
#Span ⇒ Object
5561 5562 5563 |
# File 'lib/v20180328/models.rb', line 5561 def Span @Span end |
#StartTime ⇒ Object
5561 5562 5563 |
# File 'lib/v20180328/models.rb', line 5561 def StartTime @StartTime end |
#Storage ⇒ Object
5561 5562 5563 |
# File 'lib/v20180328/models.rb', line 5561 def Storage @Storage end |
#SubnetId ⇒ Object
5561 5562 5563 |
# File 'lib/v20180328/models.rb', line 5561 def SubnetId @SubnetId end |
#TimeZone ⇒ Object
5561 5562 5563 |
# File 'lib/v20180328/models.rb', line 5561 def TimeZone @TimeZone end |
#VpcId ⇒ Object
5561 5562 5563 |
# File 'lib/v20180328/models.rb', line 5561 def VpcId @VpcId end |
#Weekly ⇒ Object
5561 5562 5563 |
# File 'lib/v20180328/models.rb', line 5561 def Weekly @Weekly end |
#Zone ⇒ Object
5561 5562 5563 |
# File 'lib/v20180328/models.rb', line 5561 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 |
# File 'lib/v20180328/models.rb', line 5590 def deserialize(params) @Zone = params['Zone'] @Cpu = params['Cpu'] @Memory = params['Memory'] @Storage = params['Storage'] @InstanceType = params['InstanceType'] @MachineType = params['MachineType'] @InstanceChargeType = params['InstanceChargeType'] @ProjectId = params['ProjectId'] @GoodsNum = params['GoodsNum'] @DBVersion = params['DBVersion'] @SubnetId = params['SubnetId'] @VpcId = params['VpcId'] @Period = params['Period'] @SecurityGroupList = params['SecurityGroupList'] @AutoRenewFlag = params['AutoRenewFlag'] @Weekly = params['Weekly'] @StartTime = params['StartTime'] @Span = params['Span'] @MultiZones = params['MultiZones'] unless params['ResourceTags'].nil? @ResourceTags = [] params['ResourceTags'].each do |i| resourcetag_tmp = ResourceTag.new resourcetag_tmp.deserialize(i) @ResourceTags << resourcetag_tmp end end @TimeZone = params['TimeZone'] @Collation = params['Collation'] @MultiNodes = params['MultiNodes'] @DrZones = params['DrZones'] end |