softlayer 0.0.14 → 0.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/data/.services_cache +35 -23
- data/data/Account.wsdl +81 -0
- data/data/Hardware_SecurityModule.wsdl +2321 -365
- data/data/Network_Bandwidth_Version1_Allotment.wsdl +3 -1
- data/data/Network_Storage_Schedule.wsdl +25 -0
- data/data/User_Customer_Invitation.wsdl +99 -0
- data/data/User_Customer_OpenIdConnect.wsdl +2582 -0
- data/data/Utility_Network.wsdl +0 -63
- data/data/types.xsd +115 -16
- data/lib/softlayer/account.rb +24 -0
- data/lib/softlayer/hardware/security_module.rb +393 -16
- data/lib/softlayer/network/bandwidth/version1/allotment.rb +1 -1
- data/lib/softlayer/network/service/resource/monitoring_hub.rb +2 -0
- data/lib/softlayer/network/storage/schedule.rb +7 -0
- data/lib/softlayer/software/component/security/safe_net.rb +15 -0
- data/lib/softlayer/software/component/security.rb +14 -0
- data/lib/softlayer/software/component.rb +1 -0
- data/lib/softlayer/user/customer/invitation.rb +49 -0
- data/lib/softlayer/user/customer/open_id_connect.rb +535 -0
- data/lib/softlayer/user/customer.rb +4 -2
- data/lib/softlayer/utility/network.rb +0 -15
- data/lib/softlayer/version.rb +1 -1
- metadata +9 -3
| @@ -1,11 +1,15 @@ | |
| 1 1 | 
             
            module Softlayer
         | 
| 2 2 | 
             
              class Hardware
         | 
| 3 | 
            -
                class SecurityModule < Softlayer::Hardware
         | 
| 3 | 
            +
                class SecurityModule < Softlayer::Hardware::Server
         | 
| 4 4 | 
             
                  SERVICE = 'SoftLayer_Hardware_SecurityModule'
         | 
| 5 | 
            -
             | 
| 6 | 
            -
                   | 
| 7 | 
            -
             | 
| 8 | 
            -
                   | 
| 5 | 
            +
             | 
| 6 | 
            +
                  def activate_private_port
         | 
| 7 | 
            +
                    request(:activate_private_port, Boolean)
         | 
| 8 | 
            +
                  end
         | 
| 9 | 
            +
             | 
| 10 | 
            +
                  def activate_public_port
         | 
| 11 | 
            +
                    request(:activate_public_port, Boolean)
         | 
| 12 | 
            +
                  end
         | 
| 9 13 |  | 
| 10 14 | 
             
                  # network_storage_template_object
         | 
| 11 15 | 
             
                  def allow_access_to_network_storage(message)
         | 
| @@ -17,6 +21,11 @@ module Softlayer | |
| 17 21 | 
             
                    request(:allow_access_to_network_storage_list, Boolean, message)
         | 
| 18 22 | 
             
                  end
         | 
| 19 23 |  | 
| 24 | 
            +
                  # no_os_boot_environment
         | 
| 25 | 
            +
                  def boot_to_rescue_layer(message)
         | 
| 26 | 
            +
                    request(:boot_to_rescue_layer, Boolean, message)
         | 
| 27 | 
            +
                  end
         | 
| 28 | 
            +
             | 
| 20 29 | 
             
                  # capture_template
         | 
| 21 30 | 
             
                  def capture_image(message)
         | 
| 22 31 | 
             
                    request(:capture_image, Softlayer::Virtual::Guest::Block::Device::Template::Group, message)
         | 
| @@ -27,11 +36,25 @@ module Softlayer | |
| 27 36 | 
             
                    request(:close_alarm, Boolean, message)
         | 
| 28 37 | 
             
                  end
         | 
| 29 38 |  | 
| 39 | 
            +
                  # ipmi
         | 
| 40 | 
            +
                  # raid_controller
         | 
| 41 | 
            +
                  # bios
         | 
| 42 | 
            +
                  # harddrive
         | 
| 43 | 
            +
                  def create_firmware_update_transaction(message)
         | 
| 44 | 
            +
                    request(:create_firmware_update_transaction, Boolean, message)
         | 
| 45 | 
            +
                  end
         | 
| 46 | 
            +
             | 
| 30 47 | 
             
                  # template_object
         | 
| 31 48 | 
             
                  def self.create_object(message)
         | 
| 32 49 | 
             
                    request(:create_object, Softlayer::Hardware::SecurityModule, message)
         | 
| 33 50 | 
             
                  end
         | 
| 34 51 |  | 
| 52 | 
            +
                  # install_codes
         | 
| 53 | 
            +
                  # return_boolean
         | 
| 54 | 
            +
                  def create_post_software_install_transaction(message)
         | 
| 55 | 
            +
                    request(:create_post_software_install_transaction, Boolean, message)
         | 
| 56 | 
            +
                  end
         | 
| 57 | 
            +
             | 
| 35 58 | 
             
                  def delete_object
         | 
| 36 59 | 
             
                    request(:delete_object, Boolean)
         | 
| 37 60 | 
             
                  end
         | 
| @@ -41,6 +64,11 @@ module Softlayer | |
| 41 64 | 
             
                    request(:delete_software_component_passwords, Boolean, message)
         | 
| 42 65 | 
             
                  end
         | 
| 43 66 |  | 
| 67 | 
            +
                  # template_object
         | 
| 68 | 
            +
                  def edit_object(message)
         | 
| 69 | 
            +
                    request(:edit_object, Boolean, message)
         | 
| 70 | 
            +
                  end
         | 
| 71 | 
            +
             | 
| 44 72 | 
             
                  # software_component_passwords
         | 
| 45 73 | 
             
                  def edit_software_component_passwords(message)
         | 
| 46 74 | 
             
                    request(:edit_software_component_passwords, Boolean, message)
         | 
| @@ -69,10 +97,26 @@ module Softlayer | |
| 69 97 | 
             
                    request(:get_active_components, Array[Softlayer::Hardware::Component])
         | 
| 70 98 | 
             
                  end
         | 
| 71 99 |  | 
| 100 | 
            +
                  def get_active_network_firewall_billing_item
         | 
