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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1abb84390ac5581b1eadd91f7aad72510ec98ec1
|
4
|
+
data.tar.gz: fc9ef7e6defed29e37021b09b445c8f98221e0f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f7d86ed175beb537eb682679725a1a8a8862647fedb92cfba338168dcc8008d872abe097363de75c2a0de48b50cbce99b3bb8c4be859f055b7f8d33f280a512
|
7
|
+
data.tar.gz: 001b52d090a68fe91704315d02407f45c09535de6947a37fbe17162d6a2f46e29099c682f6592c791cf2e3b27ac44d0c78361af5080d416795067259c041f05b
|
data/README.md
CHANGED
@@ -39,6 +39,27 @@ Softlayer::Account.get_master_user
|
|
39
39
|
Softlayer::Account.get_virtual_guests
|
40
40
|
```
|
41
41
|
|
42
|
+
When you need to pass a parameter to a method, you can pass the Softlayer object, and the client handles eveything behind the curtains, if you generate a order template to virtual guest, then you wanna send this template to verifyOrder you can easily like this:
|
43
|
+
|
44
|
+
```ruby
|
45
|
+
template = {
|
46
|
+
hostname: 'anyhost',
|
47
|
+
domain: 'anydomain.com',
|
48
|
+
startCpus: 1,
|
49
|
+
maxMemory: 1024,
|
50
|
+
datacenter: {
|
51
|
+
name: 'wdc01'
|
52
|
+
},
|
53
|
+
operatingSystemReferenceCode: 'DEBIAN_8_64',
|
54
|
+
localDiskFlag: true
|
55
|
+
}
|
56
|
+
order_template = Softlayer::Virtual::Guest.generate_order_template(template_object: template)
|
57
|
+
Softlayer::Product::Order.verify_order(order_data: order_template)
|
58
|
+
# don't know why we are passing `order_data` here?
|
59
|
+
# You can always check the parameters for a method, in this case you can check on this page
|
60
|
+
# http://sldn.softlayer.com/reference/services/SoftLayer_Product_Order/verifyOrder
|
61
|
+
```
|
62
|
+
|
42
63
|
### Masks
|
43
64
|
|
44
65
|
If you'd like to get relational properties, you can use masks to get more information in a single request, lets consider the example below
|
@@ -132,20 +153,7 @@ ps: `getDatacenters` message does not accept a `resultLimit` header, just using
|
|
132
153
|
## Known Issues
|
133
154
|
|
134
155
|
* Using Savon master until a version is released containing the commit to support rpc/encoded XML
|
135
|
-
*
|
136
|
-
|
137
|
-
```ruby
|
138
|
-
# instead of
|
139
|
-
parameters = {
|
140
|
-
list_of_something: ["arg1", "arg2"]
|
141
|
-
}
|
142
|
-
|
143
|
-
# use
|
144
|
-
parameters = {
|
145
|
-
list_of_something: [["arg1", "arg2"]]
|
146
|
-
}
|
147
|
-
```
|
148
|
-
|
156
|
+
* Savon do not construct our array correctly, so the client workaround on the problem, this is not a real big deal to who is using the client, but I'm leaving this as a future reference if some problem appears.
|
149
157
|
hope to fix this _really soon_, in the meanwhile you can check the progress of this bug on this [issue](https://github.com/savonrb/savon/issues/752)
|
150
158
|
|
151
159
|
## Development
|
@@ -22,13 +22,13 @@ module Softlayer
|
|
22
22
|
attr_accessor :modify_user
|
23
23
|
attr_accessor :type
|
24
24
|
|
25
|
-
|
26
|
-
|
25
|
+
# template_object
|
26
|
+
def self.create_object(message)
|
27
27
|
request(:create_object, Softlayer::Account::Address, 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
|
|
@@ -56,8 +56,8 @@ module Softlayer
|
|
56
56
|
request(:get_modify_user, Softlayer::User::Customer)
|
57
57
|
end
|
58
58
|
|
59
|
-
|
60
|
-
|
59
|
+
# name
|
60
|
+
def self.get_network_address(message)
|
61
61
|
request(:get_network_address, Array[Softlayer::Account::Address], message)
|
62
62
|
end
|
63
63
|
|
@@ -9,8 +9,8 @@ module Softlayer
|
|
9
9
|
attr_accessor :modify_date
|
10
10
|
attr_accessor :account
|
11
11
|
|
12
|
-
|
13
|
-
|
12
|
+
# template_object
|
13
|
+
def self.create_object(message)
|
14
14
|
request(:create_object, Softlayer::Account::Affiliation, message)
|
15
15
|
end
|
16
16
|
|
@@ -18,8 +18,8 @@ module Softlayer
|
|
18
18
|
request(:delete_object, Boolean)
|
19
19
|
end
|
20
20
|
|
21
|
-
|
22
|
-
|
21
|
+
# template_object
|
22
|
+
def edit_object(message)
|
23
23
|
request(:edit_object, Boolean, message)
|
24
24
|
end
|
25
25
|
|
@@ -27,8 +27,8 @@ module Softlayer
|
|
27
27
|
request(:get_account, Softlayer::Account)
|
28
28
|
end
|
29
29
|
|
30
|
-
|
31
|
-
|
30
|
+
# affiliate_id
|
31
|
+
def self.get_account_affiliations_by_affiliate_id(message)
|
32
32
|
request(:get_account_affiliations_by_affiliate_id, Array[Softlayer::Account::Affiliation], message)
|
33
33
|
end
|
34
34
|
|
@@ -23,8 +23,8 @@ module Softlayer
|
|
23
23
|
attr_accessor :account
|
24
24
|
attr_accessor :attributes
|
25
25
|
|
26
|
-
|
27
|
-
|
26
|
+
# template_object
|
27
|
+
def self.create_object(message)
|
28
28
|
request(:create_object, Softlayer::Account::Authentication::Saml, message)
|
29
29
|
end
|
30
30
|
|
@@ -32,8 +32,8 @@ module Softlayer
|
|
32
32
|
request(:delete_object, Boolean)
|
33
33
|
end
|
34
34
|
|
35
|
-
|
36
|
-
|
35
|
+
# template_object
|
36
|
+
def edit_object(message)
|
37
37
|
request(:edit_object, Boolean, message)
|
38
38
|
end
|
39
39
|
|
@@ -27,8 +27,8 @@ module Softlayer
|
|
27
27
|
attr_accessor :account
|
28
28
|
attr_accessor :type
|
29
29
|
|
30
|
-
|
31
|
-
|
30
|
+
# template_object
|
31
|
+
def self.create_object(message)
|
32
32
|
request(:create_object, Softlayer::Account::Contact, message)
|
33
33
|
end
|
34
34
|
|
@@ -36,8 +36,8 @@ module Softlayer
|
|
36
36
|
request(:delete_object, Boolean)
|
37
37
|
end
|
38
38
|
|
39
|
-
|
40
|
-
|
39
|
+
# template_object
|
40
|
+
def edit_object(message)
|
41
41
|
request(:edit_object, Boolean, message)
|
42
42
|
end
|
43
43
|
|
@@ -4,43 +4,55 @@ module Softlayer
|
|
4
4
|
class Report < Softlayer::Entity
|
5
5
|
SERVICE = 'SoftLayer_Account_Historical_Report'
|
6
6
|
|
7
|
-
|
8
|
-
|
7
|
+
# start_date
|
8
|
+
# end_date
|
9
|
+
def self.get_account_host_uptime_graph_data(message)
|
9
10
|
request(:get_account_host_uptime_graph_data, Softlayer::Container::Graph, message)
|
10
11
|
end
|
11
12
|
|
12
|
-
|
13
|
-
|
13
|
+
# start_date_time
|
14
|
+
# end_date_time
|
15
|
+
def self.get_account_host_uptime_summary(message)
|
14
16
|
request(:get_account_host_uptime_summary, Softlayer::Container::Account::Historical::Summary, message)
|
15
17
|
end
|
16
18
|
|
17
|
-
|
18
|
-
|
19
|
+
# start_date
|
20
|
+
# end_date
|
21
|
+
def self.get_account_url_uptime_graph_data(message)
|
19
22
|
request(:get_account_url_uptime_graph_data, Softlayer::Container::Graph, message)
|
20
23
|
end
|
21
24
|
|
22
|
-
|
23
|
-
|
25
|
+
# start_date_time
|
26
|
+
# end_date_time
|
27
|
+
def self.get_account_url_uptime_summary(message)
|
24
28
|
request(:get_account_url_uptime_summary, Softlayer::Container::Account::Historical::Summary, message)
|
25
29
|
end
|
26
30
|
|
27
|
-
|
28
|
-
|
31
|
+
# configuration_value_id
|
32
|
+
# start_date_time
|
33
|
+
# end_date_time
|
34
|
+
def self.get_host_uptime_detail(message)
|
29
35
|
request(:get_host_uptime_detail, Softlayer::Container::Account::Historical::Summary::Detail, message)
|
30
36
|
end
|
31
37
|
|
32
|
-
|
33
|
-
|
38
|
+
# configuration_value_id
|
39
|
+
# start_date
|
40
|
+
# end_date
|
41
|
+
def self.get_host_uptime_graph_data(message)
|
34
42
|
request(:get_host_uptime_graph_data, Softlayer::Container::Graph, message)
|
35
43
|
end
|
36
44
|
|
37
|
-
|
38
|
-
|
45
|
+
# configuration_value_id
|
46
|
+
# start_date_time
|
47
|
+
# end_date_time
|
48
|
+
def self.get_url_uptime_detail(message)
|
39
49
|
request(:get_url_uptime_detail, Softlayer::Container::Account::Historical::Summary::Detail, message)
|
40
50
|
end
|
41
51
|
|
42
|
-
|
43
|
-
|
52
|
+
# configuration_value_id
|
53
|
+
# start_date
|
54
|
+
# end_date
|
55
|
+
def self.get_url_uptime_graph_data(message)
|
44
56
|
request(:get_url_uptime_graph_data, Softlayer::Container::Graph, message)
|
45
57
|
end
|
46
58
|
|
@@ -14,18 +14,19 @@ module Softlayer
|
|
14
14
|
request(:cancel_request, nil)
|
15
15
|
end
|
16
16
|
|
17
|
-
|
18
|
-
|
17
|
+
# disable_date
|
18
|
+
def disable_locked_account(message)
|
19
19
|
request(:disable_locked_account, Integer, message)
|
20
20
|
end
|
21
21
|
|
22
|
-
|
23
|
-
|
22
|
+
# account_id
|
23
|
+
# disconnect_date
|
24
|
+
def self.disconnect_compute(message)
|
24
25
|
request(:disconnect_compute, Integer, message)
|
25
26
|
end
|
26
27
|
|
27
|
-
|
28
|
-
|
28
|
+
# account_id
|
29
|
+
def self.get_account_history(message)
|
29
30
|
request(:get_account_history, Array[Softlayer::Account::Lockdown::Request], message)
|
30
31
|
end
|
31
32
|
|
@@ -33,8 +34,8 @@ module Softlayer
|
|
33
34
|
request(:get_object, Softlayer::Account::Lockdown::Request)
|
34
35
|
end
|
35
36
|
|
36
|
-
|
37
|
-
|
37
|
+
# reconnect_date
|
38
|
+
def reconnect_compute(message)
|
38
39
|
request(:reconnect_compute, Integer, message)
|
39
40
|
end
|
40
41
|
|
@@ -27,8 +27,8 @@ module Softlayer
|
|
27
27
|
attr_accessor :status
|
28
28
|
attr_accessor :tickets
|
29
29
|
|
30
|
-
|
31
|
-
|
30
|
+
# template_object
|
31
|
+
def edit_object(message)
|
32
32
|
request(:edit_object, Boolean, message)
|
33
33
|
end
|
34
34
|
|
@@ -18,8 +18,8 @@ module Softlayer
|
|
18
18
|
attr_accessor :type
|
19
19
|
attr_accessor :volume
|
20
20
|
|
21
|
-
|
22
|
-
|
21
|
+
# template_object
|
22
|
+
def edit_object(message)
|
23
23
|
request(:edit_object, Boolean, message)
|
24
24
|
end
|
25
25
|
|
@@ -63,8 +63,8 @@ module Softlayer
|
|
63
63
|
request(:get_volume, Softlayer::Network::Storage)
|
64
64
|
end
|
65
65
|
|
66
|
-
|
67
|
-
|
66
|
+
# media_template
|
67
|
+
def self.remove_media_from_list(message)
|
68
68
|
request(:remove_media_from_list, Integer, message)
|
69
69
|
end
|
70
70
|
|
@@ -12,8 +12,8 @@ module Softlayer
|
|
12
12
|
attr_accessor :name
|
13
13
|
attr_accessor :value_expression
|
14
14
|
|
15
|
-
|
16
|
-
|
15
|
+
# template_object
|
16
|
+
def self.create_object(message)
|
17
17
|
request(:create_object, Softlayer::Account::Note::Type, message)
|
18
18
|
end
|
19
19
|
|
@@ -21,8 +21,8 @@ module Softlayer
|
|
21
21
|
request(:delete_object, Boolean)
|
22
22
|
end
|
23
23
|
|
24
|
-
|
25
|
-
|
24
|
+
# template_object
|
25
|
+
def edit_object(message)
|
26
26
|
request(:edit_object, Boolean, message)
|
27
27
|
end
|
28
28
|
|
@@ -17,8 +17,8 @@ module Softlayer
|
|
17
17
|
attr_accessor :note_history
|
18
18
|
attr_accessor :note_type
|
19
19
|
|
20
|
-
|
21
|
-
|
20
|
+
# template_object
|
21
|
+
def self.create_object(message)
|
22
22
|
request(:create_object, Softlayer::Account::Note, message)
|
23
23
|
end
|
24
24
|
|
@@ -26,8 +26,8 @@ module Softlayer
|
|
26
26
|
request(:delete_object, Boolean)
|
27
27
|
end
|
28
28
|
|
29
|
-
|
30
|
-
|
29
|
+
# template_object
|
30
|
+
def edit_object(message)
|
31
31
|
request(:edit_object, Boolean, message)
|
32
32
|
end
|
33
33
|
|
@@ -10,8 +10,9 @@ module Softlayer
|
|
10
10
|
attr_accessor :id
|
11
11
|
attr_accessor :last_name
|
12
12
|
|
13
|
-
|
14
|
-
|
13
|
+
# template_object
|
14
|
+
# commit
|
15
|
+
def self.create_prospect(message)
|
15
16
|
request(:create_prospect, Softlayer::Account::Partner::Referral::Prospect, message)
|
16
17
|
end
|
17
18
|
|
@@ -12,8 +12,8 @@ module Softlayer
|
|
12
12
|
attr_accessor :account
|
13
13
|
attr_accessor :type
|
14
14
|
|
15
|
-
|
16
|
-
|
15
|
+
# template_object
|
16
|
+
def edit_object(message)
|
17
17
|
request(:edit_object, Boolean, message)
|
18
18
|
end
|
19
19
|
|
@@ -16,13 +16,13 @@ module Softlayer
|
|
16
16
|
attr_accessor :detail
|
17
17
|
attr_accessor :property_type
|
18
18
|
|
19
|
-
|
20
|
-
|
19
|
+
# template_object
|
20
|
+
def self.create_object(message)
|
21
21
|
request(:create_object, Softlayer::Account::Regional::Registry::Detail::Property, message)
|
22
22
|
end
|
23
23
|
|
24
|
-
|
25
|
-
|
24
|
+
# template_objects
|
25
|
+
def self.create_objects(message)
|
26
26
|
request(:create_objects, Array[Softlayer::Account::Regional::Registry::Detail::Property], message)
|
27
27
|
end
|
28
28
|
|
@@ -30,13 +30,13 @@ module Softlayer
|
|
30
30
|
request(:delete_object, Boolean)
|
31
31
|
end
|
32
32
|
|
33
|
-
|
34
|
-
|
33
|
+
# template_object
|
34
|
+
def edit_object(message)
|
35
35
|
request(:edit_object, Boolean, message)
|
36
36
|
end
|
37
37
|
|
38
|
-
|
39
|
-
|
38
|
+
# template_objects
|
39
|
+
def self.edit_objects(message)
|
40
40
|
request(:edit_objects, Boolean, message)
|
41
41
|
end
|
42
42
|
|
@@ -21,8 +21,8 @@ module Softlayer
|
|
21
21
|
attr_accessor :properties
|
22
22
|
attr_accessor :regional_internet_registry_handle
|
23
23
|
|
24
|
-
|
25
|
-
|
24
|
+
# template_object
|
25
|
+
def self.create_object(message)
|
26
26
|
request(:create_object, Softlayer::Account::Regional::Registry::Detail, message)
|
27
27
|
end
|
28
28
|
|
@@ -30,8 +30,8 @@ module Softlayer
|
|
30
30
|
request(:delete_object, Boolean)
|
31
31
|
end
|
32
32
|
|
33
|
-
|
34
|
-
|
33
|
+
# template_object
|
34
|
+
def edit_object(message)
|
35
35
|
request(:edit_object, Boolean, message)
|
36
36
|
end
|
37
37
|
|
@@ -23,8 +23,10 @@ module Softlayer
|
|
23
23
|
attr_accessor :ticket
|
24
24
|
attr_accessor :user
|
25
25
|
|
26
|
-
|
27
|
-
|
26
|
+
# contact
|
27
|
+
# reason
|
28
|
+
# report_type
|
29
|
+
def self.create_request(message)
|
28
30
|
request(:create_request, Softlayer::Account::Reports::Request, message)
|
29
31
|
end
|
30
32
|
|
@@ -48,8 +50,8 @@ module Softlayer
|
|
48
50
|
request(:get_report_type, Softlayer::Compliance::Report::Type)
|
49
51
|
end
|
50
52
|
|
51
|
-
|
52
|
-
|
53
|
+
# request_key
|
54
|
+
def self.get_request_by_request_key(message)
|
53
55
|
request(:get_request_by_request_key, Softlayer::Account::Reports::Request, message)
|
54
56
|
end
|
55
57
|
|
@@ -61,13 +63,13 @@ module Softlayer
|
|
61
63
|
request(:get_user, Softlayer::User::Customer)
|
62
64
|
end
|
63
65
|
|
64
|
-
|
65
|
-
|
66
|
+
# request
|
67
|
+
def self.send_report_email(message)
|
66
68
|
request(:send_report_email, Boolean, message)
|
67
69
|
end
|
68
70
|
|
69
|
-
|
70
|
-
|
71
|
+
# request
|
72
|
+
def self.update_ticket_on_decline(message)
|
71
73
|
request(:update_ticket_on_decline, Boolean, message)
|
72
74
|
end
|
73
75
|
|
@@ -14,8 +14,8 @@ module Softlayer
|
|
14
14
|
attr_accessor :shipment
|
15
15
|
attr_accessor :shipment_item_type
|
16
16
|
|
17
|
-
|
18
|
-
|
17
|
+
# template_object
|
18
|
+
def edit_object(message)
|
19
19
|
request(:edit_object, Boolean, message)
|
20
20
|
end
|
21
21
|
|
@@ -17,13 +17,13 @@ module Softlayer
|
|
17
17
|
attr_accessor :modify_user
|
18
18
|
attr_accessor :shipment
|
19
19
|
|
20
|
-
|
21
|
-
|
20
|
+
# template_object
|
21
|
+
def self.create_object(message)
|
22
22
|
request(:create_object, Softlayer::Account::Shipment::Tracking::Data, message)
|
23
23
|
end
|
24
24
|
|
25
|
-
|
26
|
-
|
25
|
+
# template_objects
|
26
|
+
def self.create_objects(message)
|
27
27
|
request(:create_objects, Array[Softlayer::Account::Shipment::Tracking::Data], message)
|
28
28
|
end
|
29
29
|
|
@@ -31,8 +31,8 @@ module Softlayer
|
|
31
31
|
request(:delete_object, Boolean)
|
32
32
|
end
|
33
33
|
|
34
|
-
|
35
|
-
|
34
|
+
# template_object
|
35
|
+
def edit_object(message)
|
36
36
|
request(:edit_object, Boolean, message)
|
37
37
|
end
|
38
38
|
|
@@ -35,8 +35,8 @@ module Softlayer
|
|
35
35
|
attr_accessor :tracking_data
|
36
36
|
attr_accessor :type
|
37
37
|
|
38
|
-
|
39
|
-
|
38
|
+
# template_object
|
39
|
+
def edit_object(message)
|
40
40
|
request(:edit_object, Boolean, message)
|
41
41
|
end
|
42
42
|
|
@@ -48,8 +48,8 @@ module Softlayer
|
|
48
48
|
request(:get_all_couriers, Array[Softlayer::Auxiliary::Shipping::Courier])
|
49
49
|
end
|
50
50
|
|
51
|
-
|
52
|
-
|
51
|
+
# courier_type_key_name
|
52
|
+
def self.get_all_couriers_by_type(message)
|
53
53
|
request(:get_all_couriers_by_type, Array[Softlayer::Auxiliary::Shipping::Courier], message)
|
54
54
|
end
|
55
55
|
|