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
@@ -28,13 +28,13 @@ module Softlayer
|
|
28
28
|
request(:activate, Boolean)
|
29
29
|
end
|
30
30
|
|
31
|
-
|
32
|
-
|
31
|
+
# configuration_values
|
32
|
+
def add_configuration_profile(message)
|
33
33
|
request(:add_configuration_profile, Softlayer::Provisioning::Version1::Transaction, message)
|
34
34
|
end
|
35
35
|
|
36
|
-
|
37
|
-
|
36
|
+
# configuration_values
|
37
|
+
def apply_configuration_values(message)
|
38
38
|
request(:apply_configuration_values, Softlayer::Provisioning::Version1::Transaction, message)
|
39
39
|
end
|
40
40
|
|
@@ -42,13 +42,14 @@ module Softlayer
|
|
42
42
|
request(:deactivate, Boolean)
|
43
43
|
end
|
44
44
|
|
45
|
-
|
46
|
-
|
45
|
+
# section_id
|
46
|
+
# profile_id
|
47
|
+
def delete_configuration_profile(message)
|
47
48
|
request(:delete_configuration_profile, Boolean, message)
|
48
49
|
end
|
49
50
|
|
50
|
-
|
51
|
-
|
51
|
+
# configuration_template_id
|
52
|
+
def deploy_monitoring_agent(message)
|
52
53
|
request(:deploy_monitoring_agent, Softlayer::Provisioning::Version1::Transaction, message)
|
53
54
|
end
|
54
55
|
|
@@ -64,8 +65,9 @@ module Softlayer
|
|
64
65
|
request(:get_available_configuration_templates, Array[Softlayer::Configuration::Template])
|
65
66
|
end
|
66
67
|
|
67
|
-
|
68
|
-
|
68
|
+
# configuration_definition_id
|
69
|
+
# config_values
|
70
|
+
def get_available_configuration_values(message)
|
69
71
|
request(:get_available_configuration_values, Array[Softlayer::Monitoring::Agent::Configuration::Value], message)
|
70
72
|
end
|
71
73
|
|
@@ -85,13 +87,17 @@ module Softlayer
|
|
85
87
|
request(:get_eligible_alarm_subscibers, Array[Softlayer::User::Customer])
|
86
88
|
end
|
87
89
|
|
88
|
-
|
89
|
-
|
90
|
+
# configuration_values
|
91
|
+
# begin_date
|
92
|
+
# end_date
|
93
|
+
def get_graph(message)
|
90
94
|
request(:get_graph, Softlayer::Container::Monitoring::Graph::Outputs, message)
|
91
95
|
end
|
92
96
|
|
93
|
-
|
94
|
-
|
97
|
+
# metric_data_types
|
98
|
+
# start_date
|
99
|
+
# end_date
|
100
|
+
def get_graph_data(message)
|
95
101
|
request(:get_graph_data, Array[Softlayer::Metric::Tracking::Object::Data], message)
|
96
102
|
end
|
97
103
|
|
@@ -119,8 +125,8 @@ module Softlayer
|
|
119
125
|
request(:get_virtual_guest, Softlayer::Virtual::Guest)
|
120
126
|
end
|
121
127
|
|
122
|
-
|
123
|
-
|
128
|
+
# user_record_id
|
129
|
+
def remove_active_alarm_subscriber(message)
|
124
130
|
request(:remove_active_alarm_subscriber, Boolean, message)
|
125
131
|
end
|
126
132
|
|
@@ -132,8 +138,8 @@ module Softlayer
|
|
132
138
|
request(:restart_monitoring_agent, Boolean)
|
133
139
|
end
|
134
140
|
|
135
|
-
|
136
|
-
|
141
|
+
# user_record_id
|
142
|
+
def set_active_alarm_subscriber(message)
|
137
143
|
request(:set_active_alarm_subscriber, Boolean, message)
|
138
144
|
end
|
139
145
|
|
@@ -17,8 +17,8 @@ module Softlayer
|
|
17
17
|
request(:check_connection, Boolean)
|
18
18
|
end
|
19
19
|
|
20
|
-
|
21
|
-
|
20
|
+
# configuration_template_group
|
21
|
+
def deploy_monitoring_agents(message)
|
22
22
|
request(:deploy_monitoring_agents, Softlayer::Provisioning::Version1::Transaction, message)
|
23
23
|
end
|
24
24
|
|
@@ -23,8 +23,9 @@ module Softlayer
|
|
23
23
|
attr_accessor :services
|
24
24
|
attr_accessor :virtual_servers
|
25
25
|
|
26
|
-
|
27
|
-
|
26
|
+
# graph_type
|
27
|
+
# metric
|
28
|
+
def get_graph_image(message)
|
28
29
|
request(:get_graph_image, Softlayer::Base64Binary, message)
|
29
30
|
end
|
30
31
|
|
@@ -26,8 +26,9 @@ module Softlayer
|
|
26
26
|
request(:delete_object, Boolean)
|
27
27
|
end
|
28
28
|
|
29
|
-
|
30
|
-
|
29
|
+
# graph_type
|
30
|
+
# metric
|
31
|
+
def get_graph_image(message)
|
31
32
|
request(:get_graph_image, Softlayer::Base64Binary, message)
|
32
33
|
end
|
33
34
|
|
data/lib/softlayer/network/application/delivery/controller/load_balancer/virtual_ip_address.rb
CHANGED
@@ -38,8 +38,8 @@ module Softlayer
|
|
38
38
|
attr_accessor :security_certificate_entry
|
39
39
|
attr_accessor :virtual_servers
|
40
40
|
|
41
|
-
|
42
|
-
|
41
|
+
# template_object
|
42
|
+
def edit_object(message)
|
43
43
|
request(:edit_object, Boolean, message)
|
44
44
|
end
|
45
45
|
|
@@ -41,23 +41,23 @@ module Softlayer
|
|
41
41
|
attr_accessor :type
|
42
42
|
attr_accessor :virtual_ip_addresses
|
43
43
|
|
44
|
-
|
45
|
-
|
44
|
+
# load_balancer
|
45
|
+
def create_live_load_balancer(message)
|
46
46
|
request(:create_live_load_balancer, Boolean, message)
|
47
47
|
end
|
48
48
|
|
49
|
-
|
50
|
-
|
49
|
+
# load_balancer
|
50
|
+
def delete_live_load_balancer(message)
|
51
51
|
request(:delete_live_load_balancer, Boolean, message)
|
52
52
|
end
|
53
53
|
|
54
|
-
|
55
|
-
|
54
|
+
# service
|
55
|
+
def delete_live_load_balancer_service(message)
|
56
56
|
request(:delete_live_load_balancer_service, Boolean, message)
|
57
57
|
end
|
58
58
|
|
59
|
-
|
60
|
-
|
59
|
+
# template_object
|
60
|
+
def edit_object(message)
|
61
61
|
request(:edit_object, Boolean, message)
|
62
62
|
end
|
63
63
|
|
@@ -69,13 +69,17 @@ module Softlayer
|
|
69
69
|
request(:get_average_daily_public_bandwidth_usage, Float)
|
70
70
|
end
|
71
71
|
|
72
|
-
|
73
|
-
|
72
|
+
# start_date_time
|
73
|
+
# end_date_time
|
74
|
+
# network_type
|
75
|
+
def get_bandwidth_data_by_date(message)
|
74
76
|
request(:get_bandwidth_data_by_date, Array[Softlayer::Metric::Tracking::Object::Data], message)
|
75
77
|
end
|
76
78
|
|
77
|
-
|
78
|
-
|
79
|
+
# start_date_time
|
80
|
+
# end_date_time
|
81
|
+
# network_type
|
82
|
+
def get_bandwidth_image_by_date(message)
|
79
83
|
request(:get_bandwidth_image_by_date, Softlayer::Container::Bandwidth::GraphOutputs, message)
|
80
84
|
end
|
81
85
|
|
@@ -87,8 +91,8 @@ module Softlayer
|
|
87
91
|
request(:get_configuration_history, Array[Softlayer::Network::Application::Delivery::Controller::Configuration::History])
|
88
92
|
end
|
89
93
|
|
90
|
-
|
91
|
-
|
94
|
+
# graph_data
|
95
|
+
def get_custom_bandwidth_data_by_date(message)
|
92
96
|
request(:get_custom_bandwidth_data_by_date, Softlayer::Container::Graph, message)
|
93
97
|
end
|
94
98
|
|
@@ -104,8 +108,10 @@ module Softlayer
|
|
104
108
|
request(:get_license_expiration_date, DateTime)
|
105
109
|
end
|
106
110
|
|
107
|
-
|
108
|
-
|
111
|
+
# service
|
112
|
+
# graph_type
|
113
|
+
# metric
|
114
|
+
def get_live_load_balancer_service_graph_image(message)
|
109
115
|
request(:get_live_load_balancer_service_graph_image, Softlayer::Base64Binary, message)
|
110
116
|
end
|
111
117
|
|
@@ -169,18 +175,18 @@ module Softlayer
|
|
169
175
|
request(:restore_base_configuration, Boolean)
|
170
176
|
end
|
171
177
|
|
172
|
-
|
173
|
-
|
178
|
+
# configuration_history_id
|
179
|
+
def restore_configuration(message)
|
174
180
|
request(:restore_configuration, Boolean, message)
|
175
181
|
end
|
176
182
|
|
177
|
-
|
178
|
-
|
183
|
+
# notes
|
184
|
+
def save_current_configuration(message)
|
179
185
|
request(:save_current_configuration, Softlayer::Network::Application::Delivery::Controller::Configuration::History, message)
|
180
186
|
end
|
181
187
|
|
182
|
-
|
183
|
-
|
188
|
+
# load_balancer
|
189
|
+
def update_live_load_balancer(message)
|
184
190
|
request(:update_live_load_balancer, Boolean, message)
|
185
191
|
end
|
186
192
|
|
@@ -22,8 +22,8 @@ module Softlayer
|
|
22
22
|
request(:get_object, Softlayer::Network::Backbone::Location::Dependent)
|
23
23
|
end
|
24
24
|
|
25
|
-
|
26
|
-
|
25
|
+
# location_name
|
26
|
+
def self.get_source_dependents_by_name(message)
|
27
27
|
request(:get_source_dependents_by_name, Softlayer::Location, message)
|
28
28
|
end
|
29
29
|
|
@@ -17,8 +17,8 @@ module Softlayer
|
|
17
17
|
request(:get_all_backbones, Array[Softlayer::Network::Backbone])
|
18
18
|
end
|
19
19
|
|
20
|
-
|
21
|
-
|
20
|
+
# location_name
|
21
|
+
def self.get_backbones_for_location_name(message)
|
22
22
|
request(:get_backbones_for_location_name, Array[Softlayer::Network::Backbone], message)
|
23
23
|
end
|
24
24
|
|
@@ -53,13 +53,13 @@ module Softlayer
|
|
53
53
|
attr_accessor :total_bandwidth_allocated
|
54
54
|
attr_accessor :virtual_guests
|
55
55
|
|
56
|
-
|
57
|
-
|
56
|
+
# template_object
|
57
|
+
def self.create_object(message)
|
58
58
|
request(:create_object, Boolean, message)
|
59
59
|
end
|
60
60
|
|
61
|
-
|
62
|
-
|
61
|
+
# template_object
|
62
|
+
def edit_object(message)
|
63
63
|
request(:edit_object, Boolean, message)
|
64
64
|
end
|
65
65
|
|
@@ -79,23 +79,28 @@ module Softlayer
|
|
79
79
|
request(:get_average_daily_public_bandwidth_usage, Float)
|
80
80
|
end
|
81
81
|
|
82
|
-
|
83
|
-
|
82
|
+
# date
|
83
|
+
def get_backend_bandwidth_by_hour(message)
|
84
84
|
request(:get_backend_bandwidth_by_hour, Array[Softlayer::Container::Network::Bandwidth::Version1::Usage], message)
|
85
85
|
end
|
86
86
|
|
87
|
-
|
88
|
-
|
87
|
+
# start_date
|
88
|
+
# end_date
|
89
|
+
def get_backend_bandwidth_use(message)
|
89
90
|
request(:get_backend_bandwidth_use, Array[Softlayer::Network::Bandwidth::Version1::Usage::Detail], message)
|
90
91
|
end
|
91
92
|
|
92
|
-
|
93
|
-
|
93
|
+
# start_date
|
94
|
+
# end_date
|
95
|
+
def get_bandwidth_for_date_range(message)
|
94
96
|
request(:get_bandwidth_for_date_range, Array[Softlayer::Metric::Tracking::Object::Data], message)
|
95
97
|
end
|
96
98
|
|
97
|
-
|
98
|
-
|
99
|
+
# network_type
|
100
|
+
# snapshot_range
|
101
|
+
# draw
|
102
|
+
# date_specified
|
103
|
+
def get_bandwidth_image(message)
|
99
104
|
request(:get_bandwidth_image, Softlayer::Container::Bandwidth::GraphOutputs, message)
|
100
105
|
end
|
101
106
|
|
@@ -127,8 +132,8 @@ module Softlayer
|
|
127
132
|
request(:get_current_bandwidth_summary, Softlayer::Metric::Tracking::Object::Bandwidth::Summary)
|
128
133
|
end
|
129
134
|
|
130
|
-
|
131
|
-
|
135
|
+
# graph_data
|
136
|
+
def get_custom_bandwidth_data_by_date(message)
|
132
137
|
request(:get_custom_bandwidth_data_by_date, Softlayer::Container::Graph, message)
|
133
138
|
end
|
134
139
|
|
@@ -136,13 +141,14 @@ module Softlayer
|
|
136
141
|
request(:get_details, Array[Softlayer::Network::Bandwidth::Version1::Allotment::Detail])
|
137
142
|
end
|
138
143
|
|
139
|
-
|
140
|
-
|
144
|
+
# date
|
145
|
+
def get_frontend_bandwidth_by_hour(message)
|
141
146
|
request(:get_frontend_bandwidth_by_hour, Array[Softlayer::Container::Network::Bandwidth::Version1::Usage], message)
|
142
147
|
end
|
143
148
|
|
144
|
-
|
145
|
-
|
149
|
+
# start_date
|
150
|
+
# end_date
|
151
|
+
def get_frontend_bandwidth_use(message)
|
146
152
|
request(:get_frontend_bandwidth_use, Array[Softlayer::Network::Bandwidth::Version1::Usage::Detail], message)
|
147
153
|
end
|
148
154
|
|
@@ -214,13 +220,17 @@ module Softlayer
|
|
214
220
|
request(:get_virtual_guests, Array[Softlayer::Virtual::Guest])
|
215
221
|
end
|
216
222
|
|
217
|
-
|
218
|
-
|
223
|
+
# network_type
|
224
|
+
# snapshot_range
|
225
|
+
# draw
|
226
|
+
# date_specified
|
227
|
+
def new_get_bandwidth_image(message)
|
219
228
|
request(:new_get_bandwidth_image, Softlayer::Container::Bandwidth::GraphOutputs, message)
|
220
229
|
end
|
221
230
|
|
222
|
-
|
223
|
-
|
231
|
+
# template_objects
|
232
|
+
# new_allotment_id
|
233
|
+
def self.reassign_servers(message)
|
224
234
|
request(:reassign_servers, Boolean, message)
|
225
235
|
end
|
226
236
|
|
@@ -228,23 +238,34 @@ module Softlayer
|
|
228
238
|
request(:request_vdr_cancellation, Boolean)
|
229
239
|
end
|
230
240
|
|
231
|
-
|
232
|
-
|
241
|
+
# hardware_to_add
|
242
|
+
# hardware_to_remove
|
243
|
+
# clouds_to_add
|
244
|
+
# clouds_to_remove
|
245
|
+
# optional_allotment_id
|
246
|
+
# adc_to_add
|
247
|
+
# adc_to_remove
|
248
|
+
def request_vdr_content_updates(message)
|
233
249
|
request(:request_vdr_content_updates, Boolean, message)
|
234
250
|
end
|
235
251
|
|
236
|
-
|
237
|
-
|
252
|
+
# hardware
|
253
|
+
# bare_metal_servers
|
254
|
+
# virtual_server_instance
|
255
|
+
# adc
|
256
|
+
# optional_allotment_id
|
257
|
+
def set_vdr_content(message)
|
238
258
|
request(:set_vdr_content, Boolean, message)
|
239
259
|
end
|
240
260
|
|
241
|
-
|
242
|
-
|
261
|
+
# template_objects
|
262
|
+
def self.unassign_servers(message)
|
243
263
|
request(:unassign_servers, Boolean, message)
|
244
264
|
end
|
245
265
|
|
246
|
-
|
247
|
-
|
266
|
+
# id
|
267
|
+
# type
|
268
|
+
def void_pending_server_move(message)
|
248
269
|
request(:void_pending_server_move, Boolean, message)
|
249
270
|
end
|
250
271
|
|
@@ -59,8 +59,8 @@ module Softlayer
|
|
59
59
|
attr_accessor :uplink_component
|
60
60
|
attr_accessor :uplink_duplex_mode
|
61
61
|
|
62
|
-
|
63
|
-
|
62
|
+
# network_vlans
|
63
|
+
def add_network_vlan_trunks(message)
|
64
64
|
request(:add_network_vlan_trunks, Array[Softlayer::Network::Vlan], message)
|
65
65
|
end
|
66
66
|
|
@@ -72,8 +72,8 @@ module Softlayer
|
|
72
72
|
request(:get_active_command, Softlayer::Hardware::Component::RemoteManagement::Command::Request)
|
73
73
|
end
|
74
74
|
|
75
|
-
|
76
|
-
|
75
|
+
# graph_data
|
76
|
+
def get_custom_bandwidth_data_by_date(message)
|
77
77
|
request(:get_custom_bandwidth_data_by_date, Softlayer::Container::Graph, message)
|
78
78
|
end
|
79
79
|
|
@@ -189,8 +189,8 @@ module Softlayer
|
|
189
189
|
request(:get_uplink_duplex_mode, Softlayer::Network::Component::Duplex::Mode)
|
190
190
|
end
|
191
191
|
|
192
|
-
|
193
|
-
|
192
|
+
# network_vlans
|
193
|
+
def remove_network_vlan_trunks(message)
|
194
194
|
request(:remove_network_vlan_trunks, Array[Softlayer::Network::Vlan], message)
|
195
195
|
end
|
196
196
|
|