Class: Softlayer::Network::Storage::Group::Iscsi
- Inherits:
-
Softlayer::Network::Storage::Group
- Object
- Model
- Entity
- Softlayer::Network::Storage::Group
- Softlayer::Network::Storage::Group::Iscsi
- Defined in:
- lib/softlayer/network/storage/group/iscsi.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Network_Storage_Group_Iscsi'
Instance Attribute Summary
Attributes inherited from Softlayer::Network::Storage::Group
#account, #account_id, #alias, #allowed_host_count, #allowed_hosts, #attached_volume_count, #attached_volumes, #create_date, #group_type, #group_type_id, #id, #modify_date, #os_type, #os_type_id, #service_resource, #service_resource_id
Class Method Summary collapse
-
.create_object(message) ⇒ Object
template_object.
- .get_all_objects ⇒ Object
Instance Method Summary collapse
-
#add_allowed_host(message) ⇒ Object
allowed_host.
-
#attach_to_volume(message) ⇒ Object
volume.
- #delete_object ⇒ Object
-
#edit_object(message) ⇒ Object
template_object.
- #get_account ⇒ Object
- #get_allowed_hosts ⇒ Object
- #get_attached_volumes ⇒ Object
- #get_group_type ⇒ Object
- #get_network_connection_details ⇒ Object
- #get_object ⇒ Object
- #get_os_type ⇒ Object
- #get_service_resource ⇒ Object
-
#remove_allowed_host(message) ⇒ Object
allowed_host.
-
#remove_from_volume(message) ⇒ Object
volume.
Methods inherited from Model
all, all_request_for, create, find, #init_headers, parse, process_message, #request, request, service_name, #service_name, #to_hash, #to_softlayer
Methods included from Model::Operations
extended, #filter, included, #limit, #mask, #request_headers
Class Method Details
.create_object(message) ⇒ Object
template_object
19 20 21 |
# File 'lib/softlayer/network/storage/group/iscsi.rb', line 19 def self.create_object() request(:create_object, Boolean, ) end |
Instance Method Details
#add_allowed_host(message) ⇒ Object
allowed_host
9 10 11 |
# File 'lib/softlayer/network/storage/group/iscsi.rb', line 9 def add_allowed_host() request(:add_allowed_host, Boolean, ) end |
#attach_to_volume(message) ⇒ Object
volume
14 15 16 |
# File 'lib/softlayer/network/storage/group/iscsi.rb', line 14 def attach_to_volume() request(:attach_to_volume, Boolean, ) end |
#delete_object ⇒ Object
23 24 25 |
# File 'lib/softlayer/network/storage/group/iscsi.rb', line 23 def delete_object request(:delete_object, Boolean) end |
#edit_object(message) ⇒ Object
template_object
28 29 30 |
# File 'lib/softlayer/network/storage/group/iscsi.rb', line 28 def edit_object() request(:edit_object, Boolean, ) end |
#get_account ⇒ Object
32 33 34 |
# File 'lib/softlayer/network/storage/group/iscsi.rb', line 32 def get_account request(:get_account, Softlayer::Account) end |
#get_allowed_hosts ⇒ Object
40 41 42 |
# File 'lib/softlayer/network/storage/group/iscsi.rb', line 40 def get_allowed_hosts request(:get_allowed_hosts, Array[Softlayer::Network::Storage::Allowed::Host]) end |
#get_attached_volumes ⇒ Object
44 45 46 |
# File 'lib/softlayer/network/storage/group/iscsi.rb', line 44 def get_attached_volumes request(:get_attached_volumes, Array[Softlayer::Network::Storage]) end |
#get_group_type ⇒ Object
48 49 50 |
# File 'lib/softlayer/network/storage/group/iscsi.rb', line 48 def get_group_type request(:get_group_type, Softlayer::Network::Storage::Group::Type) end |
#get_network_connection_details ⇒ Object
52 53 54 |
# File 'lib/softlayer/network/storage/group/iscsi.rb', line 52 def get_network_connection_details request(:get_network_connection_details, Softlayer::Container::Network::Storage::NetworkConnectionInformation) end |
#get_object ⇒ Object
56 57 58 |
# File 'lib/softlayer/network/storage/group/iscsi.rb', line 56 def get_object request(:get_object, Softlayer::Network::Storage::Group::Iscsi) end |
#get_os_type ⇒ Object
60 61 62 |
# File 'lib/softlayer/network/storage/group/iscsi.rb', line 60 def get_os_type request(:get_os_type, Softlayer::Network::Storage::Iscsi::Os::Type) end |
#get_service_resource ⇒ Object
64 65 66 |
# File 'lib/softlayer/network/storage/group/iscsi.rb', line 64 def get_service_resource request(:get_service_resource, Softlayer::Network::Service::Resource) end |
#remove_allowed_host(message) ⇒ Object
allowed_host
69 70 71 |
# File 'lib/softlayer/network/storage/group/iscsi.rb', line 69 def remove_allowed_host() request(:remove_allowed_host, Boolean, ) end |
#remove_from_volume(message) ⇒ Object
volume
74 75 76 |
# File 'lib/softlayer/network/storage/group/iscsi.rb', line 74 def remove_from_volume() request(:remove_from_volume, Boolean, ) end |