Class: Fog::Vcloud::Compute::Vapp
Instance Attribute Summary
Attributes inherited from Model
#loaded
Instance Method Summary
collapse
#friendly_status, #off?, #on?
Methods inherited from Model
has_up, #link_up, #load_unless_loaded!, #reload
Instance Method Details
#networks ⇒ Object
33
34
35
36
37
38
|
# File 'lib/fog/vcloud/models/compute/vapp.rb', line 33
def networks
@networks ||= Fog::Vcloud::Compute::Networks.
new( :service => service,
:href => href
)
end
|
#ready? ⇒ Boolean
40
41
42
43
|
# File 'lib/fog/vcloud/models/compute/vapp.rb', line 40
def ready?
reload_status status != '0'
end
|
#servers ⇒ Object
25
26
27
28
29
30
31
|
# File 'lib/fog/vcloud/models/compute/vapp.rb', line 25
def servers
@servers ||= Fog::Vcloud::Compute::Servers.
new( :service => service,
:href => href,
:vapp => self
)
end
|