Class: Softlayer::Network::Storage::Backup::Evault

Inherits:
Softlayer::Network::Storage::Backup show all
Defined in:
lib/softlayer/network/storage/backup/evault.rb,
lib/softlayer/network/storage/backup/evault/version6.rb

Direct Known Subclasses

Version6

Defined Under Namespace

Classes: Representer, Version6

Constant Summary collapse

SERVICE =
'SoftLayer_Network_Storage_Backup_Evault'

Instance Attribute Summary

Attributes inherited from Softlayer::Network::Storage::Backup

#current_cycle_peak_usage, #previous_cycle_peak_usage

Attributes inherited from Softlayer::Network::Storage

#account, #account_id, #account_password, #active_transaction_count, #active_transactions, #allowed_hardware, #allowed_hardware_count, #allowed_ip_address_count, #allowed_ip_addresses, #allowed_replication_hardware, #allowed_replication_hardware_count, #allowed_replication_ip_address_count, #allowed_replication_ip_addresses, #allowed_replication_subnet_count, #allowed_replication_subnets, #allowed_replication_virtual_guest_count, #allowed_replication_virtual_guests, #allowed_subnet_count, #allowed_subnets, #allowed_virtual_guest_count, #allowed_virtual_guests, #billing_item, #billing_item_category, #bytes_used, #capacity_gb, #create_date, #creation_schedule_id, #credential_count, #credentials, #daily_schedule, #event_count, #events, #guest_id, #hardware, #hardware_id, #host_id, #hourly_schedule, #id, #iops, #iscsi_lun_count, #iscsi_luns, #lun_id, #metric_tracking_object, #mountable_flag, #nas_type, #notes, #notification_subscriber_count, #notification_subscribers, #os_type, #os_type_id, #parent_partnership_count, #parent_partnerships, #parent_volume, #partnership_count, #partnerships, #password, #permissions_group_count, #permissions_groups, #properties, #property_count, #replicating_lun_count, #replicating_luns, #replicating_volume, #replication_event_count, #replication_events, #replication_partner_count, #replication_partners, #replication_schedule, #replication_status, #schedule_count, #schedules, #service_provider_id, #service_resource, #service_resource_backend_ip_address, #service_resource_name, #snapshot_capacity_gb, #snapshot_count, #snapshot_creation_timestamp, #snapshot_deletion_threshold_percentage, #snapshot_size_bytes, #snapshot_space_available, #snapshots, #storage_group_count, #storage_groups, #storage_tier_level, #storage_type, #storage_type_id, #total_bytes_used, #total_schedule_snapshot_retention_count, #upgradable_flag, #usage_notification, #username, #vendor_name, #virtual_guest, #volume_history, #volume_history_count, #volume_status, #webcc_account, #weekly_schedule

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Model

all, all_request_for, create, find, parse, request, #request, #to_hash

Class Method Details

.change_password(username = nil, current_password = nil, new_password = nil) ⇒ Object



109
110
111
112
# File 'lib/softlayer/network/storage/backup/evault.rb', line 109

def self.change_password(username = nil, current_password = nil, new_password = nil)
  message = {username: username, current_password: current_password, new_password: new_password}
  request(:change_password, Boolean, message)
end

.get_by_username(username = nil, type = nil) ⇒ Object



280
281
282
283
# File 'lib/softlayer/network/storage/backup/evault.rb', line 280

def self.get_by_username(username = nil, type = nil)
  message = {username: username, type: type}
  request(:get_by_username, Array[Softlayer::Network::Storage], message)
end

.get_hardware_with_evault_first(option = nil, exact_match = nil, criteria = nil, mode = nil) ⇒ Object



352
353
354
355
# File 'lib/softlayer/network/storage/backup/evault.rb', line 352

def self.get_hardware_with_evault_first(option = nil, exact_match = nil, criteria = nil, mode = nil)
  message = {option: option, exact_match: exact_match, criteria: criteria, mode: mode}
  request(:get_hardware_with_evault_first, Array[Softlayer::Hardware], message)
end

.get_object_storage_connection_informationObject



393
394
395
# File 'lib/softlayer/network/storage/backup/evault.rb', line 393

def self.get_object_storage_connection_information
  request(:get_object_storage_connection_information, Array[Softlayer::Container::Network::Service::Resource::ObjectStorage::ConnectionInformation])
end

.get_objects_by_credential(credential_object = nil) ⇒ Object



397
398
399
400
# File 'lib/softlayer/network/storage/backup/evault.rb', line 397

def self.get_objects_by_credential(credential_object = nil)
  message = {credential_object: credential_object}
  request(:get_objects_by_credential, Array[Softlayer::Network::Storage], message)
end

.get_web_cc_authentication_detailsObject



559
560
561
# File 'lib/softlayer/network/storage/backup/evault.rb', line 559

def self.get_web_cc_authentication_details
  request(:get_web_cc_authentication_details, nil)
end

.send_password_reminder_email(username = nil) ⇒ Object



680
681
682
683
# File 'lib/softlayer/network/storage/backup/evault.rb', line 680

def self.send_password_reminder_email(username = nil)
  message = {username: username}
  request(:send_password_reminder_email, Boolean, message)
end

Instance Method Details

#allow_access_from_hardware(hardware_object_template = nil) ⇒ Object



9
10
11
12
# File 'lib/softlayer/network/storage/backup/evault.rb', line 9

def allow_access_from_hardware(hardware_object_template = nil)
  message = {hardware_object_template: hardware_object_template}
  request(:allow_access_from_hardware, Boolean, message)
end

#allow_access_from_hardware_list(hardware_object_templates = nil) ⇒ Object



14
15
16
17
# File 'lib/softlayer/network/storage/backup/evault.rb', line 14

def allow_access_from_hardware_list(hardware_object_templates = nil)
  message = {hardware_object_templates: hardware_object_templates}
  request(:allow_access_from_hardware_list, Boolean, message)
end

#allow_access_from_host(type_class_name = nil, host_id = nil) ⇒ Object