| 101 | 
            +
                    request(:get_active_network_firewall_billing_item, Softlayer::Billing::Item)
         | 
| 102 | 
            +
                  end
         | 
| 103 | 
            +
             | 
| 72 104 | 
             
                  def get_active_network_monitor_incident
         | 
| 73 105 | 
             
                    request(:get_active_network_monitor_incident, Array[Softlayer::Network::Monitor::Version1::Incident])
         | 
| 74 106 | 
             
                  end
         | 
| 75 107 |  | 
| 108 | 
            +
                  def get_active_tickets
         | 
| 109 | 
            +
                    request(:get_active_tickets, Array[Softlayer::Ticket])
         | 
| 110 | 
            +
                  end
         | 
| 111 | 
            +
             | 
| 112 | 
            +
                  def get_active_transaction
         | 
| 113 | 
            +
                    request(:get_active_transaction, Softlayer::Provisioning::Version1::Transaction)
         | 
| 114 | 
            +
                  end
         | 
| 115 | 
            +
             | 
| 116 | 
            +
                  def get_active_transactions
         | 
| 117 | 
            +
                    request(:get_active_transactions, Array[Softlayer::Provisioning::Version1::Transaction])
         | 
| 118 | 
            +
                  end
         | 
| 119 | 
            +
             | 
| 76 120 | 
             
                  # start_date
         | 
| 77 121 | 
             
                  # end_date
         | 
| 78 122 | 
             
                  # alarm_id
         | 
| @@ -109,15 +153,39 @@ module Softlayer | |
| 109 153 | 
             
                    request(:get_attributes, Array[Softlayer::Hardware::Attribute])
         | 
| 110 154 | 
             
                  end
         | 
| 111 155 |  | 
| 156 | 
            +
                  def get_available_monitoring
         | 
| 157 | 
            +
                    request(:get_available_monitoring, Array[Softlayer::Network::Monitor::Version1::Query::Host::Stratum])
         | 
| 158 | 
            +
                  end
         | 
| 159 | 
            +
             | 
| 112 160 | 
             
                  # nas_type
         | 
| 113 161 | 
             
                  def get_available_network_storages(message)
         | 
| 114 162 | 
             
                    request(:get_available_network_storages, Array[Softlayer::Network::Storage], message)
         | 
| 115 163 | 
             
                  end
         | 
| 116 164 |  | 
| 165 | 
            +
                  def get_average_daily_bandwidth_usage
         | 
| 166 | 
            +
                    request(:get_average_daily_bandwidth_usage, Float)
         | 
| 167 | 
            +
                  end
         | 
| 168 | 
            +
             | 
| 169 | 
            +
                  def get_average_daily_private_bandwidth_usage
         | 
| 170 | 
            +
                    request(:get_average_daily_private_bandwidth_usage, Float)
         | 
| 171 | 
            +
                  end
         | 
| 172 | 
            +
             | 
| 117 173 | 
             
                  def get_average_daily_public_bandwidth_usage
         | 
| 118 174 | 
             
                    request(:get_average_daily_public_bandwidth_usage, Float)
         | 
| 119 175 | 
             
                  end
         | 
| 120 176 |  | 
| 177 | 
            +
                  # start_date
         | 
| 178 | 
            +
                  # end_date
         | 
| 179 | 
            +
                  def get_backend_bandwidth_usage(message)
         | 
| 180 | 
            +
                    request(:get_backend_bandwidth_usage, Array[Softlayer::Metric::Tracking::Object::Data], message)
         | 
| 181 | 
            +
                  end
         | 
| 182 | 
            +
             | 
| 183 | 
            +
                  # start_date
         | 
| 184 | 
            +
                  # end_date
         | 
| 185 | 
            +
                  def get_backend_bandwidth_use(message)
         | 
| 186 | 
            +
                    request(:get_backend_bandwidth_use, Array[Softlayer::Network::Bandwidth::Version1::Usage::Detail], message)
         | 
| 187 | 
            +
                  end
         | 
| 188 | 
            +
             | 
| 121 189 | 
             
                  # start_date
         | 
| 122 190 | 
             
                  # end_date
         | 
| 123 191 | 
             
                  def get_backend_incoming_bandwidth(message)
         | 
| @@ -146,10 +214,36 @@ module Softlayer | |
| 146 214 | 
             
                    request(:get_bandwidth_allotment_detail, Softlayer::Network::Bandwidth::Version1::Allotment::Detail)
         | 
| 147 215 | 
             
                  end
         | 
| 148 216 |  | 
| 217 | 
            +
                  # start_date
         | 
| 218 | 
            +
                  # end_date
         | 
| 219 | 
            +
                  def get_bandwidth_for_date_range(message)
         | 
| 220 | 
            +
                    request(:get_bandwidth_for_date_range, Array[Softlayer::Metric::Tracking::Object::Data], message)
         | 
| 221 | 
            +
                  end
         | 
| 222 | 
            +
             | 
| 223 | 
            +
                  # network_type
         | 
| 224 | 
            +
                  # snapshot_range
         | 
| 225 | 
            +
                  # draw
         | 
| 226 | 
            +
                  # date_specified
         | 
| 227 | 
            +
                  def get_bandwidth_image(message)
         | 
| 228 | 
            +
                    request(:get_bandwidth_image, Softlayer::Container::Bandwidth::GraphOutputs, message)
         | 
| 229 | 
            +
                  end
         | 
| 230 | 
            +
             | 
| 149 231 | 
             
                  def get_benchmark_certifications
         | 
| 150 232 | 
             
                    request(:get_benchmark_certifications, Array[Softlayer::Hardware::Benchmark::Certification])
         | 
| 151 233 | 
             
                  end
         | 
| 152 234 |  | 
| 235 | 
            +
                  def get_billing_cycle_bandwidth_usage
         | 
| 236 | 
            +
                    request(:get_billing_cycle_bandwidth_usage, Array[Softlayer::Network::Bandwidth::Usage])
         | 
| 237 | 
            +
                  end
         | 
| 238 | 
            +
             | 
| 239 | 
            +
                  def get_billing_cycle_private_bandwidth_usage
         | 
