softlayer 0.0.16 → 0.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/data/.services_cache +42 -36
  3. data/data/Account.wsdl +22 -0
  4. data/data/Account_Link_Bluemix.wsdl +2 -3
  5. data/data/Billing_Order_Cart.wsdl +2 -2
  6. data/data/Billing_Order_Quote.wsdl +2 -2
  7. data/data/Hardware_SecurityModule.wsdl +6 -0
  8. data/data/Hardware_Server.wsdl +6 -0
  9. data/data/Network_Bandwidth_Version1_Allotment.wsdl +4 -81
  10. data/data/Product_Order.wsdl +17 -2
  11. data/data/Product_Package.wsdl +3 -0
  12. data/data/Ticket_Priority.wsdl +66 -0
  13. data/data/Ticket_Survey.wsdl +6 -2
  14. data/data/User_Customer.wsdl +147 -6
  15. data/data/User_Customer_OpenIdConnect.wsdl +224 -51
  16. data/data/Virtual_Disk_Image.wsdl +23 -0
  17. data/data/Virtual_Guest.wsdl +26 -0
  18. data/data/types.xsd +180 -2
  19. data/lib/softlayer/account.rb +6 -0
  20. data/lib/softlayer/account/authentication.rb +1 -0
  21. data/lib/softlayer/account/authentication/open_id_connect.rb +10 -0
  22. data/lib/softlayer/account/authentication/open_id_connect/option.rb +19 -0
  23. data/lib/softlayer/account/authentication/open_id_connect/registration_information.rb +20 -0
  24. data/lib/softlayer/account/link/bluemix.rb +2 -3
  25. data/lib/softlayer/container/network/storage/backup/evault/web_cc/authentication/details.rb +2 -0
  26. data/lib/softlayer/container/product/order/network/storage.rb +1 -0
  27. data/lib/softlayer/container/product/order/network/storage/object.rb +19 -0
  28. data/lib/softlayer/container/product/order/virtual/guest.rb +2 -0
  29. data/lib/softlayer/container/ticket.rb +1 -0
  30. data/lib/softlayer/container/ticket/priority.rb +17 -0
  31. data/lib/softlayer/container/user/customer.rb +1 -0
  32. data/lib/softlayer/container/user/customer/external/binding.rb +6 -0
  33. data/lib/softlayer/container/user/customer/password_set.rb +27 -0
  34. data/lib/softlayer/hardware/security_module.rb +1 -0
  35. data/lib/softlayer/hardware/server.rb +1 -0
  36. data/lib/softlayer/network/bandwidth/version1/allotment.rb +1 -8
  37. data/lib/softlayer/product/package/server.rb +2 -0
  38. data/lib/softlayer/ticket.rb +1 -0
  39. data/lib/softlayer/ticket/priority.rb +16 -0
  40. data/lib/softlayer/user/customer.rb +34 -0
  41. data/lib/softlayer/user/customer/open_id_connect.rb +63 -14
  42. data/lib/softlayer/version.rb +1 -1
  43. data/lib/softlayer/virtual/disk/image.rb +6 -0
  44. data/lib/softlayer/virtual/guest.rb +6 -0
  45. metadata +10 -2
@@ -0,0 +1,19 @@
1
+ module Softlayer
2
+ class Account
3
+ module Authentication
4
+ module OpenIdConnect
5
+ class Option < Softlayer::Entity
6
+ attr_accessor :key
7
+ attr_accessor :value
8
+
9
+ class Representer < Softlayer::Entity::Representer
10
+ include Representable::Hash
11
+ include Representable::Coercion
12
+ property :key, type: String
13
+ property :value, type: String
14
+ end
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,20 @@
1
+ module Softlayer
2
+ class Account
3
+ module Authentication
4
+ module OpenIdConnect
5
+ class RegistrationInformation < Softlayer::Entity
6
+ attr_accessor :existing_blue_id_flag
7
+ attr_accessor :federated_email_domain_flag
8
+ attr_accessor :user
9
+
10
+ class Representer < Softlayer::Entity::Representer
11
+ include Representable::Hash
12
+ include Representable::Coercion
13
+ property :existing_blue_id_flag, type: Boolean
14
+ property :federated_email_domain_flag, type: Boolean
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end
20
+ end
@@ -16,9 +16,8 @@ module Softlayer
16
16
  request(:get_service_provider, Softlayer::Service::Provider)
17
17
  end
18
18
 
19
- # ims_account
20
- def self.get_support_tier_type(message)
21
- request(:get_support_tier_type, String, message)
19
+ def get_support_tier_type
20
+ request(:get_support_tier_type, String)
22
21
  end
