Class: Softlayer::Location

Inherits:
Entity show all
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

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

Class Method Summary collapse

Instance Method Summary collapse

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_countObject

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_dependentsObject

Returns the value of attribute backbone_dependents.



26
27
28
# File 'lib/softlayer/location.rb', line 26

def backbone_dependents
  @backbone_dependents
end

#group_countObject

Returns the value of attribute group_count.



22
23
24
# File 'lib/softlayer/location.rb', line 22

def group_count
  @group_count
end

#groupsObject

Returns the value of attribute groups.



27
28
29
# File 'lib/softlayer/location.rb', line 27

def groups
  @groups
end

#hardware_firewall_countObject

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_firewallsObject

Returns the value of attribute hardware_firewalls.



28
29
30
# File 'lib/softlayer/location.rb', line 28

def hardware_firewalls
  @hardware_firewalls
end

#idObject

Returns the value of attribute id.



17
18
19
# File 'lib/softlayer/location.rb', line 17

def id
  @id
end

#location_addressObject

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_memberObject

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_statusObject

Returns the value of attribute location_status.



31
32
33
# File 'lib/softlayer/location.rb', line 31

def location_status
  @location_status
end

#long_nameObject

Returns the value of attribute long_name.



18
19
20
# File 'lib/softlayer/location.rb', line 18

def long_name
  @long_name
end

#nameObject

Returns the value of attribute name.



19
20
21
# File 'lib/softlayer/location.rb', line 19

def name
  @name
end

#network_configuration_attributeObject

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_countObject

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_countObject

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_stringObject

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_countObject

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_groupsObject

Returns the value of attribute price_groups.



36
37
38
# File 'lib/softlayer/location.rb', line 36

def price_groups
  @price_groups
end

#region_countObject

Returns the value of attribute region_count.



25
26
27
# File 'lib/softlayer/location.rb', line 25

def region_count
  @region_count
end

#regionsObject

Returns the value of attribute regions.



37
38
39
# File 'lib/softlayer/location.rb', line 37

def regions
  @regions
end

#status_idObject

Returns the value of attribute status_id.



20
21
22
# File 'lib/softlayer/location.rb', line 20

def status_id
  @status_id
end

#timezoneObject

Returns the value of attribute timezone.



38
39
40
# File 'lib/softlayer/location.rb', line 38

def timezone
  @timezone
end

#vdr_groupObject

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_datacentersObject



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_datacentersObject



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_recordObject



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_datacentersObject



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_centersObject



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

.get_viewablepoint_of_presenceObject



121
122
123
# File 'lib/softlayer/location.rb', line 121

def self.get_viewablepoint_of_presence
  request(:get_viewablepoint_of_presence, Array[Softlayer::Location])
end

.getpoint_of_presenceObject



125
126
127
# File 'lib/softlayer/location.rb', line 125

def self.getpoint_of_presence
  request(:getpoint_of_presence, Array[Softlayer::Location])
end

Instance Method Details

#get_backbone_dependentsObject



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_groupsObject



57
58
59
# File 'lib/softlayer/location.rb', line 57

def get_groups
  request(:get_groups, Array[Softlayer::Location::Group])
end

#get_hardware_firewallsObject



61
62
63
# File 'lib/softlayer/location.rb', line 61

def get_hardware_firewalls
  request(:get_hardware_firewalls, Array[Softlayer::Hardware])
end

#get_location_addressObject



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_memberObject



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_statusObject



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_attributeObject



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_objectObject



81
82
83
# File 'lib/softlayer/location.rb', line 81

def get_object
  request(:get_object, Softlayer::Location)
end

#get_online_pptp_vpn_user_countObject



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_countObject



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_stringObject



93
94
95
# File 'lib/softlayer/location.rb', line 93

def get_path_string
  request(:get_path_string, String)
end

#get_price_groupsObject



97
98
99
# File 'lib/softlayer/location.rb', line 97

def get_price_groups
  request(:get_price_groups, Array[Softlayer::Location::Group])
end

#get_regionsObject



101
102
103
# File 'lib/softlayer/location.rb', line 101

def get_regions
  request(:get_regions, Array[Softlayer::Location::Region])
end

#get_timezoneObject



105
106
107
# File 'lib/softlayer/location.rb', line 105

def get_timezone
  request(:get_timezone, Softlayer::Locale::Timezone)
end

#get_vdr_groupObject



109
110
111
# File 'lib/softlayer/location.rb', line 109

def get_vdr_group
  request(:get_vdr_group, Softlayer::Location::Group::Location::CrossReference)
end