Class: Softlayer::Network::Storage

Inherits:
Entity show all
Defined in:
lib/softlayer/network/storage.rb,
lib/softlayer/network/storage/hub.rb,
lib/softlayer/network/storage/nas.rb,
lib/softlayer/network/storage/type.rb,
lib/softlayer/network/storage/daily.rb,
lib/softlayer/network/storage/event.rb,
lib/softlayer/network/storage/group.rb,
lib/softlayer/network/storage/iscsi.rb,
lib/softlayer/network/storage/backup.rb,
lib/softlayer/network/storage/allowed.rb,
lib/softlayer/network/storage/history.rb,
lib/softlayer/network/storage/iscsi/os.rb,
lib/softlayer/network/storage/property.rb,
lib/softlayer/network/storage/schedule.rb,
lib/softlayer/network/storage/snapshot.rb,
lib/softlayer/network/storage/group/nfs.rb,
lib/softlayer/network/storage/hub/swift.rb,
lib/softlayer/network/storage/replicant.rb,
lib/softlayer/network/storage/credential.rb,
lib/softlayer/network/storage/group/type.rb,
lib/softlayer/network/storage/open_stack.rb,
lib/softlayer/network/storage/daily/usage.rb,
lib/softlayer/network/storage/group/iscsi.rb,
lib/softlayer/network/storage/partnership.rb,
lib/softlayer/network/storage/allowed/host.rb,
lib/softlayer/network/storage/backup/evault.rb,
lib/softlayer/network/storage/iscsi/os/type.rb,
lib/softlayer/network/storage/property/type.rb,
lib/softlayer/network/storage/schedule/type.rb,
lib/softlayer/network/storage/credential/type.rb,
lib/softlayer/network/storage/hub/swift/share.rb,
lib/softlayer/network/storage/partnership/type.rb,
lib/softlayer/network/storage/iscsi/equal_logic.rb,
lib/softlayer/network/storage/open_stack/object.rb,
lib/softlayer/network/storage/schedule/property.rb,
lib/softlayer/network/storage/hub/swift/version1.rb,
lib/softlayer/network/storage/allowed/host/subnet.rb,
lib/softlayer/network/storage/hub/swift/container.rb,
lib/softlayer/network/storage/allowed/host/hardware.rb,
lib/softlayer/network/storage/backup/evault/version6.rb,
lib/softlayer/network/storage/schedule/property/type.rb,
lib/softlayer/network/storage/allowed/host/ip_address.rb,
lib/softlayer/network/storage/allowed/host/virtual_guest.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

Direct Known Subclasses

Backup, Hub, Iscsi, Nas, OpenStack::Object, Replicant, Snapshot

Defined Under Namespace

Modules: Allowed, Daily, OpenStack Classes: Backup, Credential, Event, Group, History, Hub, Iscsi, Nas, Partnership, Property, Replicant, Representer, Schedule, Snapshot, Type

Constant Summary collapse

SERVICE =
'SoftLayer_Network_Storage'

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Model

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

Methods included from Model::Operations

extended, #filter, included, #limit, #mask, #request_headers

Instance Attribute Details

#accountObject

Returns the value of attribute account.



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

def 
  @account
end

#account_idObject

Returns the value of attribute account_id.



22
23
24
# File 'lib/softlayer/network/storage.rb', line 22

def 
  @account_id
end

#account_passwordObject

Returns the value of attribute account_password.



61
62
63
# File 'lib/softlayer/network/storage.rb', line 61

def 
  @account_password
end

#active_transaction_countObject

Returns the value of attribute active_transaction_count.



36
37
38
# File 'lib/softlayer/network/storage.rb', line 36

def active_transaction_count
  @active_transaction_count
end

#active_transactionsObject

Returns the value of attribute active_transactions.



62
63
64
# File 'lib/softlayer/network/storage.rb', line 62

def active_transactions
  @active_transactions
end

#allowed_hardwareObject

Returns the value of attribute allowed_hardware.



63
64
65
# File 'lib/softlayer/network/storage.rb', line 63

def allowed_hardware
  @allowed_hardware
end

#allowed_hardware_countObject

Returns the value of attribute allowed_hardware_count.



37
38
39
# File 'lib/softlayer/network/storage.rb', line 37

def allowed_hardware_count
  @allowed_hardware_count
end

#allowed_ip_address_countObject

Returns the value of attribute allowed_ip_address_count.