19
20
21
22
# File 'lib/softlayer/network/storage/backup/evault.rb', line 19

def allow_access_from_host(type_class_name = nil, host_id = nil)
  message = {type_class_name: type_class_name, host_id: host_id}
  request(:allow_access_from_host, Softlayer::Network::Storage::Allowed::Host, message)
end

#allow_access_from_host_list(host_object_templates = nil) ⇒ Object



24
25
26
27
# File 'lib/softlayer/network/storage/backup/evault.rb', line 24

def allow_access_from_host_list(host_object_templates = nil)
  message = {host_object_templates: host_object_templates}
  request(:allow_access_from_host_list, Array[Softlayer::Network::Storage::Allowed::Host], message)
end

#allow_access_from_ip_address(ip_address_object_template = nil) ⇒ Object



29
30
31
32
# File 'lib/softlayer/network/storage/backup/evault.rb', line 29

def allow_access_from_ip_address(ip_address_object_template = nil)
  message = {ip_address_object_template: ip_address_object_template}
  request(:allow_access_from_ip_address, Boolean, message)
end

#allow_access_from_ip_address_list(ip_address_object_templates = nil) ⇒ Object



34
35
36
37
# File 'lib/softlayer/network/storage/backup/evault.rb', line 34

def allow_access_from_ip_address_list(ip_address_object_templates = nil)
  message = {ip_address_object_templates: ip_address_object_templates}
  request(:allow_access_from_ip_address_list, Boolean, message)
end

#allow_access_from_subnet(subnet_object_template = nil) ⇒ Object



39
40
41
42
# File 'lib/softlayer/network/storage/backup/evault.rb', line 39

def allow_access_from_subnet(subnet_object_template = nil)
  message = {subnet_object_template: subnet_object_template}
  request(:allow_access_from_subnet, Boolean, message)
end

#allow_access_from_subnet_list(subnet_object_templates = nil) ⇒ Object



44
45
46
47
# File 'lib/softlayer/network/storage/backup/evault.rb', line 44

def allow_access_from_subnet_list(subnet_object_templates = nil)
  message = {subnet_object_templates: subnet_object_templates}
  request(:allow_access_from_subnet_list, Boolean, message)
end

#allow_access_from_virtual_guest(virtual_guest_object_template = nil) ⇒ Object



49
50
51
52
# File 'lib/softlayer/network/storage/backup/evault.rb', line 49

def allow_access_from_virtual_guest(virtual_guest_object_template = nil)
  message = {virtual_guest_object_template: virtual_guest_object_template}
  request(:allow_access_from_virtual_guest, Boolean, message)
end

#allow_access_from_virtual_guest_list(virtual_guest_object_templates = nil) ⇒ Object



54
55
56
57
# File 'lib/softlayer/network/storage/backup/evault.rb', line 54

def allow_access_from_virtual_guest_list(virtual_guest_object_templates = nil)
  message = {virtual_guest_object_templates: virtual_guest_object_templates}
  request(:allow_access_from_virtual_guest_list, Boolean, message)
end

#allow_access_to_replicant_from_hardware(hardware_object_template = nil) ⇒ Object



59
60
61
62
# File 'lib/softlayer/network/storage/backup/evault.rb', line 59

def allow_access_to_replicant_from_hardware(hardware_object_template = nil)
  message = {hardware_object_template: hardware_object_template}
  request(:allow_access_to_replicant_from_hardware, Boolean, message)
end

#allow_access_to_replicant_from_hardware_list(hardware_object_templates = nil) ⇒ Object



64
65
66
67
# File 'lib/softlayer/network/storage/backup/evault.rb', line 64

def allow_access_to_replicant_from_hardware_list(hardware_object_templates = nil)
  message = {hardware_object_templates: hardware_object_templates}
  request(:allow_access_to_replicant_from_hardware_list, Boolean, message)
end

#allow_access_to_replicant_from_ip_address(ip_address_object_template = nil) ⇒ Object



69
70
71
72
# File 'lib/softlayer/network/storage/backup/evault.rb', line 69

def allow_access_to_replicant_from_ip_address(ip_address_object_template = nil)
  message = {ip_address_object_template: ip_address_object_template}
  request(:allow_access_to_replicant_from_ip_address, Boolean, message)
end

#allow_access_to_replicant_from_ip_address_list(ip_address_object_templates = nil) ⇒ Object



74
75
76
77
# File 'lib/softlayer/network/storage/backup/evault.rb', line 74

def allow_access_to_replicant_from_ip_address_list(ip_address_object_templates = nil)
  message = {ip_address_object_templates: ip_address_object_templates}
  request(:allow_access_to_replicant_from_ip_address_list, Boolean, message)
end

#allow_access_to_replicant_from_subnet(subnet_object_template = nil) ⇒ Object



79
80
81
82
# File 'lib/softlayer/network/storage/backup/evault.rb', line 79

def allow_access_to_replicant_from_subnet(subnet_object_template = nil)
  message = {subnet_object_template: subnet_object_template}
  request(:allow_access_to_replicant_from_subnet, Boolean, message)
end

#allow_access_to_replicant_from_subnet_list(subnet_object_templates = nil) ⇒ Object



84
85
86
87
# File 'lib/softlayer/network/storage/backup/evault.rb', line 84

def allow_access_to_replicant_from_subnet_list(subnet_object_templates = nil)
  message = {subnet_object_templates: subnet_object_templates}
  request(:allow_access_to_replicant_from_subnet_list, Boolean, message)
end

#allow_access_to_replicant_from_virtual_guest(virtual_guest_object_template = nil) ⇒ Object



89
90
91
92
# File 'lib/softlayer/network/storage/backup/evault.rb', line 89

def allow_access_to_replicant_from_virtual_guest(virtual_guest_object_template = nil)
  message = {virtual_guest_object_template: virtual_guest_object_template}
  request(:allow_access_to_replicant_from_virtual_guest, Boolean, message)
end