| 240 | 
            +
                    request(:get_billing_cycle_private_bandwidth_usage, Softlayer::Network::Bandwidth::Usage)
         | 
| 241 | 
            +
                  end
         | 
| 242 | 
            +
             | 
| 243 | 
            +
                  def get_billing_cycle_public_bandwidth_usage
         | 
| 244 | 
            +
                    request(:get_billing_cycle_public_bandwidth_usage, Softlayer::Network::Bandwidth::Usage)
         | 
| 245 | 
            +
                  end
         | 
| 246 | 
            +
             | 
| 153 247 | 
             
                  def get_billing_item
         | 
| 154 248 | 
             
                    request(:get_billing_item, Softlayer::Billing::Item::Hardware)
         | 
| 155 249 | 
             
                  end
         | 
| @@ -170,14 +264,34 @@ module Softlayer | |
| 170 264 | 
             
                    request(:get_components, Array[Softlayer::Hardware::Component])
         | 
| 171 265 | 
             
                  end
         | 
| 172 266 |  | 
| 267 | 
            +
                  def get_contains_solid_state_drives_flag
         | 
| 268 | 
            +
                    request(:get_contains_solid_state_drives_flag, Boolean)
         | 
| 269 | 
            +
                  end
         | 
| 270 | 
            +
             | 
| 173 271 | 
             
                  def get_continuous_data_protection_software_component
         | 
| 174 272 | 
             
                    request(:get_continuous_data_protection_software_component, Softlayer::Software::Component)
         | 
| 175 273 | 
             
                  end
         | 
| 176 274 |  | 
| 275 | 
            +
                  def get_control_panel
         | 
| 276 | 
            +
                    request(:get_control_panel, Softlayer::Software::Component::ControlPanel)
         | 
| 277 | 
            +
                  end
         | 
| 278 | 
            +
             | 
| 279 | 
            +
                  def get_cost
         | 
| 280 | 
            +
                    request(:get_cost, Float)
         | 
| 281 | 
            +
                  end
         | 
| 282 | 
            +
             | 
| 177 283 | 
             
                  def self.get_create_object_options
         | 
| 178 284 | 
             
                    request(:get_create_object_options, Softlayer::Container::Hardware::Configuration)
         | 
| 179 285 | 
             
                  end
         | 
| 180 286 |  | 
| 287 | 
            +
                  def get_current_bandwidth_summary
         | 
| 288 | 
            +
                    request(:get_current_bandwidth_summary, Softlayer::Metric::Tracking::Object::Bandwidth::Summary)
         | 
| 289 | 
            +
                  end
         | 
| 290 | 
            +
             | 
| 291 | 
            +
                  def get_current_benchmark_certification_result_file
         | 
| 292 | 
            +
                    request(:get_current_benchmark_certification_result_file, Softlayer::Base64Binary)
         | 
| 293 | 
            +
                  end
         | 
| 294 | 
            +
             | 
| 181 295 | 
             
                  def get_current_billable_bandwidth_usage
         | 
| 182 296 | 
             
                    request(:get_current_billable_bandwidth_usage, Float)
         | 
| 183 297 | 
             
                  end
         | 
| @@ -190,6 +304,19 @@ module Softlayer | |
| 190 304 | 
             
                    request(:get_current_billing_total, Float)
         | 
| 191 305 | 
             
                  end
         | 
| 192 306 |  | 
| 307 | 
            +
                  # graph_data
         | 
| 308 | 
            +
                  def get_custom_bandwidth_data_by_date(message)
         | 
| 309 | 
            +
                    request(:get_custom_bandwidth_data_by_date, Softlayer::Container::Graph, message)
         | 
| 310 | 
            +
                  end
         | 
| 311 | 
            +
             | 
| 312 | 
            +
                  def get_customer_installed_operating_system_flag
         | 
| 313 | 
            +
                    request(:get_customer_installed_operating_system_flag, Boolean)
         | 
| 314 | 
            +
                  end
         | 
| 315 | 
            +
             | 
| 316 | 
            +
                  def get_customer_owned_flag
         | 
| 317 | 
            +
                    request(:get_customer_owned_flag, Boolean)
         | 
| 318 | 
            +
                  end
         | 
| 319 | 
            +
             | 
| 193 320 | 
             
                  # start_date
         | 
| 194 321 | 
             
                  # end_date
         | 
| 195 322 | 
             
                  def get_daily_average(message)
         | 
| @@ -248,6 +375,10 @@ module Softlayer | |
| 248 375 | 
             
                    request(:get_evault_network_storage, Array[Softlayer::Network::Storage])
         | 
| 249 376 | 
             
                  end
         | 
| 250 377 |  | 
| 378 | 
            +
                  def get_firewall_protectable_subnets
         | 
| 379 | 
            +
                    request(:get_firewall_protectable_subnets, Array[Softlayer::Network::Subnet])
         | 
| 380 | 
            +
                  end
         | 
| 381 | 
            +
             | 
| 251 382 | 
             
                  def get_firewall_service_component
         | 
| 252 383 | 
             
                    request(:get_firewall_service_component, Softlayer::Network::Component::Firewall)
         | 
| 253 384 | 
             
                  end
         | 
| @@ -256,6 +387,18 @@ module Softlayer | |
| 256 387 | 
             
                    request(:get_fixed_configuration_preset, Softlayer::Product::Package::Preset)
         | 
| 257 388 | 
             
                  end
         | 
| 258 389 |  | 
| 390 | 
            +
                  # start_date
         | 
| 391 | 
            +
                  # end_date
         | 
| 392 | 
            +
                  def get_frontend_bandwidth_usage(message)
         | 
| 393 | 
            +
                    request(:get_frontend_bandwidth_usage, Array[Softlayer::Metric::Tracking::Object::Data], message)
         | 
| 394 | 
            +
                  end
         | 
| 395 | 
            +
             | 
| 396 | 
            +
                  # start_date
         | 
| 397 | 
            +
                  # end_date
         | 
| 398 | 
            +
                  def get_frontend_bandwidth_use(message)
         | 
| 399 | 
            +
                    request(:get_frontend_bandwidth_use, Array[Softlayer::Network::Bandwidth::Version1::Usage::Detail], message)
         | 
