Class: Softlayer::Location
- Defined in:
- lib/softlayer/location.rb,
lib/softlayer/location/rack.rb,
lib/softlayer/location/root.rb,
lib/softlayer/location/slot.rb,
lib/softlayer/location/group.rb,
lib/softlayer/location/office.rb,
lib/softlayer/location/region.rb,
lib/softlayer/location/server.rb,
lib/softlayer/location/status.rb,
lib/softlayer/location/network.rb,
lib/softlayer/location/storage.rb,
lib/softlayer/location/inventory.rb,
lib/softlayer/location/datacenter.rb,
lib/softlayer/location/group/type.rb,
lib/softlayer/location/reservation.rb,
lib/softlayer/location/server/room.rb,
lib/softlayer/location/storage/room.rb,
lib/softlayer/location/group/pricing.rb,
lib/softlayer/location/group/location.rb,
lib/softlayer/location/group/regional.rb,
lib/softlayer/location/inventory/room.rb,
lib/softlayer/location/region/location.rb,
lib/softlayer/location/reservation/rack.rb,
lib/softlayer/location/network/operations.rb,
lib/softlayer/location/reservation/rack/member.rb,
lib/softlayer/location/network/operations/center.rb,
lib/softlayer/location/group/location/cross_reference.rb
Direct Known Subclasses
Datacenter, Inventory::Room, Network::Operations::Center, Office, Rack, Root, Server::Room, Slot, Storage::Room
Defined Under Namespace
Modules: Inventory, Network, Server, Storage Classes: Datacenter, Group, Office, Rack, Region, Representer, Reservation, Root, Slot, Status
Constant Summary collapse
- SERVICE =
'SoftLayer_Location'
Instance Attribute Summary collapse
-
#backbone_dependent_count ⇒ Object
Returns the value of attribute backbone_dependent_count.
-
#backbone_dependents ⇒ Object
Returns the value of attribute backbone_dependents.
-
#group_count ⇒ Object
Returns the value of attribute group_count.
-
#groups ⇒ Object
Returns the value of attribute groups.
-
#hardware_firewall_count ⇒ Object
Returns the value of attribute hardware_firewall_count.
-
#hardware_firewalls ⇒ Object
Returns the value of attribute hardware_firewalls.
-
#id ⇒ Object
Returns the value of attribute id.
-
#location_address ⇒ Object
Returns the value of attribute location_address.
-
#location_reservation_member ⇒ Object
Returns the value of attribute location_reservation_member.
-
#location_status ⇒ Object
Returns the value of attribute location_status.
-
#long_name ⇒ Object
Returns the value of attribute long_name.
-
#name ⇒ Object
Returns the value of attribute name.
-
#network_configuration_attribute ⇒ Object
Returns the value of attribute network_configuration_attribute.
-
#online_pptp_vpn_user_count ⇒ Object
Returns the value of attribute online_pptp_vpn_user_count.
-
#online_ssl_vpn_user_count ⇒ Object
Returns the value of attribute online_ssl_vpn_user_count.
-
#path_string ⇒ Object
Returns the value of attribute path_string.
-
#price_group_count ⇒ Object
Returns the value of attribute price_group_count.
-
#price_groups ⇒ Object
Returns the value of attribute price_groups.
-
#region_count ⇒ Object
Returns the value of attribute region_count.
-
#regions ⇒ Object
Returns the value of attribute regions.
-
#status_id ⇒ Object
Returns the value of attribute status_id.
-
#timezone ⇒ Object
Returns the value of attribute timezone.
-
#vdr_group ⇒ Object
Returns the value of attribute vdr_group.
Class Method Summary collapse
- .get_available_object_storage_datacenters ⇒ Object
- .get_datacenters ⇒ Object
- .get_datacenters_with_virtual_image_store_service_resource_record ⇒ Object
- .get_viewable_datacenters ⇒ Object
- .get_viewable_pops_and_data_centers ⇒ Object
- .get_viewablepoint_of_presence ⇒ Object
- .getpoint_of_presence ⇒ Object
Instance Method Summary collapse
- #get_backbone_dependents ⇒ Object
- #get_groups ⇒ Object
- #get_hardware_firewalls ⇒ Object
- #get_location_address ⇒ Object
- #get_location_reservation_member ⇒ Object
- #get_location_status ⇒ Object
- #get_network_configuration_attribute ⇒ Object
- #get_object ⇒ Object
- #get_online_pptp_vpn_user_count ⇒ Object
- #get_online_ssl_vpn_user_count ⇒ Object
- #get_path_string ⇒ Object
- #get_price_groups ⇒ Object
- #get_regions ⇒ Object
- #get_timezone ⇒ Object
- #get_vdr_group ⇒ Object
Methods inherited from Model
all, all_request_for, create, find, #init_headers, parse, process_message, #request, request, service_name, #service_name, #to_hash, #to_softlayer
Methods included from Model::Operations
extended, #filter, included, #limit, #mask, #request_headers
Instance Attribute Details
#backbone_dependent_count ⇒ Object
Returns the value of attribute backbone_dependent_count.
21 22 23 |
# File 'lib/softlayer/location.rb', line 21 def backbone_dependent_count @backbone_dependent_count end |
#backbone_dependents ⇒ Object
Returns the value of attribute backbone_dependents.
26 27 28 |
# File 'lib/softlayer/location.rb', line 26 def backbone_dependents @backbone_dependents end |
#group_count ⇒ Object
Returns the value of attribute group_count.
22 23 24 |
# File 'lib/softlayer/location.rb', line 22 def group_count @group_count end |
#groups ⇒ Object
Returns the value of attribute groups.
27 28 29 |
# File 'lib/softlayer/location.rb', line 27 def groups @groups end |
#hardware_firewall_count ⇒ Object
Returns the value of attribute hardware_firewall_count.
23 24 25 |
# File 'lib/softlayer/location.rb', line 23 def hardware_firewall_count @hardware_firewall_count end |
#hardware_firewalls ⇒ Object
Returns the value of attribute hardware_firewalls.
28 29 30 |
# File 'lib/softlayer/location.rb', line 28 def hardware_firewalls @hardware_firewalls end |
#id ⇒ Object
Returns the value of attribute id.
17 18 19 |
# File 'lib/softlayer/location.rb', line 17 def id @id end |
#location_address ⇒ Object
Returns the value of attribute location_address.
29 30 31 |
# File 'lib/softlayer/location.rb', line 29 def location_address @location_address end |
#location_reservation_member ⇒ Object
Returns the value of attribute location_reservation_member.
30 31 32 |
# File 'lib/softlayer/location.rb', line 30 def location_reservation_member @location_reservation_member end |
#location_status ⇒ Object
Returns the value of attribute location_status.
31 32 33 |
# File 'lib/softlayer/location.rb', line 31 def location_status @location_status end |
#long_name ⇒ Object
Returns the value of attribute long_name.
18 19 20 |
# File 'lib/softlayer/location.rb', line 18 def long_name @long_name end |
#name ⇒ Object
Returns the value of attribute name.
19 20 21 |
# File 'lib/softlayer/location.rb', line 19 def name @name end |
#network_configuration_attribute ⇒ Object
Returns the value of attribute network_configuration_attribute.
32 33 34 |
# File 'lib/softlayer/location.rb', line 32 def network_configuration_attribute @network_configuration_attribute end |
#online_pptp_vpn_user_count ⇒ Object
Returns the value of attribute online_pptp_vpn_user_count.
33 34 35 |
# File 'lib/softlayer/location.rb', line 33 def online_pptp_vpn_user_count @online_pptp_vpn_user_count end |
#online_ssl_vpn_user_count ⇒ Object
Returns the value of attribute online_ssl_vpn_user_count.
34 35 36 |
# File 'lib/softlayer/location.rb', line 34 def online_ssl_vpn_user_count @online_ssl_vpn_user_count end |
#path_string ⇒ Object
Returns the value of attribute path_string.
35 36 37 |
# File 'lib/softlayer/location.rb', line 35 def path_string @path_string end |
#price_group_count ⇒ Object
Returns the value of attribute price_group_count.
24 25 26 |
# File 'lib/softlayer/location.rb', line 24 def price_group_count @price_group_count end |
#price_groups ⇒ Object
Returns the value of attribute price_groups.
36 37 38 |
# File 'lib/softlayer/location.rb', line 36 def price_groups @price_groups end |
#region_count ⇒ Object
Returns the value of attribute region_count.
25 26 27 |
# File 'lib/softlayer/location.rb', line 25 def region_count @region_count end |
#regions ⇒ Object
Returns the value of attribute regions.
37 38 39 |
# File 'lib/softlayer/location.rb', line 37 def regions @regions end |
#status_id ⇒ Object
Returns the value of attribute status_id.
20 21 22 |
# File 'lib/softlayer/location.rb', line 20 def status_id @status_id end |
#timezone ⇒ Object
Returns the value of attribute timezone.
38 39 40 |
# File 'lib/softlayer/location.rb', line 38 def timezone @timezone end |
#vdr_group ⇒ Object
Returns the value of attribute vdr_group.
39 40 41 |
# File 'lib/softlayer/location.rb', line 39 def vdr_group @vdr_group end |
Class Method Details
.get_available_object_storage_datacenters ⇒ Object
41 42 43 |
# File 'lib/softlayer/location.rb', line 41 def self.get_available_object_storage_datacenters request(:get_available_object_storage_datacenters, Array[Softlayer::Location]) end |
.get_datacenters ⇒ Object
49 50 51 |
# File 'lib/softlayer/location.rb', line 49 def self.get_datacenters request(:get_datacenters, Array[Softlayer::Location]) end |
.get_datacenters_with_virtual_image_store_service_resource_record ⇒ Object
53 54 55 |
# File 'lib/softlayer/location.rb', line 53 def self.get_datacenters_with_virtual_image_store_service_resource_record request(:get_datacenters_with_virtual_image_store_service_resource_record, Array[Softlayer::Location]) end |
.get_viewable_datacenters ⇒ Object
113 114 115 |
# File 'lib/softlayer/location.rb', line 113 def self.get_viewable_datacenters request(:get_viewable_datacenters, Array[Softlayer::Location]) end |
.get_viewable_pops_and_data_centers ⇒ Object
117 118 119 |
# File 'lib/softlayer/location.rb', line 117 def self.get_viewable_pops_and_data_centers request(:get_viewable_pops_and_data_centers, Array[Softlayer::Location]) end |
Instance Method Details
#get_backbone_dependents ⇒ Object
45 46 47 |
# File 'lib/softlayer/location.rb', line 45 def get_backbone_dependents request(:get_backbone_dependents, Array[Softlayer::Network::Backbone::Location::Dependent]) end |
#get_groups ⇒ Object
57 58 59 |
# File 'lib/softlayer/location.rb', line 57 def get_groups request(:get_groups, Array[Softlayer::Location::Group]) end |
#get_hardware_firewalls ⇒ Object
61 62 63 |
# File 'lib/softlayer/location.rb', line 61 def get_hardware_firewalls request(:get_hardware_firewalls, Array[Softlayer::Hardware]) end |
#get_location_address ⇒ Object
65 66 67 |
# File 'lib/softlayer/location.rb', line 65 def get_location_address request(:get_location_address, Softlayer::Account::Address) end |
#get_location_reservation_member ⇒ Object
69 70 71 |
# File 'lib/softlayer/location.rb', line 69 def get_location_reservation_member request(:get_location_reservation_member, Softlayer::Location::Reservation::Rack::Member) end |
#get_location_status ⇒ Object
73 74 75 |
# File 'lib/softlayer/location.rb', line 73 def get_location_status request(:get_location_status, Softlayer::Location::Status) end |
#get_network_configuration_attribute ⇒ Object
77 78 79 |
# File 'lib/softlayer/location.rb', line 77 def get_network_configuration_attribute request(:get_network_configuration_attribute, Softlayer::Hardware::Attribute) end |
#get_object ⇒ Object
81 82 83 |
# File 'lib/softlayer/location.rb', line 81 def get_object request(:get_object, Softlayer::Location) end |
#get_online_pptp_vpn_user_count ⇒ Object
85 86 87 |
# File 'lib/softlayer/location.rb', line 85 def get_online_pptp_vpn_user_count request(:get_online_pptp_vpn_user_count, Integer) end |
#get_online_ssl_vpn_user_count ⇒ Object
89 90 91 |
# File 'lib/softlayer/location.rb', line 89 def get_online_ssl_vpn_user_count request(:get_online_ssl_vpn_user_count, Integer) end |
#get_path_string ⇒ Object
93 94 95 |
# File 'lib/softlayer/location.rb', line 93 def get_path_string request(:get_path_string, String) end |
#get_price_groups ⇒ Object
97 98 99 |
# File 'lib/softlayer/location.rb', line 97 def get_price_groups request(:get_price_groups, Array[Softlayer::Location::Group]) end |
#get_regions ⇒ Object
101 102 103 |
# File 'lib/softlayer/location.rb', line 101 def get_regions request(:get_regions, Array[Softlayer::Location::Region]) end |
#get_timezone ⇒ Object
105 106 107 |
# File 'lib/softlayer/location.rb', line 105 def get_timezone request(:get_timezone, Softlayer::Locale::Timezone) end |
#get_vdr_group ⇒ Object
109 110 111 |
# File 'lib/softlayer/location.rb', line 109 def get_vdr_group request(:get_vdr_group, Softlayer::Location::Group::Location::CrossReference) end |