Class: Fog::Compute::VcloudDirector::Vdc

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/vcloud_director/models/compute/vdc.rb

Instance Method Summary collapse

Methods inherited from Model

#initialize, #inspect, #lazy_load_attrs, #make_attr_loaded_method, #make_lazy_load_method

Constructor Details

This class inherits a constructor from Fog::Compute::VcloudDirector::Model

Instance Method Details

#mediasObject



23
24
25
26
# File 'lib/fog/vcloud_director/models/compute/vdc.rb', line 23

def medias
  requires :id
  service.medias(:vdc => self)
end

#networksObject



38
39
40
41
# File 'lib/fog/vcloud_director/models/compute/vdc.rb', line 38

def networks
  requires :available_networks
  service.networks(:vdc => self)
end

#vapp_templatesObject



33
34
35
36
# File 'lib/fog/vcloud_director/models/compute/vdc.rb', line 33

def vapp_templates
  requires :id
  service.vapp_templates(:vdc => self)
end

#vappsObject



28
29
30
31
# File 'lib/fog/vcloud_director/models/compute/vdc.rb', line 28

def vapps
  requires :id
  service.vapps(:vdc => self)
end