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
|
SERVICE = 'SoftLayer_Network_Storage_Backup_Evault'
|
7
7
|
autoload :Version6, 'softlayer/network/storage/backup/evault/version6'
|
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::Backup::Evault, 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,33 +158,38 @@ module Softlayer
|
|
153
158
|
request(:delete_object, Boolean)
|
154
159
|
end
|
155
160
|
|
156
|
-
|
157
|
-
|
161
|
+
# tasks
|
162
|
+
def delete_tasks(message)
|
158
163
|
request(:delete_tasks, Boolean, message)
|
159
164
|
end
|
160
165
|
|
161
|
-
|
162
|
-
|
166
|
+
# schedule_type
|
167
|
+
def disable_snapshots(message)
|
163
168
|
request(:disable_snapshots, Boolean, message)
|
164
169
|
end
|
165
170
|
|
166
|
-
|
167
|
-
|
171
|
+
# file_id
|
172
|
+
def download_file(message)
|
168
173
|
request(:download_file, Softlayer::Container::Utility::File::Entity, message)
|
169
174
|
end
|
170
175
|
|
171
|
-
|
172
|
-
|
176
|
+
# username
|
177
|
+
# new_password
|
178
|
+
def edit_credential(message)
|
173
179
|
request(:edit_credential, Boolean, message)
|
174
180
|
end
|
175
181
|
|
176
|
-
|
177
|
-
|
182
|
+
# template_object
|
183
|
+
def edit_object(message)
|
178
184
|
request(:edit_object, Boolean, message)
|
179
185
|
end
|
180
186
|
|
181
|
-
|
182
|
-
|
187
|
+
# schedule_type
|
188
|
+
# retention_count
|
189
|
+
# minute
|
190
|
+
# hour
|
191
|
+
# day_of_week
|
192
|
+
def enable_snapshots(message)
|
183
193
|
request(:enable_snapshots, Boolean, message)
|
184
194
|
end
|
185
195
|
|
@@ -187,8 +197,8 @@ module Softlayer
|
|
187
197
|
request(:failback_from_replicant, Boolean)
|
188
198
|
end
|
189
199
|
|
190
|
-
|
191
|
-
|
200
|
+
# replicant_id
|
201
|
+
def failover_to_replicant(message)
|
192
202
|
request(:failover_to_replicant, Boolean, message)
|
193
203
|
end
|
194
204
|
|
@@ -208,28 +218,29 @@ module Softlayer
|
|
208
218
|
request(:get_all_files, Array[Softlayer::Container::Utility::File::Entity])
|
209
219
|
end
|
210
220
|
|
211
|
-
|
212
|
-
|
221
|
+
# filter
|
222
|
+
def get_all_files_by_filter(message)
|
213
223
|
request(:get_all_files_by_filter, Array[Softlayer::Container::Utility::File::Entity], message)
|
214
224
|
end
|
215
225
|
|
216
|
-
|
217
|
-
|
226
|
+
# filter_hostname
|
227
|
+
def get_allowable_hardware(message)
|
218
228
|
request(:get_allowable_hardware, Array[Softlayer::Hardware], message)
|
219
229
|
end
|
220
230
|
|
221
|
-
|
222
|
-
|
231
|
+
# subnet_id
|
232
|
+
# filter_ip_address
|
233
|
+
def get_allowable_ip_addresses(message)
|
223
234
|
request(:get_allowable_ip_addresses, Array[Softlayer::Network::Subnet::IpAddress], message)
|
224
235
|
end
|
225
236
|
|
226
|
-
|
227
|
-
|
237
|
+
# filter_network_identifier
|
238
|
+
def get_allowable_subnets(message)
|
228
239
|
request(:get_allowable_subnets, Array[Softlayer::Network::Subnet], message)
|
229
240
|
end
|
230
241
|
|
231
|
-
|
232
|
-
|
242
|
+
# filter_hostname
|
243
|
+
def get_allowable_virtual_guests(message)
|
233
244
|
request(:get_allowable_virtual_guests, Array[Softlayer::Virtual::Guest], message)
|
234
245
|
end
|
235
246
|
|
@@ -277,8 +288,9 @@ module Softlayer
|
|
277
288
|
request(:get_billing_item_category, Softlayer::Product::Item::Category)
|
278
289
|
end
|
279
290
|
|
280
|
-
|
281
|
-
|
291
|
+
# username
|
292
|
+
# type
|
293
|
+
def self.get_by_username(message)
|
282
294
|
request(:get_by_username, Array[Softlayer::Network::Storage], message)
|
283
295
|
end
|
284
296
|
|
@@ -314,8 +326,8 @@ module Softlayer
|
|
314
326
|
request(:get_events, Array[Softlayer::Network::Storage::Event])
|
315
327
|
end
|
316
328
|
|
317
|
-
|
318
|
-
|
329
|
+
# identifier
|
330
|
+
def get_file_by_identifier(message)
|
319
331
|
request(:get_file_by_identifier, Softlayer::Container::Utility::File::Entity, message)
|
320
332
|
end
|
321
333
|
|
@@ -323,8 +335,9 @@ module Softlayer
|
|
323
335
|
request(:get_file_count, Integer)
|
324
336
|
end
|
325
337
|
|
326
|
-
|
327
|
-
|
338
|
+
# folder
|
339
|
+
# path
|
340
|
+
def get_file_list(message)
|
328
341
|
request(:get_file_list, Array[Softlayer::Container::Utility::File::Entity], message)
|
329
342
|
end
|
330
343
|
|
@@ -340,8 +353,10 @@ module Softlayer
|
|
340
353
|
request(:get_folder_list, Array[Softlayer::Container::Network::Storage::Hub::ObjectStorage::Folder])
|
341
354
|
end
|
342
355
|
|
343
|
-
|
344
|
-
|
356
|
+
# start_date
|
357
|
+
# end_date
|
358
|
+
# type
|
359
|
+
def get_graph(message)
|
345
360
|
request(:get_graph, Softlayer::Container::Bandwidth::GraphOutputs, message)
|
346
361
|
end
|
347
362
|
|
@@ -349,8 +364,11 @@ module Softlayer
|
|
349
364
|
request(:get_hardware, Softlayer::Hardware)
|
350
365
|
end
|
351
366
|
|
352
|
-
|
353
|
-
|
367
|
+
# option
|
368
|
+
# exact_match
|
369
|
+
# criteria
|
370
|
+
# mode
|
371
|
+
def self.get_hardware_with_evault_first(message)
|
354
372
|
request(:get_hardware_with_evault_first, Array[Softlayer::Hardware], message)
|
355
373
|
end
|
356
374
|
|
@@ -394,8 +412,8 @@ module Softlayer
|
|
394
412
|
request(:get_object_storage_connection_information, Array[Softlayer::Container::Network::Service::Resource::ObjectStorage::ConnectionInformation])
|
395
413
|
end
|
396
414
|
|
397
|
-
|
398
|
-
|
415
|
+
# credential_object
|
416
|
+
def self.get_objects_by_credential(message)
|
399
417
|
request(:get_objects_by_credential, Array[Softlayer::Network::Storage], message)
|
400
418
|
end
|
401
419
|
|
@@ -431,8 +449,8 @@ module Softlayer
|
|
431
449
|
request(:get_properties, Array[Softlayer::Network::Storage::Property])
|
432
450
|
end
|
433
451
|
|
434
|
-
|
435
|
-
|
452
|
+
# file_id
|
453
|
+
def get_recycle_bin_file_by_identifier(message)
|
436
454
|
request(:get_recycle_bin_file_by_identifier, Softlayer::Container::Utility::File::Entity, message)
|
437
455
|
end
|
438
456
|
|
@@ -568,8 +586,8 @@ module Softlayer
|
|
568
586
|
request(:get_weekly_schedule, Softlayer::Network::Storage::Schedule)
|
569
587
|
end
|
570
588
|
|
571
|
-
|
572
|
-
|
589
|
+
# replicant_id
|
590
|
+
def immediate_failover_to_replicant(message)
|
573
591
|
request(:immediate_failover_to_replicant, Boolean, message)
|
574
592
|
end
|
575
593
|
|
@@ -577,128 +595,129 @@ module Softlayer
|
|
577
595
|
request(:initiate_bare_metal_restore, Boolean)
|
578
596
|
end
|
579
597
|
|
580
|
-
|
581
|
-
|
598
|
+
# hardware_id
|
599
|
+
def initiate_bare_metal_restore_for_server(message)
|
582
600
|
request(:initiate_bare_metal_restore_for_server, Boolean, message)
|
583
601
|
end
|
584
602
|
|
585
|
-
|
586
|
-
|
603
|
+
# exempt_status_key_names
|
604
|
+
def is_blocking_operation_in_progress(message)
|
587
605
|
request(:is_blocking_operation_in_progress, Boolean, message)
|
588
606
|
end
|
589
607
|
|
590
|
-
|
591
|
-
|
608
|
+
# hardware_object_template
|
609
|
+
def remove_access_from_hardware(message)
|
592
610
|
request(:remove_access_from_hardware, Boolean, message)
|
593
611
|
end
|
594
612
|
|
595
|
-
|
596
|
-
|
613
|
+
# hardware_object_templates
|
614
|
+
def remove_access_from_hardware_list(message)
|
597
615
|
request(:remove_access_from_hardware_list, Boolean, message)
|
598
616
|
end
|
599
617
|
|
600
|
-
|
601
|
-
|
618
|
+
# type_class_name
|
619
|
+
# host_id
|
620
|
+
def remove_access_from_host(message)
|
602
621
|
request(:remove_access_from_host, Softlayer::Network::Storage::Allowed::Host, message)
|
603
622
|
end
|
604
623
|
|
605
|
-
|
606
|
-
|
624
|
+
# host_object_templates
|
625
|
+
def remove_access_from_host_list(message)
|
607
626
|
request(:remove_access_from_host_list, Array[Softlayer::Network::Storage::Allowed::Host], message)
|
608
627
|
end
|
609
628
|
|
610
|
-
|
611
|
-
|
629
|
+
# ip_address_object_template
|
630
|
+
def remove_access_from_ip_address(message)
|
612
631
|
request(:remove_access_from_ip_address, Boolean, message)
|
613
632
|
end
|
614
633
|
|
615
|
-
|
616
|
-
|
634
|
+
# ip_address_object_templates
|
635
|
+
def remove_access_from_ip_address_list(message)
|
617
636
|
request(:remove_access_from_ip_address_list, Boolean, message)
|
618
637
|
end
|
619
638
|
|
620
|
-
|
621
|
-
|
639
|
+
# subnet_object_template
|
640
|
+
def remove_access_from_subnet(message)
|
622
641
|
request(:remove_access_from_subnet, Boolean, message)
|
623
642
|
end
|
624
643
|
|
625
|
-
|
626
|
-
|
644
|
+
# subnet_object_templates
|
645
|
+
def remove_access_from_subnet_list(message)
|
627
646
|
request(:remove_access_from_subnet_list, Boolean, message)
|
628
647
|
end
|
629
648
|
|
630
|
-
|
631
|
-
|
649
|
+
# virtual_guest_object_template
|
650
|
+
def remove_access_from_virtual_guest(message)
|
632
651
|
request(:remove_access_from_virtual_guest, Boolean, message)
|
633
652
|
end
|
634
653
|
|
635
|
-
|
636
|
-
|
654
|
+
# virtual_guest_object_templates
|
655
|
+
def remove_access_from_virtual_guest_list(message)
|
637
656
|
request(:remove_access_from_virtual_guest_list, Boolean, message)
|
638
657
|
end
|
639
658
|
|
640
|
-
|
641
|
-
|
659
|
+
# hardware_object_templates
|
660
|
+
def remove_access_to_replicant_from_hardware_list(message)
|
642
661
|
request(:remove_access_to_replicant_from_hardware_list, Boolean, message)
|
643
662
|
end
|
644
663
|
|
645
|
-
|
646
|
-
|
664
|
+
# ip_address_object_templates
|
665
|
+
def remove_access_to_replicant_from_ip_address_list(message)
|
647
666
|
request(:remove_access_to_replicant_from_ip_address_list, Boolean, message)
|
648
667
|
end
|
649
668
|
|
650
|
-
|
651
|
-
|
669
|
+
# subnet_object_template
|
670
|
+
def remove_access_to_replicant_from_subnet(message)
|
652
671
|
request(:remove_access_to_replicant_from_subnet, Boolean, message)
|
653
672
|
end
|
654
673
|
|
655
|
-
|
656
|
-
|
674
|
+
# subnet_object_templates
|
675
|
+
def remove_access_to_replicant_from_subnet_list(message)
|
657
676
|
request(:remove_access_to_replicant_from_subnet_list, Boolean, message)
|
658
677
|
end
|
659
678
|
|
660
|
-
|
661
|
-
|
679
|
+
# virtual_guest_object_templates
|
680
|
+
def remove_access_to_replicant_from_virtual_guest_list(message)
|
662
681
|
request(:remove_access_to_replicant_from_virtual_guest_list, Boolean, message)
|
663
682
|
end
|
664
683
|
|
665
|
-
|
666
|
-
|
684
|
+
# username
|
685
|
+
def remove_credential(message)
|
667
686
|
request(:remove_credential, Boolean, message)
|
668
687
|
end
|
669
688
|
|
670
|
-
|
671
|
-
|
689
|
+
# file_id
|
690
|
+
def restore_file(message)
|
672
691
|
request(:restore_file, Softlayer::Container::Utility::File::Entity, message)
|
673
692
|
end
|
674
693
|
|
675
|
-
|
676
|
-
|
694
|
+
# snapshot_id
|
695
|
+
def restore_from_snapshot(message)
|
677
696
|
request(:restore_from_snapshot, Boolean, message)
|
678
697
|
end
|
679
698
|
|
680
|
-
|
681
|
-
|
699
|
+
# username
|
700
|
+
def self.send_password_reminder_email(message)
|
682
701
|
request(:send_password_reminder_email, Boolean, message)
|
683
702
|
end
|
684
703
|
|
685
|
-
|
686
|
-
|
704
|
+
# mountable
|
705
|
+
def set_mountable(message)
|
687
706
|
request(:set_mountable, Boolean, message)
|
688
707
|
end
|
689
708
|
|
690
|
-
|
691
|
-
|
709
|
+
# capacity_gb
|
710
|
+
def set_snapshot_allocation(message)
|
692
711
|
request(:set_snapshot_allocation, nil, message)
|
693
712
|
end
|
694
713
|
|
695
|
-
|
696
|
-
|
714
|
+
# item_id
|
715
|
+
def upgrade_volume_capacity(message)
|
697
716
|
request(:upgrade_volume_capacity, Boolean, message)
|
698
717
|
end
|
699
718
|
|
700
|
-
|
701
|
-
|
719
|
+
# file
|
720
|
+
def upload_file(message)
|
702
721
|
request(:upload_file, Softlayer::Container::Utility::File::Entity, message)
|
703
722
|
end
|
704
723
|
|
@@ -5,18 +5,18 @@ module Softlayer
|
|
5
5
|
class Iscsi < Softlayer::Network::Storage::Group
|
6
6
|
SERVICE = 'SoftLayer_Network_Storage_Group_Iscsi'
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
# allowed_host
|
9
|
+
def add_allowed_host(message)
|
10
10
|
request(:add_allowed_host, Boolean, message)
|
11
11
|
end
|
12
12
|
|
13
|
-
|
14
|
-
|
13
|
+
# volume
|
14
|
+
def attach_to_volume(message)
|
15
15
|
request(:attach_to_volume, Boolean, message)
|
16
16
|
end
|
17
17
|
|
18
|
-
|
19
|
-
|
18
|
+
# template_object
|
19
|
+
def self.create_object(message)
|
20
20
|
request(:create_object, Boolean, message)
|
21
21
|
end
|
22
22
|
|
@@ -24,8 +24,8 @@ module Softlayer
|
|
24
24
|
request(:delete_object, Boolean)
|
25
25
|
end
|
26
26
|
|
27
|
-
|
28
|
-
|
27
|
+
# template_object
|
28
|
+
def edit_object(message)
|
29
29
|
request(:edit_object, Boolean, message)
|
30
30
|
end
|
31
31
|
|
@@ -65,13 +65,13 @@ module Softlayer
|
|
65
65
|
request(:get_service_resource, Softlayer::Network::Service::Resource)
|
66
66
|
end
|
67
67
|
|
68
|
-
|
69
|
-
|
68
|
+
# allowed_host
|
69
|
+
def remove_allowed_host(message)
|
70
70
|
request(:remove_allowed_host, Boolean, message)
|
71
71
|
end
|
72
72
|
|
73
|
-
|
74
|
-
|
73
|
+
# volume
|
74
|
+
def remove_from_volume(message)
|
75
75
|
request(:remove_from_volume, Boolean, message)
|
76
76
|
end
|
77
77
|
|