38
39
40
# File 'lib/softlayer/network/storage.rb', line 38

def allowed_ip_address_count
  @allowed_ip_address_count
end

#allowed_ip_addressesObject

Returns the value of attribute allowed_ip_addresses.



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

def allowed_ip_addresses
  @allowed_ip_addresses
end

#allowed_replication_hardwareObject

Returns the value of attribute allowed_replication_hardware.



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

def allowed_replication_hardware
  @allowed_replication_hardware
end

#allowed_replication_hardware_countObject

Returns the value of attribute allowed_replication_hardware_count.



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

def allowed_replication_hardware_count
  @allowed_replication_hardware_count
end

#allowed_replication_ip_address_countObject

Returns the value of attribute allowed_replication_ip_address_count.



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

def allowed_replication_ip_address_count
  @allowed_replication_ip_address_count
end

#allowed_replication_ip_addressesObject

Returns the value of attribute allowed_replication_ip_addresses.



66
67
68
# File 'lib/softlayer/network/storage.rb', line 66

def allowed_replication_ip_addresses
  @allowed_replication_ip_addresses
end

#allowed_replication_subnet_countObject

Returns the value of attribute allowed_replication_subnet_count.



41
42
43
# File 'lib/softlayer/network/storage.rb', line 41

def allowed_replication_subnet_count
  @allowed_replication_subnet_count
end

#allowed_replication_subnetsObject

Returns the value of attribute allowed_replication_subnets.



67
68
69
# File 'lib/softlayer/network/storage.rb', line 67

def allowed_replication_subnets
  @allowed_replication_subnets
end

#allowed_replication_virtual_guest_countObject

Returns the value of attribute allowed_replication_virtual_guest_count.



42
43
44
# File 'lib/softlayer/network/storage.rb', line 42

def allowed_replication_virtual_guest_count
  @allowed_replication_virtual_guest_count
end

#allowed_replication_virtual_guestsObject

Returns the value of attribute allowed_replication_virtual_guests.



68
69
70
# File 'lib/softlayer/network/storage.rb', line 68

def allowed_replication_virtual_guests
  @allowed_replication_virtual_guests
end

#allowed_subnet_countObject

Returns the value of attribute allowed_subnet_count.



43
44
45
# File 'lib/softlayer/network/storage.rb', line 43

def allowed_subnet_count
  @allowed_subnet_count
end

#allowed_subnetsObject

Returns the value of attribute allowed_subnets.



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

def allowed_subnets
  @allowed_subnets
end

#allowed_virtual_guest_countObject

Returns the value of attribute allowed_virtual_guest_count.



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

def allowed_virtual_guest_count
  @allowed_virtual_guest_count
end

#allowed_virtual_guestsObject

Returns the value of attribute allowed_virtual_guests.



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

def allowed_virtual_guests
  @allowed_virtual_guests
end

#billing_itemObject

Returns the value of attribute billing_item.



71
72
73
# File 'lib/softlayer/network/storage.rb', line 71

def billing_item
  @billing_item
end

#billing_item_categoryObject

Returns the value of attribute billing_item_category.



72
73
74
# File 'lib/softlayer/network/storage.rb', line 72

def billing_item_category
  @billing_item_category
end

#bytes_usedObject

Returns the value of attribute bytes_used.



73
74
75
# File 'lib/softlayer/network/storage.rb', line 73

def bytes_used
  @bytes_used
end

#capacity_gbObject

Returns the value of attribute capacity_gb.



23
24
25
# File 'lib/softlayer/network/storage.rb', line 23

def capacity_gb
  @capacity_gb
end

#create_dateObject

Returns the value of attribute create_date.



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

def create_date
  @create_date
end

#creation_schedule_idObject

Returns the value of attribute creation_schedule_id.



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

def creation_schedule_id
  @creation_schedule_id
end

#credential_countObject

Returns the value of attribute credential_count.



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

def credential_count
  @credential_count
end

#credentialsObject

Returns the value of attribute credentials.



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

def credentials
  @credentials
end

#daily_scheduleObject

Returns the value of attribute daily_schedule.



76
77
78
# File 'lib/softlayer/network/storage.rb', line 76

def daily_schedule
  @daily_schedule
end

#event_countObject

Returns the value of attribute event_count.



46
47
48
# File 'lib/softlayer/network/storage.rb', line 46

def event_count
  @event_count
end

