Class: TencentCloud::Thpc::V20230321::ExpansionNodeConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20230321::ExpansionNodeConfig
- Defined in:
- lib/v20230321/models.rb
Overview
弹性扩容节点配置信息。
Instance Attribute Summary collapse
- #InstanceChargePrepaid ⇒ Object
- #InstanceChargeType ⇒ Object
- #InstanceType ⇒ Object
- #Placement ⇒ Object
- #ProjectId ⇒ Object
- #VirtualPrivateCloud ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(placement = nil, instancechargetype = nil, instancechargeprepaid = nil, instancetype = nil, virtualprivatecloud = nil, projectid = nil) ⇒ ExpansionNodeConfig
constructor
A new instance of ExpansionNodeConfig.
Constructor Details
#initialize(placement = nil, instancechargetype = nil, instancechargeprepaid = nil, instancetype = nil, virtualprivatecloud = nil, projectid = nil) ⇒ ExpansionNodeConfig
Returns a new instance of ExpansionNodeConfig.
1631 1632 1633 1634 1635 1636 1637 1638 |
# File 'lib/v20230321/models.rb', line 1631 def initialize(placement=nil, instancechargetype=nil, instancechargeprepaid=nil, instancetype=nil, virtualprivatecloud=nil, projectid=nil) @Placement = placement @InstanceChargeType = instancechargetype @InstanceChargePrepaid = instancechargeprepaid @InstanceType = instancetype @VirtualPrivateCloud = virtualprivatecloud @ProjectId = projectid end |
Instance Attribute Details
#InstanceChargePrepaid ⇒ Object
1629 1630 1631 |
# File 'lib/v20230321/models.rb', line 1629 def InstanceChargePrepaid @InstanceChargePrepaid end |
#InstanceChargeType ⇒ Object
1629 1630 1631 |
# File 'lib/v20230321/models.rb', line 1629 def InstanceChargeType @InstanceChargeType end |
#InstanceType ⇒ Object
1629 1630 1631 |
# File 'lib/v20230321/models.rb', line 1629 def InstanceType @InstanceType end |
#Placement ⇒ Object
1629 1630 1631 |
# File 'lib/v20230321/models.rb', line 1629 def Placement @Placement end |
#ProjectId ⇒ Object
1629 1630 1631 |
# File 'lib/v20230321/models.rb', line 1629 def ProjectId @ProjectId end |
#VirtualPrivateCloud ⇒ Object
1629 1630 1631 |
# File 'lib/v20230321/models.rb', line 1629 def VirtualPrivateCloud @VirtualPrivateCloud end |
Instance Method Details
#deserialize(params) ⇒ Object
1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 |
# File 'lib/v20230321/models.rb', line 1640 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 @ProjectId = params['ProjectId'] end |