Class: Softlayer::Hardware::SecurityModule

Inherits:
Softlayer::Hardware show all
Defined in:
lib/softlayer/hardware/security_module.rb

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Hardware_SecurityModule'

Instance Attribute Summary collapse

Attributes inherited from Softlayer::Hardware

#account, #account_id, #active_component_count, #active_components, #active_network_monitor_incident, #active_network_monitor_incident_count, #all_power_component_count, #all_power_components, #allowed_host, #allowed_network_storage, #allowed_network_storage_count, #allowed_network_storage_replica_count, #allowed_network_storage_replicas, #antivirus_spyware_software_component, #attribute_count, #attributes, #average_daily_public_bandwidth_usage, #backend_network_component_count, #backend_network_components, #backend_router_count, #backend_routers, #bandwidth_allocation, #bandwidth_allotment_detail, #bare_metal_instance_flag, #benchmark_certification_count, #benchmark_certifications, #billing_item, #billing_item_flag, #block_cancel_because_disconnected_flag, #business_continuance_insurance_flag, #component_count, #components, #continuous_data_protection_software_component, #current_billable_bandwidth_usage, #datacenter, #datacenter_name, #domain, #downlink_hardware, #downlink_hardware_count, #downlink_network_hardware, #downlink_network_hardware_count, #downlink_server_count, #downlink_servers, #downlink_virtual_guest_count, #downlink_virtual_guests, #downstream_hardware_binding_count, #downstream_hardware_bindings, #downstream_network_hardware, #downstream_network_hardware_count, #downstream_network_hardware_with_incident_count, #downstream_network_hardware_with_incidents, #downstream_server_count, #downstream_servers, #downstream_virtual_guest_count, #downstream_virtual_guests, #drive_controller_count, #drive_controllers, #evault_network_storage, #evault_network_storage_count, #firewall_service_component, #fixed_configuration_preset, #frontend_network_component_count, #frontend_network_components, #frontend_router_count, #frontend_routers, #fully_qualified_domain_name, #global_identifier, #hard_drive_count, #hard_drives, #hardware_chassis, #hardware_function, #hardware_function_description, #hardware_status, #hardware_status_id, #has_trusted_platform_module_billing_item_flag, #host_ips_software_component, #hostname, #hourly_billing_flag, #id, #inbound_bandwidth_usage, #inbound_public_bandwidth_usage, #last_transaction, #latest_network_monitor_incident, #location, #location_path_string, #lockbox_network_storage, #managed_resource_flag, #manufacturer_serial_number, #memory, #memory_capacity, #memory_count, #metric_tracking_object, #monitoring_agent_count, #monitoring_agents, #monitoring_robot, #monitoring_service_component, #monitoring_service_eligibility_flag, #monitoring_service_flag, #motherboard, #network_card_count, #network_cards, #network_component_count, #network_components, #network_gateway_member, #network_gateway_member_flag, #network_management_ip_address, #network_monitor_attached_down_hardware, #network_monitor_attached_down_hardware_count, #network_monitor_attached_down_virtual_guest_count, #network_monitor_attached_down_virtual_guests, #network_monitor_count, #network_monitor_incident_count, #network_monitor_incidents, #network_monitors, #network_status, #network_status_attribute, #network_storage, #network_storage_count, #network_vlan_count, #network_vlans, #next_billing_cycle_bandwidth_allocation, #notes, #notes_history, #notes_history_count, #operating_system, #operating_system_reference_code, #outbound_bandwidth_usage, #outbound_public_bandwidth_usage, #point_of_presence_location, #post_install_script_uri, #power_component_count, #power_components, #power_supply, #power_supply_count, #primary_backend_ip_address, #primary_backend_network_component, #primary_ip_address, #primary_network_component, #private_network_only_flag, #processor_core_amount, #processor_count, #processor_physical_core_amount, #processors, #provision_date, #rack, #raid_controller_count, #raid_controllers, #recent_event_count, #recent_events, #remote_management_account_count, #remote_management_accounts, #remote_management_component, #resource_group_count, #resource_group_member_reference_count, #resource_group_member_references, #resource_group_role_count, #resource_group_roles, #resource_groups, #router_count, #routers, #scale_asset_count, #scale_assets, #security_scan_request_count, #security_scan_requests, #serial_number, #server_room, #service_provider, #service_provider_id, #service_provider_resource_id, #software_component_count, #software_components, #spare_pool_billing_item, #ssh_key_count, #ssh_keys, #storage_network_component_count, #storage_network_components, #tag_reference_count, #tag_references, #top_level_location, #upgrade_request, #uplink_hardware, #uplink_network_component_count, #uplink_network_components, #user_data, #user_data_count, #virtual_chassis, #virtual_chassis_sibling_count, #virtual_chassis_siblings, #virtual_host, #virtual_license_count, #virtual_licenses, #virtual_rack, #virtual_rack_id, #virtual_rack_name, #virtualization_platform

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Model

all, all_request_for, create, find, parse, request, #request, #to_hash

Instance Attribute Details

#software_user_countObject

Returns the value of attribute software_user_count.



5
6
7
# File 'lib/softlayer/hardware/security_module.rb', line 5

def software_user_count
  @software_user_count
end

#software_usersObject

Returns the value of attribute software_users.



7
8
9
# File 'lib/softlayer/hardware/security_module.rb', line 7

def software_users
  @software_users
end

#user_countObject

Returns the value of attribute user_count.



6
7
8
# File 'lib/softlayer/hardware/security_module.rb', line 6

def user_count
  @user_count
end

#usersObject

Returns the value of attribute users.



