Class: Softlayer::Network::Storage::Allowed::Host::VirtualGuest
- Inherits:
-
Softlayer::Network::Storage::Allowed::Host
- Object
- Model
- Entity
- Softlayer::Network::Storage::Allowed::Host
- Softlayer::Network::Storage::Allowed::Host::VirtualGuest
- Defined in:
- lib/softlayer/network/storage/allowed/host/virtual_guest.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Network_Storage_Allowed_Host_VirtualGuest'
Instance Attribute Summary collapse
-
#resource ⇒ Object
Returns the value of attribute resource.
Attributes inherited from Softlayer::Network::Storage::Allowed::Host
#assigned_group_count, #assigned_groups, #assigned_replication_volume_count, #assigned_replication_volumes, #assigned_volume_count, #assigned_volumes, #credential, #credential_id, #id, #name, #resource_table_id, #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
- #get_resource ⇒ 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
#resource ⇒ Object
Returns the value of attribute resource.
8 9 10 |
# File 'lib/softlayer/network/storage/allowed/host/virtual_guest.rb', line 8 def resource @resource end |
Class Method Details
.create_object(message) ⇒ Object
template_object
11 12 13 |
# File 'lib/softlayer/network/storage/allowed/host/virtual_guest.rb', line 11 def self.create_object() request(:create_object, Boolean, ) end |
Instance Method Details
#delete_object ⇒ Object
15 16 17 |
# File 'lib/softlayer/network/storage/allowed/host/virtual_guest.rb', line 15 def delete_object request(:delete_object, Boolean) end |
#edit_object(message) ⇒ Object
template_object
20 21 22 |
# File 'lib/softlayer/network/storage/allowed/host/virtual_guest.rb', line 20 def edit_object() request(:edit_object, Boolean, ) end |
#get_assigned_groups ⇒ Object
24 25 26 |
# File 'lib/softlayer/network/storage/allowed/host/virtual_guest.rb', line 24 def get_assigned_groups request(:get_assigned_groups, Array[Softlayer::Network::Storage::Group]) end |
#get_assigned_replication_volumes ⇒ Object
28 29 30 |
# File 'lib/softlayer/network/storage/allowed/host/virtual_guest.rb', line 28 def get_assigned_replication_volumes request(:get_assigned_replication_volumes, Array[Softlayer::Network::Storage]) end |
#get_assigned_volumes ⇒ Object
32 33 34 |
# File 'lib/softlayer/network/storage/allowed/host/virtual_guest.rb', line 32 def get_assigned_volumes request(:get_assigned_volumes, Array[Softlayer::Network::Storage]) end |
#get_credential ⇒ Object
36 37 38 |
# File 'lib/softlayer/network/storage/allowed/host/virtual_guest.rb', line 36 def get_credential request(:get_credential, Softlayer::Network::Storage::Credential) end |
#get_object ⇒ Object
40 41 42 |
# File 'lib/softlayer/network/storage/allowed/host/virtual_guest.rb', line 40 def get_object request(:get_object, Softlayer::Network::Storage::Allowed::Host::VirtualGuest) end |
#get_resource ⇒ Object
44 45 46 |
# File 'lib/softlayer/network/storage/allowed/host/virtual_guest.rb', line 44 def get_resource request(:get_resource, Softlayer::Virtual::Guest) end |
#set_credential_password(message) ⇒ Object
password
49 50 51 |
# File 'lib/softlayer/network/storage/allowed/host/virtual_guest.rb', line 49 def set_credential_password() request(:set_credential_password, Boolean, ) end |