| 400 | 
            +
                  end
         | 
| 401 | 
            +
             | 
| 259 402 | 
             
                  # start_date
         | 
| 260 403 | 
             
                  # end_date
         | 
| 261 404 | 
             
                  def get_frontend_incoming_bandwidth(message)
         | 
| @@ -284,6 +427,11 @@ module Softlayer | |
| 284 427 | 
             
                    request(:get_hard_drives, Array[Softlayer::Hardware::Component])
         | 
| 285 428 | 
             
                  end
         | 
| 286 429 |  | 
| 430 | 
            +
                  # ip_address
         | 
| 431 | 
            +
                  def self.get_hardware_by_ip_address(message)
         | 
| 432 | 
            +
                    request(:get_hardware_by_ip_address, Softlayer::Hardware::SecurityModule, message)
         | 
| 433 | 
            +
                  end
         | 
| 434 | 
            +
             | 
| 287 435 | 
             
                  def get_hardware_chassis
         | 
| 288 436 | 
             
                    request(:get_hardware_chassis, Softlayer::Hardware::Chassis)
         | 
| 289 437 | 
             
                  end
         | 
| @@ -322,10 +470,25 @@ module Softlayer | |
| 322 470 | 
             
                    request(:get_inbound_bandwidth_usage, Float)
         | 
| 323 471 | 
             
                  end
         | 
| 324 472 |  | 
| 473 | 
            +
                  def get_inbound_private_bandwidth_usage
         | 
| 474 | 
            +
                    request(:get_inbound_private_bandwidth_usage, Float)
         | 
| 475 | 
            +
                  end
         | 
| 476 | 
            +
             | 
| 325 477 | 
             
                  def get_inbound_public_bandwidth_usage
         | 
| 326 478 | 
             
                    request(:get_inbound_public_bandwidth_usage, Float)
         | 
| 327 479 | 
             
                  end
         | 
| 328 480 |  | 
| 481 | 
            +
                  # software_descriptions
         | 
| 482 | 
            +
                  # include_translations_flag
         | 
| 483 | 
            +
                  # return_all_prices_flag
         | 
| 484 | 
            +
                  def get_item_prices_from_software_descriptions(message)
         | 
| 485 | 
            +
                    request(:get_item_prices_from_software_descriptions, Array[Softlayer::Product::Item], message)
         | 
| 486 | 
            +
                  end
         | 
| 487 | 
            +
             | 
| 488 | 
            +
                  def get_last_operating_system_reload
         | 
| 489 | 
            +
                    request(:get_last_operating_system_reload, Softlayer::Provisioning::Version1::Transaction)
         | 
| 490 | 
            +
                  end
         | 
| 491 | 
            +
             | 
| 329 492 | 
             
                  def get_last_transaction
         | 
| 330 493 | 
             
                    request(:get_last_transaction, Softlayer::Provisioning::Version1::Transaction)
         | 
| 331 494 | 
             
                  end
         | 
| @@ -350,6 +513,10 @@ module Softlayer | |
| 350 513 | 
             
                    request(:get_managed_resource_flag, Boolean)
         | 
| 351 514 | 
             
                  end
         | 
| 352 515 |  | 
| 516 | 
            +
                  def get_management_network_component
         | 
| 517 | 
            +
                    request(:get_management_network_component, Softlayer::Network::Component)
         | 
| 518 | 
            +
                  end
         | 
| 519 | 
            +
             | 
| 353 520 | 
             
                  def get_memory
         | 
| 354 521 | 
             
                    request(:get_memory, Array[Softlayer::Hardware::Component])
         | 
| 355 522 | 
             
                  end
         | 
| @@ -362,6 +529,10 @@ module Softlayer | |
| 362 529 | 
             
                    request(:get_metric_tracking_object, Softlayer::Metric::Tracking::Object::HardwareServer)
         | 
| 363 530 | 
             
                  end
         | 
| 364 531 |  | 
| 532 | 
            +
                  def get_metric_tracking_object_id
         | 
| 533 | 
            +
                    request(:get_metric_tracking_object_id, Integer)
         | 
| 534 | 
            +
                  end
         | 
| 535 | 
            +
             | 
| 365 536 | 
             
                  # start_date
         | 
| 366 537 | 
             
                  # end_date
         | 
| 367 538 | 
             
                  def get_monitoring_active_alarms(message)
         | 
| @@ -394,6 +565,10 @@ module Softlayer | |
| 394 565 | 
             
                    request(:get_monitoring_service_flag, Boolean)
         | 
| 395 566 | 
             
                  end
         | 
| 396 567 |  | 
| 568 | 
            +
                  def get_monitoring_user_notification
         | 
| 569 | 
            +
                    request(:get_monitoring_user_notification, Array[Softlayer::User::Customer::Notification::Hardware])
         | 
| 570 | 
            +
                  end
         | 
| 571 | 
            +
             | 
| 397 572 | 
             
                  def get_motherboard
         | 
| 398 573 | 
             
                    request(:get_motherboard, Softlayer::Hardware::Component)
         | 
| 399 574 | 
             
                  end
         | 
| @@ -402,6 +577,10 @@ module Softlayer | |
| 402 577 | 
             
                    request(:get_network_cards, Array[Softlayer::Hardware::Component])
         | 
| 403 578 | 
             
                  end
         | 
| 404 579 |  | 
| 580 | 
            +
                  def get_network_component_firewall_protectable_ip_addresses
         | 
| 581 | 
            +
                    request(:get_network_component_firewall_protectable_ip_addresses, Array[Softlayer::Network::Subnet::IpAddress])
         | 
| 582 | 
            +
                  end
         | 
| 583 | 
            +
             | 
| 405 584 | 
             
                  def get_network_components
         | 
| 406 585 | 
             
                    request(:get_network_components, Array[Softlayer::Network::Component])
         | 
| 407 586 | 
             
                  end
         | 
| @@ -462,6 +641,10 @@ module Softlayer | |
| 462 641 | 
             
                    request(:get_object, Softlayer::Hardware::SecurityModule)
         | 
| 463 642 | 
             
                  end
         | 
| 464 643 |  | 
| 644 | 
            +
                  def get_open_cancellation_ticket
         | 