8
9
10
# File 'lib/softlayer/hardware/security_module.rb', line 8

def users
  @users
end

Class Method Details

.create_object(template_object = nil) ⇒ Object



30
31
32
33
# File 'lib/softlayer/hardware/security_module.rb', line 30

def self.create_object(template_object = nil)
  message = {template_object: template_object}
  request(:create_object, Softlayer::Hardware::SecurityModule, message)
end

.find_by_ip_address(ip_address = nil) ⇒ Object



54
55
56
57
# File 'lib/softlayer/hardware/security_module.rb', line 54

def self.find_by_ip_address(ip_address = nil)
  message = {ip_address: ip_address}
  request(:find_by_ip_address, Softlayer::Hardware::SecurityModule, message)
end

.generate_order_template(template_object = nil) ⇒ Object



59
60
61
62
# File 'lib/softlayer/hardware/security_module.rb', line 59

def self.generate_order_template(template_object = nil)
  message = {template_object: template_object}
  request(:generate_order_template, Softlayer::Container::Product::Order, message)
end

.get_create_object_optionsObject



173
174
175
# File 'lib/softlayer/hardware/security_module.rb', line 173

def self.get_create_object_options
  request(:get_create_object_options, Softlayer::Container::Hardware::Configuration)
end

Instance Method Details

#allow_access_to_network_storage(network_storage_template_object = nil) ⇒ Object



10
11
12
13
# File 'lib/softlayer/hardware/security_module.rb', line 10

def allow_access_to_network_storage(network_storage_template_object = nil)
  message = {network_storage_template_object: network_storage_template_object}
  request(:allow_access_to_network_storage, Boolean, message)
end

#allow_access_to_network_storage_list(network_storage_template_objects = nil) ⇒ Object



15
16
17
18
# File 'lib/softlayer/hardware/security_module.rb', line 15

def allow_access_to_network_storage_list(network_storage_template_objects = nil)
  message = {network_storage_template_objects: network_storage_template_objects}
  request(:allow_access_to_network_storage_list, Boolean, message)
end

#capture_image(capture_template = nil) ⇒ Object



20
21
22
23
# File 'lib/softlayer/hardware/security_module.rb', line 20

def capture_image(capture_template = nil)
  message = {capture_template: capture_template}
  request(:capture_image, Softlayer::Virtual::Guest::Block::Device::Template::Group, message)
end

#close_alarm(alarm_id = nil) ⇒ Object



25
26
27
28
# File 'lib/softlayer/hardware/security_module.rb', line 25

def close_alarm(alarm_id = nil)
  message = {alarm_id: alarm_id}
  request(:close_alarm, Boolean, message)
end

#delete_objectObject



35
36
37
# File 'lib/softlayer/hardware/security_module.rb', line 35

def delete_object
  request(:delete_object, Boolean)
end

#delete_software_component_passwords(software_component_passwords = nil) ⇒ Object



39
40
41
42
# File 'lib/softlayer/hardware/security_module.rb', line 39

def delete_software_component_passwords(software_component_passwords = nil)
  message = {software_component_passwords: software_component_passwords}
  request(:delete_software_component_passwords, Boolean, message)
end

#edit_software_component_passwords(software_component_passwords = nil) ⇒ Object



44
45
46
47
# File 'lib/softlayer/hardware/security_module.rb', line 44

def edit_software_component_passwords(software_component_passwords = nil)
  message = {software_component_passwords: software_component_passwords}
  request(:edit_software_component_passwords, Boolean, message)
end

#execute_remote_script(uri = nil) ⇒ Object



49
50
51
52
# File 'lib/softlayer/hardware/security_module.rb', line 49

def execute_remote_script(uri = nil)
  message = {uri: uri}
  request(:execute_remote_script, nil, message)
end

#get_accountObject



64
65
66
# File 'lib/softlayer/hardware/security_module.rb', line 64

def 
  request(:get_account, Softlayer::Account)
end

#get_active_componentsObject



68
69
70
# File 'lib/softlayer/hardware/security_module.rb', line 68

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

#get_active_network_monitor_incidentObject



72
73
74
# File 'lib/softlayer/hardware/security_module.rb', line 72

def get_active_network_monitor_incident
  request(:get_active_network_monitor_incident, Array[Softlayer::Network::Monitor::Version1::Incident])
end

#get_alarm_history(start_date = nil, end_date = nil, alarm_id = nil) ⇒ Object



76
77
78
79
# File 'lib/softlayer/hardware/security_module.rb', line 76

def get_alarm_history(start_date = nil, end_date = nil, alarm_id = nil)
  message = {start_date: start_date, end_date: end_date, alarm_id: alarm_id}
  request(:get_alarm_history, Array[Softlayer::Container::Monitoring::Alarm::History], message)
end

#get_all_power_componentsObject



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

def get_all_power_components
  request(:get_all_power_components, Array[Softlayer::Hardware::Power::Component])
end

#get_allowed_hostObject



85
86
87
# File 'lib/softlayer/hardware/security_module.rb', line 85

def get_allowed_host
  request(:get_allowed_host, Softlayer::Network::Storage::Allowed::Host)
end

#get_allowed_network_storageObject



89
90
91
# File 'lib/softlayer/hardware/security_module.rb', line 89

def get_allowed_network_storage
  request(:get_allowed_network_storage, Array[Softlayer::Network::Storage])
end

#get_allowed_network_storage_replicasObject



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

def get_allowed_network_storage_replicas
  request(:get_allowed_network_storage_replicas, Array[Softlayer::Network::Storage])
end

#get_antivirus_spyware_software_componentObject



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