#eventsObject

Returns the value of attribute events.



77
78
79
# File 'lib/softlayer/network/storage.rb', line 77

def events
  @events
end

#guest_idObject

Returns the value of attribute guest_id.



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

def guest_id
  @guest_id
end

#hardwareObject

Returns the value of attribute hardware.



78
79
80
# File 'lib/softlayer/network/storage.rb', line 78

def hardware
  @hardware
end

#hardware_idObject

Returns the value of attribute hardware_id.



26
27
28
# File 'lib/softlayer/network/storage.rb', line 26

def hardware_id
  @hardware_id
end

#host_idObject

Returns the value of attribute host_id.



27
28
29
# File 'lib/softlayer/network/storage.rb', line 27

def host_id
  @host_id
end

#hourly_scheduleObject

Returns the value of attribute hourly_schedule.



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

def hourly_schedule
  @hourly_schedule
end

#idObject

Returns the value of attribute id.



28
29
30
# File 'lib/softlayer/network/storage.rb', line 28

def id
  @id
end

#iopsObject

Returns the value of attribute iops.



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

def iops
  @iops
end

#iscsi_lun_countObject

Returns the value of attribute iscsi_lun_count.



47
48
49
# File 'lib/softlayer/network/storage.rb', line 47

def iscsi_lun_count
  @iscsi_lun_count
end

#iscsi_lunsObject

Returns the value of attribute iscsi_luns.



81
82
83
# File 'lib/softlayer/network/storage.rb', line 81

def iscsi_luns
  @iscsi_luns
end

#lun_idObject

Returns the value of attribute lun_id.



82
83
84
# File 'lib/softlayer/network/storage.rb', line 82

def lun_id
  @lun_id
end

#metric_tracking_objectObject

Returns the value of attribute metric_tracking_object.



83
84
85
# File 'lib/softlayer/network/storage.rb', line 83

def metric_tracking_object
  @metric_tracking_object
end

#mountable_flagObject

Returns the value of attribute mountable_flag.



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

def mountable_flag
  @mountable_flag
end

#nas_typeObject

Returns the value of attribute nas_type.



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

def nas_type
  @nas_type
end

#notesObject

Returns the value of attribute notes.



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

def notes
  @notes
end

#notification_subscriber_countObject

Returns the value of attribute notification_subscriber_count.



48
49
50
# File 'lib/softlayer/network/storage.rb', line 48

def notification_subscriber_count
  @notification_subscriber_count
end

#notification_subscribersObject

Returns the value of attribute notification_subscribers.



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

def notification_subscribers
  @notification_subscribers
end

#os_typeObject

Returns the value of attribute os_type.



86
87
88
# File 'lib/softlayer/network/storage.rb', line 86

def os_type
  @os_type
end

#os_type_idObject

Returns the value of attribute os_type_id.



87
88
89
# File 'lib/softlayer/network/storage.rb', line 87

def os_type_id
  @os_type_id
end

#parent_partnership_countObject

Returns the value of attribute parent_partnership_count.



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

def parent_partnership_count
  @parent_partnership_count
end

#parent_partnershipsObject

Returns the value of attribute parent_partnerships.



88
89
90
# File 'lib/softlayer/network/storage.rb', line 88

def parent_partnerships
  @parent_partnerships
end

#parent_volumeObject

Returns the value of attribute parent_volume.



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

def parent_volume
  @parent_volume
end

#partnership_countObject

Returns the value of attribute partnership_count.



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

def partnership_count
  @partnership_count
end

#partnershipsObject

Returns the value of attribute partnerships.



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

def partnerships
  @partnerships
end

#passwordObject

Returns the value of attribute password.



31
32
33
# File 'lib/softlayer/network/storage.rb', line 31

def password
  @password
end

#permissions_group_countObject

Returns the value of attribute permissions_group_count.



51
52
53
# File 'lib/softlayer/network/storage.rb', line 51

def permissions_group_count
  @permissions_group_count
end

#permissions_groupsObject

Returns the value of attribute permissions_groups.



91
92
93
# File 'lib/softlayer/network/storage.rb', line 91

def permissions_groups
  @permissions_groups
end

#propertiesObject

Returns the value of attribute properties.



92
93
94
# File 'lib/softlayer/network/storage.rb', line 92

def properties
  @properties
end

#property_countObject

Returns the value of attribute property_count.



52
53
54
# File 'lib/softlayer/network/storage.rb', line 52

