Class: Softlayer::Network::Storage::Allowed::Host
- Defined in:
- lib/softlayer/network/storage/allowed/host.rb,
lib/softlayer/network/storage/allowed/host/subnet.rb,
lib/softlayer/network/storage/allowed/host/hardware.rb,
lib/softlayer/network/storage/allowed/host/ip_address.rb,
lib/softlayer/network/storage/allowed/host/virtual_guest.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Hardware, IpAddress, Representer, Subnet, VirtualGuest
Constant Summary collapse
- SERVICE =
'SoftLayer_Network_Storage_Allowed_Host'
Instance Attribute Summary collapse
-
#assigned_group_count ⇒ Object
Returns the value of attribute assigned_group_count.
-
#assigned_groups ⇒ Object
Returns the value of attribute assigned_groups.
-
#assigned_replication_volume_count ⇒ Object
Returns the value of attribute assigned_replication_volume_count.
-
#assigned_replication_volumes ⇒ Object
Returns the value of attribute assigned_replication_volumes.
-
#assigned_volume_count ⇒ Object
Returns the value of attribute assigned_volume_count.
-
#assigned_volumes ⇒ Object
Returns the value of attribute assigned_volumes.
-
#credential ⇒ Object
Returns the value of attribute credential.
-
#credential_id ⇒ Object
Returns the value of attribute credential_id.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#resource_table_id ⇒ Object
Returns the value of attribute resource_table_id.
-
#resource_table_name ⇒ Object
Returns the value of attribute resource_table_name.
Class Method Summary collapse
-
.create_object(message) ⇒ Object
template_object.
Instance Method Summary collapse
- #delete_object ⇒ Object
-
#edit_object(message) ⇒ Object
template_object.
- #get_assigned_groups ⇒ Object
- #get_assigned_replication_volumes ⇒ Object
- #get_assigned_volumes ⇒ Object
- #get_credential ⇒ Object
- #get_object ⇒ Object
-
#set_credential_password(message) ⇒ Object
password.
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
#assigned_group_count ⇒ Object
Returns the value of attribute assigned_group_count.
16 17 18 |
# File 'lib/softlayer/network/storage/allowed/host.rb', line 16 def assigned_group_count @assigned_group_count end |
#assigned_groups ⇒ Object
Returns the value of attribute assigned_groups.
19 20 21 |
# File 'lib/softlayer/network/storage/allowed/host.rb', line 19 def assigned_groups @assigned_groups end |
#assigned_replication_volume_count ⇒ Object
Returns the value of attribute assigned_replication_volume_count.
17 18 19 |
# File 'lib/softlayer/network/storage/allowed/host.rb', line 17 def assigned_replication_volume_count @assigned_replication_volume_count end |
#assigned_replication_volumes ⇒ Object
Returns the value of attribute assigned_replication_volumes.
20 21 22 |
# File 'lib/softlayer/network/storage/allowed/host.rb', line 20 def assigned_replication_volumes @assigned_replication_volumes end |
#assigned_volume_count ⇒ Object
Returns the value of attribute assigned_volume_count.
18 19 20 |
# File 'lib/softlayer/network/storage/allowed/host.rb', line 18 def assigned_volume_count @assigned_volume_count end |
#assigned_volumes ⇒ Object
Returns the value of attribute assigned_volumes.
21 22 23 |
# File 'lib/softlayer/network/storage/allowed/host.rb', line 21 def assigned_volumes @assigned_volumes end |
#credential ⇒ Object
Returns the value of attribute credential.
22 23 24 |
# File 'lib/softlayer/network/storage/allowed/host.rb', line 22 def credential @credential end |
#credential_id ⇒ Object
Returns the value of attribute credential_id.
11 12 13 |
# File 'lib/softlayer/network/storage/allowed/host.rb', line 11 def credential_id @credential_id end |
#id ⇒ Object
Returns the value of attribute id.
12 13 14 |
# File 'lib/softlayer/network/storage/allowed/host.rb', line 12 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
13 14 15 |
# File 'lib/softlayer/network/storage/allowed/host.rb', line 13 def name @name end |
#resource_table_id ⇒ Object
Returns the value of attribute resource_table_id.
14 15 16 |
# File 'lib/softlayer/network/storage/allowed/host.rb', line 14 def resource_table_id @resource_table_id end |
#resource_table_name ⇒ Object
Returns the value of attribute resource_table_name.
15 16 17 |
# File 'lib/softlayer/network/storage/allowed/host.rb', line 15 def resource_table_name @resource_table_name end |
Class Method Details
.create_object(message) ⇒ Object
template_object
25 26 27 |
# File 'lib/softlayer/network/storage/allowed/host.rb', line 25 def self.create_object() request(:create_object, Boolean, ) end |
Instance Method Details
#delete_object ⇒ Object
29 30 31 |
# File 'lib/softlayer/network/storage/allowed/host.rb', line 29 def delete_object request(:delete_object, Boolean) end |
#edit_object(message) ⇒ Object
template_object
34 35 36 |
# File 'lib/softlayer/network/storage/allowed/host.rb', line 34 def edit_object() request(:edit_object, Boolean, ) end |
#get_assigned_groups ⇒ Object
38 39 40 |
# File 'lib/softlayer/network/storage/allowed/host.rb', line 38 def get_assigned_groups request(:get_assigned_groups, Array[Softlayer::Network::Storage::Group]) end |
#get_assigned_replication_volumes ⇒ Object
42 43 44 |
# File 'lib/softlayer/network/storage/allowed/host.rb', line 42 def get_assigned_replication_volumes request(:get_assigned_replication_volumes, Array[Softlayer::Network::Storage]) end |
#get_assigned_volumes ⇒ Object
46 47 48 |
# File 'lib/softlayer/network/storage/allowed/host.rb', line 46 def get_assigned_volumes request(:get_assigned_volumes, Array[Softlayer::Network::Storage]) end |
#get_credential ⇒ Object
50 51 52 |
# File 'lib/softlayer/network/storage/allowed/host.rb', line 50 def get_credential request(:get_credential, Softlayer::Network::Storage::Credential) end |
#get_object ⇒ Object
54 55 56 |
# File 'lib/softlayer/network/storage/allowed/host.rb', line 54 def get_object request(:get_object, Softlayer::Network::Storage::Allowed::Host) end |
#set_credential_password(message) ⇒ Object
password
59 60 61 |
# File 'lib/softlayer/network/storage/allowed/host.rb', line 59 def set_credential_password() request(:set_credential_password, Boolean, ) end |