def get_antivirus_spyware_software_component
  request(:get_antivirus_spyware_software_component, Softlayer::Software::Component)
end

#get_attached_network_storages(nas_type = nil) ⇒ Object



101
102
103
104
# File 'lib/softlayer/hardware/security_module.rb', line 101

def get_attached_network_storages(nas_type = nil)
  message = {nas_type: nas_type}
  request(:get_attached_network_storages, Array[Softlayer::Network::Storage], message)
end

#get_attributesObject



106
107
108
# File 'lib/softlayer/hardware/security_module.rb', line 106

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

#get_available_network_storages(nas_type = nil) ⇒ Object



110
111
112
113
# File 'lib/softlayer/hardware/security_module.rb', line 110

def get_available_network_storages(nas_type = nil)
  message = {nas_type: nas_type}
  request(:get_available_network_storages, Array[Softlayer::Network::Storage], message)
end

#get_average_daily_public_bandwidth_usageObject



115
116
117
# File 'lib/softlayer/hardware/security_module.rb', line 115

def get_average_daily_public_bandwidth_usage
  request(:get_average_daily_public_bandwidth_usage, Float)
end

#get_backend_incoming_bandwidth(start_date = nil, end_date = nil) ⇒ Object



119
120
121
122
# File 'lib/softlayer/hardware/security_module.rb', line 119

def get_backend_incoming_bandwidth(start_date = nil, end_date = nil)
  message = {start_date: start_date, end_date: end_date}
  request(:get_backend_incoming_bandwidth, Float, message)
end

#get_backend_network_componentsObject



124
125
126
# File 'lib/softlayer/hardware/security_module.rb', line 124

def get_backend_network_components
  request(:get_backend_network_components, Array[Softlayer::Network::Component])
end

#get_backend_outgoing_bandwidth(start_date = nil, end_date = nil) ⇒ Object



128
129
130
131
# File 'lib/softlayer/hardware/security_module.rb', line 128

def get_backend_outgoing_bandwidth(start_date = nil, end_date = nil)
  message = {start_date: start_date, end_date: end_date}
  request(:get_backend_outgoing_bandwidth, Float, message)
end

#get_backend_routersObject



133
134
135
# File 'lib/softlayer/hardware/security_module.rb', line 133

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

#get_bandwidth_allocationObject



137
138
139
# File 'lib/softlayer/hardware/security_module.rb', line 137

def get_bandwidth_allocation
  request(:get_bandwidth_allocation, Float)
end

#get_bandwidth_allotment_detailObject



141
142
143
# File 'lib/softlayer/hardware/security_module.rb', line 141

def get_bandwidth_allotment_detail
  request(:get_bandwidth_allotment_detail, Softlayer::Network::Bandwidth::Version1::Allotment::Detail)
end

#get_benchmark_certificationsObject



145
146
147
# File 'lib/softlayer/hardware/security_module.rb', line 145

def get_benchmark_certifications
  request(:get_benchmark_certifications, Array[Softlayer::Hardware::Benchmark::Certification])
end

#get_billing_itemObject



149
150
151
# File 'lib/softlayer/hardware/security_module.rb', line 149

def get_billing_item
  request(:get_billing_item, Softlayer::Billing::Item::Hardware)
end

#get_billing_item_flagObject



153
154
155
# File 'lib/softlayer/hardware/security_module.rb', line 153

def get_billing_item_flag
  request(:get_billing_item_flag, Boolean)
end

#get_block_cancel_because_disconnected_flagObject



157
158
159
# File 'lib/softlayer/hardware/security_module.rb', line 157

def get_block_cancel_because_disconnected_flag
  request(:get_block_cancel_because_disconnected_flag, Boolean)
end

#get_business_continuance_insurance_flagObject



161
162
163
# File 'lib/softlayer/hardware/security_module.rb', line 161

def get_business_continuance_insurance_flag
  request(:get_business_continuance_insurance_flag, Boolean)
end

#get_componentsObject



165
166
167
# File 'lib/softlayer/hardware/security_module.rb', line 165

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

#get_continuous_data_protection_software_componentObject



169
170
171
# File 'lib/softlayer/hardware/security_module.rb', line 169

def get_continuous_data_protection_software_component
  request(:get_continuous_data_protection_software_component, Softlayer::Software::Component)
end

#get_current_billable_bandwidth_usageObject



177
178
179
# File 'lib/softlayer/hardware/security_module.rb', line 177

def get_current_billable_bandwidth_usage
  request(:get_current_billable_bandwidth_usage, Float)
end

#get_current_billing_detailObject



181
182
183
# File 'lib/softlayer/hardware/security_module.rb', line 181

def get_current_billing_detail
  request(:get_current_billing_detail, Array[Softlayer::Billing::Item])
end

#get_current_billing_totalObject



185
186
187
# File 'lib/softlayer/hardware/security_module.rb', line 185

def get_current_billing_total
  request(:get_current_billing_total, Float)
end

#get_daily_average(start_date = nil, end_date = nil) ⇒ Object



189
190
191
192
# File 'lib/softlayer/hardware/security_module.rb', line 189

def get_daily_average(start_date = nil, end_date = nil)
  message = {start_date: start_date, end_date: end_date}
  request(:get_daily_average, Float, message)
end

#get_datacenterObject



194
195
196
# File 'lib/softlayer/hardware/security_module.rb', line 194

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

#get_datacenter_nameObject



198
199
200
# File 'lib/softlayer/hardware/security_module.rb', line 198

def get_datacenter_name
  request(:get_datacenter_name, String)
end


