Class: TencentCloud::Cynosdb::V20190107::InstanceInitInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cynosdb::V20190107::InstanceInitInfo
- Defined in:
- lib/v20190107/models.rb
Overview
实例初始化配置信息
Instance Attribute Summary collapse
- #Cpu ⇒ Object
- #DeviceType ⇒ Object
- #InstanceCount ⇒ Object
- #InstanceType ⇒ Object
- #MaxRoCount ⇒ Object
- #MaxRoCpu ⇒ Object
- #Memory ⇒ Object
- #MinRoCount ⇒ Object
- #MinRoCpu ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(cpu = nil, memory = nil, instancetype = nil, instancecount = nil, minrocount = nil, maxrocount = nil, minrocpu = nil, maxrocpu = nil, devicetype = nil) ⇒ InstanceInitInfo
constructor
A new instance of InstanceInitInfo.
Constructor Details
#initialize(cpu = nil, memory = nil, instancetype = nil, instancecount = nil, minrocount = nil, maxrocount = nil, minrocpu = nil, maxrocpu = nil, devicetype = nil) ⇒ InstanceInitInfo
Returns a new instance of InstanceInitInfo.
9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 |
# File 'lib/v20190107/models.rb', line 9095 def initialize(cpu=nil, memory=nil, instancetype=nil, instancecount=nil, minrocount=nil, maxrocount=nil, minrocpu=nil, maxrocpu=nil, devicetype=nil) @Cpu = cpu @Memory = memory @InstanceType = instancetype @InstanceCount = instancecount @MinRoCount = minrocount @MaxRoCount = maxrocount @MinRoCpu = minrocpu @MaxRoCpu = maxrocpu @DeviceType = devicetype end |
Instance Attribute Details
#Cpu ⇒ Object
9093 9094 9095 |
# File 'lib/v20190107/models.rb', line 9093 def Cpu @Cpu end |
#DeviceType ⇒ Object
9093 9094 9095 |
# File 'lib/v20190107/models.rb', line 9093 def DeviceType @DeviceType end |
#InstanceCount ⇒ Object
9093 9094 9095 |
# File 'lib/v20190107/models.rb', line 9093 def InstanceCount @InstanceCount end |
#InstanceType ⇒ Object
9093 9094 9095 |
# File 'lib/v20190107/models.rb', line 9093 def InstanceType @InstanceType end |
#MaxRoCount ⇒ Object
9093 9094 9095 |
# File 'lib/v20190107/models.rb', line 9093 def MaxRoCount @MaxRoCount end |
#MaxRoCpu ⇒ Object
9093 9094 9095 |
# File 'lib/v20190107/models.rb', line 9093 def MaxRoCpu @MaxRoCpu end |
#Memory ⇒ Object
9093 9094 9095 |
# File 'lib/v20190107/models.rb', line 9093 def Memory @Memory end |
#MinRoCount ⇒ Object
9093 9094 9095 |
# File 'lib/v20190107/models.rb', line 9093 def MinRoCount @MinRoCount end |
#MinRoCpu ⇒ Object
9093 9094 9095 |
# File 'lib/v20190107/models.rb', line 9093 def MinRoCpu @MinRoCpu end |
Instance Method Details
#deserialize(params) ⇒ Object
9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 |
# File 'lib/v20190107/models.rb', line 9107 def deserialize(params) @Cpu = params['Cpu'] @Memory = params['Memory'] @InstanceType = params['InstanceType'] @InstanceCount = params['InstanceCount'] @MinRoCount = params['MinRoCount'] @MaxRoCount = params['MaxRoCount'] @MinRoCpu = params['MinRoCpu'] @MaxRoCpu = params['MaxRoCpu'] @DeviceType = params['DeviceType'] end |