def property_count
  @property_count
end

#replicating_lun_countObject

Returns the value of attribute replicating_lun_count.



53
54
55
# File 'lib/softlayer/network/storage.rb', line 53

def replicating_lun_count
  @replicating_lun_count
end

#replicating_lunsObject

Returns the value of attribute replicating_luns.



93
94
95
# File 'lib/softlayer/network/storage.rb', line 93

def replicating_luns
  @replicating_luns
end

#replicating_volumeObject

Returns the value of attribute replicating_volume.



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

def replicating_volume
  @replicating_volume
end

#replication_event_countObject

Returns the value of attribute replication_event_count.



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

def replication_event_count
  @replication_event_count
end

#replication_eventsObject

Returns the value of attribute replication_events.



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

def replication_events
  @replication_events
end

#replication_partner_countObject

Returns the value of attribute replication_partner_count.



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

def replication_partner_count
  @replication_partner_count
end

#replication_partnersObject

Returns the value of attribute replication_partners.



96
97
98
# File 'lib/softlayer/network/storage.rb', line 96

def replication_partners
  @replication_partners
end

#replication_scheduleObject

Returns the value of attribute replication_schedule.



97
98
99
# File 'lib/softlayer/network/storage.rb', line 97

def replication_schedule
  @replication_schedule
end

#replication_statusObject

Returns the value of attribute replication_status.



98
99
100
# File 'lib/softlayer/network/storage.rb', line 98

def replication_status
  @replication_status
end

#schedule_countObject

Returns the value of attribute schedule_count.



56
57
58
# File 'lib/softlayer/network/storage.rb', line 56

def schedule_count
  @schedule_count
end

#schedulesObject

Returns the value of attribute schedules.



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

def schedules
  @schedules
end

#service_provider_idObject

Returns the value of attribute service_provider_id.



32
33
34
# File 'lib/softlayer/network/storage.rb', line 32

def service_provider_id
  @service_provider_id
end

#service_resourceObject

Returns the value of attribute service_resource.



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

def service_resource
  @service_resource
end

#service_resource_backend_ip_addressObject

Returns the value of attribute service_resource_backend_ip_address.



101
102
103
# File 'lib/softlayer/network/storage.rb', line 101

def service_resource_backend_ip_address
  @service_resource_backend_ip_address
end

#service_resource_nameObject

Returns the value of attribute service_resource_name.



102
103
104
# File 'lib/softlayer/network/storage.rb', line 102

def service_resource_name
  @service_resource_name
end

#snapshot_capacity_gbObject

Returns the value of attribute snapshot_capacity_gb.



103
104
105
# File 'lib/softlayer/network/storage.rb', line 103

def snapshot_capacity_gb
  @snapshot_capacity_gb
end

#snapshot_countObject

Returns the value of attribute snapshot_count.



57
58
59
# File 'lib/softlayer/network/storage.rb', line 57

def snapshot_count
  @snapshot_count
end

#snapshot_creation_timestampObject

Returns the value of attribute snapshot_creation_timestamp.



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

def snapshot_creation_timestamp
  @snapshot_creation_timestamp
end

#snapshot_deletion_threshold_percentageObject

Returns the value of attribute snapshot_deletion_threshold_percentage.



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

def snapshot_deletion_threshold_percentage
  @snapshot_deletion_threshold_percentage
end

#snapshot_size_bytesObject

Returns the value of attribute snapshot_size_bytes.



106
107
108
# File 'lib/softlayer/network/storage.rb', line 106

def snapshot_size_bytes
  @snapshot_size_bytes
end

#snapshot_space_availableObject

Returns the value of attribute snapshot_space_available.



107
108
109
# File 'lib/softlayer/network/storage.rb', line 107

def snapshot_space_available
  @snapshot_space_available
end

#snapshotsObject

Returns the value of attribute snapshots.



108
109
110
# File 'lib/softlayer/network/storage.rb', line 108

def snapshots
  @snapshots
end

#storage_group_countObject

Returns the value of attribute storage_group_count.



58
59
60
# File 'lib/softlayer/network/storage.rb', line 58

def storage_group_count
  @storage_group_count
end

#storage_groupsObject

Returns the value of attribute storage_groups.



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

def storage_groups
  @storage_groups
end

#storage_tier_levelObject

Returns the value of attribute storage_tier_level.



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

def storage_tier_level
  @storage_tier_level