#allow_access_to_replicant_from_virtual_guest_list(virtual_guest_object_templates = nil) ⇒ Object



94
95
96
97
# File 'lib/softlayer/network/storage/backup/evault.rb', line 94

def allow_access_to_replicant_from_virtual_guest_list(virtual_guest_object_templates = nil)
  message = {virtual_guest_object_templates: virtual_guest_object_templates}
  request(:allow_access_to_replicant_from_virtual_guest_list, Boolean, message)
end

#assign_credential(username = nil) ⇒ Object



99
100
101
102
# File 'lib/softlayer/network/storage/backup/evault.rb', line 99

def assign_credential(username = nil)
  message = {username: username}
  request(:assign_credential, Boolean, message)
end

#assign_new_credential(type = nil) ⇒ Object



104
105
106
107
# File 'lib/softlayer/network/storage/backup/evault.rb', line 104

def assign_new_credential(type = nil)
  message = {type: type}
  request(:assign_new_credential, Softlayer::Network::Storage::Credential, message)
end

#collect_bandwidth(type = nil, start_date = nil, end_date = nil) ⇒ Object



114
115
116
117
# File 'lib/softlayer/network/storage/backup/evault.rb', line 114

def collect_bandwidth(type = nil, start_date = nil, end_date = nil)
  message = {type: type, start_date: start_date, end_date: end_date}
  request(:collect_bandwidth, BigDecimal, message)
end

#collect_bytes_usedObject



119
120
121
# File 'lib/softlayer/network/storage/backup/evault.rb', line 119

def collect_bytes_used
  request(:collect_bytes_used, BigDecimal)
end

#create_folder(folder = nil) ⇒ Object



123
124
125
126
# File 'lib/softlayer/network/storage/backup/evault.rb', line 123

def create_folder(folder = nil)
  message = {folder: folder}
  request(:create_folder, Boolean, message)
end

#create_snapshot(notes = nil) ⇒ Object



128
129
130
131
# File 'lib/softlayer/network/storage/backup/evault.rb', line 128

def create_snapshot(notes = nil)
  message = {notes: notes}
  request(:create_snapshot, Softlayer::Network::Storage::Backup::Evault, message)
end

#delete_all_filesObject



133
134
135
# File 'lib/softlayer/network/storage/backup/evault.rb', line 133

def delete_all_files
  request(:delete_all_files, Boolean)
end

#delete_file(file_id = nil) ⇒ Object



137
138
139
140
# File 'lib/softlayer/network/storage/backup/evault.rb', line 137

def delete_file(file_id = nil)
  message = {file_id: file_id}
  request(:delete_file, Boolean, message)
end

#delete_files(file_ids = nil) ⇒ Object



142
143
144
145
# File 'lib/softlayer/network/storage/backup/evault.rb', line 142

def delete_files(file_ids = nil)
  message = {file_ids: file_ids}
  request(:delete_files, Boolean, message)
end

#delete_folder(folder = nil) ⇒ Object



147
148
149
150
# File 'lib/softlayer/network/storage/backup/evault.rb', line 147

def delete_folder(folder = nil)
  message = {folder: folder}
  request(:delete_folder, Boolean, message)
end

#delete_objectObject



152
153
154
# File 'lib/softlayer/network/storage/backup/evault.rb', line 152

def delete_object
  request(:delete_object, Boolean)
end

#delete_tasks(tasks = nil) ⇒ Object



156
157
158
159
# File 'lib/softlayer/network/storage/backup/evault.rb', line 156

def delete_tasks(tasks = nil)
  message = {tasks: tasks}
  request(:delete_tasks, Boolean, message)
end

#disable_snapshots(schedule_type = nil) ⇒ Object



161
162
163
164
# File 'lib/softlayer/network/storage/backup/evault.rb', line 161

def disable_snapshots(schedule_type = nil)
  message = {schedule_type: schedule_type}
  request(:disable_snapshots, Boolean, message)
end

#download_file(file_id = nil) ⇒ Object



166
167
168
169
# File 'lib/softlayer/network/storage/backup/evault.rb', line 166

def download_file(file_id = nil)
  message = {file_id: file_id}
  request(:download_file, Softlayer::Container::Utility::File::Entity, message)
end

#edit_credential(username = nil, new_password = nil) ⇒ Object



171
172
173
174
# File 'lib/softlayer/network/storage/backup/evault.rb', line 171

def edit_credential(username = nil, new_password = nil)
  message = {username: username, new_password: new_password}
  request(:edit_credential, Boolean, message)
end

#edit_object(template_object = nil) ⇒ Object



176
177
178
179
# File 'lib/softlayer/network/storage/backup/evault.rb', line 176

def edit_object(template_object = nil)
  message = {template_object: template_object}
  request(:edit_object, Boolean, message)
end

#enable_snapshots(schedule_type = nil, retention_count = nil, minute = nil, hour = nil, day_of_week = nil) ⇒ Object



181
182
183
184
# File 'lib/softlayer/network/storage/backup/evault.rb', line 181

def enable_snapshots(schedule_type = nil, retention_count = nil, minute = nil, hour = nil, day_of_week = nil)
  message = {schedule_type: schedule_type, retention_count: retention_count, minute: minute, hour: hour, day_of_week: day_of_week}
  request(:enable_snapshots, Boolean, message)
end

#failback_from_replicantObject



186
187
188
# File 'lib/softlayer/network/storage/backup/evault.rb', line 186

def failback_from_replicant
  request(:failback_from_replicant, Boolean)
end

#failover_to_replicant(replicant_id = nil) ⇒ Object



190
191
192
193
# File 'lib/softlayer/network/storage/backup/evault.rb', line 190

def failover_to_replicant(replicant_id = nil)
  message = {replicant_id: replicant_id}
  request(:failover_to_replicant, Boolean, message)
end

#get_accountObject



195
196
197
# File 'lib/softlayer/network/storage/backup/evault.rb', line 195

def 
  request(:get_account, Softlayer::)
end

#get_account_passwordObject