202
203
204
# File 'lib/softlayer/hardware/security_module.rb', line 202

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


206
207
208
# File 'lib/softlayer/hardware/security_module.rb', line 206

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


210
211
212
# File 'lib/softlayer/hardware/security_module.rb', line 210

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


214
215
216
# File 'lib/softlayer/hardware/security_module.rb', line 214

def get_downlink_virtual_guests
  request(:get_downlink_virtual_guests, Array[Softlayer::Virtual::Guest])
end

#get_downstream_hardware_bindingsObject



218
219
220
# File 'lib/softlayer/hardware/security_module.rb', line 218

def get_downstream_hardware_bindings
  request(:get_downstream_hardware_bindings, Array[Softlayer::Network::Component::Uplink::Hardware])
end

#get_downstream_network_hardwareObject



222
223
224
# File 'lib/softlayer/hardware/security_module.rb', line 222

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

#get_downstream_network_hardware_with_incidentsObject



226
227
228
# File 'lib/softlayer/hardware/security_module.rb', line 226

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

#get_downstream_serversObject



230
231
232
# File 'lib/softlayer/hardware/security_module.rb', line 230

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

#get_downstream_virtual_guestsObject



234
235
236
# File 'lib/softlayer/hardware/security_module.rb', line 234

def get_downstream_virtual_guests
  request(:get_downstream_virtual_guests, Array[Softlayer::Virtual::Guest])
end

#get_drive_controllersObject



238
239
240
# File 'lib/softlayer/hardware/security_module.rb', line 238

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

#get_evault_network_storageObject



242
243
244
# File 'lib/softlayer/hardware/security_module.rb', line 242

def get_evault_network_storage
  request(:get_evault_network_storage, Array[Softlayer::Network::Storage])
end

#get_firewall_service_componentObject



246
247
248
# File 'lib/softlayer/hardware/security_module.rb', line 246

def get_firewall_service_component
  request(:get_firewall_service_component, Softlayer::Network::Component::Firewall)
end

#get_fixed_configuration_presetObject



250
251
252
# File 'lib/softlayer/hardware/security_module.rb', line 250

def get_fixed_configuration_preset
  request(:get_fixed_configuration_preset, Softlayer::Product::Package::Preset)
end

#get_frontend_incoming_bandwidth(start_date = nil, end_date = nil) ⇒ Object



254
255
256
257
# File 'lib/softlayer/hardware/security_module.rb', line 254

def get_frontend_incoming_bandwidth(start_date = nil, end_date = nil)
  message = {start_date: start_date, end_date: end_date}
  request(:get_frontend_incoming_bandwidth, Float, message)
end

#get_frontend_network_componentsObject



259
260
261
# File 'lib/softlayer/hardware/security_module.rb', line 259

def get_frontend_network_components
  request(:get_frontend_network_components, Array[Softlayer::Network::Component])
end

#get_frontend_outgoing_bandwidth(start_date = nil, end_date = nil) ⇒ Object



263
264
265
266
# File 'lib/softlayer/hardware/security_module.rb', line 263

def get_frontend_outgoing_bandwidth(start_date = nil, end_date = nil)
  message = {start_date: start_date, end_date: end_date}
  request(:get_frontend_outgoing_bandwidth, Float, message)
end

#get_frontend_routersObject



268
269
270
# File 'lib/softlayer/hardware/security_module.rb', line 268

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

#get_global_identifierObject



272
273
274
# File 'lib/softlayer/hardware/security_module.rb', line 272

def get_global_identifier
  request(:get_global_identifier, String)
end

#get_hard_drivesObject



276
277
278
# File 'lib/softlayer/hardware/security_module.rb', line 276

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

#get_hardware_chassisObject



280
281
282
# File 'lib/softlayer/hardware/security_module.rb', line 280

def get_hardware_chassis
  request(:get_hardware_chassis, Softlayer::Hardware::Chassis)
end

#get_hardware_functionObject



284
285
286
# File 'lib/softlayer/hardware/security_module.rb', line 284

def get_hardware_function
  request(:get_hardware_function, Softlayer::Hardware::Function)
end

#get_hardware_function_descriptionObject



288
289
290
# File 'lib/softlayer/hardware/security_module.rb', line 288

def get_hardware_function_description
  request(:get_hardware_function_description, String)
end

#get_hardware_statusObject



292
293
294
# File 'lib/softlayer/hardware/security_module.rb', line 292

def get_hardware_status
  request(:get_hardware_status, Softlayer::Hardware::Status)
end

#get_has_trusted_platform_module_billing_item_flagObject



296
297
298
# File 'lib/softlayer/hardware/security_module.rb', line 296

def get_has_trusted_platform_module_billing_item_flag
  request(:get_has_trusted_platform_module_billing_item_flag, Boolean)
end

#get_host_ips_software_componentObject



300
301
302
# File 'lib/softlayer/hardware/security_module.rb', line 300

def get_host_ips_software_component
  request(:get_host_ips_software_component, Softlayer::Software::Component)
end

#get_hourly_bandwidth(mode = nil, day = nil) ⇒ Object



304
305
306
307
# File 'lib/softlayer/hardware/security_module.rb', line 304

def get_hourly_bandwidth(mode = nil, day = nil)
  message = {mode: mode, day: day}
  request(:get_hourly_bandwidth, Array[Softlayer::Metric::Tracking::Object::Data], message)
end

#get_hourly_billing_flagObject



309
310
311
# File 'lib/softlayer/hardware/security_module.rb', line 309

def get_hourly_billing_flag
  request(:get_hourly_billing_flag, Boolean)