end

#storage_typeObject

Returns the value of attribute storage_type.



111
112
113
# File 'lib/softlayer/network/storage.rb', line 111

def storage_type
  @storage_type
end

#storage_type_idObject

Returns the value of attribute storage_type_id.



33
34
35
# File 'lib/softlayer/network/storage.rb', line 33

def storage_type_id
  @storage_type_id
end

#total_bytes_usedObject

Returns the value of attribute total_bytes_used.



112
113
114
# File 'lib/softlayer/network/storage.rb', line 112

def total_bytes_used
  @total_bytes_used
end

#total_schedule_snapshot_retention_countObject

Returns the value of attribute total_schedule_snapshot_retention_count.



113
114
115
# File 'lib/softlayer/network/storage.rb', line 113

def total_schedule_snapshot_retention_count
  @total_schedule_snapshot_retention_count
end

#upgradable_flagObject

Returns the value of attribute upgradable_flag.



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

def upgradable_flag
  @upgradable_flag
end

#usage_notificationObject

Returns the value of attribute usage_notification.



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

def usage_notification
  @usage_notification
end

#usernameObject

Returns the value of attribute username.



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

def username
  @username
end

#vendor_nameObject

Returns the value of attribute vendor_name.



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

def vendor_name
  @vendor_name
end

#virtual_guestObject

Returns the value of attribute virtual_guest.



116
117
118
# File 'lib/softlayer/network/storage.rb', line 116

def virtual_guest
  @virtual_guest
end

#volume_historyObject

Returns the value of attribute volume_history.



117
118
119
# File 'lib/softlayer/network/storage.rb', line 117

def volume_history
  @volume_history
end

#volume_history_countObject

Returns the value of attribute volume_history_count.



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

def volume_history_count
  @volume_history_count
end

#volume_statusObject

Returns the value of attribute volume_status.



118
119
120
# File 'lib/softlayer/network/storage.rb', line 118

def volume_status
  @volume_status
end

#webcc_accountObject

Returns the value of attribute webcc_account.



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

def 
  @webcc_account
end

#weekly_scheduleObject

Returns the value of attribute weekly_schedule.



120
121
122
# File 'lib/softlayer/network/storage.rb', line 120

def weekly_schedule
  @weekly_schedule
end

Class Method Details

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



222
223
224
225
# File 'lib/softlayer/network/storage.rb', line 222

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



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

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_object_storage_connection_informationObject



492
493
494
# File 'lib/softlayer/network/storage.rb', line 492

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



496
497
498
499
# File 'lib/softlayer/network/storage.rb', line 496

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



762
763
764
765
# File 'lib/softlayer/network/storage.rb', line 762

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



122
123
124
125
# File 'lib/softlayer/network/storage.rb', line 122

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



127
128
129
130
# File 'lib/softlayer/network/storage.rb', line 127

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



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

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



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

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



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

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



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

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



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

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



157
158
159
160
# File 'lib/softlayer/network/storage.rb', line 157

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



162
163
164
165
# File 'lib/softlayer/network/storage.rb', line 162

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



167
168
169
170
# File 'lib/softlayer/network/storage.rb', line 167

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



172
173
174
175
# File 'lib/softlayer/network/storage.rb', line 172

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



177
178
179
180
# File 'lib/softlayer/network/storage.rb', line 177

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



182
183
184
185
# File 'lib/softlayer/network/storage.rb', line 182

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



187
188
189
190
# File 'lib/softlayer/network/storage.rb', line 187

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



192
193
194
195
# File 'lib/softlayer/network/storage.rb', line 192

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



197
198
199
200
# File 'lib/softlayer/network/storage.rb', line 197

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



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

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



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

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



212
213
214
215
# File 'lib/softlayer/network/storage.rb', line 212

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

#assign_new_credential(type = nil) ⇒ Object



217
218
219
220
# File 'lib/softlayer/network/storage.rb', line 217

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



227
228
229
230
# File 'lib/softlayer/network/storage.rb', line 227

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



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

def collect_bytes_used
  request(:collect_bytes_used, BigDecimal)
end

#create_folder(folder = nil) ⇒ Object



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

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

#create_snapshot(notes = nil) ⇒ Object



241
242
243
244
# File 'lib/softlayer/network/storage.rb', line 241

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

#delete_all_filesObject



246
247
248
# File 'lib/softlayer/network/storage.rb', line 246

