Class: Softlayer::Network::Storage::Iscsi
- Inherits:
-
Softlayer::Network::Storage
show all
- Defined in:
- lib/softlayer/network/storage/iscsi.rb,
lib/softlayer/network/storage/iscsi/os.rb,
lib/softlayer/network/storage/iscsi/os/type.rb,
lib/softlayer/network/storage/iscsi/equal_logic.rb,
lib/softlayer/network/storage/iscsi/equal_logic/version3.rb,
lib/softlayer/network/storage/iscsi/equal_logic/version3/snapshot.rb,
lib/softlayer/network/storage/iscsi/equal_logic/version3/replicant.rb
Defined Under Namespace
Modules: EqualLogic, Os
Classes: Representer
Constant Summary
collapse
- SERVICE =
'SoftLayer_Network_Storage_Iscsi'
Instance Attribute Summary
#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
-
#allow_access_from_hardware(hardware_object_template = nil) ⇒ Object
-
#allow_access_from_hardware_list(hardware_object_templates = nil) ⇒ Object
-
#allow_access_from_host(type_class_name = nil, host_id = nil) ⇒ Object
-
#allow_access_from_host_list(host_object_templates = nil) ⇒ Object
-
#allow_access_from_ip_address(ip_address_object_template = nil) ⇒ Object
-
#allow_access_from_ip_address_list(ip_address_object_templates = nil) ⇒ Object
-
#allow_access_from_subnet(subnet_object_template = nil) ⇒ Object
-
#allow_access_from_subnet_list(subnet_object_templates = nil) ⇒ Object
-
#allow_access_from_virtual_guest(virtual_guest_object_template = nil) ⇒ Object
-
#allow_access_from_virtual_guest_list(virtual_guest_object_templates = nil) ⇒ Object
-
#allow_access_to_replicant_from_hardware(hardware_object_template = nil) ⇒ Object
-
#allow_access_to_replicant_from_hardware_list(hardware_object_templates = nil) ⇒ Object
-
#allow_access_to_replicant_from_ip_address(ip_address_object_template = nil) ⇒ Object
-
#allow_access_to_replicant_from_ip_address_list(ip_address_object_templates = nil) ⇒ Object
-
#allow_access_to_replicant_from_subnet(subnet_object_template = nil) ⇒ Object
-
#allow_access_to_replicant_from_subnet_list(subnet_object_templates = nil) ⇒ Object
-
#allow_access_to_replicant_from_virtual_guest(virtual_guest_object_template = nil) ⇒ Object
-
#allow_access_to_replicant_from_virtual_guest_list(virtual_guest_object_templates = nil) ⇒ Object
-
#assign_credential(username = nil) ⇒ Object
-
#assign_new_credential(type = nil) ⇒ Object
-
#collect_bandwidth(type = nil, start_date = nil, end_date = nil) ⇒ Object
-
#collect_bytes_used ⇒ Object
-
#create_folder(folder = nil) ⇒ Object
-
#create_snapshot(notes = nil) ⇒ Object
-
#delete_all_files ⇒ Object
-
#delete_file(file_id = nil) ⇒ Object
-
#delete_files(file_ids = nil) ⇒ Object
-
#delete_folder(folder = nil) ⇒ Object
-
#delete_object ⇒ Object
-
#disable_snapshots(schedule_type = nil) ⇒ Object
-
#download_file(file_id = nil) ⇒ Object
-
#edit_credential(username = nil, new_password = nil) ⇒ Object
-
#edit_object(template_object = nil) ⇒ Object
-
#enable_snapshots(schedule_type = nil, retention_count = nil, minute = nil, hour = nil, day_of_week = nil) ⇒ Object
-
#failback_from_replicant ⇒ Object
-
#failover_to_replicant(replicant_id = nil) ⇒ Object
-
#get_account ⇒ Object
-
#get_account_password ⇒ Object
-
#get_active_transactions ⇒ Object
-
#get_all_files ⇒ Object
-
#get_all_files_by_filter(filter = nil) ⇒ Object
-
#get_allowable_hardware(filter_hostname = nil) ⇒ Object
-
#get_allowable_ip_addresses(subnet_id = nil, filter_ip_address = nil) ⇒ Object
-
#get_allowable_subnets(filter_network_identifier = nil) ⇒ Object
-
#get_allowable_virtual_guests(filter_hostname = nil) ⇒ Object
-
#get_allowed_hardware ⇒ Object
-
#get_allowed_hosts_limit ⇒ Object
-
#get_allowed_ip_addresses ⇒ Object
-
#get_allowed_replication_hardware ⇒ Object
-
#get_allowed_replication_ip_addresses ⇒ Object
-
#get_allowed_replication_subnets ⇒ Object
-
#get_allowed_replication_virtual_guests ⇒ Object
-
#get_allowed_subnets ⇒ Object
-
#get_allowed_virtual_guests ⇒ Object
-
#get_billing_item ⇒ Object
-
#get_billing_item_category ⇒ Object
-
#get_bytes_used ⇒ Object
-
#get_cdn_urls ⇒ Object
-
#get_cluster_resource ⇒ Object
-
#get_creation_schedule_id ⇒ Object
-
#get_credentials ⇒ Object
-
#get_daily_schedule ⇒ Object
-
#get_events ⇒ Object
-
#get_file_by_identifier(identifier = nil) ⇒ Object
-
#get_file_count ⇒ Object
-
#get_file_list(folder = nil, path = nil) ⇒ Object
-
#get_file_pending_delete_count ⇒ Object
-
#get_files_pending_delete ⇒ Object
-
#get_folder_list ⇒ Object
-
#get_graph(start_date = nil, end_date = nil, type = nil) ⇒ Object
-
#get_hardware ⇒ Object
-
#get_hourly_schedule ⇒ Object
-
#get_iops ⇒ Object
-
#get_iscsi_luns ⇒ Object
-
#get_lun_id ⇒ Object
-
#get_metric_tracking_object ⇒ Object
-
#get_mountable_flag ⇒ Object
-
#get_network_connection_details ⇒ Object
-
#get_notification_subscribers ⇒ Object
-
#get_object ⇒ Object
-
#get_os_type ⇒ Object
-
#get_os_type_id ⇒ Object
-
#get_parent_partnerships ⇒ Object
-
#get_parent_volume ⇒ Object
-
#get_partnerships ⇒ Object
-
#get_permissions_groups ⇒ Object
-
#get_properties ⇒ Object
-
#get_recycle_bin_file_by_identifier(file_id = nil) ⇒ Object
-
#get_remaining_allowed_hosts ⇒ Object
-
#get_replicating_luns ⇒ Object
-
#get_replicating_volume ⇒ Object
-
#get_replication_events ⇒ Object
-
#get_replication_partners ⇒ Object
-
#get_replication_schedule ⇒ Object
-
#get_replication_status ⇒ Object
-
#get_schedules ⇒ Object
-
#get_service_resource ⇒ Object
-
#get_service_resource_backend_ip_address ⇒ Object
-
#get_service_resource_name ⇒ Object
-
#get_snapshot_capacity_gb ⇒ Object
-
#get_snapshot_creation_timestamp ⇒ Object
-
#get_snapshot_deletion_threshold_percentage ⇒ Object
-
#get_snapshot_size_bytes ⇒ Object
-
#get_snapshot_space_available ⇒ Object
-
#get_snapshots ⇒ Object
-
#get_snapshots_for_volume ⇒ Object
-
#get_storage_groups ⇒ Object
-
#get_storage_groups_network_connection_details ⇒ Object
-
#get_storage_tier_level ⇒ Object
-
#get_storage_type ⇒ Object
-
#get_total_bytes_used ⇒ Object
-
#get_total_schedule_snapshot_retention_count ⇒ Object
-
#get_usage_notification ⇒ Object
-
#get_valid_replication_target_datacenter_locations ⇒ Object
-
#get_vendor_name ⇒ Object
-
#get_virtual_guest ⇒ Object
-
#get_volume_history ⇒ Object
-
#get_volume_status ⇒ Object
-
#get_webcc_account ⇒ Object
-
#get_weekly_schedule ⇒ Object
-
#immediate_failover_to_replicant(replicant_id = nil) ⇒ Object
-
#is_blocking_operation_in_progress(exempt_status_key_names = nil) ⇒ Object
-
#remove_access_from_hardware(hardware_object_template = nil) ⇒ Object
-
#remove_access_from_hardware_list(hardware_object_templates = nil) ⇒ Object
-
#remove_access_from_host(type_class_name = nil, host_id = nil) ⇒ Object
-
#remove_access_from_host_list(host_object_templates = nil) ⇒ Object
-
#remove_access_from_ip_address(ip_address_object_template = nil) ⇒ Object
-
#remove_access_from_ip_address_list(ip_address_object_templates = nil) ⇒ Object
-
#remove_access_from_subnet(subnet_object_template = nil) ⇒ Object
-
#remove_access_from_subnet_list(subnet_object_templates = nil) ⇒ Object
-
#remove_access_from_virtual_guest(virtual_guest_object_template = nil) ⇒ Object
-
#remove_access_from_virtual_guest_list(virtual_guest_object_templates = nil) ⇒ Object
-
#remove_access_to_replicant_from_hardware_list(hardware_object_templates = nil) ⇒ Object
-
#remove_access_to_replicant_from_ip_address_list(ip_address_object_templates = nil) ⇒ Object
-
#remove_access_to_replicant_from_subnet(subnet_object_template = nil) ⇒ Object
-
#remove_access_to_replicant_from_subnet_list(subnet_object_templates = nil) ⇒ Object
-
#remove_access_to_replicant_from_virtual_guest_list(virtual_guest_object_templates = nil) ⇒ Object
-
#remove_credential(username = nil) ⇒ Object
-
#restore_file(file_id = nil) ⇒ Object
-
#restore_from_snapshot(snapshot_id = nil) ⇒ Object
-
#set_mountable(mountable = nil) ⇒ Object
-
#set_snapshot_allocation(capacity_gb = nil) ⇒ Object
-
#upgrade_volume_capacity(item_id = nil) ⇒ Object
-
#upload_file(file = nil) ⇒ Object
Methods inherited from Model
all, all_request_for, create, find, #init_headers, parse, request, #request, service_name, #to_hash
extended, #filter, included, #limit, #mask, #request_headers
Class Method Details
.change_password(username = nil, current_password = nil, new_password = nil) ⇒ Object
109
110
111
112
|
# File 'lib/softlayer/network/storage/iscsi.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
275
276
277
278
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 275
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_objects_by_credential(credential_object = nil) ⇒ Object
383
384
385
386
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 383
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
|
.send_password_reminder_email(username = nil) ⇒ Object
649
650
651
652
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 649
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/iscsi.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/iscsi.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/iscsi.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/iscsi.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/iscsi.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/iscsi.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/iscsi.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/iscsi.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/iscsi.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/iscsi.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/iscsi.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/iscsi.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/iscsi.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/iscsi.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/iscsi.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/iscsi.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/iscsi.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/iscsi.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/iscsi.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/iscsi.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/iscsi.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_used ⇒ Object
119
120
121
|
# File 'lib/softlayer/network/storage/iscsi.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/iscsi.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/iscsi.rb', line 128
def create_snapshot(notes = nil)
message = {notes: notes}
request(:create_snapshot, Softlayer::Network::Storage::Iscsi, message)
end
|
#delete_all_files ⇒ Object
133
134
135
|
# File 'lib/softlayer/network/storage/iscsi.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/iscsi.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/iscsi.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/iscsi.rb', line 147
def delete_folder(folder = nil)
message = {folder: folder}
request(:delete_folder, Boolean, message)
end
|
#delete_object ⇒ Object
152
153
154
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 152
def delete_object
request(:delete_object, Boolean)
end
|
#disable_snapshots(schedule_type = nil) ⇒ Object
156
157
158
159
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 156
def disable_snapshots(schedule_type = nil)
message = {schedule_type: schedule_type}
request(:disable_snapshots, Boolean, message)
end
|
#download_file(file_id = nil) ⇒ Object
161
162
163
164
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 161
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
166
167
168
169
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 166
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
171
172
173
174
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 171
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
176
177
178
179
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 176
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_replicant ⇒ Object
181
182
183
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 181
def failback_from_replicant
request(:failback_from_replicant, Boolean)
end
|
#failover_to_replicant(replicant_id = nil) ⇒ Object
185
186
187
188
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 185
def failover_to_replicant(replicant_id = nil)
message = {replicant_id: replicant_id}
request(:failover_to_replicant, Boolean, message)
end
|
#get_account ⇒ Object
190
191
192
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 190
def get_account
request(:get_account, Softlayer::Account)
end
|
#get_account_password ⇒ Object
194
195
196
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 194
def get_account_password
request(:get_account_password, Softlayer::Account::Password)
end
|
#get_active_transactions ⇒ Object
#get_all_files_by_filter(filter = nil) ⇒ Object
206
207
208
209
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 206
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
211
212
213
214
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 211
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
216
217
218
219
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 216
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
221
222
223
224
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 221
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
226
227
228
229
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 226
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_hardware ⇒ Object
231
232
233
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 231
def get_allowed_hardware
request(:get_allowed_hardware, Array[Softlayer::Hardware])
end
|
#get_allowed_hosts_limit ⇒ Object
235
236
237
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 235
def get_allowed_hosts_limit
request(:get_allowed_hosts_limit, Integer)
end
|
#get_allowed_ip_addresses ⇒ Object
239
240
241
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 239
def get_allowed_ip_addresses
request(:get_allowed_ip_addresses, Array[Softlayer::Network::Subnet::IpAddress])
end
|
#get_allowed_replication_hardware ⇒ Object
243
244
245
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 243
def get_allowed_replication_hardware
request(:get_allowed_replication_hardware, Array[Softlayer::Hardware])
end
|
#get_allowed_replication_ip_addresses ⇒ Object
247
248
249
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 247
def get_allowed_replication_ip_addresses
request(:get_allowed_replication_ip_addresses, Array[Softlayer::Network::Subnet::IpAddress])
end
|
#get_allowed_replication_subnets ⇒ Object
251
252
253
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 251
def get_allowed_replication_subnets
request(:get_allowed_replication_subnets, Array[Softlayer::Network::Subnet])
end
|
#get_allowed_replication_virtual_guests ⇒ Object
255
256
257
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 255
def get_allowed_replication_virtual_guests
request(:get_allowed_replication_virtual_guests, Array[Softlayer::Virtual::Guest])
end
|
#get_allowed_subnets ⇒ Object
259
260
261
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 259
def get_allowed_subnets
request(:get_allowed_subnets, Array[Softlayer::Network::Subnet])
end
|
#get_allowed_virtual_guests ⇒ Object
263
264
265
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 263
def get_allowed_virtual_guests
request(:get_allowed_virtual_guests, Array[Softlayer::Virtual::Guest])
end
|
#get_billing_item ⇒ Object
267
268
269
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 267
def get_billing_item
request(:get_billing_item, Softlayer::Billing::Item)
end
|
#get_billing_item_category ⇒ Object
271
272
273
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 271
def get_billing_item_category
request(:get_billing_item_category, Softlayer::Product::Item::Category)
end
|
#get_bytes_used ⇒ Object
280
281
282
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 280
def get_bytes_used
request(:get_bytes_used, String)
end
|
#get_cluster_resource ⇒ Object
288
289
290
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 288
def get_cluster_resource
request(:get_cluster_resource, Softlayer::Network::Service::Resource)
end
|
#get_creation_schedule_id ⇒ Object
292
293
294
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 292
def get_creation_schedule_id
request(:get_creation_schedule_id, String)
end
|
#get_credentials ⇒ Object
296
297
298
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 296
def get_credentials
request(:get_credentials, Array[Softlayer::Network::Storage::Credential])
end
|
#get_daily_schedule ⇒ Object
300
301
302
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 300
def get_daily_schedule
request(:get_daily_schedule, Softlayer::Network::Storage::Schedule)
end
|
#get_events ⇒ Object
304
305
306
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 304
def get_events
request(:get_events, Array[Softlayer::Network::Storage::Event])
end
|
#get_file_by_identifier(identifier = nil) ⇒ Object
308
309
310
311
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 308
def get_file_by_identifier(identifier = nil)
message = {identifier: identifier}
request(:get_file_by_identifier, Softlayer::Container::Utility::File::Entity, message)
end
|
#get_file_count ⇒ Object
313
314
315
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 313
def get_file_count
request(:get_file_count, Integer)
end
|
#get_file_list(folder = nil, path = nil) ⇒ Object
317
318
319
320
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 317
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_count ⇒ Object
322
323
324
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 322
def get_file_pending_delete_count
request(:get_file_pending_delete_count, Integer)
end
|
#get_files_pending_delete ⇒ Object
326
327
328
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 326
def get_files_pending_delete
request(:get_files_pending_delete, Array[Softlayer::Container::Utility::File::Entity])
end
|
#get_folder_list ⇒ Object
#get_graph(start_date = nil, end_date = nil, type = nil) ⇒ Object
334
335
336
337
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 334
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_hardware ⇒ Object
339
340
341
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 339
def get_hardware
request(:get_hardware, Softlayer::Hardware)
end
|
#get_hourly_schedule ⇒ Object
343
344
345
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 343
def get_hourly_schedule
request(:get_hourly_schedule, Softlayer::Network::Storage::Schedule)
end
|
#get_iops ⇒ Object
347
348
349
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 347
def get_iops
request(:get_iops, String)
end
|
#get_iscsi_luns ⇒ Object
351
352
353
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 351
def get_iscsi_luns
request(:get_iscsi_luns, Array[Softlayer::Network::Storage])
end
|
#get_lun_id ⇒ Object
355
356
357
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 355
def get_lun_id
request(:get_lun_id, String)
end
|
#get_metric_tracking_object ⇒ Object
359
360
361
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 359
def get_metric_tracking_object
request(:get_metric_tracking_object, Softlayer::Metric::Tracking::Object)
end
|
#get_mountable_flag ⇒ Object
363
364
365
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 363
def get_mountable_flag
request(:get_mountable_flag, String)
end
|
#get_network_connection_details ⇒ Object
#get_notification_subscribers ⇒ Object
371
372
373
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 371
def get_notification_subscribers
request(:get_notification_subscribers, Array[Softlayer::Notification::User::Subscriber])
end
|
#get_object ⇒ Object
375
376
377
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 375
def get_object
request(:get_object, Softlayer::Network::Storage::Iscsi)
end
|
#get_os_type_id ⇒ Object
392
393
394
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 392
def get_os_type_id
request(:get_os_type_id, String)
end
|
#get_parent_partnerships ⇒ Object
396
397
398
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 396
def get_parent_partnerships
request(:get_parent_partnerships, Array[Softlayer::Network::Storage::Partnership])
end
|
#get_parent_volume ⇒ Object
400
401
402
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 400
def get_parent_volume
request(:get_parent_volume, Softlayer::Network::Storage)
end
|
#get_partnerships ⇒ Object
404
405
406
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 404
def get_partnerships
request(:get_partnerships, Array[Softlayer::Network::Storage::Partnership])
end
|
#get_permissions_groups ⇒ Object
408
409
410
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 408
def get_permissions_groups
request(:get_permissions_groups, Array[Softlayer::Network::Storage::Group])
end
|
#get_properties ⇒ Object
412
413
414
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 412
def get_properties
request(:get_properties, Array[Softlayer::Network::Storage::Property])
end
|
#get_recycle_bin_file_by_identifier(file_id = nil) ⇒ Object
416
417
418
419
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 416
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_hosts ⇒ Object
421
422
423
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 421
def get_remaining_allowed_hosts
request(:get_remaining_allowed_hosts, Integer)
end
|
#get_replicating_luns ⇒ Object
425
426
427
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 425
def get_replicating_luns
request(:get_replicating_luns, Array[Softlayer::Network::Storage])
end
|
#get_replicating_volume ⇒ Object
429
430
431
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 429
def get_replicating_volume
request(:get_replicating_volume, Softlayer::Network::Storage)
end
|
#get_replication_events ⇒ Object
433
434
435
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 433
def get_replication_events
request(:get_replication_events, Array[Softlayer::Network::Storage::Event])
end
|
#get_replication_partners ⇒ Object
437
438
439
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 437
def get_replication_partners
request(:get_replication_partners, Array[Softlayer::Network::Storage])
end
|
#get_replication_schedule ⇒ Object
441
442
443
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 441
def get_replication_schedule
request(:get_replication_schedule, Softlayer::Network::Storage::Schedule)
end
|
#get_replication_status ⇒ Object
445
446
447
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 445
def get_replication_status
request(:get_replication_status, String)
end
|
#get_schedules ⇒ Object
449
450
451
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 449
def get_schedules
request(:get_schedules, Array[Softlayer::Network::Storage::Schedule])
end
|
#get_service_resource ⇒ Object
453
454
455
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 453
def get_service_resource
request(:get_service_resource, Softlayer::Network::Service::Resource)
end
|
#get_service_resource_backend_ip_address ⇒ Object
457
458
459
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 457
def get_service_resource_backend_ip_address
request(:get_service_resource_backend_ip_address, String)
end
|
#get_service_resource_name ⇒ Object
461
462
463
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 461
def get_service_resource_name
request(:get_service_resource_name, String)
end
|
#get_snapshot_capacity_gb ⇒ Object
465
466
467
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 465
def get_snapshot_capacity_gb
request(:get_snapshot_capacity_gb, String)
end
|
#get_snapshot_creation_timestamp ⇒ Object
469
470
471
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 469
def get_snapshot_creation_timestamp
request(:get_snapshot_creation_timestamp, String)
end
|
#get_snapshot_deletion_threshold_percentage ⇒ Object
473
474
475
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 473
def get_snapshot_deletion_threshold_percentage
request(:get_snapshot_deletion_threshold_percentage, String)
end
|
#get_snapshot_size_bytes ⇒ Object
477
478
479
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 477
def get_snapshot_size_bytes
request(:get_snapshot_size_bytes, String)
end
|
#get_snapshot_space_available ⇒ Object
481
482
483
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 481
def get_snapshot_space_available
request(:get_snapshot_space_available, String)
end
|
#get_snapshots ⇒ Object
485
486
487
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 485
def get_snapshots
request(:get_snapshots, Array[Softlayer::Network::Storage])
end
|
#get_snapshots_for_volume ⇒ Object
489
490
491
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 489
def get_snapshots_for_volume
request(:get_snapshots_for_volume, Array[Softlayer::Network::Storage])
end
|
#get_storage_groups ⇒ Object
493
494
495
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 493
def get_storage_groups
request(:get_storage_groups, Array[Softlayer::Network::Storage::Group])
end
|
#get_storage_groups_network_connection_details ⇒ Object
#get_storage_tier_level ⇒ Object
501
502
503
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 501
def get_storage_tier_level
request(:get_storage_tier_level, String)
end
|
#get_storage_type ⇒ Object
505
506
507
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 505
def get_storage_type
request(:get_storage_type, Softlayer::Network::Storage::Type)
end
|
#get_total_bytes_used ⇒ Object
509
510
511
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 509
def get_total_bytes_used
request(:get_total_bytes_used, String)
end
|
#get_total_schedule_snapshot_retention_count ⇒ Object
513
514
515
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 513
def get_total_schedule_snapshot_retention_count
request(:get_total_schedule_snapshot_retention_count, Integer)
end
|
#get_usage_notification ⇒ Object
517
518
519
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 517
def get_usage_notification
request(:get_usage_notification, Softlayer::Notification)
end
|
#get_valid_replication_target_datacenter_locations ⇒ Object
521
522
523
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 521
def get_valid_replication_target_datacenter_locations
request(:get_valid_replication_target_datacenter_locations, Array[Softlayer::Location])
end
|
#get_vendor_name ⇒ Object
525
526
527
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 525
def get_vendor_name
request(:get_vendor_name, String)
end
|
#get_virtual_guest ⇒ Object
529
530
531
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 529
def get_virtual_guest
request(:get_virtual_guest, Softlayer::Virtual::Guest)
end
|
#get_volume_history ⇒ Object
533
534
535
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 533
def get_volume_history
request(:get_volume_history, Array[Softlayer::Network::Storage::History])
end
|
#get_volume_status ⇒ Object
537
538
539
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 537
def get_volume_status
request(:get_volume_status, String)
end
|
#get_webcc_account ⇒ Object
541
542
543
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 541
def get_webcc_account
request(:get_webcc_account, Softlayer::Account::Password)
end
|
#get_weekly_schedule ⇒ Object
545
546
547
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 545
def get_weekly_schedule
request(:get_weekly_schedule, Softlayer::Network::Storage::Schedule)
end
|
549
550
551
552
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 549
def immediate_failover_to_replicant(replicant_id = nil)
message = {replicant_id: replicant_id}
request(:immediate_failover_to_replicant, Boolean, message)
end
|
#is_blocking_operation_in_progress(exempt_status_key_names = nil) ⇒ Object
554
555
556
557
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 554
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
559
560
561
562
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 559
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
564
565
566
567
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 564
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
569
570
571
572
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 569
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
574
575
576
577
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 574
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
579
580
581
582
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 579
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
584
585
586
587
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 584
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
589
590
591
592
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 589
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
594
595
596
597
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 594
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
599
600
601
602
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 599
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
604
605
606
607
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 604
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
609
610
611
612
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 609
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
614
615
616
617
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 614
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
619
620
621
622
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 619
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
624
625
626
627
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 624
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
629
630
631
632
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 629
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
634
635
636
637
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 634
def remove_credential(username = nil)
message = {username: username}
request(:remove_credential, Boolean, message)
end
|
#restore_file(file_id = nil) ⇒ Object
639
640
641
642
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 639
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
644
645
646
647
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 644
def restore_from_snapshot(snapshot_id = nil)
message = {snapshot_id: snapshot_id}
request(:restore_from_snapshot, Boolean, message)
end
|
#set_mountable(mountable = nil) ⇒ Object
654
655
656
657
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 654
def set_mountable(mountable = nil)
message = {mountable: mountable}
request(:set_mountable, Boolean, message)
end
|
#set_snapshot_allocation(capacity_gb = nil) ⇒ Object
659
660
661
662
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 659
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
664
665
666
667
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 664
def upgrade_volume_capacity(item_id = nil)
message = {item_id: item_id}
request(:upgrade_volume_capacity, Boolean, message)
end
|
#upload_file(file = nil) ⇒ Object
669
670
671
672
|
# File 'lib/softlayer/network/storage/iscsi.rb', line 669
def upload_file(file = nil)
message = {file: file}
request(:upload_file, Softlayer::Container::Utility::File::Entity, message)
end
|