Class: Bosh::Director::DeploymentPlan::VmType
- Includes:
- ValidationHelper
- Defined in:
- lib/bosh/director/deployment_plan/vm_type.rb
Instance Attribute Summary collapse
-
#cloud_properties ⇒ Object
readonly
Returns the value of attribute cloud_properties.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(spec) ⇒ VmType
constructor
A new instance of VmType.
- #spec ⇒ Object
Methods included from ValidationHelper
Constructor Details
Instance Attribute Details
#cloud_properties ⇒ Object (readonly)
Returns the value of attribute cloud_properties.
8 9 10 |
# File 'lib/bosh/director/deployment_plan/vm_type.rb', line 8 def cloud_properties @cloud_properties end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/bosh/director/deployment_plan/vm_type.rb', line 6 def name @name end |
Instance Method Details
#spec ⇒ Object
19 20 21 22 23 24 |
# File 'lib/bosh/director/deployment_plan/vm_type.rb', line 19 def spec { "name" => @name, "cloud_properties" => @cloud_properties, } end |