def delete_all_files
  request(:delete_all_files, Boolean)
end

#delete_file(file_id = nil) ⇒ Object



250
251
252
253
# File 'lib/softlayer/network/storage.rb', line 250

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

#delete_files(file_ids = nil) ⇒ Object



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

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

#delete_folder(folder = nil) ⇒ Object



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

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

#delete_objectObject



265
266
267
# File 'lib/softlayer/network/storage.rb', line 265

def delete_object
  request(:delete_object, Boolean)
end

#disable_snapshots(schedule_type = nil) ⇒ Object



269
270
271
272
# File 'lib/softlayer/network/storage.rb', line 269

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

#download_file(file_id = nil) ⇒ Object



274
275
276
277
# File 'lib/softlayer/network/storage.rb', line 274

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



279
280
281
282
# File 'lib/softlayer/network/storage.rb', line 279

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



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

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



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

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



294
295
296
# File 'lib/softlayer/network/storage.rb', line 294

def failback_from_replicant
  request(:failback_from_replicant, Boolean)
end

#failover_to_replicant(replicant_id = nil) ⇒ Object



298
299
300
301
# File 'lib/softlayer/network/storage.rb', line 298

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

#get_accountObject



303
304
305
# File 'lib/softlayer/network/storage.rb', line 303

def 
  request(:get_account, Softlayer::Account)
end

#get_account_passwordObject



307
308
309
# File 'lib/softlayer/network/storage.rb', line 307

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

#get_active_transactionsObject



311
312
313
# File 'lib/softlayer/network/storage.rb', line 311

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

#get_all_filesObject



315
316
317
# File 'lib/softlayer/network/storage.rb', line 315

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

#get_all_files_by_filter(filter = nil) ⇒ Object



319
320
321
322
# File 'lib/softlayer/network/storage.rb', line 319

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



324
325
326
327
# File 'lib/softlayer/network/storage.rb', line 324

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



329
330
331
332
# File 'lib/softlayer/network/storage.rb', line 329

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



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

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



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

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



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

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

#get_allowed_hosts_limitObject



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

def get_allowed_hosts_limit
  request(:get_allowed_hosts_limit, Integer)
end

#get_allowed_ip_addressesObject



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

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

#get_allowed_replication_hardwareObject



356
357
358
# File 'lib/softlayer/network/storage.rb', line 356

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

#get_allowed_replication_ip_addressesObject



360
361
362
# File 'lib/softlayer/network/storage.rb', line 360

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

#get_allowed_replication_subnetsObject



364
365
366
# File 'lib/softlayer/network/storage.rb', line 364

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

#get_allowed_replication_virtual_guestsObject



368
369
370
# File 'lib/softlayer/network/storage.rb', line 368

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

#get_allowed_subnetsObject



372
373
374
# File 'lib/softlayer/network/storage.rb', line 372

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

#get_allowed_virtual_guestsObject



376
377
378
# File 'lib/softlayer/network/storage.rb', line 376

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

#get_billing_itemObject



380
381
382
# File 'lib/softlayer/network/storage.rb', line 380

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

#get_billing_item_categoryObject



384
385
386
# File 'lib/softlayer/network/storage.rb', line 384

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

#get_bytes_usedObject



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

def get_bytes_used
  request(:get_bytes_used, String)
end

#get_cdn_urlsObject



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

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

#get_cluster_resourceObject



401
402
403
# File 'lib/softlayer/network/storage.rb', line 401

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

#get_creation_schedule_idObject



405
406
407
# File 'lib/softlayer/network/storage.rb', line 405

def get_creation_schedule_id
  request(:get_creation_schedule_id, String)
end

#get_credentialsObject



409
410
411
# File 'lib/softlayer/network/storage.rb', line 409

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

#get_daily_scheduleObject



413
414
415
# File 'lib/softlayer/network/storage.rb', line 413

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

#get_eventsObject



417
418
419
# File 'lib/softlayer/network/storage.rb', line 417

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

#get_file_by_identifier(identifier = nil) ⇒ Object



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

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



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

def get_file_count
  request(:get_file_count, Integer)
end

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



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

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



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

def get_file_pending_delete_count
  request(:get_file_pending_delete_count, Integer)
end

#get_files_pending_deleteObject



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

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

#get_folder_listObject



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

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



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

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



452
453
454
# File 'lib/softlayer/network/storage.rb', line 452

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

