Class: Softlayer::Network::Storage::Group
- Defined in:
- lib/softlayer/network/storage/group.rb,
lib/softlayer/network/storage/group/nfs.rb,
lib/softlayer/network/storage/group/type.rb,
lib/softlayer/network/storage/group/iscsi.rb
Defined Under Namespace
Classes: Iscsi, Nfs, Representer, Type
Constant Summary collapse
- SERVICE =
'SoftLayer_Network_Storage_Group'
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#alias ⇒ Object
Returns the value of attribute alias.
-
#allowed_host_count ⇒ Object
Returns the value of attribute allowed_host_count.
-
#allowed_hosts ⇒ Object
Returns the value of attribute allowed_hosts.
-
#attached_volume_count ⇒ Object
Returns the value of attribute attached_volume_count.
-
#attached_volumes ⇒ Object
Returns the value of attribute attached_volumes.
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#group_type ⇒ Object
Returns the value of attribute group_type.
-
#group_type_id ⇒ Object
Returns the value of attribute group_type_id.
-
#id ⇒ Object
Returns the value of attribute id.
-
#modify_date ⇒ Object
Returns the value of attribute modify_date.
-
#os_type ⇒ Object
Returns the value of attribute os_type.
-
#os_type_id ⇒ Object
Returns the value of attribute os_type_id.
-
#service_resource ⇒ Object
Returns the value of attribute service_resource.
-
#service_resource_id ⇒ Object
Returns the value of attribute 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
Instance Attribute Details
#account ⇒ Object
Returns the value of attribute account.
19 20 21 |
# File 'lib/softlayer/network/storage/group.rb', line 19 def account @account end |
#account_id ⇒ Object
Returns the value of attribute account_id.
9 10 11 |
# File 'lib/softlayer/network/storage/group.rb', line 9 def account_id @account_id end |
#alias ⇒ Object
Returns the value of attribute alias.
10 11 12 |
# File 'lib/softlayer/network/storage/group.rb', line 10 def alias @alias end |
#allowed_host_count ⇒ Object
Returns the value of attribute allowed_host_count.
17 18 19 |
# File 'lib/softlayer/network/storage/group.rb', line 17 def allowed_host_count @allowed_host_count end |
#allowed_hosts ⇒ Object
Returns the value of attribute allowed_hosts.
20 21 22 |
# File 'lib/softlayer/network/storage/group.rb', line 20 def allowed_hosts @allowed_hosts end |
#attached_volume_count ⇒ Object
Returns the value of attribute attached_volume_count.
18 19 20 |
# File 'lib/softlayer/network/storage/group.rb', line 18 def attached_volume_count @attached_volume_count end |
#attached_volumes ⇒ Object
Returns the value of attribute attached_volumes.
21 22 23 |
# File 'lib/softlayer/network/storage/group.rb', line 21 def attached_volumes @attached_volumes end |
#create_date ⇒ Object
Returns the value of attribute create_date.
11 12 13 |
# File 'lib/softlayer/network/storage/group.rb', line 11 def create_date @create_date end |
#group_type ⇒ Object
Returns the value of attribute group_type.
22 23 24 |
# File 'lib/softlayer/network/storage/group.rb', line 22 def group_type @group_type end |
#group_type_id ⇒ Object
Returns the value of attribute group_type_id.
12 13 14 |
# File 'lib/softlayer/network/storage/group.rb', line 12 def group_type_id @group_type_id end |
#id ⇒ Object
Returns the value of attribute id.
13 14 15 |
# File 'lib/softlayer/network/storage/group.rb', line 13 def id @id end |
#modify_date ⇒ Object
Returns the value of attribute modify_date.
14 15 16 |
# File 'lib/softlayer/network/storage/group.rb', line 14 def modify_date @modify_date end |
#os_type ⇒ Object
Returns the value of attribute os_type.
23 24 25 |
# File 'lib/softlayer/network/storage/group.rb', line 23 def os_type @os_type end |
#os_type_id ⇒ Object
Returns the value of attribute os_type_id.
15 16 17 |
# File 'lib/softlayer/network/storage/group.rb', line 15 def os_type_id @os_type_id end |
#service_resource ⇒ Object
Returns the value of attribute service_resource.
24 25 26 |
# File 'lib/softlayer/network/storage/group.rb', line 24 def service_resource @service_resource end |
#service_resource_id ⇒ Object
Returns the value of attribute service_resource_id.
16 17 18 |
# File 'lib/softlayer/network/storage/group.rb', line 16 def service_resource_id @service_resource_id end |
Class Method Details
.create_object(message) ⇒ Object
template_object
37 38 39 |
# File 'lib/softlayer/network/storage/group.rb', line 37 def self.create_object() request(:create_object, Boolean, ) end |
Instance Method Details
#add_allowed_host(message) ⇒ Object
allowed_host
27 28 29 |
# File 'lib/softlayer/network/storage/group.rb', line 27 def add_allowed_host() request(:add_allowed_host, Boolean, ) end |
#attach_to_volume(message) ⇒ Object
volume
32 33 34 |
# File 'lib/softlayer/network/storage/group.rb', line 32 def attach_to_volume() request(:attach_to_volume, Boolean, ) end |
#delete_object ⇒ Object
41 42 43 |
# File 'lib/softlayer/network/storage/group.rb', line 41 def delete_object request(:delete_object, Boolean) end |
#edit_object(message) ⇒ Object
template_object
46 47 48 |
# File 'lib/softlayer/network/storage/group.rb', line 46 def edit_object() request(:edit_object, Boolean, ) end |
#get_account ⇒ Object
50 51 52 |
# File 'lib/softlayer/network/storage/group.rb', line 50 def get_account request(:get_account, Softlayer::Account) end |
#get_allowed_hosts ⇒ Object
58 59 60 |
# File 'lib/softlayer/network/storage/group.rb', line 58 def get_allowed_hosts request(:get_allowed_hosts, Array[Softlayer::Network::Storage::Allowed::Host]) end |
#get_attached_volumes ⇒ Object
62 63 64 |
# File 'lib/softlayer/network/storage/group.rb', line 62 def get_attached_volumes request(:get_attached_volumes, Array[Softlayer::Network::Storage]) end |
#get_group_type ⇒ Object
66 67 68 |
# File 'lib/softlayer/network/storage/group.rb', line 66 def get_group_type request(:get_group_type, Softlayer::Network::Storage::Group::Type) end |
#get_network_connection_details ⇒ Object
70 71 72 |
# File 'lib/softlayer/network/storage/group.rb', line 70 def get_network_connection_details request(:get_network_connection_details, Softlayer::Container::Network::Storage::NetworkConnectionInformation) end |
#get_object ⇒ Object
74 75 76 |
# File 'lib/softlayer/network/storage/group.rb', line 74 def get_object request(:get_object, Softlayer::Network::Storage::Group) end |
#get_os_type ⇒ Object
78 79 80 |
# File 'lib/softlayer/network/storage/group.rb', line 78 def get_os_type request(:get_os_type, Softlayer::Network::Storage::Iscsi::Os::Type) end |
#get_service_resource ⇒ Object
82 83 84 |
# File 'lib/softlayer/network/storage/group.rb', line 82 def get_service_resource request(:get_service_resource, Softlayer::Network::Service::Resource) end |
#remove_allowed_host(message) ⇒ Object
allowed_host
87 88 89 |
# File 'lib/softlayer/network/storage/group.rb', line 87 def remove_allowed_host() request(:remove_allowed_host, Boolean, ) end |
#remove_from_volume(message) ⇒ Object
volume
92 93 94 |
# File 'lib/softlayer/network/storage/group.rb', line 92 def remove_from_volume() request(:remove_from_volume, Boolean, ) end |