199
200
201
# File 'lib/softlayer/network/storage/backup/evault.rb', line 199

def 
  request(:get_account_password, Softlayer::::Password)
end

#get_active_transactionsObject



203
204
205
# File 'lib/softlayer/network/storage/backup/evault.rb', line 203

def get_active_transactions
  request(:get_active_transactions, Array[Softlayer::Provisioning::Version1::Transaction])
end

#get_all_filesObject



207
208
209
# File 'lib/softlayer/network/storage/backup/evault.rb', line 207

def get_all_files
  request(:get_all_files, Array[Softlayer::Container::Utility::File::Entity])
end

#get_all_files_by_filter(filter = nil) ⇒ Object



211
212
213
214
# File 'lib/softlayer/network/storage/backup/evault.rb', line 211

def get_all_files_by_filter(filter = nil)
  message = {filter: filter}
  request(:get_all_files_by_filter, Array[Softlayer::Container::Utility::File::Entity], message)
end

#get_allowable_hardware(filter_hostname = nil) ⇒ Object



216
217
218
219
# File 'lib/softlayer/network/storage/backup/evault.rb', line 216

def get_allowable_hardware(filter_hostname = nil)
  message = {filter_hostname: filter_hostname}
  request(:get_allowable_hardware, Array[Softlayer::Hardware], message)
end

#get_allowable_ip_addresses(subnet_id = nil, filter_ip_address = nil) ⇒ Object



221
222
223
224
# File 'lib/softlayer/network/storage/backup/evault.rb', line 221

def get_allowable_ip_addresses(subnet_id = nil, filter_ip_address = nil)
  message = {subnet_id: subnet_id, filter_ip_address: filter_ip_address}
  request(:get_allowable_ip_addresses, Array[Softlayer::Network::Subnet::IpAddress], message)
end

#get_allowable_subnets(filter_network_identifier = nil) ⇒ Object



226
227
228
229
# File 'lib/softlayer/network/storage/backup/evault.rb', line 226

def get_allowable_subnets(filter_network_identifier = nil)
  message = {filter_network_identifier: filter_network_identifier}
  request(:get_allowable_subnets, Array[Softlayer::Network::Subnet], message)
end

#get_allowable_virtual_guests(filter_hostname = nil) ⇒ Object



231
232
233
234
# File 'lib/softlayer/network/storage/backup/evault.rb', line 231

def get_allowable_virtual_guests(filter_hostname = nil)
  message = {filter_hostname: filter_hostname}
  request(:get_allowable_virtual_guests, Array[Softlayer::Virtual::Guest], message)
end

#get_allowed_hardwareObject



236
237
238
# File 'lib/softlayer/network/storage/backup/evault.rb', line 236

def get_allowed_hardware
  request(:get_allowed_hardware, Array[Softlayer::Hardware])
end

#get_allowed_hosts_limitObject



240
241
242
# File 'lib/softlayer/network/storage/backup/evault.rb', line 240

def get_allowed_hosts_limit
  request(:get_allowed_hosts_limit, Integer)
end

#get_allowed_ip_addressesObject



244
245
246
# File 'lib/softlayer/network/storage/backup/evault.rb', line 244

def get_allowed_ip_addresses
  request(:get_allowed_ip_addresses, Array[Softlayer::Network::Subnet::IpAddress])
end

#get_allowed_replication_hardwareObject



248
249
250
# File 'lib/softlayer/network/storage/backup/evault.rb', line 248

def get_allowed_replication_hardware
  request(:get_allowed_replication_hardware, Array[Softlayer::Hardware])
end

#get_allowed_replication_ip_addressesObject



252
253
254
# File 'lib/softlayer/network/storage/backup/evault.rb', line 252

def get_allowed_replication_ip_addresses
  request(:get_allowed_replication_ip_addresses, Array[Softlayer::Network::Subnet::IpAddress])
end

#get_allowed_replication_subnetsObject



256
257
258
# File 'lib/softlayer/network/storage/backup/evault.rb', line 256

def get_allowed_replication_subnets
  request(:get_allowed_replication_subnets, Array[Softlayer::Network::Subnet])
end

#get_allowed_replication_virtual_guestsObject



260
261
262
# File 'lib/softlayer/network/storage/backup/evault.rb', line 260

def get_allowed_replication_virtual_guests
  request(:get_allowed_replication_virtual_guests, Array[Softlayer::Virtual::Guest])
end

#get_allowed_subnetsObject



264
265
266
# File 'lib/softlayer/network/storage/backup/evault.rb', line 264

def get_allowed_subnets
  request(:get_allowed_subnets, Array[Softlayer::Network::Subnet])
end

#get_allowed_virtual_guestsObject



268
269
270
# File 'lib/softlayer/network/storage/backup/evault.rb', line 268

def get_allowed_virtual_guests
  request(:get_allowed_virtual_guests, Array[Softlayer::Virtual::Guest])
end

#get_billing_itemObject



272
273
274
# File 'lib/softlayer/network/storage/backup/evault.rb', line 272

def get_billing_item
  request(:get_billing_item, Softlayer::Billing::Item)
end

#get_billing_item_categoryObject



276
277
278
# File 'lib/softlayer/network/storage/backup/evault.rb', line 276

def get_billing_item_category
  request(:get_billing_item_category, Softlayer::Product::Item::Category)
end

#get_bytes_usedObject



285
286
287
# File 'lib/softlayer/network/storage/backup/evault.rb', line 285

def get_bytes_used
  request(:get_bytes_used, String)
end

#get_cdn_urlsObject



289
290
291
# File 'lib/softlayer/network/storage/backup/evault.rb', line 289

def get_cdn_urls
  request(:get_cdn_urls, Array[Softlayer::Container::Network::Storage::Hub::ObjectStorage::ContentDeliveryUrl])
end

#get_cluster_resourceObject



293
294
295
# File 'lib/softlayer/network/storage/backup/evault.rb', line 293

def get_cluster_resource
  request(:get_cluster_resource, Softlayer::Network::Service::Resource)
