Class: Bosh::Clouds::Dummy::CreateVmCommand
- Defined in:
- lib/cloud/dummy.rb
Instance Attribute Summary collapse
-
#failed ⇒ Object
readonly
Returns the value of attribute failed.
-
#ip_address ⇒ Object
readonly
Returns the value of attribute ip_address.
Instance Method Summary collapse
- #failed? ⇒ Boolean
-
#initialize(ip_address, azs_to_ip, failed) ⇒ CreateVmCommand
constructor
A new instance of CreateVmCommand.
- #ip_address_for_az(az_name) ⇒ Object
Constructor Details
#initialize(ip_address, azs_to_ip, failed) ⇒ CreateVmCommand
Returns a new instance of CreateVmCommand.
558 559 560 561 562 |
# File 'lib/cloud/dummy.rb', line 558 def initialize(ip_address, azs_to_ip, failed) @ip_address = ip_address @azs_to_ip = azs_to_ip @failed = failed end |
Instance Attribute Details
#failed ⇒ Object (readonly)
Returns the value of attribute failed.
556 557 558 |
# File 'lib/cloud/dummy.rb', line 556 def failed @failed end |
#ip_address ⇒ Object (readonly)
Returns the value of attribute ip_address.
556 557 558 |
# File 'lib/cloud/dummy.rb', line 556 def ip_address @ip_address end |
Instance Method Details
#failed? ⇒ Boolean
568 569 570 |
# File 'lib/cloud/dummy.rb', line 568 def failed? failed end |
#ip_address_for_az(az_name) ⇒ Object
564 565 566 |
# File 'lib/cloud/dummy.rb', line 564 def ip_address_for_az(az_name) @azs_to_ip[az_name] end |