| 645 | 
            +
                    request(:get_open_cancellation_ticket, Softlayer::Ticket)
         | 
| 646 | 
            +
                  end
         | 
| 647 | 
            +
             | 
| 465 648 | 
             
                  def get_operating_system
         | 
| 466 649 | 
             
                    request(:get_operating_system, Softlayer::Software::Component::OperatingSystem)
         | 
| 467 650 | 
             
                  end
         | 
| @@ -474,10 +657,22 @@ module Softlayer | |
| 474 657 | 
             
                    request(:get_outbound_bandwidth_usage, Float)
         | 
| 475 658 | 
             
                  end
         | 
| 476 659 |  | 
| 660 | 
            +
                  def get_outbound_private_bandwidth_usage
         | 
| 661 | 
            +
                    request(:get_outbound_private_bandwidth_usage, Float)
         | 
| 662 | 
            +
                  end
         | 
| 663 | 
            +
             | 
| 477 664 | 
             
                  def get_outbound_public_bandwidth_usage
         | 
| 478 665 | 
             
                    request(:get_outbound_public_bandwidth_usage, Float)
         | 
| 479 666 | 
             
                  end
         | 
| 480 667 |  | 
| 668 | 
            +
                  def get_over_bandwidth_allocation_flag
         | 
| 669 | 
            +
                    request(:get_over_bandwidth_allocation_flag, Integer)
         | 
| 670 | 
            +
                  end
         | 
| 671 | 
            +
             | 
| 672 | 
            +
                  def self.get_pm_info
         | 
| 673 | 
            +
                    request(:get_pm_info, nil)
         | 
| 674 | 
            +
                  end
         | 
| 675 | 
            +
             | 
| 481 676 | 
             
                  def get_point_of_presence_location
         | 
| 482 677 | 
             
                    request(:get_point_of_presence_location, Softlayer::Location)
         | 
| 483 678 | 
             
                  end
         | 
| @@ -498,6 +693,10 @@ module Softlayer | |
| 498 693 | 
             
                    request(:get_primary_backend_network_component, Softlayer::Network::Component)
         | 
| 499 694 | 
             
                  end
         | 
| 500 695 |  | 
| 696 | 
            +
                  def get_primary_drive_size
         | 
| 697 | 
            +
                    request(:get_primary_drive_size, Integer)
         | 
| 698 | 
            +
                  end
         | 
| 699 | 
            +
             | 
| 501 700 | 
             
                  def get_primary_ip_address
         | 
| 502 701 | 
             
                    request(:get_primary_ip_address, String)
         | 
| 503 702 | 
             
                  end
         | 
| @@ -512,10 +711,37 @@ module Softlayer | |
| 512 711 | 
             
                    request(:get_private_bandwidth_data, Array[Softlayer::Metric::Tracking::Object::Data], message)
         | 
| 513 712 | 
             
                  end
         | 
| 514 713 |  | 
| 714 | 
            +
                  def get_private_bandwidth_data_summary
         | 
| 715 | 
            +
                    request(:get_private_bandwidth_data_summary, Softlayer::Container::Network::Bandwidth::Data::Summary)
         | 
| 716 | 
            +
                  end
         | 
| 717 | 
            +
             | 
| 718 | 
            +
                  # start_time
         | 
| 719 | 
            +
                  # end_time
         | 
| 720 | 
            +
                  def get_private_bandwidth_graph_image(message)
         | 
| 721 | 
            +
                    request(:get_private_bandwidth_graph_image, Softlayer::Base64Binary, message)
         | 
| 722 | 
            +
                  end
         | 
| 723 | 
            +
             | 
| 724 | 
            +
                  def get_private_ip_address
         | 
| 725 | 
            +
                    request(:get_private_ip_address, String)
         | 
| 726 | 
            +
                  end
         | 
| 727 | 
            +
             | 
| 728 | 
            +
                  def get_private_network_component
         | 
| 729 | 
            +
                    request(:get_private_network_component, Softlayer::Network::Component)
         | 
| 730 | 
            +
                  end
         | 
| 731 | 
            +
             | 
| 515 732 | 
             
                  def get_private_network_only_flag
         | 
| 516 733 | 
             
                    request(:get_private_network_only_flag, Boolean)
         | 
| 517 734 | 
             
                  end
         | 
| 518 735 |  | 
| 736 | 
            +
                  def get_private_vlan
         | 
| 737 | 
            +
                    request(:get_private_vlan, Softlayer::Network::Vlan)
         | 
| 738 | 
            +
                  end
         | 
| 739 | 
            +
             | 
| 740 | 
            +
                  # ip_address
         | 
| 741 | 
            +
                  def self.get_private_vlan_by_ip_address(message)
         | 
| 742 | 
            +
                    request(:get_private_vlan_by_ip_address, Softlayer::Network::Vlan, message)
         | 
| 743 | 
            +
                  end
         | 
| 744 | 
            +
             | 
| 519 745 | 
             
                  def get_processor_core_amount
         | 
| 520 746 | 
             
                    request(:get_processor_core_amount, Integer)
         | 
| 521 747 | 
             
                  end
         | 
| @@ -528,12 +754,53 @@ module Softlayer | |
| 528 754 | 
             
                    request(:get_processors, Array[Softlayer::Hardware::Component])
         | 
| 529 755 | 
             
                  end
         | 
| 530 756 |  | 
| 757 | 
            +
                  def get_projected_over_bandwidth_allocation_flag
         | 
| 758 | 
            +
                    request(:get_projected_over_bandwidth_allocation_flag, Integer)
         | 
| 759 | 
            +
                  end
         | 
| 760 | 
            +
             | 
| 761 | 
            +
                  def get_projected_public_bandwidth_usage
         | 
| 762 | 
            +
                    request(:get_projected_public_bandwidth_usage, Float)
         | 
| 763 | 
            +
                  end
         | 
| 764 | 
            +
             | 
| 765 | 
            +
                  def get_provision_date
         | 
| 766 | 
            +
                    request(:get_provision_date, DateTime)
         | 
| 767 | 
            +
                  end
         | 
| 768 | 
            +
             | 
| 531 769 | 
             
                  # start_time
         | 