end

#get_creation_schedule_idObject



297
298
299
# File 'lib/softlayer/network/storage/backup/evault.rb', line 297

def get_creation_schedule_id
  request(:get_creation_schedule_id, String)
end

#get_credentialsObject



301
302
303
# File 'lib/softlayer/network/storage/backup/evault.rb', line 301

def get_credentials
  request(:get_credentials, Array[Softlayer::Network::Storage::Credential])
end

#get_current_cycle_peak_usageObject



305
306
307
# File 'lib/softlayer/network/storage/backup/evault.rb', line 305

def get_current_cycle_peak_usage
  request(:get_current_cycle_peak_usage, Integer)
end

#get_daily_scheduleObject



309
310
311
# File 'lib/softlayer/network/storage/backup/evault.rb', line 309

def get_daily_schedule
  request(:get_daily_schedule, Softlayer::Network::Storage::Schedule)
end

#get_eventsObject



313
314
315
# File 'lib/softlayer/network/storage/backup/evault.rb', line 313

def get_events
  request(:get_events, Array[Softlayer::Network::Storage::Event])
end

#get_file_by_identifier(identifier = nil) ⇒ Object



317
318
319
320
# File 'lib/softlayer/network/storage/backup/evault.rb', line 317

def get_file_by_identifier(identifier = nil)
  message = {identifier: identifier}
  request(:get_file_by_identifier, Softlayer::Container::Utility::File::Entity, message)
end

#get_file_countObject



322
323
324
# File 'lib/softlayer/network/storage/backup/evault.rb', line 322

def get_file_count
  request(:get_file_count, Integer)
end

#get_file_list(folder = nil, path = nil) ⇒ Object



326
327
328
329
# File 'lib/softlayer/network/storage/backup/evault.rb', line 326

def get_file_list(folder = nil, path = nil)
  message = {folder: folder, path: path}
  request(:get_file_list, Array[Softlayer::Container::Utility::File::Entity], message)
end

#get_file_pending_delete_countObject



331
332
333
# File 'lib/softlayer/network/storage/backup/evault.rb', line 331

def get_file_pending_delete_count
  request(:get_file_pending_delete_count, Integer)
end

#get_files_pending_deleteObject



335
336
337
# File 'lib/softlayer/network/storage/backup/evault.rb', line 335

def get_files_pending_delete
  request(:get_files_pending_delete, Array[Softlayer::Container::Utility::File::Entity])
end

#get_folder_listObject



339
340
341
# File 'lib/softlayer/network/storage/backup/evault.rb', line 339

def get_folder_list
  request(:get_folder_list, Array[Softlayer::Container::Network::Storage::Hub::ObjectStorage::Folder])
end

#get_graph(start_date = nil, end_date = nil, type = nil) ⇒ Object



343
344
345
346
# File 'lib/softlayer/network/storage/backup/evault.rb', line 343

def get_graph(start_date = nil, end_date = nil, type = nil)
  message = {start_date: start_date, end_date: end_date, type: type}
  request(:get_graph, Softlayer::Container::Bandwidth::GraphOutputs, message)
end

#get_hardwareObject



348
349
350
# File 'lib/softlayer/network/storage/backup/evault.rb', line 348

def get_hardware
  request(:get_hardware, Softlayer::Hardware)
end

#get_hourly_scheduleObject



357
358
359
# File 'lib/softlayer/network/storage/backup/evault.rb', line 357

def get_hourly_schedule
  request(:get_hourly_schedule, Softlayer::Network::Storage::Schedule)
end

#get_iopsObject



361
362
363
# File 'lib/softlayer/network/storage/backup/evault.rb', line 361

def get_iops
  request(:get_iops, String)
end

#get_iscsi_lunsObject



365
366
367
# File 'lib/softlayer/network/storage/backup/evault.rb', line 365

def get_iscsi_luns
  request(:get_iscsi_luns, Array[Softlayer::Network::Storage])
end

#get_lun_idObject



369
370
371
# File 'lib/softlayer/network/storage/backup/evault.rb', line 369

def get_lun_id
  request(:get_lun_id, String)
end

#get_metric_tracking_objectObject



373
374
375
# File 'lib/softlayer/network/storage/backup/evault.rb', line 373

def get_metric_tracking_object
  request(:get_metric_tracking_object, Softlayer::Metric::Tracking::Object)
end

#get_mountable_flagObject



377
378
379
# File 'lib/softlayer/network/storage/backup/evault.rb', line 377

def get_mountable_flag
  request(:get_mountable_flag, String)
end

#get_network_connection_detailsObject



381
382
383
# File 'lib/softlayer/network/storage/backup/evault.rb', line 381

def get_network_connection_details
  request(:get_network_connection_details, Softlayer::Container::Network::Storage::NetworkConnectionInformation)
end

#get_notification_subscribersObject



385
386
387
# File 'lib/softlayer/network/storage/backup/evault.rb', line 385

def get_notification_subscribers
  request(:get_notification_subscribers, Array[Softlayer::Notification::User::Subscriber])
end

#get_objectObject



389
390
391
# File 'lib/softlayer/network/storage/backup/evault.rb', line 389

def get_object
  request(:get_object, Softlayer::Network::Storage::Backup::Evault)
end

#get_os_typeObject



402
403
404
# File 'lib/softlayer/network/storage/backup/evault.rb', line 402

def get_os_type
  request(:get_os_type, Softlayer::Network::Storage::Iscsi::Os::Type)
end

#get_os_type_idObject



406
407
408
# File 'lib/softlayer/network/storage/backup/evault.rb', line 406

def get_os_type_id
  request(:get_os_type_id, String)
end

#get_parent_partnershipsObject



410
411
412
# File 'lib/softlayer/network/storage/backup/evault.rb', line 410

def get_parent_partnerships
  request(:get_parent_partnerships, Array[Softlayer::Network::Storage::Partnership])
end

#get_parent_volumeObject



414
415
416
# File 'lib/softlayer/network/storage/backup/evault.rb', line 414

