Class: Fog::Vcloud::Terremark::Ecloud::Vdc
- Inherits:
-
Model
- Object
- Model
- Model
- Fog::Vcloud::Terremark::Ecloud::Vdc
show all
- Defined in:
- lib/fog/vcloud/terremark/ecloud/models/vdc.rb
Instance Attribute Summary
Attributes inherited from Model
#loaded
Attributes inherited from Model
#collection, #connection
Instance Method Summary
collapse
Methods inherited from Model
#load_unless_loaded!, #reload
Methods inherited from Model
#initialize, #inspect, #reload, #to_json, #wait_for
#_load, #aliases, #attribute, #attributes, #identity, #ignore_attributes, #ignored_attributes
#_dump, #attributes, #identity, #identity=, #merge_attributes, #new_record?, #requires
Constructor Details
This class inherits a constructor from Fog::Model
Instance Method Details
#backup_internet_services ⇒ Object
30
31
32
|
# File 'lib/fog/vcloud/terremark/ecloud/models/vdc.rb', line 30
def backup_internet_services
@backup_internet_services ||= collection_based_on_type("application/vnd.tmrk.ecloud.internetServicesList+xml", BackupInternetServices)
end
|
#catalog ⇒ Object
52
53
54
|
# File 'lib/fog/vcloud/terremark/ecloud/models/vdc.rb', line 52
def catalog
@catalog ||= collection_based_on_type("application/vnd.vmware.vcloud.catalog+xml")
end
|
#firewall_acls ⇒ Object
56
57
58
|
# File 'lib/fog/vcloud/terremark/ecloud/models/vdc.rb', line 56
def firewall_acls
@firewall_acls ||= collection_based_on_type("application/vnd.tmrk.ecloud.firewallAclsList+xml")
end
|
#internet_services ⇒ Object
26
27
28
|
# File 'lib/fog/vcloud/terremark/ecloud/models/vdc.rb', line 26
def internet_services
@internet_services ||= collection_based_on_type("application/vnd.tmrk.ecloud.internetServicesList+xml")
end
|
#networks ⇒ Object
34
35
36
37
38
|
# File 'lib/fog/vcloud/terremark/ecloud/models/vdc.rb', line 34
def networks
@networks ||= Fog::Vcloud::Terremark::Ecloud::Networks.
new( :connection => connection,
:href => href )
end
|
#public_ips ⇒ Object
22
23
24
|
# File 'lib/fog/vcloud/terremark/ecloud/models/vdc.rb', line 22
def public_ips
@public_ips ||= collection_based_on_type("application/vnd.tmrk.ecloud.publicIpsList+xml")
end
|
#servers ⇒ Object
40
41
42
43
44
|
# File 'lib/fog/vcloud/terremark/ecloud/models/vdc.rb', line 40
def servers
@servers ||= Fog::Vcloud::Terremark::Ecloud::Servers.
new( :connection => connection,
:href => href )
end
|
#tasks ⇒ Object
46
47
48
49
50
|
# File 'lib/fog/vcloud/terremark/ecloud/models/vdc.rb', line 46
def tasks
@tasks ||= Fog::Vcloud::Terremark::Ecloud::Tasks.
new( :connection => connection,
:href => href + "/tasksList" )
end
|