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
@@ -119,113 +119,118 @@ module Softlayer
|
|
119
119
|
attr_accessor :webcc_account
|
120
120
|
attr_accessor :weekly_schedule
|
121
121
|
|
122
|
-
|
123
|
-
|
122
|
+
# hardware_object_template
|
123
|
+
def allow_access_from_hardware(message)
|
124
124
|
request(:allow_access_from_hardware, Boolean, message)
|
125
125
|
end
|
126
126
|
|
127
|
-
|
128
|
-
|
127
|
+
# hardware_object_templates
|
128
|
+
def allow_access_from_hardware_list(message)
|
129
129
|
request(:allow_access_from_hardware_list, Boolean, message)
|
130
130
|
end
|
131
131
|
|
132
|
-
|
133
|
-
|
132
|
+
# type_class_name
|
133
|
+
# host_id
|
134
|
+
def allow_access_from_host(message)
|
134
135
|
request(:allow_access_from_host, Softlayer::Network::Storage::Allowed::Host, message)
|
135
136
|
end
|
136
137
|
|
137
|
-
|
138
|
-
|
138
|
+
# host_object_templates
|
139
|
+
def allow_access_from_host_list(message)
|
139
140
|
request(:allow_access_from_host_list, Array[Softlayer::Network::Storage::Allowed::Host], message)
|
140
141
|
end
|
141
142
|
|
142
|
-
|
143
|
-
|
143
|
+
# ip_address_object_template
|
144
|
+
def allow_access_from_ip_address(message)
|
144
145
|
request(:allow_access_from_ip_address, Boolean, message)
|
145
146
|
end
|
146
147
|
|
147
|
-
|
148
|
-
|
148
|
+
# ip_address_object_templates
|
149
|
+
def allow_access_from_ip_address_list(message)
|
149
150
|
request(:allow_access_from_ip_address_list, Boolean, message)
|
150
151
|
end
|
151
152
|
|
152
|
-
|
153
|
-
|
153
|
+
# subnet_object_template
|
154
|
+
def allow_access_from_subnet(message)
|
154
155
|
request(:allow_access_from_subnet, Boolean, message)
|
155
156
|
end
|
156
157
|
|
157
|
-
|
158
|
-
|
158
|
+
# subnet_object_templates
|
159
|
+
def allow_access_from_subnet_list(message)
|
159
160
|
request(:allow_access_from_subnet_list, Boolean, message)
|
160
161
|
end
|
161
162
|
|
162
|
-
|
163
|
-
|
163
|
+
# virtual_guest_object_template
|
164
|
+
def allow_access_from_virtual_guest(message)
|
164
165
|
request(:allow_access_from_virtual_guest, Boolean, message)
|
165
166
|
end
|
166
167
|
|
167
|
-
|
168
|
-
|
168
|
+
# virtual_guest_object_templates
|
169
|
+
def allow_access_from_virtual_guest_list(message)
|
169
170
|
request(:allow_access_from_virtual_guest_list, Boolean, message)
|
170
171
|
end
|
171
172
|
|
172
|
-
|
173
|
-
|
173
|
+
# hardware_object_template
|
174
|
+
def allow_access_to_replicant_from_hardware(message)
|
174
175
|
request(:allow_access_to_replicant_from_hardware, Boolean, message)
|
175
176
|
end
|
176
177
|
|
177
|
-
|
178
|
-
|
178
|
+
# hardware_object_templates
|
179
|
+
def allow_access_to_replicant_from_hardware_list(message)
|
179
180
|
request(:allow_access_to_replicant_from_hardware_list, Boolean, message)
|
180
181
|
end
|
181
182
|
|
182
|
-
|
183
|
-
|
183
|
+
# ip_address_object_template
|
184
|
+
def allow_access_to_replicant_from_ip_address(message)
|
184
185
|
request(:allow_access_to_replicant_from_ip_address, Boolean, message)
|
185
186
|
end
|
186
187
|
|
187
|
-
|
188
|
-
|
188
|
+
# ip_address_object_templates
|
189
|
+
def allow_access_to_replicant_from_ip_address_list(message)
|
189
190
|
request(:allow_access_to_replicant_from_ip_address_list, Boolean, message)
|
190
191
|
end
|
191
192
|
|
192
|
-
|
193
|
-
|
193
|
+
# subnet_object_template
|
194
|
+
def allow_access_to_replicant_from_subnet(message)
|
194
195
|
request(:allow_access_to_replicant_from_subnet, Boolean, message)
|
195
196
|
end
|
196
197
|
|
197
|
-
|
198
|
-
|
198
|
+
# subnet_object_templates
|
199
|
+
def allow_access_to_replicant_from_subnet_list(message)
|
199
200
|
request(:allow_access_to_replicant_from_subnet_list, Boolean, message)
|
200
201
|
end
|
201
202
|
|
202
|
-
|
203
|
-
|
203
|
+
# virtual_guest_object_template
|
204
|
+
def allow_access_to_replicant_from_virtual_guest(message)
|
204
205
|
request(:allow_access_to_replicant_from_virtual_guest, Boolean, message)
|
205
206
|
end
|
206
207
|
|
207
|
-
|
208
|
-
|
208
|
+
# virtual_guest_object_templates
|
209
|
+
def allow_access_to_replicant_from_virtual_guest_list(message)
|
209
210
|
request(:allow_access_to_replicant_from_virtual_guest_list, Boolean, message)
|
210
211
|
end
|
211
212
|
|
212
|
-
|
213
|
-
|
213
|
+
# username
|
214
|
+
def assign_credential(message)
|
214
215
|
request(:assign_credential, Boolean, message)
|
215
216
|
end
|
216
217
|
|
217
|
-
|
218
|
-
|
218
|
+
# type
|
219
|
+
def assign_new_credential(message)
|
219
220
|
request(:assign_new_credential, Softlayer::Network::Storage::Credential, message)
|
220
221
|
end
|
221
222
|
|
222
|
-
|
223
|
-
|
223
|
+
# username
|
224
|
+
# current_password
|
225
|
+
# new_password
|
226
|
+
def self.change_password(message)
|
224
227
|
request(:change_password, Boolean, message)
|
225
228
|
end
|
226
229
|
|
227
|
-
|
228
|
-
|
230
|
+
# type
|
231
|
+
# start_date
|
232
|
+
# end_date
|
233
|
+
def collect_bandwidth(message)
|
229
234
|
request(:collect_bandwidth, BigDecimal, message)
|
230
235
|
end
|
231
236
|
|
@@ -233,13 +238,13 @@ module Softlayer
|
|
233
238
|
request(:collect_bytes_used, BigDecimal)
|
234
239
|
end
|
235
240
|
|
236
|
-
|
237
|
-
|
241
|
+
# folder
|
242
|
+
def create_folder(message)
|
238
243
|
request(:create_folder, Boolean, message)
|
239
244
|
end
|
240
245
|
|
241
|
-
|
242
|
-
|
246
|
+
# notes
|
247
|
+
def create_snapshot(message)
|
243
248
|
request(:create_snapshot, Softlayer::Network::Storage, message)
|
244
249
|
end
|
245
250
|
|
@@ -247,18 +252,18 @@ module Softlayer
|
|
247
252
|
request(:delete_all_files, Boolean)
|
248
253
|
end
|
249
254
|
|
250
|
-
|
251
|
-
|
255
|
+
# file_id
|
256
|
+
def delete_file(message)
|
252
257
|
request(:delete_file, Boolean, message)
|
253
258
|
end
|
254
259
|
|
255
|
-
|
256
|
-
|
260
|
+
# file_ids
|
261
|
+
def delete_files(message)
|
257
262
|
request(:delete_files, Boolean, message)
|
258
263
|
end
|
259
264
|
|
260
|
-
|
261
|
-
|
265
|
+
# folder
|
266
|
+
def delete_folder(message)
|
262
267
|
request(:delete_folder, Boolean, message)
|
263
268
|
end
|
264
269
|
|
@@ -266,28 +271,33 @@ module Softlayer
|
|
266
271
|
request(:delete_object, Boolean)
|
267
272
|
end
|
268
273
|
|
269
|
-
|
270
|
-
|
274
|
+
# schedule_type
|
275
|
+
def disable_snapshots(message)
|
271
276
|
request(:disable_snapshots, Boolean, message)
|
272
277
|
end
|
273
278
|
|
274
|
-
|
275
|
-
|
279
|
+
# file_id
|
280
|
+
def download_file(message)
|
276
281
|
request(:download_file, Softlayer::Container::Utility::File::Entity, message)
|
277
282
|
end
|
278
283
|
|
279
|
-
|
280
|
-
|
284
|
+
# username
|
285
|
+
# new_password
|
286
|
+
def edit_credential(message)
|
281
287
|
request(:edit_credential, Boolean, message)
|
282
288
|
end
|
283
289
|
|
284
|
-
|
285
|
-
|
290
|
+
# template_object
|
291
|
+
def edit_object(message)
|
286
292
|
request(:edit_object, Boolean, message)
|
287
293
|
end
|
288
294
|
|
289
|
-
|
290
|
-
|
295
|
+
# schedule_type
|
296
|
+
# retention_count
|
297
|
+
# minute
|
298
|
+
# hour
|
299
|
+
# day_of_week
|
300
|
+
def enable_snapshots(message)
|
291
301
|
request(:enable_snapshots, Boolean, message)
|
292
302
|
end
|
293
303
|
|
@@ -295,8 +305,8 @@ module Softlayer
|
|
295
305
|
request(:failback_from_replicant, Boolean)
|
296
306
|
end
|
297
307
|
|
298
|
-
|
299
|
-
|
308
|
+
# replicant_id
|
309
|
+
def failover_to_replicant(message)
|
300
310
|
request(:failover_to_replicant, Boolean, message)
|
301
311
|
end
|
302
312
|
|
@@ -316,28 +326,29 @@ module Softlayer
|
|
316
326
|
request(:get_all_files, Array[Softlayer::Container::Utility::File::Entity])
|
317
327
|
end
|
318
328
|
|
319
|
-
|
320
|
-
|
329
|
+
# filter
|
330
|
+
def get_all_files_by_filter(message)
|
321
331
|
request(:get_all_files_by_filter, Array[Softlayer::Container::Utility::File::Entity], message)
|
322
332
|
end
|
323
333
|
|
324
|
-
|
325
|
-
|
334
|
+
# filter_hostname
|
335
|
+
def get_allowable_hardware(message)
|
326
336
|
request(:get_allowable_hardware, Array[Softlayer::Hardware], message)
|
327
337
|
end
|
328
338
|
|
329
|
-
|
330
|
-
|
339
|
+
# subnet_id
|
340
|
+
# filter_ip_address
|
341
|
+
def get_allowable_ip_addresses(message)
|
331
342
|
request(:get_allowable_ip_addresses, Array[Softlayer::Network::Subnet::IpAddress], message)
|
332
343
|
end
|
333
344
|
|
334
|
-
|
335
|
-
|
345
|
+
# filter_network_identifier
|
346
|
+
def get_allowable_subnets(message)
|
336
347
|
request(:get_allowable_subnets, Array[Softlayer::Network::Subnet], message)
|
337
348
|
end
|
338
349
|
|
339
|
-
|
340
|
-
|
350
|
+
# filter_hostname
|
351
|
+
def get_allowable_virtual_guests(message)
|
341
352
|
request(:get_allowable_virtual_guests, Array[Softlayer::Virtual::Guest], message)
|
342
353
|
end
|
343
354
|
|
@@ -385,8 +396,9 @@ module Softlayer
|
|
385
396
|
request(:get_billing_item_category, Softlayer::Product::Item::Category)
|
386
397
|
end
|
387
398
|
|
388
|
-
|
389
|
-
|
399
|
+
# username
|
400
|
+
# type
|
401
|
+
def self.get_by_username(message)
|
390
402
|
request(:get_by_username, Array[Softlayer::Network::Storage], message)
|
391
403
|
end
|
392
404
|
|
@@ -418,8 +430,8 @@ module Softlayer
|
|
418
430
|
request(:get_events, Array[Softlayer::Network::Storage::Event])
|
419
431
|
end
|
420
432
|
|
421
|
-
|
422
|
-
|
433
|
+
# identifier
|
434
|
+
def get_file_by_identifier(message)
|
423
435
|
request(:get_file_by_identifier, Softlayer::Container::Utility::File::Entity, message)
|
424
436
|
end
|
425
437
|
|
@@ -427,8 +439,9 @@ module Softlayer
|
|
427
439
|
request(:get_file_count, Integer)
|
428
440
|
end
|
429
441
|
|
430
|
-
|
431
|
-
|
442
|
+
# folder
|
443
|
+
# path
|
444
|
+
def get_file_list(message)
|
432
445
|
request(:get_file_list, Array[Softlayer::Container::Utility::File::Entity], message)
|
433
446
|
end
|
434
447
|
|
@@ -444,8 +457,10 @@ module Softlayer
|
|
444
457
|
request(:get_folder_list, Array[Softlayer::Container::Network::Storage::Hub::ObjectStorage::Folder])
|
445
458
|
end
|
446
459
|
|
447
|
-
|
448
|
-
|
460
|
+
# start_date
|
461
|
+
# end_date
|
462
|
+
# type
|
463
|
+
def get_graph(message)
|
449
464
|
request(:get_graph, Softlayer::Container::Bandwidth::GraphOutputs, message)
|
450
465
|
end
|
451
466
|
|
@@ -493,8 +508,8 @@ module Softlayer
|
|
493
508
|
request(:get_object_storage_connection_information, Array[Softlayer::Container::Network::Service::Resource::ObjectStorage::ConnectionInformation])
|
494
509
|
end
|
495
510
|
|
496
|
-
|
497
|
-
|
511
|
+
# credential_object
|
512
|
+
def self.get_objects_by_credential(message)
|
498
513
|
request(:get_objects_by_credential, Array[Softlayer::Network::Storage], message)
|
499
514
|
end
|
500
515
|
|
@@ -526,8 +541,8 @@ module Softlayer
|
|
526
541
|
request(:get_properties, Array[Softlayer::Network::Storage::Property])
|
527
542
|
end
|
528
543
|
|
529
|
-
|
530
|
-
|
544
|
+
# file_id
|
545
|
+
def get_recycle_bin_file_by_identifier(message)
|
531
546
|
request(:get_recycle_bin_file_by_identifier, Softlayer::Container::Utility::File::Entity, message)
|
532
547
|
end
|
533
548
|
|
@@ -659,128 +674,129 @@ module Softlayer
|
|
659
674
|
request(:get_weekly_schedule, Softlayer::Network::Storage::Schedule)
|
660
675
|
end
|
661
676
|
|
662
|
-
|
663
|
-
|
677
|
+
# replicant_id
|
678
|
+
def immediate_failover_to_replicant(message)
|
664
679
|
request(:immediate_failover_to_replicant, Boolean, message)
|
665
680
|
end
|
666
681
|
|
667
|
-
|
668
|
-
|
682
|
+
# exempt_status_key_names
|
683
|
+
def is_blocking_operation_in_progress(message)
|
669
684
|
request(:is_blocking_operation_in_progress, Boolean, message)
|
670
685
|
end
|
671
686
|
|
672
|
-
|
673
|
-
|
687
|
+
# hardware_object_template
|
688
|
+
def remove_access_from_hardware(message)
|
674
689
|
request(:remove_access_from_hardware, Boolean, message)
|
675
690
|
end
|
676
691
|
|
677
|
-
|
678
|
-
|
692
|
+
# hardware_object_templates
|
693
|
+
def remove_access_from_hardware_list(message)
|
679
694
|
request(:remove_access_from_hardware_list, Boolean, message)
|
680
695
|
end
|
681
696
|
|
682
|
-
|
683
|
-
|
697
|
+
# type_class_name
|
698
|
+
# host_id
|
699
|
+
def remove_access_from_host(message)
|
684
700
|
request(:remove_access_from_host, Softlayer::Network::Storage::Allowed::Host, message)
|
685
701
|
end
|
686
702
|
|
687
|
-
|
688
|
-
|
703
|
+
# host_object_templates
|
704
|
+
def remove_access_from_host_list(message)
|
689
705
|
request(:remove_access_from_host_list, Array[Softlayer::Network::Storage::Allowed::Host], message)
|
690
706
|
end
|
691
707
|
|
692
|
-
|
693
|
-
|
708
|
+
# ip_address_object_template
|
709
|
+
def remove_access_from_ip_address(message)
|
694
710
|
request(:remove_access_from_ip_address, Boolean, message)
|
695
711
|
end
|
696
712
|
|
697
|
-
|
698
|
-
|
713
|
+
# ip_address_object_templates
|
714
|
+
def remove_access_from_ip_address_list(message)
|
699
715
|
request(:remove_access_from_ip_address_list, Boolean, message)
|
700
716
|
end
|
701
717
|
|
702
|
-
|
703
|
-
|
718
|
+
# subnet_object_template
|
719
|
+
def remove_access_from_subnet(message)
|
704
720
|
request(:remove_access_from_subnet, Boolean, message)
|
705
721
|
end
|
706
722
|
|
707
|
-
|
708
|
-
|
723
|
+
# subnet_object_templates
|
724
|
+
def remove_access_from_subnet_list(message)
|
709
725
|
request(:remove_access_from_subnet_list, Boolean, message)
|
710
726
|
end
|
711
727
|
|
712
|
-
|
713
|
-
|
728
|
+
# virtual_guest_object_template
|
729
|
+
def remove_access_from_virtual_guest(message)
|
714
730
|
request(:remove_access_from_virtual_guest, Boolean, message)
|
715
731
|
end
|
716
732
|
|
717
|
-
|
718
|
-
|
733
|
+
# virtual_guest_object_templates
|
734
|
+
def remove_access_from_virtual_guest_list(message)
|
719
735
|
request(:remove_access_from_virtual_guest_list, Boolean, message)
|
720
736
|
end
|
721
737
|
|
722
|
-
|
723
|
-
|
738
|
+
# hardware_object_templates
|
739
|
+
def remove_access_to_replicant_from_hardware_list(message)
|
724
740
|
request(:remove_access_to_replicant_from_hardware_list, Boolean, message)
|
725
741
|
end
|
726
742
|
|
727
|
-
|
728
|
-
|
743
|
+
# ip_address_object_templates
|
744
|
+
def remove_access_to_replicant_from_ip_address_list(message)
|
729
745
|
request(:remove_access_to_replicant_from_ip_address_list, Boolean, message)
|
730
746
|
end
|
731
747
|
|
732
|
-
|
733
|
-
|
748
|
+
# subnet_object_template
|
749
|
+
def remove_access_to_replicant_from_subnet(message)
|
734
750
|
request(:remove_access_to_replicant_from_subnet, Boolean, message)
|
735
751
|
end
|
736
752
|
|
737
|
-
|
738
|
-
|
753
|
+
# subnet_object_templates
|
754
|
+
def remove_access_to_replicant_from_subnet_list(message)
|
739
755
|
request(:remove_access_to_replicant_from_subnet_list, Boolean, message)
|
740
756
|
end
|
741
757
|
|
742
|
-
|
743
|
-
|
758
|
+
# virtual_guest_object_templates
|
759
|
+
def remove_access_to_replicant_from_virtual_guest_list(message)
|
744
760
|
request(:remove_access_to_replicant_from_virtual_guest_list, Boolean, message)
|
745
761
|
end
|
746
762
|
|
747
|
-
|
748
|
-
|
763
|
+
# username
|
764
|
+
def remove_credential(message)
|
749
765
|
request(:remove_credential, Boolean, message)
|
750
766
|
end
|
751
767
|
|
752
|
-
|
753
|
-
|
768
|
+
# file_id
|
769
|
+
def restore_file(message)
|
754
770
|
request(:restore_file, Softlayer::Container::Utility::File::Entity, message)
|
755
771
|
end
|
756
772
|
|
757
|
-
|
758
|
-
|
773
|
+
# snapshot_id
|
774
|
+
def restore_from_snapshot(message)
|
759
775
|
request(:restore_from_snapshot, Boolean, message)
|
760
776
|
end
|
761
777
|
|
762
|
-
|
763
|
-
|
778
|
+
# username
|
779
|
+
def self.send_password_reminder_email(message)
|
764
780
|
request(:send_password_reminder_email, Boolean, message)
|
765
781
|
end
|
766
782
|
|
767
|
-
|
768
|
-
|
783
|
+
# mountable
|
784
|
+
def set_mountable(message)
|
769
785
|
request(:set_mountable, Boolean, message)
|
770
786
|
end
|
771
787
|
|
772
|
-
|
773
|
-
|
788
|
+
# capacity_gb
|
789
|
+
def set_snapshot_allocation(message)
|
774
790
|
request(:set_snapshot_allocation, nil, message)
|
775
791
|
end
|
776
792
|
|
777
|
-
|
778
|
-
|
793
|
+
# item_id
|
794
|
+
def upgrade_volume_capacity(message)
|
779
795
|
request(:upgrade_volume_capacity, Boolean, message)
|
780
796
|
end
|
781
797
|
|
782
|
-
|
783
|
-
|
798
|
+
# file
|
799
|
+
def upload_file(message)
|
784
800
|
request(:upload_file, Softlayer::Container::Utility::File::Entity, message)
|
785
801
|
end
|
786
802
|
|
@@ -39,8 +39,8 @@ module Softlayer
|
|
39
39
|
request(:get_object, Softlayer::Network::Subnet::IpAddress::Global)
|
40
40
|
end
|
41
41
|
|
42
|
-
|
43
|
-
|
42
|
+
# new_end_point_ip_address
|
43
|
+
def route(message)
|
44
44
|
request(:route, Softlayer::Provisioning::Version1::Transaction, message)
|
45
45
|
end
|
46
46
|
|
@@ -57,28 +57,28 @@ module Softlayer
|
|
57
57
|
attr_accessor :virtual_guest
|
58
58
|
attr_accessor :virtual_licenses
|
59
59
|
|
60
|
-
|
61
|
-
|
60
|
+
# network_storage_template_object
|
61
|
+
def allow_access_to_network_storage(message)
|
62
62
|
request(:allow_access_to_network_storage, Boolean, message)
|
63
63
|
end
|
64
64
|
|
65
|
-
|
66
|
-
|
65
|
+
# network_storage_template_objects
|
66
|
+
def allow_access_to_network_storage_list(message)
|
67
67
|
request(:allow_access_to_network_storage_list, Boolean, message)
|
68
68
|
end
|
69
69
|
|
70
|
-
|
71
|
-
|
70
|
+
# template_object
|
71
|
+
def edit_object(message)
|
72
72
|
request(:edit_object, Boolean, message)
|
73
73
|
end
|
74
74
|
|
75
|
-
|
76
|
-
|
75
|
+
# template_objects
|
76
|
+
def self.edit_objects(message)
|
77
77
|
request(:edit_objects, Boolean, message)
|
78
78
|
end
|
79
79
|
|
80
|
-
|
81
|
-
|
80
|
+
# ip_address
|
81
|
+
def self.find_by_ipv4_address(message)
|
82
82
|
request(:find_by_ipv4_address, Softlayer::Network::Subnet::IpAddress, message)
|
83
83
|
end
|
84
84
|
|
@@ -98,18 +98,18 @@ module Softlayer
|
|
98
98
|
request(:get_application_delivery_controller, Softlayer::Network::Application::Delivery::Controller)
|
99
99
|
end
|
100
100
|
|
101
|
-
|
102
|
-
|
101
|
+
# nas_type
|
102
|
+
def get_attached_network_storages(message)
|
103
103
|
request(:get_attached_network_storages, Array[Softlayer::Network::Storage], message)
|
104
104
|
end
|
105
105
|
|
106
|
-
|
107
|
-
|
106
|
+
# nas_type
|
107
|
+
def get_available_network_storages(message)
|
108
108
|
request(:get_available_network_storages, Array[Softlayer::Network::Storage], message)
|
109
109
|
end
|
110
110
|
|
111
|
-
|
112
|
-
|
111
|
+
# ip_address
|
112
|
+
def self.get_by_ip_address(message)
|
113
113
|
request(:get_by_ip_address, Softlayer::Network::Subnet::IpAddress, message)
|
114
114
|
end
|
115
115
|
|
@@ -209,8 +209,8 @@ module Softlayer
|
|
209
209
|
request(:get_virtual_licenses, Array[Softlayer::Software::VirtualLicense])
|
210
210
|
end
|
211
211
|
|
212
|
-
|
213
|
-
|
212
|
+
# network_storage_template_objects
|
213
|
+
def remove_access_to_network_storage_list(message)
|
214
214
|
request(:remove_access_to_network_storage_list, Boolean, message)
|
215
215
|
end
|
216
216
|
|
@@ -12,8 +12,8 @@ module Softlayer
|
|
12
12
|
attr_accessor :detail
|
13
13
|
attr_accessor :registration
|
14
14
|
|
15
|
-
|
16
|
-
|
15
|
+
# template_object
|
16
|
+
def self.create_object(message)
|
17
17
|
request(:create_object, Softlayer::Network::Subnet::Registration::Details, message)
|
18
18
|
end
|
19
19
|
|