def get_parent_volume
  request(:get_parent_volume, Softlayer::Network::Storage)
end

#get_partnershipsObject



418
419
420
# File 'lib/softlayer/network/storage/backup/evault.rb', line 418

def get_partnerships
  request(:get_partnerships, Array[Softlayer::Network::Storage::Partnership])
end

#get_permissions_groupsObject



422
423
424
# File 'lib/softlayer/network/storage/backup/evault.rb', line 422

def get_permissions_groups
  request(:get_permissions_groups, Array[Softlayer::Network::Storage::Group])
end

#get_previous_cycle_peak_usageObject



426
427
428
# File 'lib/softlayer/network/storage/backup/evault.rb', line 426

def get_previous_cycle_peak_usage
  request(:get_previous_cycle_peak_usage, Integer)
end

#get_propertiesObject



430
431
432
# File 'lib/softlayer/network/storage/backup/evault.rb', line 430

def get_properties
  request(:get_properties, Array[Softlayer::Network::Storage::Property])
end

#get_recycle_bin_file_by_identifier(file_id = nil) ⇒ Object



434
435
436
437
# File 'lib/softlayer/network/storage/backup/evault.rb', line 434

def get_recycle_bin_file_by_identifier(file_id = nil)
  message = {file_id: file_id}
  request(:get_recycle_bin_file_by_identifier, Softlayer::Container::Utility::File::Entity, message)
end

#get_remaining_allowed_hostsObject



439
440
441
# File 'lib/softlayer/network/storage/backup/evault.rb', line 439

def get_remaining_allowed_hosts
  request(:get_remaining_allowed_hosts, Integer)
end

#get_replicating_lunsObject



443
444
445
# File 'lib/softlayer/network/storage/backup/evault.rb', line 443

def get_replicating_luns
  request(:get_replicating_luns, Array[Softlayer::Network::Storage])
end

#get_replicating_volumeObject



447
448
449
# File 'lib/softlayer/network/storage/backup/evault.rb', line 447

def get_replicating_volume
  request(:get_replicating_volume, Softlayer::Network::Storage)
end

#get_replication_eventsObject



451
452
453
# File 'lib/softlayer/network/storage/backup/evault.rb', line 451

def get_replication_events
  request(:get_replication_events, Array[Softlayer::Network::Storage::Event])
end

#get_replication_partnersObject



455
456
457
# File 'lib/softlayer/network/storage/backup/evault.rb', line 455

def get_replication_partners
  request(:get_replication_partners, Array[Softlayer::Network::Storage])
end

#get_replication_scheduleObject



459
460
461
# File 'lib/softlayer/network/storage/backup/evault.rb', line 459

def get_replication_schedule
  request(:get_replication_schedule, Softlayer::Network::Storage::Schedule)
end

#get_replication_statusObject



463
464
465
# File 'lib/softlayer/network/storage/backup/evault.rb', line 463

def get_replication_status
  request(:get_replication_status, String)
end

#get_schedulesObject



467
468
469
# File 'lib/softlayer/network/storage/backup/evault.rb', line 467

def get_schedules
  request(:get_schedules, Array[Softlayer::Network::Storage::Schedule])
end

#get_service_resourceObject



471
472
473
# File 'lib/softlayer/network/storage/backup/evault.rb', line 471

def get_service_resource
  request(:get_service_resource, Softlayer::Network::Service::Resource)
end

#get_service_resource_backend_ip_addressObject



475
476
477
# File 'lib/softlayer/network/storage/backup/evault.rb', line 475

def get_service_resource_backend_ip_address
  request(:get_service_resource_backend_ip_address, String)
end

#get_service_resource_nameObject



479
480
481
# File 'lib/softlayer/network/storage/backup/evault.rb', line 479

def get_service_resource_name
  request(:get_service_resource_name, String)
end

#get_snapshot_capacity_gbObject



483
484
485
# File 'lib/softlayer/network/storage/backup/evault.rb', line 483

def get_snapshot_capacity_gb
  request(:get_snapshot_capacity_gb, String)
end

#get_snapshot_creation_timestampObject



487
488
489
# File 'lib/softlayer/network/storage/backup/evault.rb', line 487

def get_snapshot_creation_timestamp
  request(:get_snapshot_creation_timestamp, String)
end

#get_snapshot_deletion_threshold_percentageObject



491
492
493
# File 'lib/softlayer/network/storage/backup/evault.rb', line 491

def get_snapshot_deletion_threshold_percentage
  request(:get_snapshot_deletion_threshold_percentage, String)
end

#get_snapshot_size_bytesObject



495
496
497
# File 'lib/softlayer/network/storage/backup/evault.rb', line 495

def get_snapshot_size_bytes
  request(:get_snapshot_size_bytes, String)
end

#get_snapshot_space_availableObject



499
500
501
# File 'lib/softlayer/network/storage/backup/evault.rb', line 499

def get_snapshot_space_available
  request(:get_snapshot_space_available, String)
end

#get_snapshotsObject



503
504
505
# File 'lib/softlayer/network/storage/backup/evault.rb', line 503

def get_snapshots
  request(:get_snapshots, Array[Softlayer::Network::Storage])
end

#get_snapshots_for_volumeObject



507
508
509
# File 'lib/softlayer/network/storage/backup/evault.rb', line 507

def get_snapshots_for_volume
  request(:get_snapshots_for_volume, Array[Softlayer::Network::Storage])
end

#get_storage_groupsObject



511
512
513
# File 'lib/softlayer/network/storage/backup/evault.rb', line 511

def get_storage_groups
  request(:get_storage_groups, Array[Softlayer::Network::Storage::Group])
end

#get_storage_groups_network_connection_detailsObject



515
516
517
# File 'lib/softlayer/network/storage/backup/evault.rb', line 515

def get_storage_groups_network_connection_details
  request(:get_storage_groups_network_connection_details, Array[Softlayer::Container::Network::Storage::NetworkConnectionInformation])
end