23
22
 
24
23
  class Representer < Softlayer::Account::Link::Representer
@@ -9,12 +9,14 @@ module Softlayer
9
9
  class Details < Softlayer::Entity
10
10
  attr_accessor :event_validation
11
11
  attr_accessor :view_state
12
+ attr_accessor :web_cc_url
12
13
 
13
14
  class Representer < Softlayer::Entity::Representer
14
15
  include Representable::Hash
15
16
  include Representable::Coercion
16
17
  property :event_validation, type: String
17
18
  property :view_state, type: String
19
+ property :web_cc_url, type: String
18
20
  end
19
21
  end
20
22
  end
@@ -9,6 +9,7 @@ module Softlayer
9
9
  autoload :Iscsi, 'softlayer/container/product/order/network/storage/iscsi'
10
10
  autoload :Modification, 'softlayer/container/product/order/network/storage/modification'
11
11
  autoload :Nas, 'softlayer/container/product/order/network/storage/nas'
12
+ autoload :Object, 'softlayer/container/product/order/network/storage/object'
12
13
  autoload :Backup, 'softlayer/container/product/order/network/storage/backup'
13
14
  end
14
15
  end
@@ -0,0 +1,19 @@
1
+ module Softlayer
2
+ module Container
3
+ module Product
4
+ class Order
5
+ class Network
6
+ module Storage
7
+ class Object < Softlayer::Container::Product::Order
8
+
9
+ class Representer < Softlayer::Container::Product::Order::Representer
10
+ include Representable::Hash
11
+ include Representable::Coercion
12
+ end
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end
@@ -5,10 +5,12 @@ module Softlayer
5
5
  module Virtual
6
6
  class Guest < Softlayer::Container::Product::Order::Hardware::Server
7
7
  autoload :Upgrade, 'softlayer/container/product/order/virtual/guest/upgrade'
8
+ attr_accessor :bootable_disk_id
8
9
 
9
10
  class Representer < Softlayer::Container::Product::Order::Hardware::Server::Representer
10
11
  include Representable::Hash
11
12
  include Representable::Coercion
13
+ property :bootable_disk_id, type: Integer
12
14
  end
13
15
  end
14
16
  end
@@ -3,6 +3,7 @@ module Softlayer
3
3
  module Ticket
4
4
  autoload :GraphInputs, 'softlayer/container/ticket/graph_inputs'
5
5
  autoload :GraphOutputs, 'softlayer/container/ticket/graph_outputs'
6
+ autoload :Priority, 'softlayer/container/ticket/priority'
6
7
  autoload :Survey, 'softlayer/container/ticket/survey'
7
8
  end
8
9
  end
@@ -0,0 +1,17 @@
1
+ module Softlayer
2
+ module Container
3
+ module Ticket
4
+ class Priority < Softlayer::Entity
5
+ attr_accessor :name
6
+ attr_accessor :value
7
+
8
+ class Representer < Softlayer::Entity::Representer
9
+ include Representable::Hash
10
+ include Representable::Coercion
11
+ property :name, type: String
12
+ property :value, type: Integer
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -2,6 +2,7 @@ module Softlayer
2
2
  module Container
3
3
  module User
4
4
  module Customer
5
+ autoload :PasswordSet, 'softlayer/container/user/customer/password_set'
5
6
  autoload :External, 'softlayer/container/user/customer/external'
6
7
  autoload :Portal, 'softlayer/container/user/customer/portal'
7
8
  end
@@ -9,6 +9,9 @@ module Softlayer
9
9
  autoload :Vendor, 'softlayer/container/user/customer/external/binding/vendor'
10
10
  autoload :Verisign, 'softlayer/container/user/customer/external/binding/verisign'
11
11
  attr_accessor :authentication_token
12
+ attr_accessor :open_id_connect_access_token
13
+ attr_accessor :open_id_connect_account_id
14
+ attr_accessor :open_id_connect_provider
12
15
  attr_accessor :password
13
16
  attr_accessor :security_question_answer
14
17
  attr_accessor :security_question_id
@@ -19,6 +22,9 @@ module Softlayer
19
22
  include Representable::Hash
20
23
  include Representable::Coercion
21
24
  property :authentication_token, type: String
25
+ property :open_id_connect_access_token, type: String
26
+ property :open_id_connect_account_id, type: Integer
27
+ property :open_id_connect_provider, type: Integer
22
28
  property :password, type: String
23
29
  property :security_question_answer, type: String
24
30
  property :security_question_id, type: Integer