end

#get_inbound_bandwidth_usageObject



313
314
315
# File 'lib/softlayer/hardware/security_module.rb', line 313

def get_inbound_bandwidth_usage
  request(:get_inbound_bandwidth_usage, Float)
end

#get_inbound_public_bandwidth_usageObject



317
318
319
# File 'lib/softlayer/hardware/security_module.rb', line 317

def get_inbound_public_bandwidth_usage
  request(:get_inbound_public_bandwidth_usage, Float)
end

#get_last_transactionObject



321
322
323
# File 'lib/softlayer/hardware/security_module.rb', line 321

def get_last_transaction
  request(:get_last_transaction, Softlayer::Provisioning::Version1::Transaction)
end

#get_latest_network_monitor_incidentObject



325
326
327
# File 'lib/softlayer/hardware/security_module.rb', line 325

def get_latest_network_monitor_incident
  request(:get_latest_network_monitor_incident, Softlayer::Network::Monitor::Version1::Incident)
end

#get_locationObject



329
330
331
# File 'lib/softlayer/hardware/security_module.rb', line 329

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

#get_location_path_stringObject



333
334
335
# File 'lib/softlayer/hardware/security_module.rb', line 333

def get_location_path_string
  request(:get_location_path_string, String)
end

#get_lockbox_network_storageObject



337
338
339
# File 'lib/softlayer/hardware/security_module.rb', line 337

def get_lockbox_network_storage
  request(:get_lockbox_network_storage, Softlayer::Network::Storage)
end

#get_managed_resource_flagObject



341
342
343
# File 'lib/softlayer/hardware/security_module.rb', line 341

def get_managed_resource_flag
  request(:get_managed_resource_flag, Boolean)
end

#get_memoryObject



345
346
347
# File 'lib/softlayer/hardware/security_module.rb', line 345

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

#get_memory_capacityObject



349
350
351
# File 'lib/softlayer/hardware/security_module.rb', line 349

def get_memory_capacity
  request(:get_memory_capacity, Integer)
end

#get_metric_tracking_objectObject



353
354
355
# File 'lib/softlayer/hardware/security_module.rb', line 353

def get_metric_tracking_object
  request(:get_metric_tracking_object, Softlayer::Metric::Tracking::Object::HardwareServer)
end

#get_monitoring_active_alarms(start_date = nil, end_date = nil) ⇒ Object



357
358
359
360
# File 'lib/softlayer/hardware/security_module.rb', line 357

def get_monitoring_active_alarms(start_date = nil, end_date = nil)
  message = {start_date: start_date, end_date: end_date}
  request(:get_monitoring_active_alarms, Array[Softlayer::Container::Monitoring::Alarm::History], message)
end

#get_monitoring_agentsObject



362
363
364
# File 'lib/softlayer/hardware/security_module.rb', line 362

def get_monitoring_agents
  request(:get_monitoring_agents, Array[Softlayer::Monitoring::Agent])
end

#get_monitoring_closed_alarms(start_date = nil, end_date = nil) ⇒ Object



366
367
368
369
# File 'lib/softlayer/hardware/security_module.rb', line 366

def get_monitoring_closed_alarms(start_date = nil, end_date = nil)
  message = {start_date: start_date, end_date: end_date}
  request(:get_monitoring_closed_alarms, Array[Softlayer::Container::Monitoring::Alarm::History], message)
end

#get_monitoring_robotObject



371
372
373
# File 'lib/softlayer/hardware/security_module.rb', line 371

def get_monitoring_robot
  request(:get_monitoring_robot, Softlayer::Monitoring::Robot)
end

#get_monitoring_service_componentObject



375
376
377
# File 'lib/softlayer/hardware/security_module.rb', line 375

def get_monitoring_service_component
  request(:get_monitoring_service_component, Softlayer::Network::Monitor::Version1::Query::Host::Stratum)
end

#get_monitoring_service_eligibility_flagObject



379
380
381
# File 'lib/softlayer/hardware/security_module.rb', line 379

def get_monitoring_service_eligibility_flag
  request(:get_monitoring_service_eligibility_flag, Boolean)
end

#get_monitoring_service_flagObject



383
384
385
# File 'lib/softlayer/hardware/security_module.rb', line 383

def get_monitoring_service_flag
  request(:get_monitoring_service_flag, Boolean)
end

#get_motherboardObject



387
388
389
# File 'lib/softlayer/hardware/security_module.rb', line 387

def get_motherboard
  request(:get_motherboard, Softlayer::Hardware::Component)
end

#get_network_cardsObject



391
392
393
# File 'lib/softlayer/hardware/security_module.rb', line 391

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

#get_network_componentsObject



395
396
397
# File 'lib/softlayer/hardware/security_module.rb', line 395

def get_network_components
  request(:get_network_components, Array[Softlayer::Network::Component])
end

#get_network_gateway_memberObject



399
400
401
# File 'lib/softlayer/hardware/security_module.rb', line 399

def get_network_gateway_member
  request(:get_network_gateway_member, Softlayer::Network::Gateway::Member)
end

#get_network_gateway_member_flagObject



403
404
405
# File 'lib/softlayer/hardware/security_module.rb', line 403

def get_network_gateway_member_flag
  request(:get_network_gateway_member_flag, Boolean)
end

#get_network_management_ip_addressObject



407
408
409
# File 'lib/softlayer/hardware/security_module.rb', line 407

def get_network_management_ip_address
  request(:get_network_management_ip_address, String)
end

#get_network_monitor_attached_down_hardwareObject



411
412
413
# File 'lib/softlayer/hardware/security_module.rb', line 411

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

