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.
565 566 567 568 569 |
# File 'lib/cloud/dummy.rb', line 565 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.
563 564 565 |
# File 'lib/cloud/dummy.rb', line 563 def failed @failed end |
#ip_address ⇒ Object (readonly)
Returns the value of attribute ip_address.
563 564 565 |
# File 'lib/cloud/dummy.rb', line 563 def ip_address @ip_address end |
Instance Method Details
#failed? ⇒ Boolean
575 576 577 |
# File 'lib/cloud/dummy.rb', line 575 def failed? failed end |
#ip_address_for_az(az_name) ⇒ Object
571 572 573 |
# File 'lib/cloud/dummy.rb', line 571 def ip_address_for_az(az_name) @azs_to_ip[az_name] end |