Class: TencentCloud::Batch::V20170312::Placement
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Batch::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.
3355 3356 3357 3358 3359 3360 |
# File 'lib/v20170312/models.rb', line 3355 def initialize(zone=nil, projectid=nil, hostids=nil, hostid=nil) @Zone = zone @ProjectId = projectid @HostIds = hostids @HostId = hostid end |
Instance Attribute Details
#HostId ⇒ Object
3353 3354 3355 |
# File 'lib/v20170312/models.rb', line 3353 def HostId @HostId end |
#HostIds ⇒ Object
3353 3354 3355 |
# File 'lib/v20170312/models.rb', line 3353 def HostIds @HostIds end |
#ProjectId ⇒ Object
3353 3354 3355 |
# File 'lib/v20170312/models.rb', line 3353 def ProjectId @ProjectId end |
#Zone ⇒ Object
3353 3354 3355 |
# File 'lib/v20170312/models.rb', line 3353 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
3362 3363 3364 3365 3366 3367 |
# File 'lib/v20170312/models.rb', line 3362 def deserialize(params) @Zone = params['Zone'] @ProjectId = params['ProjectId'] @HostIds = params['HostIds'] @HostId = params['HostId'] end |