#get_storage_tier_levelObject



519
520
521
# File 'lib/softlayer/network/storage/backup/evault.rb', line 519

def get_storage_tier_level
  request(:get_storage_tier_level, String)
end

#get_storage_typeObject



523
524
525
# File 'lib/softlayer/network/storage/backup/evault.rb', line 523

def get_storage_type
  request(:get_storage_type, Softlayer::Network::Storage::Type)
end

#get_total_bytes_usedObject



527
528
529
# File 'lib/softlayer/network/storage/backup/evault.rb', line 527

def get_total_bytes_used
  request(:get_total_bytes_used, String)
end

#get_total_schedule_snapshot_retention_countObject



531
532
533
# File 'lib/softlayer/network/storage/backup/evault.rb', line 531

def get_total_schedule_snapshot_retention_count
  request(:get_total_schedule_snapshot_retention_count, Integer)
end

#get_usage_notificationObject



535
536
537
# File 'lib/softlayer/network/storage/backup/evault.rb', line 535

def get_usage_notification
  request(:get_usage_notification, Softlayer::Notification)
end

#get_valid_replication_target_datacenter_locationsObject



539
540
541
# File 'lib/softlayer/network/storage/backup/evault.rb', line 539

def get_valid_replication_target_datacenter_locations
  request(:get_valid_replication_target_datacenter_locations, Array[Softlayer::Location])
end

#get_vendor_nameObject



543
544
545
# File 'lib/softlayer/network/storage/backup/evault.rb', line 543

def get_vendor_name
  request(:get_vendor_name, String)
end

#get_virtual_guestObject



547
548
549
# File 'lib/softlayer/network/storage/backup/evault.rb', line 547

def get_virtual_guest
  request(:get_virtual_guest, Softlayer::Virtual::Guest)
end

#get_volume_historyObject



551
552
553
# File 'lib/softlayer/network/storage/backup/evault.rb', line 551

def get_volume_history
  request(:get_volume_history, Array[Softlayer::Network::Storage::History])
end

#get_volume_statusObject



555
556
557
# File 'lib/softlayer/network/storage/backup/evault.rb', line 555

def get_volume_status
  request(:get_volume_status, String)
end

#get_webcc_accountObject



563
564
565
# File 'lib/softlayer/network/storage/backup/evault.rb', line 563

def 
  request(:get_webcc_account, Softlayer::::Password)
end

#get_weekly_scheduleObject



567
568
569
# File 'lib/softlayer/network/storage/backup/evault.rb', line 567

def get_weekly_schedule
  request(:get_weekly_schedule, Softlayer::Network::Storage::Schedule)
end

#immediate_failover_to_replicant(replicant_id = nil) ⇒ Object



571
572
573
574
# File 'lib/softlayer/network/storage/backup/evault.rb', line 571

def immediate_failover_to_replicant(replicant_id = nil)
  message = {replicant_id: replicant_id}
  request(:immediate_failover_to_replicant, Boolean, message)
end

#initiate_bare_metal_restoreObject



576
577
578
# File 'lib/softlayer/network/storage/backup/evault.rb', line 576

def initiate_bare_metal_restore
  request(:initiate_bare_metal_restore, Boolean)
end

#initiate_bare_metal_restore_for_server(hardware_id = nil) ⇒ Object



580
581
582
583
# File 'lib/softlayer/network/storage/backup/evault.rb', line 580

def initiate_bare_metal_restore_for_server(hardware_id = nil)
  message = {hardware_id: hardware_id}
  request(:initiate_bare_metal_restore_for_server, Boolean, message)
end

#is_blocking_operation_in_progress(exempt_status_key_names = nil) ⇒ Object



585
586
587
588
# File 'lib/softlayer/network/storage/backup/evault.rb', line 585

def is_blocking_operation_in_progress(exempt_status_key_names = nil)
  message = {exempt_status_key_names: exempt_status_key_names}
  request(:is_blocking_operation_in_progress, Boolean, message)
end

#remove_access_from_hardware(hardware_object_template = nil) ⇒ Object



590
591
592
593
# File 'lib/softlayer/network/storage/backup/evault.rb', line 590

def remove_access_from_hardware(hardware_object_template = nil)
  message = {hardware_object_template: hardware_object_template}
  request(:remove_access_from_hardware, Boolean, message)
end

#remove_access_from_hardware_list(hardware_object_templates = nil) ⇒ Object



595
596
597
598
# File 'lib/softlayer/network/storage/backup/evault.rb', line 595

def remove_access_from_hardware_list(hardware_object_templates = nil)
  message = {hardware_object_templates: hardware_object_templates}
  request(:remove_access_from_hardware_list, Boolean, message)
end

#remove_access_from_host(type_class_name = nil, host_id = nil) ⇒ Object



600
601
602
603
# File 'lib/softlayer/network/storage/backup/evault.rb', line 600

def remove_access_from_host(type_class_name = nil, host_id = nil)
  message = {type_class_name: type_class_name, host_id: host_id}
  request(:remove_access_from_host, Softlayer::Network::Storage::Allowed::Host, message)
end

#remove_access_from_host_list(host_object_templates = nil) ⇒ Object



605
606
607
608
# File 'lib/softlayer/network/storage/backup/evault.rb', line 605

def remove_access_from_host_list(host_object_templates = nil)
  message = {host_object_templates: host_object_templates}
  request(:remove_access_from_host_list, Array[Softlayer::Network::Storage::Allowed::Host], message)
end

#remove_access_from_ip_address(ip_address_object_template = nil) ⇒ Object



610
611
612
613
# File 'lib/softlayer/network/storage/backup/evault.rb', line 610

def remove_access_from_ip_address(ip_address_object_template = nil)
  message = {ip_address_object_template: ip_address_object_template}
  request(:remove_access_from_ip_address, Boolean, message)
end

#remove_access_from_ip_address_list(ip_address_object_templates = nil) ⇒ Object



615
616
617
618
# File 'lib/softlayer/network/storage/backup/evault.rb', line 615