#get_network_monitor_attached_down_virtual_guestsObject



415
416
417
# File 'lib/softlayer/hardware/security_module.rb', line 415

def get_network_monitor_attached_down_virtual_guests
  request(:get_network_monitor_attached_down_virtual_guests, Array[Softlayer::Virtual::Guest])
end

#get_network_monitor_incidentsObject



419
420
421
# File 'lib/softlayer/hardware/security_module.rb', line 419

def get_network_monitor_incidents
  request(:get_network_monitor_incidents, Array[Softlayer::Network::Monitor::Version1::Incident])
end

#get_network_monitorsObject



423
424
425
# File 'lib/softlayer/hardware/security_module.rb', line 423

def get_network_monitors
  request(:get_network_monitors, Array[Softlayer::Network::Monitor::Version1::Query::Host])
end

#get_network_statusObject



427
428
429
# File 'lib/softlayer/hardware/security_module.rb', line 427

def get_network_status
  request(:get_network_status, String)
end

#get_network_status_attributeObject



431
432
433
# File 'lib/softlayer/hardware/security_module.rb', line 431

def get_network_status_attribute
  request(:get_network_status_attribute, Softlayer::Hardware::Attribute)
end

#get_network_storageObject



435
436
437
# File 'lib/softlayer/hardware/security_module.rb', line 435

def get_network_storage
  request(:get_network_storage, Array[Softlayer::Network::Storage])
end

#get_network_vlansObject



439
440
441
# File 'lib/softlayer/hardware/security_module.rb', line 439

def get_network_vlans
  request(:get_network_vlans, Array[Softlayer::Network::Vlan])
end

#get_next_billing_cycle_bandwidth_allocationObject



443
444
445
# File 'lib/softlayer/hardware/security_module.rb', line 443

def get_next_billing_cycle_bandwidth_allocation
  request(:get_next_billing_cycle_bandwidth_allocation, Float)
end

#get_notes_historyObject



447
448
449
# File 'lib/softlayer/hardware/security_module.rb', line 447

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

#get_objectObject



451
452
453
# File 'lib/softlayer/hardware/security_module.rb', line 451

def get_object
  request(:get_object, Softlayer::Hardware::SecurityModule)
end

#get_operating_systemObject



455
456
457
# File 'lib/softlayer/hardware/security_module.rb', line 455

def get_operating_system
  request(:get_operating_system, Softlayer::Software::Component::OperatingSystem)
end

#get_operating_system_reference_codeObject



459
460
461
# File 'lib/softlayer/hardware/security_module.rb', line 459

def get_operating_system_reference_code
  request(:get_operating_system_reference_code, String)
end

#get_outbound_bandwidth_usageObject



463
464
465
# File 'lib/softlayer/hardware/security_module.rb', line 463

def get_outbound_bandwidth_usage
  request(:get_outbound_bandwidth_usage, Float)
end

#get_outbound_public_bandwidth_usageObject



467
468
469
# File 'lib/softlayer/hardware/security_module.rb', line 467

def get_outbound_public_bandwidth_usage
  request(:get_outbound_public_bandwidth_usage, Float)
end

#get_point_of_presence_locationObject



471
472
473
# File 'lib/softlayer/hardware/security_module.rb', line 471

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

#get_power_componentsObject



475
476
477
# File 'lib/softlayer/hardware/security_module.rb', line 475

def get_power_components
  request(:get_power_components, Array[Softlayer::Hardware::Power::Component])
end

#get_power_supplyObject



479
480
481
# File 'lib/softlayer/hardware/security_module.rb', line 479

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

#get_primary_backend_ip_addressObject



483
484
485
# File 'lib/softlayer/hardware/security_module.rb', line 483

def get_primary_backend_ip_address
  request(:get_primary_backend_ip_address, String)
end

#get_primary_backend_network_componentObject



487
488
489
# File 'lib/softlayer/hardware/security_module.rb', line 487

def get_primary_backend_network_component
  request(:get_primary_backend_network_component, Softlayer::Network::Component)
end

#get_primary_ip_addressObject



491
492
493
# File 'lib/softlayer/hardware/security_module.rb', line 491

def get_primary_ip_address
  request(:get_primary_ip_address, String)
end

#get_primary_network_componentObject



495
496
497
# File 'lib/softlayer/hardware/security_module.rb', line 495

def get_primary_network_component
  request(:get_primary_network_component, Softlayer::Network::Component)
end

#get_private_bandwidth_data(start_time = nil, end_time = nil) ⇒ Object



499
500
501
502
# File 'lib/softlayer/hardware/security_module.rb', line 499

def get_private_bandwidth_data(start_time = nil, end_time = nil)
  message = {start_time: start_time, end_time: end_time}
  request(:get_private_bandwidth_data, Array[Softlayer::Metric::Tracking::Object::Data], message)
end

#get_private_network_only_flagObject



504
505
506
# File 'lib/softlayer/hardware/security_module.rb', line 504

def get_private_network_only_flag
  request(:get_private_network_only_flag, Boolean)
end

#get_processor_core_amountObject



508
509
510
# File 'lib/softlayer/hardware/security_module.rb', line 508

def get_processor_core_amount
  request(:get_processor_core_amount, Integer)
end

#get_processor_physical_core_amountObject



512
513
514
# File 'lib/softlayer/hardware/security_module.rb', line 512

def get_processor_physical_core_amount
  request(:get_processor_physical_core_amount, Integer)
end

#get_processorsObject



516
517
518
# File 'lib/softlayer/hardware/security_module.rb', line 516

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