| 532 770 | 
             
                  # end_time
         | 
| 533 771 | 
             
                  def get_public_bandwidth_data(message)
         | 
| 534 772 | 
             
                    request(:get_public_bandwidth_data, Array[Softlayer::Metric::Tracking::Object::Data], message)
         | 
| 535 773 | 
             
                  end
         | 
| 536 774 |  | 
| 775 | 
            +
                  def get_public_bandwidth_data_summary
         | 
| 776 | 
            +
                    request(:get_public_bandwidth_data_summary, Softlayer::Container::Network::Bandwidth::Data::Summary)
         | 
| 777 | 
            +
                  end
         | 
| 778 | 
            +
             | 
| 779 | 
            +
                  # start_time
         | 
| 780 | 
            +
                  # end_time
         | 
| 781 | 
            +
                  def get_public_bandwidth_graph_image(message)
         | 
| 782 | 
            +
                    request(:get_public_bandwidth_graph_image, Softlayer::Base64Binary, message)
         | 
| 783 | 
            +
                  end
         | 
| 784 | 
            +
             | 
| 785 | 
            +
                  # start_time
         | 
| 786 | 
            +
                  # end_time
         | 
| 787 | 
            +
                  def get_public_bandwidth_total(message)
         | 
| 788 | 
            +
                    request(:get_public_bandwidth_total, BigDecimal, message)
         | 
| 789 | 
            +
                  end
         | 
| 790 | 
            +
             | 
| 791 | 
            +
                  def get_public_network_component
         | 
| 792 | 
            +
                    request(:get_public_network_component, Softlayer::Network::Component)
         | 
| 793 | 
            +
                  end
         | 
| 794 | 
            +
             | 
| 795 | 
            +
                  def get_public_vlan
         | 
| 796 | 
            +
                    request(:get_public_vlan, Softlayer::Network::Vlan)
         | 
| 797 | 
            +
                  end
         | 
| 798 | 
            +
             | 
| 799 | 
            +
                  # hostname
         | 
| 800 | 
            +
                  def self.get_public_vlan_by_hostname(message)
         | 
| 801 | 
            +
                    request(:get_public_vlan_by_hostname, Softlayer::Network::Vlan, message)
         | 
| 802 | 
            +
                  end
         | 
| 803 | 
            +
             | 
| 537 804 | 
             
                  def get_rack
         | 
| 538 805 | 
             
                    request(:get_rack, Softlayer::Location)
         | 
| 539 806 | 
             
                  end
         | 
| @@ -546,6 +813,18 @@ module Softlayer | |
| 546 813 | 
             
                    request(:get_recent_events, Array[Softlayer::Notification::Occurrence::Event])
         | 
| 547 814 | 
             
                  end
         | 
| 548 815 |  | 
| 816 | 
            +
                  def get_recent_remote_management_commands
         | 
| 817 | 
            +
                    request(:get_recent_remote_management_commands, Array[Softlayer::Hardware::Component::RemoteManagement::Command::Request])
         | 
| 818 | 
            +
                  end
         | 
| 819 | 
            +
             | 
| 820 | 
            +
                  def get_regional_internet_registry
         | 
| 821 | 
            +
                    request(:get_regional_internet_registry, Softlayer::Network::Regional::Internet::Registry)
         | 
| 822 | 
            +
                  end
         | 
| 823 | 
            +
             | 
| 824 | 
            +
                  def get_remote_management
         | 
| 825 | 
            +
                    request(:get_remote_management, Softlayer::Hardware::Component::RemoteManagement)
         | 
| 826 | 
            +
                  end
         | 
| 827 | 
            +
             | 
| 549 828 | 
             
                  def get_remote_management_accounts
         | 
| 550 829 | 
             
                    request(:get_remote_management_accounts, Array[Softlayer::Hardware::Component::RemoteManagement::User])
         | 
| 551 830 | 
             
                  end
         | 
| @@ -554,6 +833,10 @@ module Softlayer | |
| 554 833 | 
             
                    request(:get_remote_management_component, Softlayer::Network::Component)
         | 
| 555 834 | 
             
                  end
         | 
| 556 835 |  | 
| 836 | 
            +
                  def get_remote_management_users
         | 
| 837 | 
            +
                    request(:get_remote_management_users, Array[Softlayer::Hardware::Component::RemoteManagement::User])
         | 
| 838 | 
            +
                  end
         | 
| 839 | 
            +
             | 
| 557 840 | 
             
                  def get_resource_group_member_references
         | 
| 558 841 | 
             
                    request(:get_resource_group_member_references, Array[Softlayer::Resource::Group::Member])
         | 
| 559 842 | 
             
                  end
         | 
| @@ -566,6 +849,10 @@ module Softlayer | |
| 566 849 | 
             
                    request(:get_resource_groups, Array[Softlayer::Resource::Group])
         | 
| 567 850 | 
             
                  end
         | 
| 568 851 |  | 
| 852 | 
            +
                  def get_reverse_domain_records
         | 
| 853 | 
            +
                    request(:get_reverse_domain_records, Array[Softlayer::Dns::Domain])
         | 
| 854 | 
            +
                  end
         | 
| 855 | 
            +
             | 
| 569 856 | 
             
                  def get_routers
         | 
| 570 857 | 
             
                    request(:get_routers, Array[Softlayer::Hardware])
         | 
| 571 858 | 
             
                  end
         | 
| @@ -586,6 +873,10 @@ module Softlayer | |
| 586 873 | 
             
                    request(:get_sensor_data_with_graphs, Softlayer::Container::RemoteManagement::SensorReadingsWithGraphs)
         | 
| 587 874 | 
             
                  end
         | 
| 588 875 |  | 
| 876 | 
            +
                  def get_server_details
         | 
| 877 | 
            +
                    request(:get_server_details, Softlayer::Container::Hardware::Server::Details)
         | 
| 878 | 
            +
                  end
         | 
| 879 | 
            +
             | 
| 589 880 | 
             
                  def get_server_fan_speed_graphs
         | 
| 590 881 | 
             
                    request(:get_server_fan_speed_graphs, Array[Softlayer::Container::RemoteManagement::Graphs::SensorSpeed])
         | 