def remove_access_from_ip_address_list(ip_address_object_templates = nil)
  message = {ip_address_object_templates: ip_address_object_templates}
  request(:remove_access_from_ip_address_list, Boolean, message)
end

#remove_access_from_subnet(subnet_object_template = nil) ⇒ Object



620
621
622
623
# File 'lib/softlayer/network/storage/backup/evault.rb', line 620

def remove_access_from_subnet(subnet_object_template = nil)
  message = {subnet_object_template: subnet_object_template}
  request(:remove_access_from_subnet, Boolean, message)
end

#remove_access_from_subnet_list(subnet_object_templates = nil) ⇒ Object



625
626
627
628
# File 'lib/softlayer/network/storage/backup/evault.rb', line 625

def remove_access_from_subnet_list(subnet_object_templates = nil)
  message = {subnet_object_templates: subnet_object_templates}
  request(:remove_access_from_subnet_list, Boolean, message)
end

#remove_access_from_virtual_guest(virtual_guest_object_template = nil) ⇒ Object



630
631
632
633
# File 'lib/softlayer/network/storage/backup/evault.rb', line 630

def remove_access_from_virtual_guest(virtual_guest_object_template = nil)
  message = {virtual_guest_object_template: virtual_guest_object_template}
  request(:remove_access_from_virtual_guest, Boolean, message)
end

#remove_access_from_virtual_guest_list(virtual_guest_object_templates = nil) ⇒ Object



635
636
637
638
# File 'lib/softlayer/network/storage/backup/evault.rb', line 635

def remove_access_from_virtual_guest_list(virtual_guest_object_templates = nil)
  message = {virtual_guest_object_templates: virtual_guest_object_templates}
  request(:remove_access_from_virtual_guest_list, Boolean, message)
end

#remove_access_to_replicant_from_hardware_list(hardware_object_templates = nil) ⇒ Object



640
641
642
643
# File 'lib/softlayer/network/storage/backup/evault.rb', line 640

def remove_access_to_replicant_from_hardware_list(hardware_object_templates = nil)
  message = {hardware_object_templates: hardware_object_templates}
  request(:remove_access_to_replicant_from_hardware_list, Boolean, message)
end

#remove_access_to_replicant_from_ip_address_list(ip_address_object_templates = nil) ⇒ Object



645
646
647
648
# File 'lib/softlayer/network/storage/backup/evault.rb', line 645

def remove_access_to_replicant_from_ip_address_list(ip_address_object_templates = nil)
  message = {ip_address_object_templates: ip_address_object_templates}
  request(:remove_access_to_replicant_from_ip_address_list, Boolean, message)
end

#remove_access_to_replicant_from_subnet(subnet_object_template = nil) ⇒ Object



650
651
652
653
# File 'lib/softlayer/network/storage/backup/evault.rb', line 650

def remove_access_to_replicant_from_subnet(subnet_object_template = nil)
  message = {subnet_object_template: subnet_object_template}
  request(:remove_access_to_replicant_from_subnet, Boolean, message)
end

#remove_access_to_replicant_from_subnet_list(subnet_object_templates = nil) ⇒ Object



655
656
657
658
# File 'lib/softlayer/network/storage/backup/evault.rb', line 655

def remove_access_to_replicant_from_subnet_list(subnet_object_templates = nil)
  message = {subnet_object_templates: subnet_object_templates}
  request(:remove_access_to_replicant_from_subnet_list, Boolean, message)
end

#remove_access_to_replicant_from_virtual_guest_list(virtual_guest_object_templates = nil) ⇒ Object



660
661
662
663
# File 'lib/softlayer/network/storage/backup/evault.rb', line 660

def remove_access_to_replicant_from_virtual_guest_list(virtual_guest_object_templates = nil)
  message = {virtual_guest_object_templates: virtual_guest_object_templates}
  request(:remove_access_to_replicant_from_virtual_guest_list, Boolean, message)
end

#remove_credential(username = nil) ⇒ Object



665
666
667
668
# File 'lib/softlayer/network/storage/backup/evault.rb', line 665

def remove_credential(username = nil)
  message = {username: username}
  request(:remove_credential, Boolean, message)
end

#restore_file(file_id = nil) ⇒ Object



670
671
672
673
# File 'lib/softlayer/network/storage/backup/evault.rb', line 670

def restore_file(file_id = nil)
  message = {file_id: file_id}
  request(:restore_file, Softlayer::Container::Utility::File::Entity, message)
end

#restore_from_snapshot(snapshot_id = nil) ⇒ Object



675
676
677
678
# File 'lib/softlayer/network/storage/backup/evault.rb', line 675

def restore_from_snapshot(snapshot_id = nil)
  message = {snapshot_id: snapshot_id}
  request(:restore_from_snapshot, Boolean, message)
end

#set_mountable(mountable = nil) ⇒ Object



685
686
687
688
# File 'lib/softlayer/network/storage/backup/evault.rb', line 685

def set_mountable(mountable = nil)
  message = {mountable: mountable}
  request(:set_mountable, Boolean, message)
end

#set_snapshot_allocation(capacity_gb = nil) ⇒ Object



690
691
692
693
# File 'lib/softlayer/network/storage/backup/evault.rb', line 690

def set_snapshot_allocation(capacity_gb = nil)
  message = {capacity_gb: capacity_gb}
  request(:set_snapshot_allocation, nil, message)
end

#upgrade_volume_capacity(item_id = nil) ⇒ Object



695
696
697
698
# File 'lib/softlayer/network/storage/backup/evault.rb', line 695

def upgrade_volume_capacity(item_id = nil)
  message = {item_id: item_id}
  request(:upgrade_volume_capacity, Boolean, message)
end

#upload_file(file = nil) ⇒ Object



700
701
702
703
# File 'lib/softlayer/network/storage/backup/evault.rb', line 700

def upload_file(file = nil)
  message = {file: file}
  request(:upload_file, Softlayer::Container::Utility::File::Entity, message)
end