#get_public_bandwidth_data(start_time = nil, end_time = nil) ⇒ Object



520
521
522
523
# File 'lib/softlayer/hardware/security_module.rb', line 520

def get_public_bandwidth_data(start_time = nil, end_time = nil)
  message = {start_time: start_time, end_time: end_time}
  request(:get_public_bandwidth_data, Array[Softlayer::Metric::Tracking::Object::Data], message)
end

#get_rackObject



525
526
527
# File 'lib/softlayer/hardware/security_module.rb', line 525

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

#get_raid_controllersObject



529
530
531
# File 'lib/softlayer/hardware/security_module.rb', line 529

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

#get_recent_eventsObject



533
534
535
# File 'lib/softlayer/hardware/security_module.rb', line 533

def get_recent_events
  request(:get_recent_events, Array[Softlayer::Notification::Occurrence::Event])
end

#get_remote_management_accountsObject



537
538
539
# File 'lib/softlayer/hardware/security_module.rb', line 537

def get_remote_management_accounts
  request(:get_remote_management_accounts, Array[Softlayer::Hardware::Component::RemoteManagement::User])
end

#get_remote_management_componentObject



541
542
543
# File 'lib/softlayer/hardware/security_module.rb', line 541

def get_remote_management_component
  request(:get_remote_management_component, Softlayer::Network::Component)
end

#get_resource_group_member_referencesObject



545
546
547
# File 'lib/softlayer/hardware/security_module.rb', line 545

def get_resource_group_member_references
  request(:get_resource_group_member_references, Array[Softlayer::Resource::Group::Member])
end

#get_resource_group_rolesObject



549
550
551
# File 'lib/softlayer/hardware/security_module.rb', line 549

def get_resource_group_roles
  request(:get_resource_group_roles, Array[Softlayer::Resource::Group::Role])
end

#get_resource_groupsObject



553
554
555
# File 'lib/softlayer/hardware/security_module.rb', line 553

def get_resource_groups
  request(:get_resource_groups, Array[Softlayer::Resource::Group])
end

#get_routersObject



557
558
559
# File 'lib/softlayer/hardware/security_module.rb', line 557

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

#get_scale_assetsObject



561
562
563
# File 'lib/softlayer/hardware/security_module.rb', line 561

def get_scale_assets
  request(:get_scale_assets, Array[Softlayer::Scale::Asset])
end

#get_security_scan_requestsObject



565
566
567
# File 'lib/softlayer/hardware/security_module.rb', line 565

def get_security_scan_requests
  request(:get_security_scan_requests, Array[Softlayer::Network::Security::Scanner::Request])
end

#get_sensor_dataObject



569
570
571
# File 'lib/softlayer/hardware/security_module.rb', line 569

def get_sensor_data
  request(:get_sensor_data, Array[Softlayer::Container::RemoteManagement::SensorReading])
end

#get_sensor_data_with_graphsObject



573
574
575
# File 'lib/softlayer/hardware/security_module.rb', line 573

def get_sensor_data_with_graphs
  request(:get_sensor_data_with_graphs, Softlayer::Container::RemoteManagement::SensorReadingsWithGraphs)
end

#get_server_fan_speed_graphsObject



577
578
579
# File 'lib/softlayer/hardware/security_module.rb', line 577

def get_server_fan_speed_graphs
  request(:get_server_fan_speed_graphs, Array[Softlayer::Container::RemoteManagement::Graphs::SensorSpeed])
end

#get_server_power_stateObject



581
582
583
# File 'lib/softlayer/hardware/security_module.rb', line 581

def get_server_power_state
  request(:get_server_power_state, String)
end

#get_server_roomObject



585
586
587
# File 'lib/softlayer/hardware/security_module.rb', line 585

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

#get_server_temperature_graphsObject



589
590
591
# File 'lib/softlayer/hardware/security_module.rb', line 589

def get_server_temperature_graphs
  request(:get_server_temperature_graphs, Array[Softlayer::Container::RemoteManagement::Graphs::SensorTemperature])
end

#get_service_providerObject



593
594
595
# File 'lib/softlayer/hardware/security_module.rb', line 593

def get_service_provider
  request(:get_service_provider, Softlayer::Service::Provider)
end

#get_software_componentsObject



597
598
599
# File 'lib/softlayer/hardware/security_module.rb', line 597

def get_software_components
  request(:get_software_components, Array[Softlayer::Software::Component])
end

#get_software_usersObject



601
602
603
# File 'lib/softlayer/hardware/security_module.rb', line 601

def get_software_users
  request(:get_software_users, Array[Softlayer::Software::Component::Password])
end

#get_spare_pool_billing_itemObject



605
606
607
# File 'lib/softlayer/hardware/security_module.rb', line 605

def get_spare_pool_billing_item
  request(:get_spare_pool_billing_item, Softlayer::Billing::Item::Hardware)
end

#get_ssh_keysObject



609
610
611
# File 'lib/softlayer/hardware/security_module.rb', line 609

def get_ssh_keys
  request(:get_ssh_keys, Array[Softlayer::Security::Ssh::Key])
end

#get_storage_network_componentsObject



613
614
615
# File 'lib/softlayer/hardware/security_module.rb', line 613

def get_storage_network_components
  request(:get_storage_network_components, Array[Softlayer::Network::Component])
end

#get_tag_referencesObject



617
618
619
# File 'lib/softlayer/hardware/security_module.rb', line 617

def get_tag_references
  request(:get_tag_references, Array[Softlayer::Tag::Reference])
end

#get_top_level_locationObject