| 591 882 | 
             
                  end
         | 
| @@ -610,18 +901,14 @@ module Softlayer | |
| 610 901 | 
             
                    request(:get_software_components, Array[Softlayer::Software::Component])
         | 
| 611 902 | 
             
                  end
         | 
| 612 903 |  | 
| 613 | 
            -
                  def get_software_users
         | 
| 614 | 
            -
                    request(:get_software_users, Array[Softlayer::Software::Component::Password])
         | 
| 615 | 
            -
                  end
         | 
| 616 | 
            -
             | 
| 617 | 
            -
                  def get_spare_pool_billing_item
         | 
| 618 | 
            -
                    request(:get_spare_pool_billing_item, Softlayer::Billing::Item::Hardware)
         | 
| 619 | 
            -
                  end
         | 
| 620 | 
            -
             | 
| 621 904 | 
             
                  def get_ssh_keys
         | 
| 622 905 | 
             
                    request(:get_ssh_keys, Array[Softlayer::Security::Ssh::Key])
         | 
| 623 906 | 
             
                  end
         | 
| 624 907 |  | 
| 908 | 
            +
                  def get_statistics_remote_management
         | 
| 909 | 
            +
                    request(:get_statistics_remote_management, Softlayer::Hardware::Component::RemoteManagement)
         | 
| 910 | 
            +
                  end
         | 
| 911 | 
            +
             | 
| 625 912 | 
             
                  def get_storage_network_components
         | 
| 626 913 | 
             
                    request(:get_storage_network_components, Array[Softlayer::Network::Component])
         | 
| 627 914 | 
             
                  end
         | 
| @@ -662,6 +949,11 @@ module Softlayer | |
| 662 949 | 
             
                    request(:get_users, Array[Softlayer::User::Customer])
         | 
| 663 950 | 
             
                  end
         | 
| 664 951 |  | 
| 952 | 
            +
                  # visibility
         | 
| 953 | 
            +
                  def get_valid_block_device_template_groups(message)
         | 
| 954 | 
            +
                    request(:get_valid_block_device_template_groups, Array[Softlayer::Virtual::Guest::Block::Device::Template::Group], message)
         | 
| 955 | 
            +
                  end
         | 
| 956 | 
            +
             | 
| 665 957 | 
             
                  def get_virtual_chassis
         | 
| 666 958 | 
             
                    request(:get_virtual_chassis, Softlayer::Hardware::Group)
         | 
| 667 959 | 
             
                  end
         | 
| @@ -670,6 +962,10 @@ module Softlayer | |
| 670 962 | 
             
                    request(:get_virtual_chassis_siblings, Array[Softlayer::Hardware])
         | 
| 671 963 | 
             
                  end
         | 
| 672 964 |  | 
| 965 | 
            +
                  def get_virtual_guests
         | 
| 966 | 
            +
                    request(:get_virtual_guests, Array[Softlayer::Virtual::Guest])
         | 
| 967 | 
            +
                  end
         | 
| 968 | 
            +
             | 
| 673 969 | 
             
                  def get_virtual_host
         | 
| 674 970 | 
             
                    request(:get_virtual_host, Softlayer::Virtual::Host)
         | 
| 675 971 | 
             
                  end
         | 
| @@ -694,14 +990,42 @@ module Softlayer | |
| 694 990 | 
             
                    request(:get_virtualization_platform, Softlayer::Software::Component)
         | 
| 695 991 | 
             
                  end
         | 
| 696 992 |  | 
| 993 | 
            +
                  def get_windows_update_available_updates
         | 
| 994 | 
            +
                    request(:get_windows_update_available_updates, Array[Softlayer::Container::Utility::Microsoft::Windows::UpdateServices::UpdateItem])
         | 
| 995 | 
            +
                  end
         | 
| 996 | 
            +
             | 
| 997 | 
            +
                  def get_windows_update_installed_updates
         | 
| 998 | 
            +
                    request(:get_windows_update_installed_updates, Array[Softlayer::Container::Utility::Microsoft::Windows::UpdateServices::UpdateItem])
         | 
| 999 | 
            +
                  end
         | 
| 1000 | 
            +
             | 
| 1001 | 
            +
                  def get_windows_update_status
         | 
| 1002 | 
            +
                    request(:get_windows_update_status, Softlayer::Container::Utility::Microsoft::Windows::UpdateServices::Status)
         | 
| 1003 | 
            +
                  end
         | 
| 1004 | 
            +
             | 
| 697 1005 | 
             
                  def import_virtual_host
         | 
| 698 1006 | 
             
                    request(:import_virtual_host, Softlayer::Virtual::Host)
         | 
| 699 1007 | 
             
                  end
         | 
| 700 1008 |  | 
| 1009 | 
            +
                  def initiate_idera_bare_metal_restore
         | 
| 1010 | 
            +
                    request(:initiate_idera_bare_metal_restore, Boolean)
         | 
| 1011 | 
            +
                  end
         | 
| 1012 | 
            +
             | 
| 1013 | 
            +
                  def initiate_r1_soft_bare_metal_restore
         | 
| 1014 | 
            +
                    request(:initiate_r1_soft_bare_metal_restore, Boolean)
         | 
| 1015 | 
            +
                  end
         | 
| 1016 | 
            +
             | 
| 1017 | 
            +
                  def is_backend_pingable
         | 
| 1018 | 
            +
                    request(:is_backend_pingable, Boolean)
         | 
| 1019 | 
            +
                  end
         | 
| 1020 | 
            +
             | 
| 701 1021 | 
             
                  def is_pingable
         | 
| 702 1022 | 
             
                    request(:is_pingable, Boolean)
         | 
| 703 1023 | 
             
                  end
         | 
| 704 1024 |  | 
| 1025 | 
            +
                  def is_windows_server
         | 
| 1026 | 
            +
                    request(:is_windows_server, Boolean)
         | 
| 1027 | 
            +
                  end
         | 
| 1028 | 
            +
             | 
| 705 1029 | 
             
                  def ping
         | 
| 706 1030 | 
             
                    request(:ping, String)
         | 
| 707 1031 | 
             
                  end
         | 
