Class: Fog::Compute::Ecloud::Vdc
Instance Attribute Summary
#loaded
Attributes inherited from Model
#collection, #connection
Instance Method Summary
collapse
#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, #dup, #identity, #identity=, #merge_attributes, #new_record?, #requires
Constructor Details
This class inherits a constructor from Fog::Model
Instance Method Details
#backup_internet_services ⇒ Object
29
30
31
|
# File 'lib/fog/compute/models/ecloud/vdc.rb', line 29
def backup_internet_services
@backup_internet_services ||= collection_based_on_type("application/vnd.tmrk.ecloud.internetServicesList+xml", BackupInternetServices)
end
|
#catalog ⇒ Object
51
52
53
|
# File 'lib/fog/compute/models/ecloud/vdc.rb', line 51
def catalog
@catalog ||= collection_based_on_type("application/vnd.vmware.vcloud.catalog+xml")
end
|
#firewall_acls ⇒ Object
55
56
57
|
# File 'lib/fog/compute/models/ecloud/vdc.rb', line 55
def firewall_acls
@firewall_acls ||= collection_based_on_type("application/vnd.tmrk.ecloud.firewallAclsList+xml")
end
|
#internet_services ⇒ Object
25
26
27
|
# File 'lib/fog/compute/models/ecloud/vdc.rb', line 25
def internet_services
@internet_services ||= collection_based_on_type("application/vnd.tmrk.ecloud.internetServicesList+xml")
end
|
#networks ⇒ Object
33
34
35
36
37
|
# File 'lib/fog/compute/models/ecloud/vdc.rb', line 33
def networks
@networks ||= Fog::Compute::Ecloud::Networks.
new( :connection => connection,
:href => href )
end
|
#public_ips ⇒ Object
21
22
23
|
# File 'lib/fog/compute/models/ecloud/vdc.rb', line 21
def public_ips
@public_ips ||= collection_based_on_type("application/vnd.tmrk.ecloud.publicIpsList+xml")
end
|
#servers ⇒ Object
39
40
41
42
43
|
# File 'lib/fog/compute/models/ecloud/vdc.rb', line 39
def servers
@servers ||= Fog::Compute::Ecloud::Servers.
new( :connection => connection,
:href => href )
end
|
#tasks ⇒ Object
45
46
47
48
49
|
# File 'lib/fog/compute/models/ecloud/vdc.rb', line 45
def tasks
@tasks ||= Fog::Compute::Ecloud::Tasks.
new( :connection => connection,
:href => href + "/tasksList" )
end
|