@@ -0,0 +1,27 @@
1
+ module Softlayer
2
+ module Container
3
+ module User
4
+ module Customer
5
+ class PasswordSet < Softlayer::Entity
6
+ attr_accessor :answered_security_question_id
7
+ attr_accessor :authentication_methods
8
+ attr_accessor :key
9
+ attr_accessor :password
10
+ attr_accessor :security_answer
11
+ attr_accessor :security_questions
12
+ attr_accessor :user_id
13
+
14
+ class Representer < Softlayer::Entity::Representer
15
+ include Representable::Hash
16
+ include Representable::Coercion
17
+ property :answered_security_question_id, type: Integer
18
+ property :key, type: String
19
+ property :password, type: String
20
+ property :security_answer, type: String
21
+ property :user_id, type: Integer
22
+ end
23
+ end
24
+ end
25
+ end
26
+ end
27
+ end
@@ -224,6 +224,7 @@ module Softlayer
224
224
  # snapshot_range
225
225
  # draw
226
226
  # date_specified
227
+ # date_specified_end
227
228
  def get_bandwidth_image(message)
228
229
  request(:get_bandwidth_image, Softlayer::Container::Bandwidth::GraphOutputs, message)
229
230
  end
@@ -266,6 +266,7 @@ module Softlayer
266
266
  # snapshot_range
267
267
  # draw
268
268
  # date_specified
269
+ # date_specified_end
269
270
  def get_bandwidth_image(message)
270
271
  request(:get_bandwidth_image, Softlayer::Container::Bandwidth::GraphOutputs, message)
271
272
  end
@@ -100,6 +100,7 @@ module Softlayer
100
100
  # snapshot_range
101
101
  # draw
102
102
  # date_specified
103
+ # date_specified_end
103
104
  def get_bandwidth_image(message)
104
105
  request(:get_bandwidth_image, Softlayer::Container::Bandwidth::GraphOutputs, message)
105
106
  end
@@ -220,14 +221,6 @@ module Softlayer
220
221
  request(:get_virtual_guests, Array[Softlayer::Virtual::Guest])
221
222
  end
222
223
 
223
- # network_type
224
- # snapshot_range
225
- # draw
226
- # date_specified
227
- def new_get_bandwidth_image(message)
228
- request(:new_get_bandwidth_image, Softlayer::Container::Bandwidth::GraphOutputs, message)
229
- end
230
-
231
224
  # template_objects
232
225
  # new_allotment_id
233
226
  def self.reassign_servers(message)
@@ -33,6 +33,7 @@ module Softlayer
33
33
  attr_accessor :processor_speed
34
34
  attr_accessor :product_name
35
35
  attr_accessor :redundant_power_flag
36
+ attr_accessor :sap_certified_server_flag
36
37
  attr_accessor :starting_hourly_price
37
38
  attr_accessor :starting_monthly_price
38
39
  attr_accessor :total_core_count
@@ -104,6 +105,7 @@ module Softlayer
104
105
  property :processor_speed, type: String
105
106
  property :product_name, type: String
106
107
  property :redundant_power_flag, type: Boolean
108
+ property :sap_certified_server_flag, type: Boolean
107
109
  property :starting_hourly_price, type: Float
108
110
  property :starting_monthly_price, type: Float
109
111
  property :total_core_count, type: Integer
@@ -5,6 +5,7 @@ module Softlayer
5
5
  autoload :Attachment, 'softlayer/ticket/attachment'
6
6
  autoload :Chat, 'softlayer/ticket/chat'
7
7
  autoload :Group, 'softlayer/ticket/group'
8
+ autoload :Priority, 'softlayer/ticket/priority'
8
9
  autoload :State, 'softlayer/ticket/state'
9
10
  autoload :Status, 'softlayer/ticket/status'
10
11
  autoload :Subject, 'softlayer/ticket/subject'
@@ -0,0 +1,16 @@
1
+ module Softlayer
2
+ class Ticket
3
+ class Priority < Softlayer::Entity
4
+ SERVICE = 'SoftLayer_Ticket_Priority'
5
+
6
+ def self.get_priorities
7
+ request(:get_priorities, Array[Softlayer::Container::Ticket::Priority])
8
+ end
9
+
10
+ class Representer < Softlayer::Entity::Representer
11
+ include Representable::Hash
12
+ include Representable::Coercion
13
+ end
14
+ end
15
+ end
16
+ end
@@ -42,6 +42,7 @@ module Softlayer
42
42
  attr_accessor :msn
43
43
  attr_accessor :name_id
44
44
  attr_accessor :office_phone