#get_hourly_scheduleObject



456
457
458
# File 'lib/softlayer/network/storage.rb', line 456

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

#get_iopsObject



460
461
462
# File 'lib/softlayer/network/storage.rb', line 460

def get_iops
  request(:get_iops, String)
end

#get_iscsi_lunsObject



464
465
466
# File 'lib/softlayer/network/storage.rb', line 464

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

#get_lun_idObject



468
469
470
# File 'lib/softlayer/network/storage.rb', line 468

def get_lun_id
  request(:get_lun_id, String)
end

#get_metric_tracking_objectObject



472
473
474
# File 'lib/softlayer/network/storage.rb', line 472

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

#get_mountable_flagObject



476
477
478
# File 'lib/softlayer/network/storage.rb', line 476

def get_mountable_flag
  request(:get_mountable_flag, String)
end

#get_network_connection_detailsObject



480
481
482
# File 'lib/softlayer/network/storage.rb', line 480

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

#get_notification_subscribersObject



484
485
486
# File 'lib/softlayer/network/storage.rb', line 484

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

#get_objectObject



488
489
490
# File 'lib/softlayer/network/storage.rb', line 488

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

#get_os_typeObject



501
502
503
# File 'lib/softlayer/network/storage.rb', line 501

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

#get_os_type_idObject



505
506
507
# File 'lib/softlayer/network/storage.rb', line 505

def get_os_type_id
  request(:get_os_type_id, String)
end

#get_parent_partnershipsObject



509
510
511
# File 'lib/softlayer/network/storage.rb', line 509

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

#get_parent_volumeObject



513
514
515
# File 'lib/softlayer/network/storage.rb', line 513

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

#get_partnershipsObject



517
518
519
# File 'lib/softlayer/network/storage.rb', line 517

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

#get_permissions_groupsObject



521
522
523
# File 'lib/softlayer/network/storage.rb', line 521

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

#get_propertiesObject



525
526
527
# File 'lib/softlayer/network/storage.rb', line 525

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

#get_recycle_bin_file_by_identifier(file_id = nil) ⇒ Object



529
530
531
532
# File 'lib/softlayer/network/storage.rb', line 529

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



534
535
536
# File 'lib/softlayer/network/storage.rb', line 534

def get_remaining_allowed_hosts
  request(:get_remaining_allowed_hosts, Integer)
end

#get_replicating_lunsObject



538
539
540
# File 'lib/softlayer/network/storage.rb', line 538

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

#get_replicating_volumeObject



542
543
544
# File 'lib/softlayer/network/storage.rb', line 542

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

#get_replication_eventsObject



546
547
548
# File 'lib/softlayer/network/storage.rb', line 546

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

#get_replication_partnersObject



550
551
552
# File 'lib/softlayer/network/storage.rb', line 550

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

#get_replication_scheduleObject



554
555
556
# File 'lib/softlayer/network/storage.rb', line 554

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

#get_replication_statusObject



558
559
560
# File 'lib/softlayer/network/storage.rb', line 558

def get_replication_status
  request(:get_replication_status, String)
end

#get_schedulesObject



562
563
564
# File 'lib/softlayer/network/storage.rb', line 562

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

#get_service_resourceObject



566
567
568
# File 'lib/softlayer/network/storage.rb', line 566

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

#get_service_resource_backend_ip_addressObject



570
571
572
# File 'lib/softlayer/network/storage.rb', line 570

def get_service_resource_backend_ip_address
  request(:get_service_resource_backend_ip_address, String)
end

#get_service_resource_nameObject



574
575
576
# File 'lib/softlayer/network/storage.rb', line 574

def get_service_resource_name
  request(:get_service_resource_name, String)
end

#get_snapshot_capacity_gbObject



578
579
580
# File 'lib/softlayer/network/storage.rb', line 578

def get_snapshot_capacity_gb
  request(:get_snapshot_capacity_gb, String)
end

#get_snapshot_creation_timestampObject



582
583
584
# File 'lib/softlayer/network/storage.rb', line 582

def get_snapshot_creation_timestamp
  request(:get_snapshot_creation_timestamp, String)
end

#get_snapshot_deletion_threshold_percentageObject



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

def get_snapshot_deletion_threshold_percentage
  request(:get_snapshot_deletion_threshold_percentage, String)
end

#get_snapshot_size_bytesObject



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

