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
@@ -6,113 +6,118 @@ module Softlayer
|
|
6
6
|
autoload :EqualLogic, 'softlayer/network/storage/iscsi/equal_logic'
|
7
7
|
autoload :Os, 'softlayer/network/storage/iscsi/os'
|
8
8
|
|
9
|
-
|
10
|
-
|
9
|
+
# hardware_object_template
|
10
|
+
def allow_access_from_hardware(message)
|
11
11
|
request(:allow_access_from_hardware, Boolean, message)
|
12
12
|
end
|
13
13
|
|
14
|
-
|
15
|
-
|
14
|
+
# hardware_object_templates
|
15
|
+
def allow_access_from_hardware_list(message)
|
16
16
|
request(:allow_access_from_hardware_list, Boolean, message)
|
17
17
|
end
|
18
18
|
|
19
|
-
|
20
|
-
|
19
|
+
# type_class_name
|
20
|
+
# host_id
|
21
|
+
def allow_access_from_host(message)
|
21
22
|
request(:allow_access_from_host, Softlayer::Network::Storage::Allowed::Host, message)
|
22
23
|
end
|
23
24
|
|
24
|
-
|
25
|
-
|
25
|
+
# host_object_templates
|
26
|
+
def allow_access_from_host_list(message)
|
26
27
|
request(:allow_access_from_host_list, Array[Softlayer::Network::Storage::Allowed::Host], message)
|
27
28
|
end
|
28
29
|
|
29
|
-
|
30
|
-
|
30
|
+
# ip_address_object_template
|
31
|
+
def allow_access_from_ip_address(message)
|
31
32
|
request(:allow_access_from_ip_address, Boolean, message)
|
32
33
|
end
|
33
34
|
|
34
|
-
|
35
|
-
|
35
|
+
# ip_address_object_templates
|
36
|
+
def allow_access_from_ip_address_list(message)
|
36
37
|
request(:allow_access_from_ip_address_list, Boolean, message)
|
37
38
|
end
|
38
39
|
|
39
|
-
|
40
|
-
|
40
|
+
# subnet_object_template
|
41
|
+
def allow_access_from_subnet(message)
|
41
42
|
request(:allow_access_from_subnet, Boolean, message)
|
42
43
|
end
|
43
44
|
|
44
|
-
|
45
|
-
|
45
|
+
# subnet_object_templates
|
46
|
+
def allow_access_from_subnet_list(message)
|
46
47
|
request(:allow_access_from_subnet_list, Boolean, message)
|
47
48
|
end
|
48
49
|
|
49
|
-
|
50
|
-
|
50
|
+
# virtual_guest_object_template
|
51
|
+
def allow_access_from_virtual_guest(message)
|
51
52
|
request(:allow_access_from_virtual_guest, Boolean, message)
|
52
53
|
end
|
53
54
|
|
54
|
-
|
55
|
-
|
55
|
+
# virtual_guest_object_templates
|
56
|
+
def allow_access_from_virtual_guest_list(message)
|
56
57
|
request(:allow_access_from_virtual_guest_list, Boolean, message)
|
57
58
|
end
|
58
59
|
|
59
|
-
|
60
|
-
|
60
|
+
# hardware_object_template
|
61
|
+
def allow_access_to_replicant_from_hardware(message)
|
61
62
|
request(:allow_access_to_replicant_from_hardware, Boolean, message)
|
62
63
|
end
|
63
64
|
|
64
|
-
|
65
|
-
|
65
|
+
# hardware_object_templates
|
66
|
+
def allow_access_to_replicant_from_hardware_list(message)
|
66
67
|
request(:allow_access_to_replicant_from_hardware_list, Boolean, message)
|
67
68
|
end
|
68
69
|
|
69
|
-
|
70
|
-
|
70
|
+
# ip_address_object_template
|
71
|
+
def allow_access_to_replicant_from_ip_address(message)
|
71
72
|
request(:allow_access_to_replicant_from_ip_address, Boolean, message)
|
72
73
|
end
|
73
74
|
|
74
|
-
|
75
|
-
|
75
|
+
# ip_address_object_templates
|
76
|
+
def allow_access_to_replicant_from_ip_address_list(message)
|
76
77
|
request(:allow_access_to_replicant_from_ip_address_list, Boolean, message)
|
77
78
|
end
|
78
79
|
|
79
|
-
|
80
|
-
|
80
|
+
# subnet_object_template
|
81
|
+
def allow_access_to_replicant_from_subnet(message)
|
81
82
|
request(:allow_access_to_replicant_from_subnet, Boolean, message)
|
82
83
|
end
|
83
84
|
|
84
|
-
|
85
|
-
|
85
|
+
# subnet_object_templates
|
86
|
+
def allow_access_to_replicant_from_subnet_list(message)
|
86
87
|
request(:allow_access_to_replicant_from_subnet_list, Boolean, message)
|
87
88
|
end
|
88
89
|
|
89
|
-
|
90
|
-
|
90
|
+
# virtual_guest_object_template
|
91
|
+
def allow_access_to_replicant_from_virtual_guest(message)
|
91
92
|
request(:allow_access_to_replicant_from_virtual_guest, Boolean, message)
|
92
93
|
end
|
93
94
|
|
94
|
-
|
95
|
-
|
95
|
+
# virtual_guest_object_templates
|
96
|
+
def allow_access_to_replicant_from_virtual_guest_list(message)
|
96
97
|
request(:allow_access_to_replicant_from_virtual_guest_list, Boolean, message)
|
97
98
|
end
|
98
99
|
|
99
|
-
|
100
|
-
|
100
|
+
# username
|
101
|
+
def assign_credential(message)
|
101
102
|
request(:assign_credential, Boolean, message)
|
102
103
|
end
|
103
104
|
|
104
|
-
|
105
|
-
|
105
|
+
# type
|
106
|
+
def assign_new_credential(message)
|
106
107
|
request(:assign_new_credential, Softlayer::Network::Storage::Credential, message)
|
107
108
|
end
|
108
109
|
|
109
|
-
|
110
|
-
|
110
|
+
# username
|
111
|
+
# current_password
|
112
|
+
# new_password
|
113
|
+
def self.change_password(message)
|
111
114
|
request(:change_password, Boolean, message)
|
112
115
|
end
|
113
116
|
|
114
|
-
|
115
|
-
|
117
|
+
# type
|
118
|
+
# start_date
|
119
|
+
# end_date
|
120
|
+
def collect_bandwidth(message)
|
116
121
|
request(:collect_bandwidth, BigDecimal, message)
|
117
122
|
end
|
118
123
|
|
@@ -120,13 +125,13 @@ module Softlayer
|
|
120
125
|
request(:collect_bytes_used, BigDecimal)
|
121
126
|
end
|
122
127
|
|
123
|
-
|
124
|
-
|
128
|
+
# folder
|
129
|
+
def create_folder(message)
|
125
130
|
request(:create_folder, Boolean, message)
|
126
131
|
end
|
127
132
|
|
128
|
-
|
129
|
-
|
133
|
+
# notes
|
134
|
+
def create_snapshot(message)
|
130
135
|
request(:create_snapshot, Softlayer::Network::Storage::Iscsi, message)
|
131
136
|
end
|
132
137
|
|
@@ -134,18 +139,18 @@ module Softlayer
|
|
134
139
|
request(:delete_all_files, Boolean)
|
135
140
|
end
|
136
141
|
|
137
|
-
|
138
|
-
|
142
|
+
# file_id
|
143
|
+
def delete_file(message)
|
139
144
|
request(:delete_file, Boolean, message)
|
140
145
|
end
|
141
146
|
|
142
|
-
|
143
|
-
|
147
|
+
# file_ids
|
148
|
+
def delete_files(message)
|
144
149
|
request(:delete_files, Boolean, message)
|
145
150
|
end
|
146
151
|
|
147
|
-
|
148
|
-
|
152
|
+
# folder
|
153
|
+
def delete_folder(message)
|
149
154
|
request(:delete_folder, Boolean, message)
|
150
155
|
end
|
151
156
|
|
@@ -153,28 +158,33 @@ module Softlayer
|
|
153
158
|
request(:delete_object, Boolean)
|
154
159
|
end
|
155
160
|
|
156
|
-
|
157
|
-
|
161
|
+
# schedule_type
|
162
|
+
def disable_snapshots(message)
|
158
163
|
request(:disable_snapshots, Boolean, message)
|
159
164
|
end
|
160
165
|
|
161
|
-
|
162
|
-
|
166
|
+
# file_id
|
167
|
+
def download_file(message)
|
163
168
|
request(:download_file, Softlayer::Container::Utility::File::Entity, message)
|
164
169
|
end
|
165
170
|
|
166
|
-
|
167
|
-
|
171
|
+
# username
|
172
|
+
# new_password
|
173
|
+
def edit_credential(message)
|
168
174
|
request(:edit_credential, Boolean, message)
|
169
175
|
end
|
170
176
|
|
171
|
-
|
172
|
-
|
177
|
+
# template_object
|
178
|
+
def edit_object(message)
|
173
179
|
request(:edit_object, Boolean, message)
|
174
180
|
end
|
175
181
|
|
176
|
-
|
177
|
-
|
182
|
+
# schedule_type
|
183
|
+
# retention_count
|
184
|
+
# minute
|
185
|
+
# hour
|
186
|
+
# day_of_week
|
187
|
+
def enable_snapshots(message)
|
178
188
|
request(:enable_snapshots, Boolean, message)
|
179
189
|
end
|
180
190
|
|
@@ -182,8 +192,8 @@ module Softlayer
|
|
182
192
|
request(:failback_from_replicant, Boolean)
|
183
193
|
end
|
184
194
|
|
185
|
-
|
186
|
-
|
195
|
+
# replicant_id
|
196
|
+
def failover_to_replicant(message)
|
187
197
|
request(:failover_to_replicant, Boolean, message)
|
188
198
|
end
|
189
199
|
|
@@ -203,28 +213,29 @@ module Softlayer
|
|
203
213
|
request(:get_all_files, Array[Softlayer::Container::Utility::File::Entity])
|
204
214
|
end
|
205
215
|
|
206
|
-
|
207
|
-
|
216
|
+
# filter
|
217
|
+
def get_all_files_by_filter(message)
|
208
218
|
request(:get_all_files_by_filter, Array[Softlayer::Container::Utility::File::Entity], message)
|
209
219
|
end
|
210
220
|
|
211
|
-
|
212
|
-
|
221
|
+
# filter_hostname
|
222
|
+
def get_allowable_hardware(message)
|
213
223
|
request(:get_allowable_hardware, Array[Softlayer::Hardware], message)
|
214
224
|
end
|
215
225
|
|
216
|
-
|
217
|
-
|
226
|
+
# subnet_id
|
227
|
+
# filter_ip_address
|
228
|
+
def get_allowable_ip_addresses(message)
|
218
229
|
request(:get_allowable_ip_addresses, Array[Softlayer::Network::Subnet::IpAddress], message)
|
219
230
|
end
|
220
231
|
|
221
|
-
|
222
|
-
|
232
|
+
# filter_network_identifier
|
233
|
+
def get_allowable_subnets(message)
|
223
234
|
request(:get_allowable_subnets, Array[Softlayer::Network::Subnet], message)
|
224
235
|
end
|
225
236
|
|
226
|
-
|
227
|
-
|
237
|
+
# filter_hostname
|
238
|
+
def get_allowable_virtual_guests(message)
|
228
239
|
request(:get_allowable_virtual_guests, Array[Softlayer::Virtual::Guest], message)
|
229
240
|
end
|
230
241
|
|
@@ -272,8 +283,9 @@ module Softlayer
|
|
272
283
|
request(:get_billing_item_category, Softlayer::Product::Item::Category)
|
273
284
|
end
|
274
285
|
|
275
|
-
|
276
|
-
|
286
|
+
# username
|
287
|
+
# type
|
288
|
+
def self.get_by_username(message)
|
277
289
|
request(:get_by_username, Array[Softlayer::Network::Storage], message)
|
278
290
|
end
|
279
291
|
|
@@ -305,8 +317,8 @@ module Softlayer
|
|
305
317
|
request(:get_events, Array[Softlayer::Network::Storage::Event])
|
306
318
|
end
|
307
319
|
|
308
|
-
|
309
|
-
|
320
|
+
# identifier
|
321
|
+
def get_file_by_identifier(message)
|
310
322
|
request(:get_file_by_identifier, Softlayer::Container::Utility::File::Entity, message)
|
311
323
|
end
|
312
324
|
|
@@ -314,8 +326,9 @@ module Softlayer
|
|
314
326
|
request(:get_file_count, Integer)
|
315
327
|
end
|
316
328
|
|
317
|
-
|
318
|
-
|
329
|
+
# folder
|
330
|
+
# path
|
331
|
+
def get_file_list(message)
|
319
332
|
request(:get_file_list, Array[Softlayer::Container::Utility::File::Entity], message)
|
320
333
|
end
|
321
334
|
|
@@ -331,8 +344,10 @@ module Softlayer
|
|
331
344
|
request(:get_folder_list, Array[Softlayer::Container::Network::Storage::Hub::ObjectStorage::Folder])
|
332
345
|
end
|
333
346
|
|
334
|
-
|
335
|
-
|
347
|
+
# start_date
|
348
|
+
# end_date
|
349
|
+
# type
|
350
|
+
def get_graph(message)
|
336
351
|
request(:get_graph, Softlayer::Container::Bandwidth::GraphOutputs, message)
|
337
352
|
end
|
338
353
|
|
@@ -380,8 +395,8 @@ module Softlayer
|
|
380
395
|
request(:get_object_storage_connection_information, Array[Softlayer::Container::Network::Service::Resource::ObjectStorage::ConnectionInformation])
|
381
396
|
end
|
382
397
|
|
383
|
-
|
384
|
-
|
398
|
+
# credential_object
|
399
|
+
def self.get_objects_by_credential(message)
|
385
400
|
request(:get_objects_by_credential, Array[Softlayer::Network::Storage], message)
|
386
401
|
end
|
387
402
|
|
@@ -413,8 +428,8 @@ module Softlayer
|
|
413
428
|
request(:get_properties, Array[Softlayer::Network::Storage::Property])
|
414
429
|
end
|
415
430
|
|
416
|
-
|
417
|
-
|
431
|
+
# file_id
|
432
|
+
def get_recycle_bin_file_by_identifier(message)
|
418
433
|
request(:get_recycle_bin_file_by_identifier, Softlayer::Container::Utility::File::Entity, message)
|
419
434
|
end
|
420
435
|
|
@@ -546,128 +561,129 @@ module Softlayer
|
|
546
561
|
request(:get_weekly_schedule, Softlayer::Network::Storage::Schedule)
|
547
562
|
end
|
548
563
|
|
549
|
-
|
550
|
-
|
564
|
+
# replicant_id
|
565
|
+
def immediate_failover_to_replicant(message)
|
551
566
|
request(:immediate_failover_to_replicant, Boolean, message)
|
552
567
|
end
|
553
568
|
|
554
|
-
|
555
|
-
|
569
|
+
# exempt_status_key_names
|
570
|
+
def is_blocking_operation_in_progress(message)
|
556
571
|
request(:is_blocking_operation_in_progress, Boolean, message)
|
557
572
|
end
|
558
573
|
|
559
|
-
|
560
|
-
|
574
|
+
# hardware_object_template
|
575
|
+
def remove_access_from_hardware(message)
|
561
576
|
request(:remove_access_from_hardware, Boolean, message)
|
562
577
|
end
|
563
578
|
|
564
|
-
|
565
|
-
|
579
|
+
# hardware_object_templates
|
580
|
+
def remove_access_from_hardware_list(message)
|
566
581
|
request(:remove_access_from_hardware_list, Boolean, message)
|
567
582
|
end
|
568
583
|
|
569
|
-
|
570
|
-
|
584
|
+
# type_class_name
|
585
|
+
# host_id
|
586
|
+
def remove_access_from_host(message)
|
571
587
|
request(:remove_access_from_host, Softlayer::Network::Storage::Allowed::Host, message)
|
572
588
|
end
|
573
589
|
|
574
|
-
|
575
|
-
|
590
|
+
# host_object_templates
|
591
|
+
def remove_access_from_host_list(message)
|
576
592
|
request(:remove_access_from_host_list, Array[Softlayer::Network::Storage::Allowed::Host], message)
|
577
593
|
end
|
578
594
|
|
579
|
-
|
580
|
-
|
595
|
+
# ip_address_object_template
|
596
|
+
def remove_access_from_ip_address(message)
|
581
597
|
request(:remove_access_from_ip_address, Boolean, message)
|
582
598
|
end
|
583
599
|
|
584
|
-
|
585
|
-
|
600
|
+
# ip_address_object_templates
|
601
|
+
def remove_access_from_ip_address_list(message)
|
586
602
|
request(:remove_access_from_ip_address_list, Boolean, message)
|
587
603
|
end
|
588
604
|
|
589
|
-
|
590
|
-
|
605
|
+
# subnet_object_template
|
606
|
+
def remove_access_from_subnet(message)
|
591
607
|
request(:remove_access_from_subnet, Boolean, message)
|
592
608
|
end
|
593
609
|
|
594
|
-
|
595
|
-
|
610
|
+
# subnet_object_templates
|
611
|
+
def remove_access_from_subnet_list(message)
|
596
612
|
request(:remove_access_from_subnet_list, Boolean, message)
|
597
613
|
end
|
598
614
|
|
599
|
-
|
600
|
-
|
615
|
+
# virtual_guest_object_template
|
616
|
+
def remove_access_from_virtual_guest(message)
|
601
617
|
request(:remove_access_from_virtual_guest, Boolean, message)
|
602
618
|
end
|
603
619
|
|
604
|
-
|
605
|
-
|
620
|
+
# virtual_guest_object_templates
|
621
|
+
def remove_access_from_virtual_guest_list(message)
|
606
622
|
request(:remove_access_from_virtual_guest_list, Boolean, message)
|
607
623
|
end
|
608
624
|
|
609
|
-
|
610
|
-
|
625
|
+
# hardware_object_templates
|
626
|
+
def remove_access_to_replicant_from_hardware_list(message)
|
611
627
|
request(:remove_access_to_replicant_from_hardware_list, Boolean, message)
|
612
628
|
end
|
613
629
|
|
614
|
-
|
615
|
-
|
630
|
+
# ip_address_object_templates
|
631
|
+
def remove_access_to_replicant_from_ip_address_list(message)
|
616
632
|
request(:remove_access_to_replicant_from_ip_address_list, Boolean, message)
|
617
633
|
end
|
618
634
|
|
619
|
-
|
620
|
-
|
635
|
+
# subnet_object_template
|
636
|
+
def remove_access_to_replicant_from_subnet(message)
|
621
637
|
request(:remove_access_to_replicant_from_subnet, Boolean, message)
|
622
638
|
end
|
623
639
|
|
624
|
-
|
625
|
-
|
640
|
+
# subnet_object_templates
|
641
|
+
def remove_access_to_replicant_from_subnet_list(message)
|
626
642
|
request(:remove_access_to_replicant_from_subnet_list, Boolean, message)
|
627
643
|
end
|
628
644
|
|
629
|
-
|
630
|
-
|
645
|
+
# virtual_guest_object_templates
|
646
|
+
def remove_access_to_replicant_from_virtual_guest_list(message)
|
631
647
|
request(:remove_access_to_replicant_from_virtual_guest_list, Boolean, message)
|
632
648
|
end
|
633
649
|
|
634
|
-
|
635
|
-
|
650
|
+
# username
|
651
|
+
def remove_credential(message)
|
636
652
|
request(:remove_credential, Boolean, message)
|
637
653
|
end
|
638
654
|
|
639
|
-
|
640
|
-
|
655
|
+
# file_id
|
656
|
+
def restore_file(message)
|
641
657
|
request(:restore_file, Softlayer::Container::Utility::File::Entity, message)
|
642
658
|
end
|
643
659
|
|
644
|
-
|
645
|
-
|
660
|
+
# snapshot_id
|
661
|
+
def restore_from_snapshot(message)
|
646
662
|
request(:restore_from_snapshot, Boolean, message)
|
647
663
|
end
|
648
664
|
|
649
|
-
|
650
|
-
|
665
|
+
# username
|
666
|
+
def self.send_password_reminder_email(message)
|
651
667
|
request(:send_password_reminder_email, Boolean, message)
|
652
668
|
end
|
653
669
|
|
654
|
-
|
655
|
-
|
670
|
+
# mountable
|
671
|
+
def set_mountable(message)
|
656
672
|
request(:set_mountable, Boolean, message)
|
657
673
|
end
|
658
674
|
|
659
|
-
|
660
|
-
|
675
|
+
# capacity_gb
|
676
|
+
def set_snapshot_allocation(message)
|
661
677
|
request(:set_snapshot_allocation, nil, message)
|
662
678
|
end
|
663
679
|
|
664
|
-
|
665
|
-
|
680
|
+
# item_id
|
681
|
+
def upgrade_volume_capacity(message)
|
666
682
|
request(:upgrade_volume_capacity, Boolean, message)
|
667
683
|
end
|
668
684
|
|
669
|
-
|
670
|
-
|
685
|
+
# file
|
686
|
+
def upload_file(message)
|
671
687
|
request(:upload_file, Softlayer::Container::Utility::File::Entity, message)
|
672
688
|
end
|
673
689
|
|
@@ -29,8 +29,8 @@ module Softlayer
|
|
29
29
|
attr_accessor :type
|
30
30
|
attr_accessor :volume
|
31
31
|
|
32
|
-
|
33
|
-
|
32
|
+
# template_object
|
33
|
+
def self.create_object(message)
|
34
34
|
request(:create_object, Softlayer::Network::Storage::Schedule, message)
|
35
35
|
end
|
36
36
|
|
@@ -38,8 +38,8 @@ module Softlayer
|
|
38
38
|
request(:delete_object, Boolean)
|
39
39
|
end
|
40
40
|
|
41
|
-
|
42
|
-
|
41
|
+
# template_object
|
42
|
+
def edit_object(message)
|
43
43
|
request(:edit_object, Boolean, message)
|
44
44
|
end
|
45
45
|
|