| @@ -730,6 +1054,17 @@ module Softlayer | |
| 730 1054 | 
             
                    request(:reboot_soft, Boolean)
         | 
| 731 1055 | 
             
                  end
         | 
| 732 1056 |  | 
| 1057 | 
            +
                  # token
         | 
| 1058 | 
            +
                  def reload_current_operating_system_configuration(message)
         | 
| 1059 | 
            +
                    request(:reload_current_operating_system_configuration, String, message)
         | 
| 1060 | 
            +
                  end
         | 
| 1061 | 
            +
             | 
| 1062 | 
            +
                  # token
         | 
| 1063 | 
            +
                  # config
         | 
| 1064 | 
            +
                  def reload_operating_system(message)
         | 
| 1065 | 
            +
                    request(:reload_operating_system, String, message)
         | 
| 1066 | 
            +
                  end
         | 
| 1067 | 
            +
             | 
| 733 1068 | 
             
                  # network_storage_template_object
         | 
| 734 1069 | 
             
                  def remove_access_to_network_storage(message)
         | 
| 735 1070 | 
             
                    request(:remove_access_to_network_storage, Boolean, message)
         | 
| @@ -740,16 +1075,58 @@ module Softlayer | |
| 740 1075 | 
             
                    request(:remove_access_to_network_storage_list, Boolean, message)
         | 
| 741 1076 | 
             
                  end
         | 
| 742 1077 |  | 
| 1078 | 
            +
                  def run_passmark_certification_benchmark
         | 
| 1079 | 
            +
                    request(:run_passmark_certification_benchmark, Boolean)
         | 
| 1080 | 
            +
                  end
         | 
| 1081 | 
            +
             | 
| 1082 | 
            +
                  # new_password
         | 
| 1083 | 
            +
                  def set_operating_system_password(message)
         | 
| 1084 | 
            +
                    request(:set_operating_system_password, Boolean, message)
         | 
| 1085 | 
            +
                  end
         | 
| 1086 | 
            +
             | 
| 1087 | 
            +
                  # new_speed
         | 
| 1088 | 
            +
                  def set_private_network_interface_speed(message)
         | 
| 1089 | 
            +
                    request(:set_private_network_interface_speed, Boolean, message)
         | 
| 1090 | 
            +
                  end
         | 
| 1091 | 
            +
             | 
| 1092 | 
            +
                  # new_speed
         | 
| 1093 | 
            +
                  def set_public_network_interface_speed(message)
         | 
| 1094 | 
            +
                    request(:set_public_network_interface_speed, Boolean, message)
         | 
| 1095 | 
            +
                  end
         | 
| 1096 | 
            +
             | 
| 743 1097 | 
             
                  # tags
         | 
| 744 1098 | 
             
                  def set_tags(message)
         | 
| 745 1099 | 
             
                    request(:set_tags, Boolean, message)
         | 
| 746 1100 | 
             
                  end
         | 
| 747 1101 |  | 
| 748 | 
            -
                   | 
| 1102 | 
            +
                  # metadata
         | 
| 1103 | 
            +
                  def set_user_metadata(message)
         | 
| 1104 | 
            +
                    request(:set_user_metadata, Array[Softlayer::Hardware::Attribute], message)
         | 
| 1105 | 
            +
                  end
         | 
| 1106 | 
            +
             | 
| 1107 | 
            +
                  def shutdown_private_port
         | 
| 1108 | 
            +
                    request(:shutdown_private_port, Boolean)
         | 
| 1109 | 
            +
                  end
         | 
| 1110 | 
            +
             | 
| 1111 | 
            +
                  def shutdown_public_port
         | 
| 1112 | 
            +
                    request(:shutdown_public_port, Boolean)
         | 
| 1113 | 
            +
                  end
         | 
| 1114 | 
            +
             | 
| 1115 | 
            +
                  # action
         | 
| 1116 | 
            +
                  # new_order
         | 
| 1117 | 
            +
                  def spare_pool(message)
         | 
| 1118 | 
            +
                    request(:spare_pool, Boolean, message)
         | 
| 1119 | 
            +
                  end
         | 
| 1120 | 
            +
             | 
| 1121 | 
            +
                  # operating_system
         | 
| 1122 | 
            +
                  # partitions
         | 
| 1123 | 
            +
                  def self.validate_partitions_for_operating_system(message)
         | 
| 1124 | 
            +
                    request(:validate_partitions_for_operating_system, Boolean, message)
         | 
| 1125 | 
            +
                  end
         | 
| 1126 | 
            +
             | 
| 1127 | 
            +
                  class Representer < Softlayer::Hardware::Server::Representer
         | 
| 749 1128 | 
             
                    include Representable::Hash
         | 
| 750 1129 | 
             
                    include Representable::Coercion
         | 
| 751 | 
            -
                    property :software_user_count, type: BigDecimal
         | 
| 752 | 
            -
                    property :user_count, type: BigDecimal
         | 
| 753 1130 | 
             
                  end
         | 
| 754 1131 | 
             
                end
         | 
| 755 1132 | 
             
              end
         | 
| @@ -3,6 +3,7 @@ module Softlayer | |
| 3 3 | 
             
                module Service
         | 
| 4 4 | 
             
                  class Resource
         | 
| 5 5 | 
             
                    class MonitoringHub < Softlayer::Network::Service::Resource
         | 
| 6 | 
            +
                      attr_accessor :adn_services_ip
         | 
| 6 7 | 
             
                      attr_accessor :hub_address
         | 
| 7 8 | 
             
                      attr_accessor :hub_connection_timeout
         | 
| 8 9 | 
             
                      attr_accessor :robots_count
         | 
| @@ -11,6 +12,7 @@ module Softlayer | |
| 11 12 | 
             
                      class Representer < Softlayer::Network::Service::Resource::Representer
         | 
| 12 13 | 
             
                        include Representable::Hash
         | 
| 13 14 | 
             
                        include Representable::Coercion
         | 
| 15 | 
            +
                        property :adn_services_ip, type: String
         | 
| 14 16 | 
             
                        property :hub_address, type: String
         | 
| 15 17 | 
             
                        property :hub_connection_timeout, type: String
         | 
| 16 18 | 
             
                        property :robots_count, type: String
         |