Class: Softlayer::Virtual::Guest::Block::Device::Template::Group
- Defined in:
- lib/softlayer/virtual/guest/block/device/template/group.rb,
lib/softlayer/virtual/guest/block/device/template/group/status.rb,
lib/softlayer/virtual/guest/block/device/template/group/accounts.rb
Defined Under Namespace
Classes: Accounts, Representer, Status
Constant Summary collapse
- SERVICE =
'SoftLayer_Virtual_Guest_Block_Device_Template_Group'
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#account_contact_count ⇒ Object
Returns the value of attribute account_contact_count.
-
#account_contacts ⇒ Object
Returns the value of attribute account_contacts.
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#account_reference_count ⇒ Object
Returns the value of attribute account_reference_count.
-
#account_references ⇒ Object
Returns the value of attribute account_references.
-
#block_device_count ⇒ Object
Returns the value of attribute block_device_count.
-
#block_devices ⇒ Object
Returns the value of attribute block_devices.
-
#block_devices_disk_space_total ⇒ Object
Returns the value of attribute block_devices_disk_space_total.
-
#children ⇒ Object
Returns the value of attribute children.
-
#children_count ⇒ Object
Returns the value of attribute children_count.
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#datacenter ⇒ Object
Returns the value of attribute datacenter.
-
#datacenter_count ⇒ Object
Returns the value of attribute datacenter_count.
-
#datacenters ⇒ Object
Returns the value of attribute datacenters.
-
#flex_image_flag ⇒ Object
Returns the value of attribute flex_image_flag.
-
#global_identifier ⇒ Object
Returns the value of attribute global_identifier.
-
#id ⇒ Object
Returns the value of attribute id.
-
#image_type ⇒ Object
Returns the value of attribute image_type.
-
#image_type_key_name ⇒ Object
Returns the value of attribute image_type_key_name.
-
#name ⇒ Object
Returns the value of attribute name.
-
#note ⇒ Object
Returns the value of attribute note.
-
#parent ⇒ Object
Returns the value of attribute parent.
-
#parent_id ⇒ Object
Returns the value of attribute parent_id.
-
#public_flag ⇒ Object
Returns the value of attribute public_flag.
-
#ssh_key_count ⇒ Object
Returns the value of attribute ssh_key_count.
-
#ssh_keys ⇒ Object
Returns the value of attribute ssh_keys.
-
#status ⇒ Object
Returns the value of attribute status.
-
#status_id ⇒ Object
Returns the value of attribute status_id.
-
#storage_repository ⇒ Object
Returns the value of attribute storage_repository.
-
#summary ⇒ Object
Returns the value of attribute summary.
-
#tag_reference_count ⇒ Object
Returns the value of attribute tag_reference_count.
-
#tag_references ⇒ Object
Returns the value of attribute tag_references.
-
#transaction ⇒ Object
Returns the value of attribute transaction.
-
#transaction_id ⇒ Object
Returns the value of attribute transaction_id.
-
#user_record_id ⇒ Object
Returns the value of attribute user_record_id.
Class Method Summary collapse
-
.create_from_external_source(message) ⇒ Object
configuration.
- .get_public_customer_owned_images ⇒ Object
- .get_public_images ⇒ Object
- .get_vhd_import_software_descriptions ⇒ Object
Instance Method Summary collapse
-
#add_locations(message) ⇒ Object
locations.
-
#copy_to_external_source(message) ⇒ Object
configuration.
-
#create_public_archive_transaction(message) ⇒ Object
group_name summary note locations.
- #delete_object ⇒ Object
-
#deny_sharing_access(message) ⇒ Object
account_id.
-
#edit_object(message) ⇒ Object
template_object.
- #get_account ⇒ Object
- #get_account_contacts ⇒ Object
- #get_account_references ⇒ Object
- #get_block_devices ⇒ Object
- #get_block_devices_disk_space_total ⇒ Object
- #get_children ⇒ Object
- #get_datacenter ⇒ Object
- #get_datacenters ⇒ Object
- #get_flex_image_flag ⇒ Object
- #get_global_identifier ⇒ Object
- #get_image_type ⇒ Object
- #get_image_type_key_name ⇒ Object
- #get_object ⇒ Object
- #get_parent ⇒ Object
- #get_ssh_keys ⇒ Object
- #get_status ⇒ Object
- #get_storage_locations ⇒ Object
- #get_storage_repository ⇒ Object
- #get_tag_references ⇒ Object
- #get_transaction ⇒ Object
-
#permit_sharing_access(message) ⇒ Object
account_id.
-
#remove_locations(message) ⇒ Object
locations.
-
#set_available_locations(message) ⇒ Object
locations.
-
#set_tags(message) ⇒ Object
tags.
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.
29 30 31 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 29 def account @account end |
#account_contact_count ⇒ Object
Returns the value of attribute account_contact_count.
22 23 24 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 22 def account_contact_count @account_contact_count end |
#account_contacts ⇒ Object
Returns the value of attribute account_contacts.
30 31 32 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 30 def account_contacts @account_contacts end |
#account_id ⇒ Object
Returns the value of attribute account_id.
11 12 13 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 11 def account_id @account_id end |
#account_reference_count ⇒ Object
Returns the value of attribute account_reference_count.
23 24 25 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 23 def account_reference_count @account_reference_count end |
#account_references ⇒ Object
Returns the value of attribute account_references.
31 32 33 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 31 def account_references @account_references end |
#block_device_count ⇒ Object
Returns the value of attribute block_device_count.
24 25 26 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 24 def block_device_count @block_device_count end |
#block_devices ⇒ Object
Returns the value of attribute block_devices.
32 33 34 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 32 def block_devices @block_devices end |
#block_devices_disk_space_total ⇒ Object
Returns the value of attribute block_devices_disk_space_total.
33 34 35 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 33 def block_devices_disk_space_total @block_devices_disk_space_total end |
#children ⇒ Object
Returns the value of attribute children.
34 35 36 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 34 def children @children end |
#children_count ⇒ Object
Returns the value of attribute children_count.
25 26 27 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 25 def children_count @children_count end |
#create_date ⇒ Object
Returns the value of attribute create_date.
12 13 14 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 12 def create_date @create_date end |
#datacenter ⇒ Object
Returns the value of attribute datacenter.
35 36 37 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 35 def datacenter @datacenter end |
#datacenter_count ⇒ Object
Returns the value of attribute datacenter_count.
26 27 28 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 26 def datacenter_count @datacenter_count end |
#datacenters ⇒ Object
Returns the value of attribute datacenters.
36 37 38 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 36 def datacenters @datacenters end |
#flex_image_flag ⇒ Object
Returns the value of attribute flex_image_flag.
37 38 39 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 37 def flex_image_flag @flex_image_flag end |
#global_identifier ⇒ Object
Returns the value of attribute global_identifier.
38 39 40 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 38 def global_identifier @global_identifier end |
#id ⇒ Object
Returns the value of attribute id.
13 14 15 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 13 def id @id end |
#image_type ⇒ Object
Returns the value of attribute image_type.
39 40 41 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 39 def image_type @image_type end |
#image_type_key_name ⇒ Object
Returns the value of attribute image_type_key_name.
40 41 42 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 40 def image_type_key_name @image_type_key_name end |
#name ⇒ Object
Returns the value of attribute name.
14 15 16 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 14 def name @name end |
#note ⇒ Object
Returns the value of attribute note.
15 16 17 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 15 def note @note end |
#parent ⇒ Object
Returns the value of attribute parent.
41 42 43 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 41 def parent @parent end |
#parent_id ⇒ Object
Returns the value of attribute parent_id.
16 17 18 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 16 def parent_id @parent_id end |
#public_flag ⇒ Object
Returns the value of attribute public_flag.
17 18 19 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 17 def public_flag @public_flag end |
#ssh_key_count ⇒ Object
Returns the value of attribute ssh_key_count.
27 28 29 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 27 def ssh_key_count @ssh_key_count end |
#ssh_keys ⇒ Object
Returns the value of attribute ssh_keys.
42 43 44 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 42 def ssh_keys @ssh_keys end |
#status ⇒ Object
Returns the value of attribute status.
43 44 45 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 43 def status @status end |
#status_id ⇒ Object
Returns the value of attribute status_id.
18 19 20 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 18 def status_id @status_id end |
#storage_repository ⇒ Object
Returns the value of attribute storage_repository.
44 45 46 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 44 def storage_repository @storage_repository end |
#summary ⇒ Object
Returns the value of attribute summary.
19 20 21 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 19 def summary @summary end |
#tag_reference_count ⇒ Object
Returns the value of attribute tag_reference_count.
28 29 30 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 28 def tag_reference_count @tag_reference_count end |
#tag_references ⇒ Object
Returns the value of attribute tag_references.
45 46 47 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 45 def tag_references @tag_references end |
#transaction ⇒ Object
Returns the value of attribute transaction.
46 47 48 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 46 def transaction @transaction end |
#transaction_id ⇒ Object
Returns the value of attribute transaction_id.
20 21 22 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 20 def transaction_id @transaction_id end |
#user_record_id ⇒ Object
Returns the value of attribute user_record_id.
21 22 23 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 21 def user_record_id @user_record_id end |
Class Method Details
.create_from_external_source(message) ⇒ Object
configuration
59 60 61 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 59 def self.create_from_external_source() request(:create_from_external_source, Softlayer::Virtual::Guest::Block::Device::Template::Group, ) end |
.get_public_customer_owned_images ⇒ Object
141 142 143 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 141 def self.get_public_customer_owned_images request(:get_public_customer_owned_images, Array[Softlayer::Virtual::Guest::Block::Device::Template::Group]) end |
.get_public_images ⇒ Object
145 146 147 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 145 def self.get_public_images request(:get_public_images, Array[Softlayer::Virtual::Guest::Block::Device::Template::Group]) end |
.get_vhd_import_software_descriptions ⇒ Object
173 174 175 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 173 def self.get_vhd_import_software_descriptions request(:get_vhd_import_software_descriptions, Array[Softlayer::Software::Description]) end |
Instance Method Details
#add_locations(message) ⇒ Object
locations
49 50 51 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 49 def add_locations() request(:add_locations, Boolean, ) end |
#copy_to_external_source(message) ⇒ Object
configuration
54 55 56 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 54 def copy_to_external_source() request(:copy_to_external_source, Boolean, ) end |
#create_public_archive_transaction(message) ⇒ Object
group_name summary note locations
67 68 69 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 67 def create_public_archive_transaction() request(:create_public_archive_transaction, Integer, ) end |
#delete_object ⇒ Object
71 72 73 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 71 def delete_object request(:delete_object, Softlayer::Provisioning::Version1::Transaction) end |
#deny_sharing_access(message) ⇒ Object
account_id
76 77 78 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 76 def deny_sharing_access() request(:deny_sharing_access, Boolean, ) end |
#edit_object(message) ⇒ Object
template_object
81 82 83 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 81 def edit_object() request(:edit_object, Boolean, ) end |
#get_account ⇒ Object
85 86 87 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 85 def get_account request(:get_account, Softlayer::Account) end |
#get_account_contacts ⇒ Object
89 90 91 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 89 def get_account_contacts request(:get_account_contacts, Array[Softlayer::Account::Contact]) end |
#get_account_references ⇒ Object
93 94 95 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 93 def get_account_references request(:get_account_references, Array[Softlayer::Virtual::Guest::Block::Device::Template::Group::Accounts]) end |
#get_block_devices ⇒ Object
97 98 99 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 97 def get_block_devices request(:get_block_devices, Array[Softlayer::Virtual::Guest::Block::Device::Template]) end |
#get_block_devices_disk_space_total ⇒ Object
101 102 103 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 101 def get_block_devices_disk_space_total request(:get_block_devices_disk_space_total, Float) end |
#get_children ⇒ Object
105 106 107 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 105 def get_children request(:get_children, Array[Softlayer::Virtual::Guest::Block::Device::Template::Group]) end |
#get_datacenter ⇒ Object
109 110 111 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 109 def get_datacenter request(:get_datacenter, Softlayer::Location) end |
#get_datacenters ⇒ Object
113 114 115 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 113 def get_datacenters request(:get_datacenters, Array[Softlayer::Location]) end |
#get_flex_image_flag ⇒ Object
117 118 119 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 117 def get_flex_image_flag request(:get_flex_image_flag, Boolean) end |
#get_global_identifier ⇒ Object
121 122 123 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 121 def get_global_identifier request(:get_global_identifier, String) end |
#get_image_type ⇒ Object
125 126 127 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 125 def get_image_type request(:get_image_type, String) end |
#get_image_type_key_name ⇒ Object
129 130 131 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 129 def get_image_type_key_name request(:get_image_type_key_name, String) end |
#get_object ⇒ Object
133 134 135 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 133 def get_object request(:get_object, Softlayer::Virtual::Guest::Block::Device::Template::Group) end |
#get_parent ⇒ Object
137 138 139 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 137 def get_parent request(:get_parent, Softlayer::Virtual::Guest::Block::Device::Template::Group) end |
#get_ssh_keys ⇒ Object
149 150 151 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 149 def get_ssh_keys request(:get_ssh_keys, Array[Softlayer::Security::Ssh::Key]) end |
#get_status ⇒ Object
153 154 155 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 153 def get_status request(:get_status, Softlayer::Virtual::Guest::Block::Device::Template::Group::Status) end |
#get_storage_locations ⇒ Object
157 158 159 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 157 def get_storage_locations request(:get_storage_locations, Array[Softlayer::Location]) end |
#get_storage_repository ⇒ Object
161 162 163 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 161 def get_storage_repository request(:get_storage_repository, Softlayer::Virtual::Storage::Repository) end |
#get_tag_references ⇒ Object
165 166 167 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 165 def get_tag_references request(:get_tag_references, Array[Softlayer::Tag::Reference]) end |
#get_transaction ⇒ Object
169 170 171 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 169 def get_transaction request(:get_transaction, Softlayer::Provisioning::Version1::Transaction) end |
#permit_sharing_access(message) ⇒ Object
account_id
178 179 180 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 178 def permit_sharing_access() request(:permit_sharing_access, Boolean, ) end |
#remove_locations(message) ⇒ Object
locations
183 184 185 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 183 def remove_locations() request(:remove_locations, Boolean, ) end |
#set_available_locations(message) ⇒ Object
locations
188 189 190 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 188 def set_available_locations() request(:set_available_locations, Boolean, ) end |
#set_tags(message) ⇒ Object
tags
193 194 195 |
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 193 def () request(:set_tags, Boolean, ) end |