Class: TencentCloud::Thpc::V20230321::SpacePlacement
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20230321::SpacePlacement
- Defined in:
- lib/v20230321/models.rb
Overview
描述了实例的抽象位置,包括其所在的可用区,所属的项目
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(zone = nil, projectid = nil) ⇒ SpacePlacement
constructor
A new instance of SpacePlacement.
Constructor Details
#initialize(zone = nil, projectid = nil) ⇒ SpacePlacement
Returns a new instance of SpacePlacement.
3412 3413 3414 3415 |
# File 'lib/v20230321/models.rb', line 3412 def initialize(zone=nil, projectid=nil) @Zone = zone @ProjectId = projectid end |
Instance Attribute Details
#ProjectId ⇒ Object
3410 3411 3412 |
# File 'lib/v20230321/models.rb', line 3410 def ProjectId @ProjectId end |
#Zone ⇒ Object
3410 3411 3412 |
# File 'lib/v20230321/models.rb', line 3410 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
3417 3418 3419 3420 |
# File 'lib/v20230321/models.rb', line 3417 def deserialize(params) @Zone = params['Zone'] @ProjectId = params['ProjectId'] end |