621
622
623
# File 'lib/softlayer/hardware/security_module.rb', line 621

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

#get_transaction_historyObject



625
626
627
# File 'lib/softlayer/hardware/security_module.rb', line 625

def get_transaction_history
  request(:get_transaction_history, Array[Softlayer::Provisioning::Version1::Transaction::History])
end

#get_upgrade_item_pricesObject



629
630
631
# File 'lib/softlayer/hardware/security_module.rb', line 629

def get_upgrade_item_prices
  request(:get_upgrade_item_prices, Array[Softlayer::Product::Item::Price])
end

#get_upgrade_requestObject



633
634
635
# File 'lib/softlayer/hardware/security_module.rb', line 633

def get_upgrade_request
  request(:get_upgrade_request, Softlayer::Product::Upgrade::Request)
end


637
638
639
# File 'lib/softlayer/hardware/security_module.rb', line 637

def get_uplink_hardware
  request(:get_uplink_hardware, Softlayer::Hardware)
end


641
642
643
# File 'lib/softlayer/hardware/security_module.rb', line 641

def get_uplink_network_components
  request(:get_uplink_network_components, Array[Softlayer::Network::Component])
end

#get_user_dataObject



645
646
647
# File 'lib/softlayer/hardware/security_module.rb', line 645

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

#get_usersObject



649
650
651
# File 'lib/softlayer/hardware/security_module.rb', line 649

def get_users
  request(:get_users, Array[Softlayer::User::Customer])
end

#get_virtual_chassisObject



653
654
655
# File 'lib/softlayer/hardware/security_module.rb', line 653

def get_virtual_chassis
  request(:get_virtual_chassis, Softlayer::Hardware::Group)
end

#get_virtual_chassis_siblingsObject



657
658
659
# File 'lib/softlayer/hardware/security_module.rb', line 657

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

#get_virtual_hostObject



661
662
663
# File 'lib/softlayer/hardware/security_module.rb', line 661

def get_virtual_host
  request(:get_virtual_host, Softlayer::Virtual::Host)
end

#get_virtual_licensesObject



665
666
667
# File 'lib/softlayer/hardware/security_module.rb', line 665

def get_virtual_licenses
  request(:get_virtual_licenses, Array[Softlayer::Software::VirtualLicense])
end

#get_virtual_rackObject



669
670
671
# File 'lib/softlayer/hardware/security_module.rb', line 669

def get_virtual_rack
  request(:get_virtual_rack, Softlayer::Network::Bandwidth::Version1::Allotment)
end

#get_virtual_rack_idObject



673
674
675
# File 'lib/softlayer/hardware/security_module.rb', line 673

def get_virtual_rack_id
  request(:get_virtual_rack_id, Integer)
end

#get_virtual_rack_nameObject



677
678
679
# File 'lib/softlayer/hardware/security_module.rb', line 677

def get_virtual_rack_name
  request(:get_virtual_rack_name, String)
end

#get_virtualization_platformObject



681
682
683
# File 'lib/softlayer/hardware/security_module.rb', line 681

def get_virtualization_platform
  request(:get_virtualization_platform, Softlayer::Software::Component)
end

#import_virtual_hostObject



685
686
687
# File 'lib/softlayer/hardware/security_module.rb', line 685

def import_virtual_host
  request(:import_virtual_host, Softlayer::Virtual::Host)
end

#is_pingableObject



689
690
691
# File 'lib/softlayer/hardware/security_module.rb', line 689

def is_pingable
  request(:is_pingable, Boolean)
end

#pingObject



693
694
695
# File 'lib/softlayer/hardware/security_module.rb', line 693

def ping
  request(:ping, String)
end

#power_cycleObject



697
698
699
# File 'lib/softlayer/hardware/security_module.rb', line 697

def power_cycle
  request(:power_cycle, Boolean)
end

#power_offObject



701
702
703
# File 'lib/softlayer/hardware/security_module.rb', line 701

def power_off
  request(:power_off, Boolean)
end

#power_onObject



705
706
707
# File 'lib/softlayer/hardware/security_module.rb', line 705

def power_on
  request(:power_on, Boolean)
end

#reboot_defaultObject



709
710
711
# File 'lib/softlayer/hardware/security_module.rb', line 709

def reboot_default
  request(:reboot_default, Boolean)
end

#reboot_hardObject



713
714
715
# File 'lib/softlayer/hardware/security_module.rb', line 713

def reboot_hard
  request(:reboot_hard, Boolean)
end

#reboot_softObject



717
718
719
# File 'lib/softlayer/hardware/security_module.rb', line 717

def reboot_soft
  request(:reboot_soft, Boolean)
end

#remove_access_to_network_storage(network_storage_template_object = nil) ⇒ Object



721
722
723
724
# File 'lib/softlayer/hardware/security_module.rb', line 721

def remove_access_to_network_storage(network_storage_template_object = nil)
  message = {network_storage_template_object: network_storage_template_object}
  request(:remove_access_to_network_storage, Boolean, message)
end

#remove_access_to_network_storage_list(network_storage_template_objects = nil) ⇒ Object



726
727
728
729
# File 'lib/softlayer/hardware/security_module.rb', line 726

def remove_access_to_network_storage_list(network_storage_template_objects = nil)
  message = {network_storage_template_objects: network_storage_template_objects}
  request(:remove_access_to_network_storage_list, Boolean, message)
end

#set_tags(tags = nil) ⇒ Object



731
732
733
734
# File 'lib/softlayer/hardware/security_module.rb', line 731

def set_tags(tags = nil)
  message = {tags: tags}
  request(:set_tags, Boolean, message)
end