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
@@ -35,18 +35,19 @@ module Softlayer
|
|
35
35
|
request(:clear_registration, Boolean)
|
36
36
|
end
|
37
37
|
|
38
|
-
|
39
|
-
|
38
|
+
# template_object
|
39
|
+
def self.create_object(message)
|
40
40
|
request(:create_object, Softlayer::Network::Subnet::Registration, message)
|
41
41
|
end
|
42
42
|
|
43
|
-
|
44
|
-
|
43
|
+
# template_object
|
44
|
+
def edit_object(message)
|
45
45
|
request(:edit_object, Boolean, message)
|
46
46
|
end
|
47
47
|
|
48
|
-
|
49
|
-
|
48
|
+
# person_object_skeleton
|
49
|
+
# network_object_skeleton
|
50
|
+
def self.edit_registration_attached_details(message)
|
50
51
|
request(:edit_registration_attached_details, Boolean, message)
|
51
52
|
end
|
52
53
|
|
@@ -21,8 +21,8 @@ module Softlayer
|
|
21
21
|
attr_accessor :state
|
22
22
|
attr_accessor :account
|
23
23
|
|
24
|
-
|
25
|
-
|
24
|
+
# template_object
|
25
|
+
def edit_object(message)
|
26
26
|
request(:edit_object, Boolean, message)
|
27
27
|
end
|
28
28
|
|
@@ -77,13 +77,13 @@ module Softlayer
|
|
77
77
|
attr_accessor :unbound_descendants
|
78
78
|
attr_accessor :virtual_guests
|
79
79
|
|
80
|
-
|
81
|
-
|
80
|
+
# network_storage_template_object
|
81
|
+
def allow_access_to_network_storage(message)
|
82
82
|
request(:allow_access_to_network_storage, Boolean, message)
|
83
83
|
end
|
84
84
|
|
85
|
-
|
86
|
-
|
85
|
+
# network_storage_template_objects
|
86
|
+
def allow_access_to_network_storage_list(message)
|
87
87
|
request(:allow_access_to_network_storage_list, Boolean, message)
|
88
88
|
end
|
89
89
|
|
@@ -91,8 +91,8 @@ module Softlayer
|
|
91
91
|
request(:create_reverse_domain_records, Softlayer::Dns::Domain::Reverse)
|
92
92
|
end
|
93
93
|
|
94
|
-
|
95
|
-
|
94
|
+
# new_end_point_ip_address
|
95
|
+
def create_subnet_route_update_transaction(message)
|
96
96
|
request(:create_subnet_route_update_transaction, Boolean, message)
|
97
97
|
end
|
98
98
|
|
@@ -100,8 +100,8 @@ module Softlayer
|
|
100
100
|
request(:create_swip_transaction, Boolean)
|
101
101
|
end
|
102
102
|
|
103
|
-
|
104
|
-
|
103
|
+
# note
|
104
|
+
def edit_note(message)
|
105
105
|
request(:edit_note, Boolean, message)
|
106
106
|
end
|
107
107
|
|
@@ -141,13 +141,13 @@ module Softlayer
|
|
141
141
|
request(:get_allowed_network_storage_replicas, Array[Softlayer::Network::Storage])
|
142
142
|
end
|
143
143
|
|
144
|
-
|
145
|
-
|
144
|
+
# nas_type
|
145
|
+
def get_attached_network_storages(message)
|
146
146
|
request(:get_attached_network_storages, Array[Softlayer::Network::Storage], message)
|
147
147
|
end
|
148
148
|
|
149
|
-
|
150
|
-
|
149
|
+
# nas_type
|
150
|
+
def get_available_network_storages(message)
|
151
151
|
request(:get_available_network_storages, Array[Softlayer::Network::Storage], message)
|
152
152
|
end
|
153
153
|
|
@@ -271,8 +271,8 @@ module Softlayer
|
|
271
271
|
request(:get_routing_type_name, String)
|
272
272
|
end
|
273
273
|
|
274
|
-
|
275
|
-
|
274
|
+
# ip_address
|
275
|
+
def self.get_subnet_for_ip_address(message)
|
276
276
|
request(:get_subnet_for_ip_address, Softlayer::Network::Subnet, message)
|
277
277
|
end
|
278
278
|
|
@@ -288,8 +288,8 @@ module Softlayer
|
|
288
288
|
request(:get_virtual_guests, Array[Softlayer::Virtual::Guest])
|
289
289
|
end
|
290
290
|
|
291
|
-
|
292
|
-
|
291
|
+
# network_storage_template_objects
|
292
|
+
def remove_access_to_network_storage_list(message)
|
293
293
|
request(:remove_access_to_network_storage_list, Boolean, message)
|
294
294
|
end
|
295
295
|
|
@@ -3,23 +3,34 @@ module Softlayer
|
|
3
3
|
class TippingPointReporting < Softlayer::Entity
|
4
4
|
SERVICE = 'SoftLayer_Network_TippingPointReporting'
|
5
5
|
|
6
|
-
|
7
|
-
|
6
|
+
# signature_id
|
7
|
+
# ip_address
|
8
|
+
# subnet_mask
|
9
|
+
# time_frame
|
10
|
+
# direction
|
11
|
+
def self.drill_down_attack(message)
|
8
12
|
request(:drill_down_attack, Softlayer::Container::Network::IntrusionProtection::SubnetReport, message)
|
9
13
|
end
|
10
14
|
|
11
|
-
|
12
|
-
|
15
|
+
# number_of_attacks
|
16
|
+
def self.get_main_statistics(message)
|
13
17
|
request(:get_main_statistics, Array[Softlayer::Container::Network::IntrusionProtection::Statistics], message)
|
14
18
|
end
|
15
19
|
|
16
|
-
|
17
|
-
|
20
|
+
# ip_address
|
21
|
+
# subnet_mask
|
22
|
+
# time_frame
|
23
|
+
# order_by
|
24
|
+
# order_direction
|
25
|
+
def self.get_report_for_ip_address_or_subnet(message)
|
18
26
|
request(:get_report_for_ip_address_or_subnet, Array[Softlayer::Container::Network::IntrusionProtection::SubnetReport], message)
|
19
27
|
end
|
20
28
|
|
21
|
-
|
22
|
-
|
29
|
+
# time_frame
|
30
|
+
# order_by
|
31
|
+
# order_direction
|
32
|
+
# return_subnet_groups
|
33
|
+
def self.get_subnet_report_for_entire_account(message)
|
23
34
|
request(:get_subnet_report_for_entire_account, Array[Softlayer::Container::Network::IntrusionProtection::SubnetReport], message)
|
24
35
|
end
|
25
36
|
|
@@ -43,18 +43,18 @@ module Softlayer
|
|
43
43
|
attr_accessor :static_route_subnets
|
44
44
|
attr_accessor :transaction_history
|
45
45
|
|
46
|
-
|
47
|
-
|
46
|
+
# subnet_id
|
47
|
+
def add_customer_subnet_to_network_tunnel(message)
|
48
48
|
request(:add_customer_subnet_to_network_tunnel, Boolean, message)
|
49
49
|
end
|
50
50
|
|
51
|
-
|
52
|
-
|
51
|
+
# subnet_id
|
52
|
+
def add_private_subnet_to_network_tunnel(message)
|
53
53
|
request(:add_private_subnet_to_network_tunnel, Boolean, message)
|
54
54
|
end
|
55
55
|
|
56
|
-
|
57
|
-
|
56
|
+
# subnet_id
|
57
|
+
def add_service_subnet_to_network_tunnel(message)
|
58
58
|
request(:add_service_subnet_to_network_tunnel, Boolean, message)
|
59
59
|
end
|
60
60
|
|
@@ -62,18 +62,18 @@ module Softlayer
|
|
62
62
|
request(:apply_configurations_to_device, Boolean)
|
63
63
|
end
|
64
64
|
|
65
|
-
|
66
|
-
|
65
|
+
# translation
|
66
|
+
def create_address_translation(message)
|
67
67
|
request(:create_address_translation, Softlayer::Network::Tunnel::Module::Context::Address::Translation, message)
|
68
68
|
end
|
69
69
|
|
70
|
-
|
71
|
-
|
70
|
+
# translations
|
71
|
+
def create_address_translations(message)
|
72
72
|
request(:create_address_translations, Array[Softlayer::Network::Tunnel::Module::Context::Address::Translation], message)
|
73
73
|
end
|
74
74
|
|
75
|
-
|
76
|
-
|
75
|
+
# translation_id
|
76
|
+
def delete_address_translation(message)
|
77
77
|
request(:delete_address_translation, Boolean, message)
|
78
78
|
end
|
79
79
|
|
@@ -85,18 +85,18 @@ module Softlayer
|
|
85
85
|
request(:download_parameter_configurations, Softlayer::Container::Utility::File::Entity)
|
86
86
|
end
|
87
87
|
|
88
|
-
|
89
|
-
|
88
|
+
# translation
|
89
|
+
def edit_address_translation(message)
|
90
90
|
request(:edit_address_translation, Softlayer::Network::Tunnel::Module::Context::Address::Translation, message)
|
91
91
|
end
|
92
92
|
|
93
|
-
|
94
|
-
|
93
|
+
# translations
|
94
|
+
def edit_address_translations(message)
|
95
95
|
request(:edit_address_translations, Array[Softlayer::Network::Tunnel::Module::Context::Address::Translation], message)
|
96
96
|
end
|
97
97
|
|
98
|
-
|
99
|
-
|
98
|
+
# template_object
|
99
|
+
def edit_object(message)
|
100
100
|
request(:edit_object, Boolean, message)
|
101
101
|
end
|
102
102
|
|
@@ -192,18 +192,18 @@ module Softlayer
|
|
192
192
|
request(:get_transaction_history, Array[Softlayer::Provisioning::Version1::Transaction])
|
193
193
|
end
|
194
194
|
|
195
|
-
|
196
|
-
|
195
|
+
# subnet_id
|
196
|
+
def remove_customer_subnet_from_network_tunnel(message)
|
197
197
|
request(:remove_customer_subnet_from_network_tunnel, Boolean, message)
|
198
198
|
end
|
199
199
|
|
200
|
-
|
201
|
-
|
200
|
+
# subnet_id
|
201
|
+
def remove_private_subnet_from_network_tunnel(message)
|
202
202
|
request(:remove_private_subnet_from_network_tunnel, Boolean, message)
|
203
203
|
end
|
204
204
|
|
205
|
-
|
206
|
-
|
205
|
+
# subnet_id
|
206
|
+
def remove_service_subnet_from_network_tunnel(message)
|
207
207
|
request(:remove_service_subnet_from_network_tunnel, Boolean, message)
|
208
208
|
end
|
209
209
|
|
@@ -71,13 +71,13 @@ module Softlayer
|
|
71
71
|
request(:restore_defaults, Softlayer::Provisioning::Version1::Transaction)
|
72
72
|
end
|
73
73
|
|
74
|
-
|
75
|
-
|
74
|
+
# tags
|
75
|
+
def set_tags(message)
|
76
76
|
request(:set_tags, Boolean, message)
|
77
77
|
end
|
78
78
|
|
79
|
-
|
80
|
-
|
79
|
+
# bypass
|
80
|
+
def update_route_bypass(message)
|
81
81
|
request(:update_route_bypass, Softlayer::Provisioning::Version1::Transaction, message)
|
82
82
|
end
|
83
83
|
|
@@ -71,8 +71,8 @@ module Softlayer
|
|
71
71
|
attr_accessor :type
|
72
72
|
attr_accessor :virtual_guests
|
73
73
|
|
74
|
-
|
75
|
-
|
74
|
+
# template_object
|
75
|
+
def edit_object(message)
|
76
76
|
request(:edit_object, Boolean, message)
|
77
77
|
end
|
78
78
|
|
@@ -200,8 +200,8 @@ module Softlayer
|
|
200
200
|
request(:get_private_vlan, Softlayer::Network::Vlan)
|
201
201
|
end
|
202
202
|
|
203
|
-
|
204
|
-
|
203
|
+
# ip_address
|
204
|
+
def self.get_private_vlan_by_ip_address(message)
|
205
205
|
request(:get_private_vlan_by_ip_address, Softlayer::Network::Vlan, message)
|
206
206
|
end
|
207
207
|
|
@@ -213,8 +213,8 @@ module Softlayer
|
|
213
213
|
request(:get_public_network_gateways, Array[Softlayer::Network::Gateway])
|
214
214
|
end
|
215
215
|
|
216
|
-
|
217
|
-
|
216
|
+
# fqdn
|
217
|
+
def self.get_public_vlan_by_fqdn(message)
|
218
218
|
request(:get_public_vlan_by_fqdn, Softlayer::Network::Vlan, message)
|
219
219
|
end
|
220
220
|
|
@@ -266,18 +266,18 @@ module Softlayer
|
|
266
266
|
request(:get_virtual_guests, Array[Softlayer::Virtual::Guest])
|
267
267
|
end
|
268
268
|
|
269
|
-
|
270
|
-
|
269
|
+
# ip_address
|
270
|
+
def self.get_vlan_for_ip_address(message)
|
271
271
|
request(:get_vlan_for_ip_address, Softlayer::Network::Vlan, message)
|
272
272
|
end
|
273
273
|
|
274
|
-
|
275
|
-
|
274
|
+
# tags
|
275
|
+
def set_tags(message)
|
276
276
|
request(:set_tags, Boolean, message)
|
277
277
|
end
|
278
278
|
|
279
|
-
|
280
|
-
|
279
|
+
# enabled
|
280
|
+
def update_firewall_intra_vlan_communication(message)
|
281
281
|
request(:update_firewall_intra_vlan_communication, nil, message)
|
282
282
|
end
|
283
283
|
|
data/lib/softlayer/network.rb
CHANGED
@@ -33,13 +33,14 @@ module Softlayer
|
|
33
33
|
attr_accessor :notes
|
34
34
|
attr_accessor :subnets
|
35
35
|
|
36
|
-
|
37
|
-
|
36
|
+
# template_object
|
37
|
+
def self.create_object(message)
|
38
38
|
request(:create_object, Softlayer::Network, message)
|
39
39
|
end
|
40
40
|
|
41
|
-
|
42
|
-
|
41
|
+
# subnet
|
42
|
+
# pod
|
43
|
+
def create_subnet(message)
|
43
44
|
request(:create_subnet, Softlayer::Network::Subnet, message)
|
44
45
|
end
|
45
46
|
|
@@ -47,13 +48,13 @@ module Softlayer
|
|
47
48
|
request(:delete_object, Boolean)
|
48
49
|
end
|
49
50
|
|
50
|
-
|
51
|
-
|
51
|
+
# subnet
|
52
|
+
def delete_subnet(message)
|
52
53
|
request(:delete_subnet, Boolean, message)
|
53
54
|
end
|
54
55
|
|
55
|
-
|
56
|
-
|
56
|
+
# template_object
|
57
|
+
def edit_object(message)
|
57
58
|
request(:edit_object, Boolean, message)
|
58
59
|
end
|
59
60
|
|
@@ -3,8 +3,10 @@ module Softlayer
|
|
3
3
|
class Mobile < Softlayer::Notification
|
4
4
|
SERVICE = 'SoftLayer_Notification_Mobile'
|
5
5
|
|
6
|
-
|
7
|
-
|
6
|
+
# key_name
|
7
|
+
# resource_table_id
|
8
|
+
# user_record_id
|
9
|
+
def self.create_subscriber_for_mobile_device(message)
|
8
10
|
request(:create_subscriber_for_mobile_device, Boolean, message)
|
9
11
|
end
|
10
12
|
|
@@ -37,8 +37,8 @@ module Softlayer
|
|
37
37
|
request(:get_all_objects, Array[Softlayer::Notification::Occurrence::Event])
|
38
38
|
end
|
39
39
|
|
40
|
-
|
41
|
-
|
40
|
+
# attachment_id
|
41
|
+
def get_attached_file(message)
|
42
42
|
request(:get_attached_file, Softlayer::Base64Binary, message)
|
43
43
|
end
|
44
44
|
|
@@ -5,13 +5,13 @@ module Softlayer
|
|
5
5
|
class Billing < Softlayer::Notification::User::Subscriber
|
6
6
|
SERVICE = 'SoftLayer_Notification_User_Subscriber_Billing'
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
# template_object
|
9
|
+
def self.create_object(message)
|
10
10
|
request(:create_object, Boolean, message)
|
11
11
|
end
|
12
12
|
|
13
|
-
|
14
|
-
|
13
|
+
# template_object
|
14
|
+
def edit_object(message)
|
15
15
|
request(:edit_object, Boolean, message)
|
16
16
|
end
|
17
17
|
|
@@ -9,13 +9,13 @@ module Softlayer
|
|
9
9
|
request(:clear_snooze_timer, Boolean)
|
10
10
|
end
|
11
11
|
|
12
|
-
|
13
|
-
|
12
|
+
# template_object
|
13
|
+
def self.create_object(message)
|
14
14
|
request(:create_object, Boolean, message)
|
15
15
|
end
|
16
16
|
|
17
|
-
|
18
|
-
|
17
|
+
# template_object
|
18
|
+
def edit_object(message)
|
19
19
|
request(:edit_object, Boolean, message)
|
20
20
|
end
|
21
21
|
|
@@ -47,8 +47,9 @@ module Softlayer
|
|
47
47
|
request(:get_user_record, Softlayer::User::Customer)
|
48
48
|
end
|
49
49
|
|
50
|
-
|
51
|
-
|
50
|
+
# start
|
51
|
+
# end
|
52
|
+
def set_snooze_timer(message)
|
52
53
|
request(:set_snooze_timer, Boolean, message)
|
53
54
|
end
|
54
55
|
|
@@ -11,13 +11,13 @@ module Softlayer
|
|
11
11
|
attr_accessor :default_preference
|
12
12
|
attr_accessor :notification_user_subscriber
|
13
13
|
|
14
|
-
|
15
|
-
|
14
|
+
# template_object
|
15
|
+
def self.create_object(message)
|
16
16
|
request(:create_object, Boolean, message)
|
17
17
|
end
|
18
18
|
|
19
|
-
|
20
|
-
|
19
|
+
# template_objects
|
20
|
+
def self.edit_objects(message)
|
21
21
|
request(:edit_objects, Boolean, message)
|
22
22
|
end
|
23
23
|
|
@@ -22,13 +22,13 @@ module Softlayer
|
|
22
22
|
attr_accessor :resource_record
|
23
23
|
attr_accessor :user_record
|
24
24
|
|
25
|
-
|
26
|
-
|
25
|
+
# template_object
|
26
|
+
def self.create_object(message)
|
27
27
|
request(:create_object, Boolean, message)
|
28
28
|
end
|
29
29
|
|
30
|
-
|
31
|
-
|
30
|
+
# template_object
|
31
|
+
def edit_object(message)
|
32
32
|
request(:edit_object, Boolean, message)
|
33
33
|
end
|
34
34
|
|
@@ -38,8 +38,8 @@ module Softlayer
|
|
38
38
|
request(:get_billing_items, Array[Softlayer::Billing::Item])
|
39
39
|
end
|
40
40
|
|
41
|
-
|
42
|
-
|
41
|
+
# reset_cache
|
42
|
+
def self.get_computing_categories(message)
|
43
43
|
request(:get_computing_categories, Array[Softlayer::Product::Item::Category], message)
|
44
44
|
end
|
45
45
|
|
@@ -87,8 +87,8 @@ module Softlayer
|
|
87
87
|
request(:get_subnet_categories, Array[Softlayer::Product::Item::Category])
|
88
88
|
end
|
89
89
|
|
90
|
-
|
91
|
-
|
90
|
+
# reset_cache
|
91
|
+
def self.get_top_level_categories(message)
|
92
92
|
request(:get_top_level_categories, Array[Softlayer::Product::Item::Category], message)
|
93
93
|
end
|
94
94
|
|
@@ -9,8 +9,8 @@ module Softlayer
|
|
9
9
|
attr_accessor :policy_name
|
10
10
|
attr_accessor :product
|
11
11
|
|
12
|
-
|
13
|
-
|
12
|
+
# ticket_id
|
13
|
+
def accept_from_ticket(message)
|
14
14
|
request(:accept_from_ticket, Boolean, message)
|
15
15
|
end
|
16
16
|
|
@@ -123,8 +123,9 @@ module Softlayer
|
|
123
123
|
request(:get_required_core_count, Integer)
|
124
124
|
end
|
125
125
|
|
126
|
-
|
127
|
-
|
126
|
+
# location
|
127
|
+
# items
|
128
|
+
def self.get_usage_rate_prices(message)
|
128
129
|
request(:get_usage_rate_prices, Array[Softlayer::Product::Item::Price], message)
|
129
130
|
end
|
130
131
|
|
@@ -3,68 +3,83 @@ module Softlayer
|
|
3
3
|
class Order < Softlayer::Entity
|
4
4
|
SERVICE = 'SoftLayer_Product_Order'
|
5
5
|
|
6
|
-
|
7
|
-
|
6
|
+
# item_prices
|
7
|
+
# account_id
|
8
|
+
# availability_type_key_names
|
9
|
+
def self.check_item_availability(message)
|
8
10
|
request(:check_item_availability, Boolean, message)
|
9
11
|
end
|
10
12
|
|
11
|
-
|
12
|
-
|
13
|
+
# image_template_id
|
14
|
+
# account_id
|
15
|
+
# package_id
|
16
|
+
# availability_type_key_names
|
17
|
+
def self.check_item_availability_for_image_template(message)
|
13
18
|
request(:check_item_availability_for_image_template, Boolean, message)
|
14
19
|
end
|
15
20
|
|
16
|
-
|
17
|
-
|
21
|
+
# item_prices
|
22
|
+
def self.check_item_conflicts(message)
|
18
23
|
request(:check_item_conflicts, Boolean, message)
|
19
24
|
end
|
20
25
|
|
21
|
-
|
22
|
-
|
26
|
+
# token
|
27
|
+
# payer_id
|
28
|
+
def self.get_external_payment_authorization_receipt(message)
|
23
29
|
request(:get_external_payment_authorization_receipt, Softlayer::Container::Product::Order::Receipt, message)
|
24
30
|
end
|
25
31
|
|
26
|
-
|
27
|
-
|
32
|
+
# location_id
|
33
|
+
# package_id
|
34
|
+
# account_id
|
35
|
+
def self.get_networks(message)
|
28
36
|
request(:get_networks, Array[Softlayer::Container::Product::Order::Network], message)
|
29
37
|
end
|
30
38
|
|
31
|
-
|
32
|
-
|
39
|
+
# order_container
|
40
|
+
def self.get_reseller_order(message)
|
33
41
|
request(:get_reseller_order, Softlayer::Container::Product::Order, message)
|
34
42
|
end
|
35
43
|
|
36
|
-
|
37
|
-
|
44
|
+
# order_hash
|
45
|
+
def self.get_tax_calculation_result(message)
|
38
46
|
request(:get_tax_calculation_result, Softlayer::Container::Tax::Cache, message)
|
39
47
|
end
|
40
48
|
|
41
|
-
|
42
|
-
|
49
|
+
# location_id
|
50
|
+
# package_id
|
51
|
+
# selected_items
|
52
|
+
# vlan_ids
|
53
|
+
# subnet_ids
|
54
|
+
# account_id
|
55
|
+
def self.get_vlans(message)
|
43
56
|
request(:get_vlans, Softlayer::Container::Product::Order::Network::Vlans, message)
|
44
57
|
end
|
45
58
|
|
46
|
-
|
47
|
-
|
59
|
+
# order_data
|
60
|
+
# save_as_quote
|
61
|
+
def self.place_order(message)
|
48
62
|
request(:place_order, Softlayer::Container::Product::Order::Receipt, message)
|
49
63
|
end
|
50
64
|
|
51
|
-
|
52
|
-
|
65
|
+
# order_data
|
66
|
+
def self.place_quote(message)
|
53
67
|
request(:place_quote, Softlayer::Container::Product::Order::Receipt, message)
|
54
68
|
end
|
55
69
|
|
56
|
-
|
57
|
-
|
70
|
+
# token
|
71
|
+
# payer_id
|
72
|
+
def self.process_external_payment_authorization(message)
|
58
73
|
request(:process_external_payment_authorization, Softlayer::Container::Product::Order, message)
|
59
74
|
end
|
60
75
|
|
61
|
-
|
62
|
-
|
76
|
+
# item_prices
|
77
|
+
def self.required_items(message)
|
63
78
|
request(:required_items, Array[Softlayer::Product::Item], message)
|
64
79
|
end
|
65
80
|
|
66
|
-
|
67
|
-
|
81
|
+
# order_data
|
82
|
+
def self.verify_order(message)
|
68
83
|
request(:verify_order, Softlayer::Container::Product::Order, message)
|
69
84
|
end
|
70
85
|
|