45
+ attr_accessor :open_id_connect_user_name
45
46
  attr_accessor :parent_id
46
47
  attr_accessor :password_expire_date
47
48
  attr_accessor :permission_system_version
@@ -194,6 +195,12 @@ module Softlayer
194
195
  request(:check_external_authentication_status, Softlayer::Container::User::Customer::Portal::Token, message)
195
196
  end
196
197
 
198
+ # password_set
199
+ # authentication_container
200
+ def check_phone_factor_authentication_for_password_set(message)
201
+ request(:check_phone_factor_authentication_for_password_set, Boolean, message)
202
+ end
203
+
197
204
  # key_name
198
205
  # resource_table_id
199
206
  def create_notification_subscriber(message)
@@ -379,6 +386,11 @@ module Softlayer
379
386
  request(:get_preferences, Array[Softlayer::User::Preference])
380
387
  end
381
388
 
389
+ # password_set
390
+ def get_requirements_for_password_set(message)
391
+ request(:get_requirements_for_password_set, Softlayer::Container::User::Customer::PasswordSet, message)
392
+ end
393
+
382
394
  def get_roles
383
395
  request(:get_roles, Array[Softlayer::User::Permission::Role])
384
396
  end
@@ -440,6 +452,11 @@ module Softlayer
440
452
  request(:get_user_from_lost_password_request, Array[Softlayer::User::Security::Question], message)
441
453
  end
442
454
 
455
+ # key
456
+ def self.get_user_id_for_password_set(message)
457
+ request(:get_user_id_for_password_set, Integer, message)
458
+ end
459
+
443
460
  def get_user_links
444
461
  request(:get_user_links, Array[Softlayer::User::Customer::Link])
445
462
  end
@@ -471,6 +488,16 @@ module Softlayer
471
488
  request(:initiate_external_authentication, String, message)
472
489
  end
473
490
 
491
+ # username
492
+ def self.initiate_portal_password_change(message)
493
+ request(:initiate_portal_password_change, Boolean, message)
494
+ end
495
+
496
+ # provider_type
497
+ def invite_user_to_link_open_id_connect(message)
498
+ request(:invite_user_to_link_open_id_connect, Boolean, message)
499
+ end
500
+
474
501
  def is_master_user
475
502
  request(:is_master_user, Boolean)
476
503
  end
@@ -496,6 +523,12 @@ module Softlayer
496
523
  request(:perform_external_authentication, Softlayer::Container::User::Customer::Portal::Token, message)
497
524
  end
498
525
 
526
+ # password_set
527
+ # authentication_container
528
+ def process_password_set_request(message)
529
+ request(:process_password_set_request, Softlayer::Container::User::Customer::PasswordSet, message)
530
+ end
531
+
499
532
  def remove_all_hardware_access_for_this_user
500
533
  request(:remove_all_hardware_access_for_this_user, Boolean)
501
534
  end
@@ -662,6 +695,7 @@ module Softlayer
662
695
  property :msn, type: String
663
696
  property :name_id, type: String
664
697
  property :office_phone, type: String
698
+ property :open_id_connect_user_name, type: String
665
699
  property :parent_id, type: Integer
666
700
  property :password_expire_date, type: DateTime
667
701
  property :permission_system_version, type: Integer
@@ -73,6 +73,19 @@ module Softlayer
73
73
  request(:check_external_authentication_status, Softlayer::Container::User::Customer::Portal::Token, message)
74
74
  end
75
75
 
76
+ # password_set
77
+ # authentication_container
78
+ def check_phone_factor_authentication_for_password_set(message)
79
+ request(:check_phone_factor_authentication_for_password_set, Boolean, message)
80
+ end
81
+
82
+ # provider_type
83
+ # access_token
84
+ # email_registration_code
85
+ def self.complete_invitation_after_login(message)
86
+ request(:complete_invitation_after_login, nil, message)
87
+ end
88
+
76
89
  # key_name
77
90
  # resource_table_id
78
91
  def create_notification_subscriber(message)
@@ -86,6 +99,14 @@ module Softlayer
86
99
  request(:create_object, Softlayer::User::Customer::OpenIdConnect, message)
87
100
  end
88
101
 
102
+ # provider_type
103
+ # user
104
+ # password
105
+ # registration_code
106
+ def self.create_open_id_connect_user_and_complete_invitation(message)
107
+ request(:create_open_id_connect_user_and_complete_invitation, String, message)
108
+ end
109
+
89
110
  # notification_key_name
90
111
  # delivery_method_key_names
91
112
  def create_subscriber_delivery_methods(message)
