Class: TencentCloud::Thpc::V20220401::ExpansionNodeConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20220401::ExpansionNodeConfig
- Defined in:
- lib/v20220401/models.rb
Overview
弹性扩容节点配置信息。
Instance Attribute Summary collapse
- #InstanceChargePrepaid ⇒ Object
- #InstanceChargeType ⇒ Object
- #InstanceType ⇒ Object
- #Placement ⇒ Object
- #VirtualPrivateCloud ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(placement = nil, instancechargetype = nil, instancechargeprepaid = nil, instancetype = nil, virtualprivatecloud = nil) ⇒ ExpansionNodeConfig
constructor
A new instance of ExpansionNodeConfig.
Constructor Details
#initialize(placement = nil, instancechargetype = nil, instancechargeprepaid = nil, instancetype = nil, virtualprivatecloud = nil) ⇒ ExpansionNodeConfig
Returns a new instance of ExpansionNodeConfig.
1238 1239 1240 1241 1242 1243 1244 |
# File 'lib/v20220401/models.rb', line 1238 def initialize(placement=nil, instancechargetype=nil, instancechargeprepaid=nil, instancetype=nil, virtualprivatecloud=nil) @Placement = placement @InstanceChargeType = instancechargetype @InstanceChargePrepaid = instancechargeprepaid @InstanceType = instancetype @VirtualPrivateCloud = virtualprivatecloud end |
Instance Attribute Details
#InstanceChargePrepaid ⇒ Object
1236 1237 1238 |
# File 'lib/v20220401/models.rb', line 1236 def InstanceChargePrepaid @InstanceChargePrepaid end |
#InstanceChargeType ⇒ Object
1236 1237 1238 |
# File 'lib/v20220401/models.rb', line 1236 def InstanceChargeType @InstanceChargeType end |
#InstanceType ⇒ Object
1236 1237 1238 |
# File 'lib/v20220401/models.rb', line 1236 def InstanceType @InstanceType end |
#Placement ⇒ Object
1236 1237 1238 |
# File 'lib/v20220401/models.rb', line 1236 def Placement @Placement end |
#VirtualPrivateCloud ⇒ Object
1236 1237 1238 |
# File 'lib/v20220401/models.rb', line 1236 def VirtualPrivateCloud @VirtualPrivateCloud end |
Instance Method Details
#deserialize(params) ⇒ Object
1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 |
# File 'lib/v20220401/models.rb', line 1246 def deserialize(params) unless params['Placement'].nil? @Placement = Placement.new @Placement.deserialize(params['Placement']) end @InstanceChargeType = params['InstanceChargeType'] unless params['InstanceChargePrepaid'].nil? @InstanceChargePrepaid = InstanceChargePrepaid.new @InstanceChargePrepaid.deserialize(params['InstanceChargePrepaid']) end @InstanceType = params['InstanceType'] unless params['VirtualPrivateCloud'].nil? @VirtualPrivateCloud = VirtualPrivateCloud.new @VirtualPrivateCloud.deserialize(params['VirtualPrivateCloud']) end end |