Class: Bosh::Director::DeploymentPlan::DesiredInstance
- Defined in:
- lib/bosh/director/deployment_plan/desired_instance.rb
Instance Attribute Summary collapse
-
#az ⇒ Object
Returns the value of attribute az.
-
#deployment ⇒ Object
Returns the value of attribute deployment.
-
#index ⇒ Object
Returns the value of attribute index.
-
#job ⇒ Object
Returns the value of attribute job.
Instance Method Summary collapse
Instance Attribute Details
#az ⇒ Object
Returns the value of attribute az
4 5 6 |
# File 'lib/bosh/director/deployment_plan/desired_instance.rb', line 4 def az @az end |
#deployment ⇒ Object
Returns the value of attribute deployment
4 5 6 |
# File 'lib/bosh/director/deployment_plan/desired_instance.rb', line 4 def deployment @deployment end |
#index ⇒ Object
Returns the value of attribute index
4 5 6 |
# File 'lib/bosh/director/deployment_plan/desired_instance.rb', line 4 def index @index end |
#job ⇒ Object
Returns the value of attribute job
4 5 6 |
# File 'lib/bosh/director/deployment_plan/desired_instance.rb', line 4 def job @job end |
Instance Method Details
#availability_zone ⇒ Object
9 10 11 |
# File 'lib/bosh/director/deployment_plan/desired_instance.rb', line 9 def availability_zone self.az.name unless self.az.nil? end |
#inspect ⇒ Object
5 6 7 |
# File 'lib/bosh/director/deployment_plan/desired_instance.rb', line 5 def inspect "<DesiredInstance az=#{self.az ? self.az.name : nil} index=#{self.index}>" end |