def get_snapshot_size_bytes
  request(:get_snapshot_size_bytes, String)
end

#get_snapshot_space_availableObject



594
595
596
# File 'lib/softlayer/network/storage.rb', line 594

def get_snapshot_space_available
  request(:get_snapshot_space_available, String)
end

#get_snapshotsObject



598
599
600
# File 'lib/softlayer/network/storage.rb', line 598

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

#get_snapshots_for_volumeObject



602
603
604
# File 'lib/softlayer/network/storage.rb', line 602

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

#get_storage_groupsObject



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

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

#get_storage_groups_network_connection_detailsObject



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

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



614
615
616
# File 'lib/softlayer/network/storage.rb', line 614

def get_storage_tier_level
  request(:get_storage_tier_level, String)
end

#get_storage_typeObject



618
619
620
# File 'lib/softlayer/network/storage.rb', line 618

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

#get_total_bytes_usedObject



622
623
624
# File 'lib/softlayer/network/storage.rb', line 622

def get_total_bytes_used
  request(:get_total_bytes_used, String)
end

#get_total_schedule_snapshot_retention_countObject



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

def get_total_schedule_snapshot_retention_count
  request(:get_total_schedule_snapshot_retention_count, Integer)
end

#get_usage_notificationObject



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

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

#get_valid_replication_target_datacenter_locationsObject



634
635
636
# File 'lib/softlayer/network/storage.rb', line 634

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

#get_vendor_nameObject



638
639
640
# File 'lib/softlayer/network/storage.rb', line 638

def get_vendor_name
  request(:get_vendor_name, String)
end

#get_virtual_guestObject



642
643
644
# File 'lib/softlayer/network/storage.rb', line 642

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

#get_volume_historyObject



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

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

#get_volume_statusObject



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

def get_volume_status
  request(:get_volume_status, String)
end

#get_webcc_accountObject



654
655
656
# File 'lib/softlayer/network/storage.rb', line 654

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

#get_weekly_scheduleObject



658
659
660
# File 'lib/softlayer/network/storage.rb', line 658

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

#immediate_failover_to_replicant(replicant_id = nil) ⇒ Object



662
663
664
665
# File 'lib/softlayer/network/storage.rb', line 662

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



667
668
669
670
# File 'lib/softlayer/network/storage.rb', line 667

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



672
673
674
675
# File 'lib/softlayer/network/storage.rb', line 672

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



677
678
679
680
# File 'lib/softlayer/network/storage.rb', line 677

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



682
683
684
685
# File 'lib/softlayer/network/storage.rb', line 682

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



687
688
689
690
# File 'lib/softlayer/network/storage.rb', line 687

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



692
693
694
695
# File 'lib/softlayer/network/storage.rb', line 692

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



697
698
699
700
# File 'lib/softlayer/network/storage.rb', line 697

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



702
703
704
705
# File 'lib/softlayer/network/storage.rb', line 702

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



707
708
709
710
# File 'lib/softlayer/network/storage.rb', line 707

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



712
713
714
715
# File 'lib/softlayer/network/storage.rb', line 712

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



717
718
719
720
# File 'lib/softlayer/network/storage.rb', line 717

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



722
723
724
725
# File 'lib/softlayer/network/storage.rb', line 722

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



727
728
729
730
# File 'lib/softlayer/network/storage.rb', line 727

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



732
733
734
735
# File 'lib/softlayer/network/storage.rb', line 732

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



737
738
739
740
# File 'lib/softlayer/network/storage.rb', line 737

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



742
743
744
745
# File 'lib/softlayer/network/storage.rb', line 742

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



747
748
749
750
# File 'lib/softlayer/network/storage.rb', line 747

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

#restore_file(file_id = nil) ⇒ Object



752
753
754
755
# File 'lib/softlayer/network/storage.rb', line 752

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



757
758
759
760
# File 'lib/softlayer/network/storage.rb', line 757

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

#set_mountable(mountable = nil) ⇒ Object



767
768
769
770
# File 'lib/softlayer/network/storage.rb', line 767

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

#set_snapshot_allocation(capacity_gb = nil) ⇒ Object



772
773
774
775
# File 'lib/softlayer/network/storage.rb', line 772

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



777
778
779
780
# File 'lib/softlayer/network/storage.rb', line 777

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

#upload_file(file = nil) ⇒ Object



782
783
784
785
# File 'lib/softlayer/network/storage.rb', line 782

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