softlayer 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +22 -14
- data/lib/softlayer/account/address.rb +6 -6
- data/lib/softlayer/account/affiliation.rb +6 -6
- data/lib/softlayer/account/authentication/saml.rb +4 -4
- data/lib/softlayer/account/contact.rb +4 -4
- data/lib/softlayer/account/historical/report.rb +28 -16
- data/lib/softlayer/account/lockdown/request.rb +9 -8
- data/lib/softlayer/account/media/data/transfer/request.rb +2 -2
- data/lib/softlayer/account/media.rb +4 -4
- data/lib/softlayer/account/note/type.rb +4 -4
- data/lib/softlayer/account/note.rb +4 -4
- data/lib/softlayer/account/partner/referral/prospect.rb +3 -2
- data/lib/softlayer/account/password.rb +2 -2
- data/lib/softlayer/account/regional/registry/detail/property.rb +8 -8
- data/lib/softlayer/account/regional/registry/detail.rb +4 -4
- data/lib/softlayer/account/reports/request.rb +10 -8
- data/lib/softlayer/account/shipment/item.rb +2 -2
- data/lib/softlayer/account/shipment/tracking/data.rb +6 -6
- data/lib/softlayer/account/shipment.rb +4 -4
- data/lib/softlayer/account.rb +100 -74
- data/lib/softlayer/auxiliary/network/status.rb +2 -2
- data/lib/softlayer/auxiliary/press/release.rb +3 -2
- data/lib/softlayer/auxiliary/shipping/courier/type.rb +2 -2
- data/lib/softlayer/billing/currency/exchange_rate.rb +9 -6
- data/lib/softlayer/billing/currency.rb +3 -2
- data/lib/softlayer/billing/invoice/next.rb +6 -6
- data/lib/softlayer/billing/invoice.rb +2 -2
- data/lib/softlayer/billing/item/cancellation/request.rb +11 -10
- data/lib/softlayer/billing/item.rb +10 -6
- data/lib/softlayer/billing/order/cart.rb +20 -18
- data/lib/softlayer/billing/order/quote.rb +14 -12
- data/lib/softlayer/billing/order.rb +3 -2
- data/lib/softlayer/brand.rb +9 -8
- data/lib/softlayer/catalyst/enrollment.rb +4 -4
- data/lib/softlayer/configuration/template.rb +6 -6
- data/lib/softlayer/dns/domain/registration.rb +23 -20
- data/lib/softlayer/dns/domain/resource_record/mx_type.rb +10 -10
- data/lib/softlayer/dns/domain/resource_record/srv_type.rb +10 -10
- data/lib/softlayer/dns/domain/resource_record.rb +10 -10
- data/lib/softlayer/dns/domain.rb +39 -22
- data/lib/softlayer/dns/secondary.rb +8 -8
- data/lib/softlayer/event/log.rb +2 -2
- data/lib/softlayer/flexible_credit/program.rb +4 -4
- data/lib/softlayer/generator/class_file.rb +10 -14
- data/lib/softlayer/hardware/component/partition/operating_system.rb +2 -2
- data/lib/softlayer/hardware/router.rb +64 -52
- data/lib/softlayer/hardware/security_module.rb +64 -52
- data/lib/softlayer/hardware/server.rb +138 -106
- data/lib/softlayer/hardware.rb +64 -52
- data/lib/softlayer/layout/profile/containers.rb +4 -4
- data/lib/softlayer/layout/profile/customer.rb +8 -8
- data/lib/softlayer/layout/profile.rb +8 -8
- data/lib/softlayer/marketplace/partner.rb +8 -8
- data/lib/softlayer/metric/tracking/object.rb +37 -18
- data/lib/softlayer/model/filter.rb +1 -1
- data/lib/softlayer/model.rb +23 -0
- data/lib/softlayer/monitoring/agent/configuration/template/group/reference.rb +8 -8
- data/lib/softlayer/monitoring/agent/configuration/template/group.rb +6 -6
- data/lib/softlayer/monitoring/agent.rb +24 -18
- data/lib/softlayer/monitoring/robot.rb +2 -2
- data/lib/softlayer/network/application/delivery/controller/load_balancer/service/group.rb +3 -2
- data/lib/softlayer/network/application/delivery/controller/load_balancer/service.rb +3 -2
- data/lib/softlayer/network/application/delivery/controller/load_balancer/virtual_ip_address.rb +2 -2
- data/lib/softlayer/network/application/delivery/controller.rb +28 -22
- data/lib/softlayer/network/backbone/location/dependent.rb +2 -2
- data/lib/softlayer/network/backbone.rb +2 -2
- data/lib/softlayer/network/bandwidth/version1/allotment.rb +51 -30
- data/lib/softlayer/network/component.rb +6 -6
- data/lib/softlayer/network/content_delivery/account.rb +67 -50
- data/lib/softlayer/network/content_delivery/authentication/address.rb +7 -6
- data/lib/softlayer/network/content_delivery/authentication/token.rb +20 -14
- data/lib/softlayer/network/customer/subnet.rb +2 -2
- data/lib/softlayer/network/firewall/update/request/rule.rb +6 -4
- data/lib/softlayer/network/firewall/update/request.rb +5 -4
- data/lib/softlayer/network/gateway/member.rb +4 -4
- data/lib/softlayer/network/gateway/vlan.rb +6 -6
- data/lib/softlayer/network/gateway.rb +8 -8
- data/lib/softlayer/network/load_balancer/global/account.rb +2 -2
- data/lib/softlayer/network/load_balancer/service.rb +3 -2
- data/lib/softlayer/network/load_balancer/virtual_ip_address.rb +2 -2
- data/lib/softlayer/network/media/transcode/account.rb +9 -8
- data/lib/softlayer/network/media/transcode/job.rb +2 -2
- data/lib/softlayer/network/message/delivery/email/sendgrid.rb +17 -16
- data/lib/softlayer/network/message/delivery.rb +2 -2
- data/lib/softlayer/network/message/queue/node.rb +9 -8
- data/lib/softlayer/network/monitor/version1/query/host.rb +12 -12
- data/lib/softlayer/network/monitor.rb +6 -4
- data/lib/softlayer/network/security/scanner/request.rb +2 -2
- data/lib/softlayer/network/service/vpn/overrides.rb +4 -4
- data/lib/softlayer/network/storage/allowed/host/hardware.rb +6 -6
- data/lib/softlayer/network/storage/allowed/host/ip_address.rb +6 -6
- data/lib/softlayer/network/storage/allowed/host/subnet.rb +6 -6
- data/lib/softlayer/network/storage/allowed/host/virtual_guest.rb +6 -6
- data/lib/softlayer/network/storage/allowed/host.rb +6 -6
- data/lib/softlayer/network/storage/backup/evault.rb +163 -144
- data/lib/softlayer/network/storage/group/iscsi.rb +12 -12
- data/lib/softlayer/network/storage/group/nfs.rb +12 -12
- data/lib/softlayer/network/storage/group.rb +12 -12
- data/lib/softlayer/network/storage/hub/swift/share.rb +6 -4
- data/lib/softlayer/network/storage/iscsi.rb +154 -138
- data/lib/softlayer/network/storage/schedule.rb +4 -4
- data/lib/softlayer/network/storage.rb +154 -138
- data/lib/softlayer/network/subnet/ip_address/global.rb +2 -2
- data/lib/softlayer/network/subnet/ip_address.rb +18 -18
- data/lib/softlayer/network/subnet/registration/details.rb +2 -2
- data/lib/softlayer/network/subnet/registration.rb +7 -6
- data/lib/softlayer/network/subnet/rwhois/data.rb +2 -2
- data/lib/softlayer/network/subnet.rb +16 -16
- data/lib/softlayer/network/tipping_point_reporting.rb +19 -8
- data/lib/softlayer/network/tunnel/module/context.rb +24 -24
- data/lib/softlayer/network/vlan/firewall.rb +4 -4
- data/lib/softlayer/network/vlan.rb +12 -12
- data/lib/softlayer/network.rb +9 -8
- data/lib/softlayer/notification/mobile.rb +4 -2
- data/lib/softlayer/notification/occurrence/event.rb +2 -2
- data/lib/softlayer/notification/user/subscriber/billing.rb +4 -4
- data/lib/softlayer/notification/user/subscriber/mobile.rb +7 -6
- data/lib/softlayer/notification/user/subscriber/preference.rb +4 -4
- data/lib/softlayer/notification/user/subscriber.rb +4 -4
- data/lib/softlayer/product/item/category.rb +4 -4
- data/lib/softlayer/product/item/policy/assignment.rb +2 -2
- data/lib/softlayer/product/item/price.rb +3 -2
- data/lib/softlayer/product/order.rb +41 -26
- data/lib/softlayer/product/package/server/option.rb +2 -2
- data/lib/softlayer/product/package.rb +15 -12
- data/lib/softlayer/product/upgrade/request.rb +3 -2
- data/lib/softlayer/provisioning/hook.rb +4 -4
- data/lib/softlayer/provisioning/maintenance/classification.rb +2 -2
- data/lib/softlayer/provisioning/maintenance/window.rb +22 -14
- data/lib/softlayer/resource/group.rb +2 -2
- data/lib/softlayer/resource/metadata.rb +9 -8
- data/lib/softlayer/scale/asset/hardware.rb +2 -2
- data/lib/softlayer/scale/asset/virtual/guest.rb +2 -2
- data/lib/softlayer/scale/group.rb +8 -8
- data/lib/softlayer/scale/load_balancer.rb +4 -4
- data/lib/softlayer/scale/network/vlan.rb +2 -2
- data/lib/softlayer/scale/policy/action/scale.rb +4 -4
- data/lib/softlayer/scale/policy/action.rb +2 -2
- data/lib/softlayer/scale/policy/trigger/one_time.rb +4 -4
- data/lib/softlayer/scale/policy/trigger/repeating.rb +6 -6
- data/lib/softlayer/scale/policy/trigger/resource_use/watch.rb +4 -4
- data/lib/softlayer/scale/policy/trigger/resource_use.rb +4 -4
- data/lib/softlayer/scale/policy/trigger.rb +4 -4
- data/lib/softlayer/scale/policy.rb +4 -4
- data/lib/softlayer/search.rb +4 -4
- data/lib/softlayer/security/certificate/request.rb +11 -8
- data/lib/softlayer/security/certificate.rb +6 -6
- data/lib/softlayer/security/ssh/key.rb +4 -4
- data/lib/softlayer/software/component/antivirus_spyware.rb +2 -2
- data/lib/softlayer/software/component/host_ips.rb +8 -2
- data/lib/softlayer/software/component/password.rb +10 -10
- data/lib/softlayer/survey.rb +4 -4
- data/lib/softlayer/tag.rb +8 -6
- data/lib/softlayer/ticket/update/employee.rb +2 -2
- data/lib/softlayer/ticket.rb +74 -46
- data/lib/softlayer/user/customer/api_authentication.rb +2 -2
- data/lib/softlayer/user/customer/external/binding/phone.rb +14 -14
- data/lib/softlayer/user/customer/external/binding/totp.rb +4 -4
- data/lib/softlayer/user/customer/external/binding/verisign.rb +9 -8
- data/lib/softlayer/user/customer/external/binding.rb +4 -4
- data/lib/softlayer/user/customer/mobile_device.rb +4 -4
- data/lib/softlayer/user/customer/notification/hardware.rb +8 -8
- data/lib/softlayer/user/customer/notification/virtual/guest.rb +8 -8
- data/lib/softlayer/user/customer.rb +128 -104
- data/lib/softlayer/user/external/binding.rb +2 -2
- data/lib/softlayer/user/permission/group.rb +28 -24
- data/lib/softlayer/user/permission/role.rb +12 -12
- data/lib/softlayer/utility/network.rb +11 -10
- data/lib/softlayer/version.rb +1 -1
- data/lib/softlayer/virtual/disk/image.rb +2 -2
- data/lib/softlayer/virtual/guest/block/device/template/group.rb +23 -20
- data/lib/softlayer/virtual/guest/boot/parameter.rb +4 -4
- data/lib/softlayer/virtual/guest.rb +131 -100
- data/lib/softlayer/virtual/host.rb +19 -16
- data/lib/softlayer/virtual/storage/repository.rb +9 -6
- data/lib/softlayer.rb +74 -0
- metadata +2 -2
@@ -9,28 +9,28 @@ module Softlayer
|
|
9
9
|
attr_accessor :local_disk_storage_capability_flag
|
10
10
|
attr_accessor :san_storage_capability_flag
|
11
11
|
|
12
|
-
|
13
|
-
|
12
|
+
# network_storage_template_object
|
13
|
+
def allow_access_to_network_storage(message)
|
14
14
|
request(:allow_access_to_network_storage, Boolean, message)
|
15
15
|
end
|
16
16
|
|
17
|
-
|
18
|
-
|
17
|
+
# network_storage_template_objects
|
18
|
+
def allow_access_to_network_storage_list(message)
|
19
19
|
request(:allow_access_to_network_storage_list, Boolean, message)
|
20
20
|
end
|
21
21
|
|
22
|
-
|
23
|
-
|
22
|
+
# capture_template
|
23
|
+
def capture_image(message)
|
24
24
|
request(:capture_image, Softlayer::Virtual::Guest::Block::Device::Template::Group, message)
|
25
25
|
end
|
26
26
|
|
27
|
-
|
28
|
-
|
27
|
+
# alarm_id
|
28
|
+
def close_alarm(message)
|
29
29
|
request(:close_alarm, Boolean, message)
|
30
30
|
end
|
31
31
|
|
32
|
-
|
33
|
-
|
32
|
+
# template_object
|
33
|
+
def self.create_object(message)
|
34
34
|
request(:create_object, Softlayer::Hardware::Router, message)
|
35
35
|
end
|
36
36
|
|
@@ -38,28 +38,28 @@ module Softlayer
|
|
38
38
|
request(:delete_object, Boolean)
|
39
39
|
end
|
40
40
|
|
41
|
-
|
42
|
-
|
41
|
+
# software_component_passwords
|
42
|
+
def delete_software_component_passwords(message)
|
43
43
|
request(:delete_software_component_passwords, Boolean, message)
|
44
44
|
end
|
45
45
|
|
46
|
-
|
47
|
-
|
46
|
+
# software_component_passwords
|
47
|
+
def edit_software_component_passwords(message)
|
48
48
|
request(:edit_software_component_passwords, Boolean, message)
|
49
49
|
end
|
50
50
|
|
51
|
-
|
52
|
-
|
51
|
+
# uri
|
52
|
+
def execute_remote_script(message)
|
53
53
|
request(:execute_remote_script, nil, message)
|
54
54
|
end
|
55
55
|
|
56
|
-
|
57
|
-
|
56
|
+
# ip_address
|
57
|
+
def self.find_by_ip_address(message)
|
58
58
|
request(:find_by_ip_address, Softlayer::Hardware::Router, message)
|
59
59
|
end
|
60
60
|
|
61
|
-
|
62
|
-
|
61
|
+
# template_object
|
62
|
+
def self.generate_order_template(message)
|
63
63
|
request(:generate_order_template, Softlayer::Container::Product::Order, message)
|
64
64
|
end
|
65
65
|
|
@@ -75,8 +75,10 @@ module Softlayer
|
|
75
75
|
request(:get_active_network_monitor_incident, Array[Softlayer::Network::Monitor::Version1::Incident])
|
76
76
|
end
|
77
77
|
|
78
|
-
|
79
|
-
|
78
|
+
# start_date
|
79
|
+
# end_date
|
80
|
+
# alarm_id
|
81
|
+
def get_alarm_history(message)
|
80
82
|
request(:get_alarm_history, Array[Softlayer::Container::Monitoring::Alarm::History], message)
|
81
83
|
end
|
82
84
|
|
@@ -100,8 +102,8 @@ module Softlayer
|
|
100
102
|
request(:get_antivirus_spyware_software_component, Softlayer::Software::Component)
|
101
103
|
end
|
102
104
|
|
103
|
-
|
104
|
-
|
105
|
+
# nas_type
|
106
|
+
def get_attached_network_storages(message)
|
105
107
|
request(:get_attached_network_storages, Array[Softlayer::Network::Storage], message)
|
106
108
|
end
|
107
109
|
|
@@ -109,8 +111,8 @@ module Softlayer
|
|
109
111
|
request(:get_attributes, Array[Softlayer::Hardware::Attribute])
|
110
112
|
end
|
111
113
|
|
112
|
-
|
113
|
-
|
114
|
+
# nas_type
|
115
|
+
def get_available_network_storages(message)
|
114
116
|
request(:get_available_network_storages, Array[Softlayer::Network::Storage], message)
|
115
117
|
end
|
116
118
|
|
@@ -118,8 +120,9 @@ module Softlayer
|
|
118
120
|
request(:get_average_daily_public_bandwidth_usage, Float)
|
119
121
|
end
|
120
122
|
|
121
|
-
|
122
|
-
|
123
|
+
# start_date
|
124
|
+
# end_date
|
125
|
+
def get_backend_incoming_bandwidth(message)
|
123
126
|
request(:get_backend_incoming_bandwidth, Float, message)
|
124
127
|
end
|
125
128
|
|
@@ -127,8 +130,9 @@ module Softlayer
|
|
127
130
|
request(:get_backend_network_components, Array[Softlayer::Network::Component])
|
128
131
|
end
|
129
132
|
|
130
|
-
|
131
|
-
|
133
|
+
# start_date
|
134
|
+
# end_date
|
135
|
+
def get_backend_outgoing_bandwidth(message)
|
132
136
|
request(:get_backend_outgoing_bandwidth, Float, message)
|
133
137
|
end
|
134
138
|
|
@@ -192,8 +196,9 @@ module Softlayer
|
|
192
196
|
request(:get_current_billing_total, Float)
|
193
197
|
end
|
194
198
|
|
195
|
-
|
196
|
-
|
199
|
+
# start_date
|
200
|
+
# end_date
|
201
|
+
def get_daily_average(message)
|
197
202
|
request(:get_daily_average, Float, message)
|
198
203
|
end
|
199
204
|
|
@@ -257,8 +262,9 @@ module Softlayer
|
|
257
262
|
request(:get_fixed_configuration_preset, Softlayer::Product::Package::Preset)
|
258
263
|
end
|
259
264
|
|
260
|
-
|
261
|
-
|
265
|
+
# start_date
|
266
|
+
# end_date
|
267
|
+
def get_frontend_incoming_bandwidth(message)
|
262
268
|
request(:get_frontend_incoming_bandwidth, Float, message)
|
263
269
|
end
|
264
270
|
|
@@ -266,8 +272,9 @@ module Softlayer
|
|
266
272
|
request(:get_frontend_network_components, Array[Softlayer::Network::Component])
|
267
273
|
end
|
268
274
|
|
269
|
-
|
270
|
-
|
275
|
+
# start_date
|
276
|
+
# end_date
|
277
|
+
def get_frontend_outgoing_bandwidth(message)
|
271
278
|
request(:get_frontend_outgoing_bandwidth, Float, message)
|
272
279
|
end
|
273
280
|
|
@@ -307,8 +314,9 @@ module Softlayer
|
|
307
314
|
request(:get_host_ips_software_component, Softlayer::Software::Component)
|
308
315
|
end
|
309
316
|
|
310
|
-
|
311
|
-
|
317
|
+
# mode
|
318
|
+
# day
|
319
|
+
def get_hourly_bandwidth(message)
|
312
320
|
request(:get_hourly_bandwidth, Array[Softlayer::Metric::Tracking::Object::Data], message)
|
313
321
|
end
|
314
322
|
|
@@ -364,8 +372,9 @@ module Softlayer
|
|
364
372
|
request(:get_metric_tracking_object, Softlayer::Metric::Tracking::Object::HardwareServer)
|
365
373
|
end
|
366
374
|
|
367
|
-
|
368
|
-
|
375
|
+
# start_date
|
376
|
+
# end_date
|
377
|
+
def get_monitoring_active_alarms(message)
|
369
378
|
request(:get_monitoring_active_alarms, Array[Softlayer::Container::Monitoring::Alarm::History], message)
|
370
379
|
end
|
371
380
|
|
@@ -373,8 +382,9 @@ module Softlayer
|
|
373
382
|
request(:get_monitoring_agents, Array[Softlayer::Monitoring::Agent])
|
374
383
|
end
|
375
384
|
|
376
|
-
|
377
|
-
|
385
|
+
# start_date
|
386
|
+
# end_date
|
387
|
+
def get_monitoring_closed_alarms(message)
|
378
388
|
request(:get_monitoring_closed_alarms, Array[Softlayer::Container::Monitoring::Alarm::History], message)
|
379
389
|
end
|
380
390
|
|
@@ -490,8 +500,9 @@ module Softlayer
|
|
490
500
|
request(:get_primary_network_component, Softlayer::Network::Component)
|
491
501
|
end
|
492
502
|
|
493
|
-
|
494
|
-
|
503
|
+
# start_time
|
504
|
+
# end_time
|
505
|
+
def get_private_bandwidth_data(message)
|
495
506
|
request(:get_private_bandwidth_data, Array[Softlayer::Metric::Tracking::Object::Data], message)
|
496
507
|
end
|
497
508
|
|
@@ -511,8 +522,9 @@ module Softlayer
|
|
511
522
|
request(:get_processors, Array[Softlayer::Hardware::Component])
|
512
523
|
end
|
513
524
|
|
514
|
-
|
515
|
-
|
525
|
+
# start_time
|
526
|
+
# end_time
|
527
|
+
def get_public_bandwidth_data(message)
|
516
528
|
request(:get_public_bandwidth_data, Array[Softlayer::Metric::Tracking::Object::Data], message)
|
517
529
|
end
|
518
530
|
|
@@ -708,18 +720,18 @@ module Softlayer
|
|
708
720
|
request(:reboot_soft, Boolean)
|
709
721
|
end
|
710
722
|
|
711
|
-
|
712
|
-
|
723
|
+
# network_storage_template_object
|
724
|
+
def remove_access_to_network_storage(message)
|
713
725
|
request(:remove_access_to_network_storage, Boolean, message)
|
714
726
|
end
|
715
727
|
|
716
|
-
|
717
|
-
|
728
|
+
# network_storage_template_objects
|
729
|
+
def remove_access_to_network_storage_list(message)
|
718
730
|
request(:remove_access_to_network_storage_list, Boolean, message)
|
719
731
|
end
|
720
732
|
|
721
|
-
|
722
|
-
|
733
|
+
# tags
|
734
|
+
def set_tags(message)
|
723
735
|
request(:set_tags, Boolean, message)
|
724
736
|
end
|
725
737
|
|
@@ -7,28 +7,28 @@ module Softlayer
|
|
7
7
|
attr_accessor :software_users
|
8
8
|
attr_accessor :users
|
9
9
|
|
10
|
-
|
11
|
-
|
10
|
+
# network_storage_template_object
|
11
|
+
def allow_access_to_network_storage(message)
|
12
12
|
request(:allow_access_to_network_storage, Boolean, message)
|
13
13
|
end
|
14
14
|
|
15
|
-
|
16
|
-
|
15
|
+
# network_storage_template_objects
|
16
|
+
def allow_access_to_network_storage_list(message)
|
17
17
|
request(:allow_access_to_network_storage_list, Boolean, message)
|
18
18
|
end
|
19
19
|
|
20
|
-
|
21
|
-
|
20
|
+
# capture_template
|
21
|
+
def capture_image(message)
|
22
22
|
request(:capture_image, Softlayer::Virtual::Guest::Block::Device::Template::Group, message)
|
23
23
|
end
|
24
24
|
|
25
|
-
|
26
|
-
|
25
|
+
# alarm_id
|
26
|
+
def close_alarm(message)
|
27
27
|
request(:close_alarm, Boolean, message)
|
28
28
|
end
|
29
29
|
|
30
|
-
|
31
|
-
|
30
|
+
# template_object
|
31
|
+
def self.create_object(message)
|
32
32
|
request(:create_object, Softlayer::Hardware::SecurityModule, message)
|
33
33
|
end
|
34
34
|
|
@@ -36,28 +36,28 @@ module Softlayer
|
|
36
36
|
request(:delete_object, Boolean)
|
37
37
|
end
|
38
38
|
|
39
|
-
|
40
|
-
|
39
|
+
# software_component_passwords
|
40
|
+
def delete_software_component_passwords(message)
|
41
41
|
request(:delete_software_component_passwords, Boolean, message)
|
42
42
|
end
|
43
43
|
|
44
|
-
|
45
|
-
|
44
|
+
# software_component_passwords
|
45
|
+
def edit_software_component_passwords(message)
|
46
46
|
request(:edit_software_component_passwords, Boolean, message)
|
47
47
|
end
|
48
48
|
|
49
|
-
|
50
|
-
|
49
|
+
# uri
|
50
|
+
def execute_remote_script(message)
|
51
51
|
request(:execute_remote_script, nil, message)
|
52
52
|
end
|
53
53
|
|
54
|
-
|
55
|
-
|
54
|
+
# ip_address
|
55
|
+
def self.find_by_ip_address(message)
|
56
56
|
request(:find_by_ip_address, Softlayer::Hardware::SecurityModule, message)
|
57
57
|
end
|
58
58
|
|
59
|
-
|
60
|
-
|
59
|
+
# template_object
|
60
|
+
def self.generate_order_template(message)
|
61
61
|
request(:generate_order_template, Softlayer::Container::Product::Order, message)
|
62
62
|
end
|
63
63
|
|
@@ -73,8 +73,10 @@ module Softlayer
|
|
73
73
|
request(:get_active_network_monitor_incident, Array[Softlayer::Network::Monitor::Version1::Incident])
|
74
74
|
end
|
75
75
|
|
76
|
-
|
77
|
-
|
76
|
+
# start_date
|
77
|
+
# end_date
|
78
|
+
# alarm_id
|
79
|
+
def get_alarm_history(message)
|
78
80
|
request(:get_alarm_history, Array[Softlayer::Container::Monitoring::Alarm::History], message)
|
79
81
|
end
|
80
82
|
|
@@ -98,8 +100,8 @@ module Softlayer
|
|
98
100
|
request(:get_antivirus_spyware_software_component, Softlayer::Software::Component)
|
99
101
|
end
|
100
102
|
|
101
|
-
|
102
|
-
|
103
|
+
# nas_type
|
104
|
+
def get_attached_network_storages(message)
|
103
105
|
request(:get_attached_network_storages, Array[Softlayer::Network::Storage], message)
|
104
106
|
end
|
105
107
|
|
@@ -107,8 +109,8 @@ module Softlayer
|
|
107
109
|
request(:get_attributes, Array[Softlayer::Hardware::Attribute])
|
108
110
|
end
|
109
111
|
|
110
|
-
|
111
|
-
|
112
|
+
# nas_type
|
113
|
+
def get_available_network_storages(message)
|
112
114
|
request(:get_available_network_storages, Array[Softlayer::Network::Storage], message)
|
113
115
|
end
|
114
116
|
|
@@ -116,8 +118,9 @@ module Softlayer
|
|
116
118
|
request(:get_average_daily_public_bandwidth_usage, Float)
|
117
119
|
end
|
118
120
|
|
119
|
-
|
120
|
-
|
121
|
+
# start_date
|
122
|
+
# end_date
|
123
|
+
def get_backend_incoming_bandwidth(message)
|
121
124
|
request(:get_backend_incoming_bandwidth, Float, message)
|
122
125
|
end
|
123
126
|
|
@@ -125,8 +128,9 @@ module Softlayer
|
|
125
128
|
request(:get_backend_network_components, Array[Softlayer::Network::Component])
|
126
129
|
end
|
127
130
|
|
128
|
-
|
129
|
-
|
131
|
+
# start_date
|
132
|
+
# end_date
|
133
|
+
def get_backend_outgoing_bandwidth(message)
|
130
134
|
request(:get_backend_outgoing_bandwidth, Float, message)
|
131
135
|
end
|
132
136
|
|
@@ -186,8 +190,9 @@ module Softlayer
|
|
186
190
|
request(:get_current_billing_total, Float)
|
187
191
|
end
|
188
192
|
|
189
|
-
|
190
|
-
|
193
|
+
# start_date
|
194
|
+
# end_date
|
195
|
+
def get_daily_average(message)
|
191
196
|
request(:get_daily_average, Float, message)
|
192
197
|
end
|
193
198
|
|
@@ -251,8 +256,9 @@ module Softlayer
|
|
251
256
|
request(:get_fixed_configuration_preset, Softlayer::Product::Package::Preset)
|
252
257
|
end
|
253
258
|
|
254
|
-
|
255
|
-
|
259
|
+
# start_date
|
260
|
+
# end_date
|
261
|
+
def get_frontend_incoming_bandwidth(message)
|
256
262
|
request(:get_frontend_incoming_bandwidth, Float, message)
|
257
263
|
end
|
258
264
|
|
@@ -260,8 +266,9 @@ module Softlayer
|
|
260
266
|
request(:get_frontend_network_components, Array[Softlayer::Network::Component])
|
261
267
|
end
|
262
268
|
|
263
|
-
|
264
|
-
|
269
|
+
# start_date
|
270
|
+
# end_date
|
271
|
+
def get_frontend_outgoing_bandwidth(message)
|
265
272
|
request(:get_frontend_outgoing_bandwidth, Float, message)
|
266
273
|
end
|
267
274
|
|
@@ -301,8 +308,9 @@ module Softlayer
|
|
301
308
|
request(:get_host_ips_software_component, Softlayer::Software::Component)
|
302
309
|
end
|
303
310
|
|
304
|
-
|
305
|
-
|
311
|
+
# mode
|
312
|
+
# day
|
313
|
+
def get_hourly_bandwidth(message)
|
306
314
|
request(:get_hourly_bandwidth, Array[Softlayer::Metric::Tracking::Object::Data], message)
|
307
315
|
end
|
308
316
|
|
@@ -354,8 +362,9 @@ module Softlayer
|
|
354
362
|
request(:get_metric_tracking_object, Softlayer::Metric::Tracking::Object::HardwareServer)
|
355
363
|
end
|
356
364
|
|
357
|
-
|
358
|
-
|
365
|
+
# start_date
|
366
|
+
# end_date
|
367
|
+
def get_monitoring_active_alarms(message)
|
359
368
|
request(:get_monitoring_active_alarms, Array[Softlayer::Container::Monitoring::Alarm::History], message)
|
360
369
|
end
|
361
370
|
|
@@ -363,8 +372,9 @@ module Softlayer
|
|
363
372
|
request(:get_monitoring_agents, Array[Softlayer::Monitoring::Agent])
|
364
373
|
end
|
365
374
|
|
366
|
-
|
367
|
-
|
375
|
+
# start_date
|
376
|
+
# end_date
|
377
|
+
def get_monitoring_closed_alarms(message)
|
368
378
|
request(:get_monitoring_closed_alarms, Array[Softlayer::Container::Monitoring::Alarm::History], message)
|
369
379
|
end
|
370
380
|
|
@@ -496,8 +506,9 @@ module Softlayer
|
|
496
506
|
request(:get_primary_network_component, Softlayer::Network::Component)
|
497
507
|
end
|
498
508
|
|
499
|
-
|
500
|
-
|
509
|
+
# start_time
|
510
|
+
# end_time
|
511
|
+
def get_private_bandwidth_data(message)
|
501
512
|
request(:get_private_bandwidth_data, Array[Softlayer::Metric::Tracking::Object::Data], message)
|
502
513
|
end
|
503
514
|
|
@@ -517,8 +528,9 @@ module Softlayer
|
|
517
528
|
request(:get_processors, Array[Softlayer::Hardware::Component])
|
518
529
|
end
|
519
530
|
|
520
|
-
|
521
|
-
|
531
|
+
# start_time
|
532
|
+
# end_time
|
533
|
+
def get_public_bandwidth_data(message)
|
522
534
|
request(:get_public_bandwidth_data, Array[Softlayer::Metric::Tracking::Object::Data], message)
|
523
535
|
end
|
524
536
|
|
@@ -718,18 +730,18 @@ module Softlayer
|
|
718
730
|
request(:reboot_soft, Boolean)
|
719
731
|
end
|
720
732
|
|
721
|
-
|
722
|
-
|
733
|
+
# network_storage_template_object
|
734
|
+
def remove_access_to_network_storage(message)
|
723
735
|
request(:remove_access_to_network_storage, Boolean, message)
|
724
736
|
end
|
725
737
|
|
726
|
-
|
727
|
-
|
738
|
+
# network_storage_template_objects
|
739
|
+
def remove_access_to_network_storage_list(message)
|
728
740
|
request(:remove_access_to_network_storage_list, Boolean, message)
|
729
741
|
end
|
730
742
|
|
731
|
-
|
732
|
-
|
743
|
+
# tags
|
744
|
+
def set_tags(message)
|
733
745
|
request(:set_tags, Boolean, message)
|
734
746
|
end
|
735
747
|
|