softlayer 0.0.15 → 0.0.16
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.
- checksums.yaml +4 -4
- data/data/.services_cache +309 -297
- data/data/Account_Link_Bluemix.wsdl +143 -0
- data/data/Network_Application_Delivery_Controller_LoadBalancer_Service.wsdl +46 -0
- data/data/Network_Application_Delivery_Controller_LoadBalancer_Service_Group.wsdl +23 -0
- data/data/Ticket_Attachment_File.wsdl +141 -0
- data/data/User_Customer_OpenIdConnect.wsdl +91 -0
- data/data/types.xsd +23 -0
- data/lib/softlayer/account/link/bluemix.rb +31 -0
- data/lib/softlayer/account/link.rb +1 -0
- data/lib/softlayer/network/application/delivery/controller/load_balancer/service/group.rb +5 -0
- data/lib/softlayer/network/application/delivery/controller/load_balancer/service.rb +10 -0
- data/lib/softlayer/ticket/attachment/file.rb +17 -0
- data/lib/softlayer/user/customer/open_id_connect.rb +20 -0
- data/lib/softlayer/version.rb +1 -1
- metadata +5 -2
data/data/types.xsd
CHANGED
|
@@ -2097,6 +2097,23 @@
|
|
|
2097
2097
|
</restriction>
|
|
2098
2098
|
</complexContent>
|
|
2099
2099
|
</complexType>
|
|
2100
|
+
<complexType name="SoftLayer_Account_Link_Bluemix">
|
|
2101
|
+
<complexContent>
|
|
2102
|
+
<extension base="tns:SoftLayer_Account_Link"/>
|
|
2103
|
+
</complexContent>
|
|
2104
|
+
</complexType>
|
|
2105
|
+
<complexType name="SoftLayer_Account_Link_BluemixObjectFilter">
|
|
2106
|
+
<complexContent>
|
|
2107
|
+
<extension base="tns:SoftLayer_Account_LinkObjectFilter"/>
|
|
2108
|
+
</complexContent>
|
|
2109
|
+
</complexType>
|
|
2110
|
+
<complexType name="SoftLayer_Account_Link_BluemixArray">
|
|
2111
|
+
<complexContent>
|
|
2112
|
+
<restriction base="soapenc:Array">
|
|
2113
|
+
<attribute ref="soapenc:arrayType" wsdl:arrayType="tns:SoftLayer_Account_Link_Bluemix[]"/>
|
|
2114
|
+
</restriction>
|
|
2115
|
+
</complexContent>
|
|
2116
|
+
</complexType>
|
|
2100
2117
|
<complexType name="SoftLayer_Account_Link_OpenStack">
|
|
2101
2118
|
<complexContent>
|
|
2102
2119
|
<extension base="tns:SoftLayer_Account_Link">
|
|
@@ -19622,8 +19639,10 @@
|
|
|
19622
19639
|
<element minOccurs="0" maxOccurs="1" name="healthCheckCount" type="unsignedLong"/>
|
|
19623
19640
|
<element minOccurs="0" maxOccurs="1" name="groupReferences" type="tns:SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_Service_Group_CrossReferenceArray"/>
|
|
19624
19641
|
<element minOccurs="0" maxOccurs="1" name="groups" type="tns:SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_Service_GroupArray"/>
|
|
19642
|
+
<element minOccurs="0" maxOccurs="1" name="healthCheck" type="tns:SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_Health_Check"/>
|
|
19625
19643
|
<element minOccurs="0" maxOccurs="1" name="healthChecks" type="tns:SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_Health_CheckArray"/>
|
|
19626
19644
|
<element minOccurs="0" maxOccurs="1" name="ipAddress" type="tns:SoftLayer_Network_Subnet_IpAddress"/>
|
|
19645
|
+
<element minOccurs="0" maxOccurs="1" name="serviceGroup" type="tns:SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_Service_Group"/>
|
|
19627
19646
|
</sequence>
|
|
19628
19647
|
</extension>
|
|
19629
19648
|
</complexContent>
|
|
@@ -19641,8 +19660,10 @@
|
|
|
19641
19660
|
<element minOccurs="0" maxOccurs="1" name="status" type="tns:SoftLayer_Utility_ObjectFilter_Operation"/>
|
|
19642
19661
|
<element minOccurs="0" maxOccurs="1" name="groupReferences" type="tns:SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_Service_Group_CrossReferenceObjectFilter"/>
|
|
19643
19662
|
<element minOccurs="0" maxOccurs="1" name="groups" type="tns:SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_Service_GroupObjectFilter"/>
|
|
19663
|
+
<element minOccurs="0" maxOccurs="1" name="healthCheck" type="tns:SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_Health_CheckObjectFilter"/>
|
|
19644
19664
|
<element minOccurs="0" maxOccurs="1" name="healthChecks" type="tns:SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_Health_CheckObjectFilter"/>
|
|
19645
19665
|
<element minOccurs="0" maxOccurs="1" name="ipAddress" type="tns:SoftLayer_Network_Subnet_IpAddressObjectFilter"/>
|
|
19666
|
+
<element minOccurs="0" maxOccurs="1" name="serviceGroup" type="tns:SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_Service_GroupObjectFilter"/>
|
|
19646
19667
|
</sequence>
|
|
19647
19668
|
</extension>
|
|
19648
19669
|
</complexContent>
|
|
@@ -19671,6 +19692,7 @@
|
|
|
19671
19692
|
<element minOccurs="0" maxOccurs="1" name="routingType" type="tns:SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_Routing_Type"/>
|
|
19672
19693
|
<element minOccurs="0" maxOccurs="1" name="serviceReferences" type="tns:SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_Service_Group_CrossReferenceArray"/>
|
|
19673
19694
|
<element minOccurs="0" maxOccurs="1" name="services" type="tns:SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_ServiceArray"/>
|
|
19695
|
+
<element minOccurs="0" maxOccurs="1" name="virtualServer" type="tns:SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_VirtualServer"/>
|
|
19674
19696
|
<element minOccurs="0" maxOccurs="1" name="virtualServers" type="tns:SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_VirtualServerArray"/>
|
|
19675
19697
|
</sequence>
|
|
19676
19698
|
</extension>
|
|
@@ -19690,6 +19712,7 @@
|
|
|
19690
19712
|
<element minOccurs="0" maxOccurs="1" name="routingType" type="tns:SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_Routing_TypeObjectFilter"/>
|
|
19691
19713
|
<element minOccurs="0" maxOccurs="1" name="serviceReferences" type="tns:SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_Service_Group_CrossReferenceObjectFilter"/>
|
|
19692
19714
|
<element minOccurs="0" maxOccurs="1" name="services" type="tns:SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_ServiceObjectFilter"/>
|
|
19715
|
+
<element minOccurs="0" maxOccurs="1" name="virtualServer" type="tns:SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_VirtualServerObjectFilter"/>
|
|
19693
19716
|
<element minOccurs="0" maxOccurs="1" name="virtualServers" type="tns:SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_VirtualServerObjectFilter"/>
|
|
19694
19717
|
</sequence>
|
|
19695
19718
|
</extension>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
module Softlayer
|
|
2
|
+
class Account
|
|
3
|
+
class Link
|
|
4
|
+
class Bluemix < Softlayer::Account::Link
|
|
5
|
+
SERVICE = 'SoftLayer_Account_Link_Bluemix'
|
|
6
|
+
|
|
7
|
+
def get_account
|
|
8
|
+
request(:get_account, Softlayer::Account)
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
def get_object
|
|
12
|
+
request(:get_object, Softlayer::Account::Link::Bluemix)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def get_service_provider
|
|
16
|
+
request(:get_service_provider, Softlayer::Service::Provider)
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
# ims_account
|
|
20
|
+
def self.get_support_tier_type(message)
|
|
21
|
+
request(:get_support_tier_type, String, message)
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
class Representer < Softlayer::Account::Link::Representer
|
|
25
|
+
include Representable::Hash
|
|
26
|
+
include Representable::Coercion
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
module Softlayer
|
|
2
2
|
class Account
|
|
3
3
|
class Link < Softlayer::Entity
|
|
4
|
+
autoload :Bluemix, 'softlayer/account/link/bluemix'
|
|
4
5
|
autoload :OpenStack, 'softlayer/account/link/open_stack'
|
|
5
6
|
autoload :ThePlanet, 'softlayer/account/link/the_planet'
|
|
6
7
|
autoload :Vendor, 'softlayer/account/link/vendor'
|
|
@@ -21,6 +21,7 @@ module Softlayer
|
|
|
21
21
|
attr_accessor :routing_type
|
|
22
22
|
attr_accessor :service_references
|
|
23
23
|
attr_accessor :services
|
|
24
|
+
attr_accessor :virtual_server
|
|
24
25
|
attr_accessor :virtual_servers
|
|
25
26
|
|
|
26
27
|
# graph_type
|
|
@@ -49,6 +50,10 @@ module Softlayer
|
|
|
49
50
|
request(:get_services, Array[Softlayer::Network::Application::Delivery::Controller::LoadBalancer::Service])
|
|
50
51
|
end
|
|
51
52
|
|
|
53
|
+
def get_virtual_server
|
|
54
|
+
request(:get_virtual_server, Softlayer::Network::Application::Delivery::Controller::LoadBalancer::VirtualServer)
|
|
55
|
+
end
|
|
56
|
+
|
|
52
57
|
def get_virtual_servers
|
|
53
58
|
request(:get_virtual_servers, Array[Softlayer::Network::Application::Delivery::Controller::LoadBalancer::VirtualServer])
|
|
54
59
|
end
|
|
@@ -19,8 +19,10 @@ module Softlayer
|
|
|
19
19
|
attr_accessor :health_check_count
|
|
20
20
|
attr_accessor :group_references
|
|
21
21
|
attr_accessor :groups
|
|
22
|
+
attr_accessor :health_check
|
|
22
23
|
attr_accessor :health_checks
|
|
23
24
|
attr_accessor :ip_address
|
|
25
|
+
attr_accessor :service_group
|
|
24
26
|
|
|
25
27
|
def delete_object
|
|
26
28
|
request(:delete_object, Boolean)
|
|
@@ -40,6 +42,10 @@ module Softlayer
|
|
|
40
42
|
request(:get_groups, Array[Softlayer::Network::Application::Delivery::Controller::LoadBalancer::Service::Group])
|
|
41
43
|
end
|
|
42
44
|
|
|
45
|
+
def get_health_check
|
|
46
|
+
request(:get_health_check, Softlayer::Network::Application::Delivery::Controller::LoadBalancer::Health::Check)
|
|
47
|
+
end
|
|
48
|
+
|
|
43
49
|
def get_health_checks
|
|
44
50
|
request(:get_health_checks, Array[Softlayer::Network::Application::Delivery::Controller::LoadBalancer::Health::Check])
|
|
45
51
|
end
|
|
@@ -52,6 +58,10 @@ module Softlayer
|
|
|
52
58
|
request(:get_object, Softlayer::Network::Application::Delivery::Controller::LoadBalancer::Service)
|
|
53
59
|
end
|
|
54
60
|
|
|
61
|
+
def get_service_group
|
|
62
|
+
request(:get_service_group, Softlayer::Network::Application::Delivery::Controller::LoadBalancer::Service::Group)
|
|
63
|
+
end
|
|
64
|
+
|
|
55
65
|
def toggle_status
|
|
56
66
|
request(:toggle_status, Boolean)
|
|
57
67
|
end
|
|
@@ -2,6 +2,7 @@ module Softlayer
|
|
|
2
2
|
class Ticket
|
|
3
3
|
class Attachment
|
|
4
4
|
class File < Softlayer::Entity
|
|
5
|
+
SERVICE = 'SoftLayer_Ticket_Attachment_File'
|
|
5
6
|
attr_accessor :create_date
|
|
6
7
|
attr_accessor :file_name
|
|
7
8
|
attr_accessor :file_size
|
|
@@ -14,6 +15,22 @@ module Softlayer
|
|
|
14
15
|
attr_accessor :ticket
|
|
15
16
|
attr_accessor :update
|
|
16
17
|
|
|
18
|
+
def self.get_extension_whitelist
|
|
19
|
+
request(:get_extension_whitelist, Array[String])
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
def get_object
|
|
23
|
+
request(:get_object, Softlayer::Ticket::Attachment::File)
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
def get_ticket
|
|
27
|
+
request(:get_ticket, Softlayer::Ticket)
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
def get_update
|
|
31
|
+
request(:get_update, Softlayer::Ticket::Update)
|
|
32
|
+
end
|
|
33
|
+
|
|
17
34
|
class Representer < Softlayer::Entity::Representer
|
|
18
35
|
include Representable::Hash
|
|
19
36
|
include Representable::Coercion
|
|
@@ -121,6 +121,12 @@ module Softlayer
|
|
|
121
121
|
request(:generate_authorization_endpoint_url, String, message)
|
|
122
122
|
end
|
|
123
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
|
+
|
|
124
130
|
def get_account
|
|
125
131
|
request(:get_account, Softlayer::Account)
|
|
126
132
|
end
|
|
@@ -166,6 +172,10 @@ module Softlayer
|
|
|
166
172
|
request(:get_closed_tickets, Array[Softlayer::Ticket])
|
|
167
173
|
end
|
|
168
174
|
|
|
175
|
+
def get_default_account
|
|
176
|
+
request(:get_default_account, Softlayer::Account)
|
|
177
|
+
end
|
|
178
|
+
|
|
169
179
|
# key
|
|
170
180
|
def self.get_default_security_questions(message)
|
|
171
181
|
request(:get_default_security_questions, Array[Softlayer::User::Security::Question], message)
|
|
@@ -215,6 +225,11 @@ module Softlayer
|
|
|
215
225
|
request(:get_login_attempts, Array[Softlayer::User::Customer::Access::Authentication])
|
|
216
226
|
end
|
|
217
227
|
|
|
228
|
+
# provider_type
|
|
229
|
+
def get_mapped_accounts(message)
|
|
230
|
+
request(:get_mapped_accounts, Array[Softlayer::Account], message)
|
|
231
|
+
end
|
|
232
|
+
|
|
218
233
|
def get_mobile_devices
|
|
219
234
|
request(:get_mobile_devices, Array[Softlayer::User::Customer::MobileDevice])
|
|
220
235
|
end
|
|
@@ -475,6 +490,11 @@ module Softlayer
|
|
|
475
490
|
request(:saml_logout, nil, message)
|
|
476
491
|
end
|
|
477
492
|
|
|
493
|
+
# account_id
|
|
494
|
+
def set_default_account(message)
|
|
495
|
+
request(:set_default_account, Softlayer::Account, message)
|
|
496
|
+
end
|
|
497
|
+
|
|
478
498
|
# key
|
|
479
499
|
# password
|
|
480
500
|
# security_answers
|
data/lib/softlayer/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: softlayer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.16
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Celso Fernandes
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-06-
|
|
11
|
+
date: 2016-06-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: excon
|
|
@@ -277,6 +277,7 @@ files:
|
|
|
277
277
|
- data/Account_Authentication_Saml.wsdl
|
|
278
278
|
- data/Account_Contact.wsdl
|
|
279
279
|
- data/Account_Historical_Report.wsdl
|
|
280
|
+
- data/Account_Link_Bluemix.wsdl
|
|
280
281
|
- data/Account_Link_OpenStack.wsdl
|
|
281
282
|
- data/Account_Lockdown_Request.wsdl
|
|
282
283
|
- data/Account_MasterServiceAgreement.wsdl
|
|
@@ -538,6 +539,7 @@ files:
|
|
|
538
539
|
- data/Survey.wsdl
|
|
539
540
|
- data/Tag.wsdl
|
|
540
541
|
- data/Ticket.wsdl
|
|
542
|
+
- data/Ticket_Attachment_File.wsdl
|
|
541
543
|
- data/Ticket_Subject.wsdl
|
|
542
544
|
- data/Ticket_Survey.wsdl
|
|
543
545
|
- data/Ticket_Update_Employee.wsdl
|
|
@@ -604,6 +606,7 @@ files:
|
|
|
604
606
|
- lib/softlayer/account/historical.rb
|
|
605
607
|
- lib/softlayer/account/historical/report.rb
|
|
606
608
|
- lib/softlayer/account/link.rb
|
|
609
|
+
- lib/softlayer/account/link/bluemix.rb
|
|
607
610
|
- lib/softlayer/account/link/open_stack.rb
|
|
608
611
|
- lib/softlayer/account/link/open_stack/domain_creation_details.rb
|
|
609
612
|
- lib/softlayer/account/link/open_stack/link_request.rb
|