@@ -98,6 +119,12 @@ module Softlayer
98
119
  request(:deactivate_notification_subscriber, Boolean, message)
99
120
  end
100
121
 
122
+ # provider_type
123
+ # registration_code
124
+ def self.decline_invitation(message)
125
+ request(:decline_invitation, nil, message)
126
+ end
127
+
101
128
  # template_object
102
129
  def edit_object(message)
103
130
  request(:edit_object, Boolean, message)
@@ -115,18 +142,6 @@ module Softlayer
115
142
  request(:find_user_preference, Array[Softlayer::Layout::Profile], message)
116
143
  end
117
144
 
118
- # provider_type
119
- # redirection_url
120
- def self.generate_authorization_endpoint_url(message)
121
- request(:generate_authorization_endpoint_url, String, message)
122
- end
123
-
124
- # provider_type
125
- # response
126
- def self.get_access_token_from_open_id_connect_authorize_redirect(message)
127
- request(:get_access_token_from_open_id_connect_authorize_redirect, String, message)
128
- end
129
-
130
145
  def get_account
131
146
  request(:get_account, Softlayer::Account)
132
147
  end
@@ -172,8 +187,9 @@ module Softlayer
172
187
  request(:get_closed_tickets, Array[Softlayer::Ticket])
173
188
  end
174
189
 
175
- def get_default_account
176
- request(:get_default_account, Softlayer::Account)
190
+ # provider_type
191
+ def get_default_account(message)
192
+ request(:get_default_account, Softlayer::Account, message)
177
193
  end
178
194
 
179
195
  # key
@@ -242,6 +258,12 @@ module Softlayer
242
258
  request(:get_object, Softlayer::User::Customer::OpenIdConnect)
243
259
  end
244
260
 
261
+ # provider_type
262
+ # registration_code
263
+ def self.get_open_id_registration_info_from_code(message)
264
+ request(:get_open_id_registration_info_from_code, Softlayer::Account::Authentication::OpenIdConnect::RegistrationInformation, message)
265
+ end
266
+
245
267
  def get_open_tickets
246
268
  request(:get_open_tickets, Array[Softlayer::Ticket])
247
269
  end
@@ -286,6 +308,11 @@ module Softlayer
286
308
  request(:get_preferences, Array[Softlayer::User::Preference])
287
309
  end
288
310
 
311
+ # password_set
312
+ def get_requirements_for_password_set(message)
313
+ request(:get_requirements_for_password_set, Softlayer::Container::User::Customer::PasswordSet, message)
314
+ end
315
+
289
316
  def get_roles
290
317
  request(:get_roles, Array[Softlayer::User::Permission::Role])
291
318
  end
@@ -347,6 +374,11 @@ module Softlayer
347
374
  request(:get_user_from_lost_password_request, Array[Softlayer::User::Security::Question], message)
348
375
  end
349
376
 
377
+ # key
378
+ def self.get_user_id_for_password_set(message)
379
+ request(:get_user_id_for_password_set, Integer, message)
380
+ end
381
+
350
382
  def get_user_links
351
383
  request(:get_user_links, Array[Softlayer::User::Customer::Link])
352
384
  end
@@ -378,6 +410,16 @@ module Softlayer
378
410
  request(:initiate_external_authentication, String, message)
379
411
  end
380
412
 
413
+ # username
414
+ def self.initiate_portal_password_change(message)
415
+ request(:initiate_portal_password_change, Boolean, message)
416
+ end
417
+
418
+ # provider_type
419
+ def invite_user_to_link_open_id_connect(message)
420
+ request(:invite_user_to_link_open_id_connect, Boolean, message)
421
+ end
422
+
381
423
  def is_master_user
382
424
  request(:is_master_user, Boolean)
383
425
  end
@@ -403,6 +445,12 @@ module Softlayer
403
445
  request(:perform_external_authentication, Softlayer::Container::User::Customer::Portal::Token, message)
404
446
  end
405
447
 
448
+ # password_set
449
+ # authentication_container
450
+ def process_password_set_request(message)
451
+ request(:process_password_set_request, Softlayer::Container::User::Customer::PasswordSet, message)
452
+ end
453
+
406
454
  def remove_all_hardware_access_for_this_user
407
455
  request(:remove_all_hardware_access_for_this_user, Boolean)
408
456
  end
@@ -490,6 +538,7 @@ module Softlayer
490
538
  request(:saml_logout, nil, message)
491
539
  end
492
540
 
541
+ # provider_type
493
542
  # account_id
494
543
  def set_default_account(message)
495
544
  request(:set_default_account, Softlayer::Account, message)