Class: TencentCloud::Cvm::V20170312::Placement
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::Placement
- Defined in:
- lib/v20170312/models.rb
Overview
描述了实例的抽象位置,包括其所在的可用区,所属的项目,宿主机(仅专用宿主机产品可用),母机IP等
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(zone = nil, projectid = nil, hostids = nil, hostid = nil) ⇒ Placement
constructor
A new instance of Placement.
Constructor Details
#initialize(zone = nil, projectid = nil, hostids = nil, hostid = nil) ⇒ Placement
Returns a new instance of Placement.
6830 6831 6832 6833 6834 6835 |
# File 'lib/v20170312/models.rb', line 6830 def initialize(zone=nil, projectid=nil, hostids=nil, hostid=nil) @Zone = zone @ProjectId = projectid @HostIds = hostids @HostId = hostid end |
Instance Attribute Details
#HostId ⇒ Object
6828 6829 6830 |
# File 'lib/v20170312/models.rb', line 6828 def HostId @HostId end |
#HostIds ⇒ Object
6828 6829 6830 |
# File 'lib/v20170312/models.rb', line 6828 def HostIds @HostIds end |
#ProjectId ⇒ Object
6828 6829 6830 |
# File 'lib/v20170312/models.rb', line 6828 def ProjectId @ProjectId end |
#Zone ⇒ Object
6828 6829 6830 |
# File 'lib/v20170312/models.rb', line 6828 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
6837 6838 6839 6840 6841 6842 |
# File 'lib/v20170312/models.rb', line 6837 def deserialize(params) @Zone = params['Zone'] @ProjectId = params['ProjectId'] @HostIds = params['HostIds'] @HostId = params['HostId'] end |