Class: Softlayer::Virtual::Disk::Image
- Defined in:
- lib/softlayer/virtual/disk/image.rb,
lib/softlayer/virtual/disk/image/type.rb,
lib/softlayer/virtual/disk/image/software.rb,
lib/softlayer/virtual/disk/image/software/password.rb
Defined Under Namespace
Classes: Representer, Software, Type
Constant Summary collapse
- SERVICE =
'SoftLayer_Virtual_Disk_Image'
Instance Attribute Summary collapse
-
#billing_item ⇒ Object
Returns the value of attribute billing_item.
-
#block_device_count ⇒ Object
Returns the value of attribute block_device_count.
-
#block_devices ⇒ Object
Returns the value of attribute block_devices.
-
#capacity ⇒ Object
Returns the value of attribute capacity.
-
#checksum ⇒ Object
Returns the value of attribute checksum.
-
#coalesced_disk_image_count ⇒ Object
Returns the value of attribute coalesced_disk_image_count.
-
#coalesced_disk_images ⇒ Object
Returns the value of attribute coalesced_disk_images.
-
#copy_on_write_flag ⇒ Object
Returns the value of attribute copy_on_write_flag.
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#description ⇒ Object
Returns the value of attribute description.
-
#id ⇒ Object
Returns the value of attribute id.
-
#local_disk_flag ⇒ Object
Returns the value of attribute local_disk_flag.
-
#metadata_flag ⇒ Object
Returns the value of attribute metadata_flag.
-
#modify_date ⇒ Object
Returns the value of attribute modify_date.
-
#name ⇒ Object
Returns the value of attribute name.
-
#parent_id ⇒ Object
Returns the value of attribute parent_id.
-
#software_reference_count ⇒ Object
Returns the value of attribute software_reference_count.
-
#software_references ⇒ Object
Returns the value of attribute software_references.
-
#source_disk_image ⇒ Object
Returns the value of attribute source_disk_image.
-
#storage_repository ⇒ Object
Returns the value of attribute storage_repository.
-
#storage_repository_id ⇒ Object
Returns the value of attribute storage_repository_id.
-
#storage_repository_type ⇒ Object
Returns the value of attribute storage_repository_type.
-
#template_block_device ⇒ Object
Returns the value of attribute template_block_device.
-
#type ⇒ Object
Returns the value of attribute type.
-
#type_id ⇒ Object
Returns the value of attribute type_id.
-
#units ⇒ Object
Returns the value of attribute units.
-
#uuid ⇒ Object
Returns the value of attribute uuid.
Class Method Summary collapse
Instance Method Summary collapse
-
#edit_object(message) ⇒ Object
template_object.
- #get_billing_item ⇒ Object
- #get_block_devices ⇒ Object
- #get_coalesced_disk_images ⇒ Object
- #get_copy_on_write_flag ⇒ Object
- #get_local_disk_flag ⇒ Object
- #get_metadata_flag ⇒ Object
- #get_object ⇒ Object
- #get_software_references ⇒ Object
- #get_source_disk_image ⇒ Object
- #get_storage_repository ⇒ Object
- #get_storage_repository_type ⇒ Object
- #get_template_block_device ⇒ Object
- #get_type ⇒ Object
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
#billing_item ⇒ Object
Returns the value of attribute billing_item.
23 24 25 |
# File 'lib/softlayer/virtual/disk/image.rb', line 23 def billing_item @billing_item end |
#block_device_count ⇒ Object
Returns the value of attribute block_device_count.
20 21 22 |
# File 'lib/softlayer/virtual/disk/image.rb', line 20 def block_device_count @block_device_count end |
#block_devices ⇒ Object
Returns the value of attribute block_devices.
24 25 26 |
# File 'lib/softlayer/virtual/disk/image.rb', line 24 def block_devices @block_devices end |
#capacity ⇒ Object
Returns the value of attribute capacity.
8 9 10 |
# File 'lib/softlayer/virtual/disk/image.rb', line 8 def capacity @capacity end |
#checksum ⇒ Object
Returns the value of attribute checksum.
9 10 11 |
# File 'lib/softlayer/virtual/disk/image.rb', line 9 def checksum @checksum end |
#coalesced_disk_image_count ⇒ Object
Returns the value of attribute coalesced_disk_image_count.
21 22 23 |
# File 'lib/softlayer/virtual/disk/image.rb', line 21 def coalesced_disk_image_count @coalesced_disk_image_count end |
#coalesced_disk_images ⇒ Object
Returns the value of attribute coalesced_disk_images.
25 26 27 |
# File 'lib/softlayer/virtual/disk/image.rb', line 25 def coalesced_disk_images @coalesced_disk_images end |
#copy_on_write_flag ⇒ Object
Returns the value of attribute copy_on_write_flag.
26 27 28 |
# File 'lib/softlayer/virtual/disk/image.rb', line 26 def copy_on_write_flag @copy_on_write_flag end |
#create_date ⇒ Object
Returns the value of attribute create_date.
10 11 12 |
# File 'lib/softlayer/virtual/disk/image.rb', line 10 def create_date @create_date end |
#description ⇒ Object
Returns the value of attribute description.
11 12 13 |
# File 'lib/softlayer/virtual/disk/image.rb', line 11 def description @description end |
#id ⇒ Object
Returns the value of attribute id.
12 13 14 |
# File 'lib/softlayer/virtual/disk/image.rb', line 12 def id @id end |
#local_disk_flag ⇒ Object
Returns the value of attribute local_disk_flag.
27 28 29 |
# File 'lib/softlayer/virtual/disk/image.rb', line 27 def local_disk_flag @local_disk_flag end |
#metadata_flag ⇒ Object
Returns the value of attribute metadata_flag.
28 29 30 |
# File 'lib/softlayer/virtual/disk/image.rb', line 28 def @metadata_flag end |
#modify_date ⇒ Object
Returns the value of attribute modify_date.
13 14 15 |
# File 'lib/softlayer/virtual/disk/image.rb', line 13 def modify_date @modify_date end |
#name ⇒ Object
Returns the value of attribute name.
14 15 16 |
# File 'lib/softlayer/virtual/disk/image.rb', line 14 def name @name end |
#parent_id ⇒ Object
Returns the value of attribute parent_id.
15 16 17 |
# File 'lib/softlayer/virtual/disk/image.rb', line 15 def parent_id @parent_id end |
#software_reference_count ⇒ Object
Returns the value of attribute software_reference_count.
22 23 24 |
# File 'lib/softlayer/virtual/disk/image.rb', line 22 def software_reference_count @software_reference_count end |
#software_references ⇒ Object
Returns the value of attribute software_references.
29 30 31 |
# File 'lib/softlayer/virtual/disk/image.rb', line 29 def software_references @software_references end |
#source_disk_image ⇒ Object
Returns the value of attribute source_disk_image.
30 31 32 |
# File 'lib/softlayer/virtual/disk/image.rb', line 30 def source_disk_image @source_disk_image end |
#storage_repository ⇒ Object
Returns the value of attribute storage_repository.
31 32 33 |
# File 'lib/softlayer/virtual/disk/image.rb', line 31 def storage_repository @storage_repository end |
#storage_repository_id ⇒ Object
Returns the value of attribute storage_repository_id.
16 17 18 |
# File 'lib/softlayer/virtual/disk/image.rb', line 16 def storage_repository_id @storage_repository_id end |
#storage_repository_type ⇒ Object
Returns the value of attribute storage_repository_type.
32 33 34 |
# File 'lib/softlayer/virtual/disk/image.rb', line 32 def storage_repository_type @storage_repository_type end |
#template_block_device ⇒ Object
Returns the value of attribute template_block_device.
33 34 35 |
# File 'lib/softlayer/virtual/disk/image.rb', line 33 def template_block_device @template_block_device end |
#type ⇒ Object
Returns the value of attribute type.
34 35 36 |
# File 'lib/softlayer/virtual/disk/image.rb', line 34 def type @type end |
#type_id ⇒ Object
Returns the value of attribute type_id.
17 18 19 |
# File 'lib/softlayer/virtual/disk/image.rb', line 17 def type_id @type_id end |
#units ⇒ Object
Returns the value of attribute units.
18 19 20 |
# File 'lib/softlayer/virtual/disk/image.rb', line 18 def units @units end |
#uuid ⇒ Object
Returns the value of attribute uuid.
19 20 21 |
# File 'lib/softlayer/virtual/disk/image.rb', line 19 def uuid @uuid end |
Class Method Details
Instance Method Details
#edit_object(message) ⇒ Object
template_object
37 38 39 |
# File 'lib/softlayer/virtual/disk/image.rb', line 37 def edit_object() request(:edit_object, Boolean, ) end |
#get_billing_item ⇒ Object
41 42 43 |
# File 'lib/softlayer/virtual/disk/image.rb', line 41 def get_billing_item request(:get_billing_item, Softlayer::Billing::Item::Virtual::Disk::Image) end |
#get_block_devices ⇒ Object
45 46 47 |
# File 'lib/softlayer/virtual/disk/image.rb', line 45 def get_block_devices request(:get_block_devices, Array[Softlayer::Virtual::Guest::Block::Device]) end |
#get_coalesced_disk_images ⇒ Object
49 50 51 |
# File 'lib/softlayer/virtual/disk/image.rb', line 49 def get_coalesced_disk_images request(:get_coalesced_disk_images, Array[Softlayer::Virtual::Disk::Image]) end |
#get_copy_on_write_flag ⇒ Object
53 54 55 |
# File 'lib/softlayer/virtual/disk/image.rb', line 53 def get_copy_on_write_flag request(:get_copy_on_write_flag, Boolean) end |
#get_local_disk_flag ⇒ Object
57 58 59 |
# File 'lib/softlayer/virtual/disk/image.rb', line 57 def get_local_disk_flag request(:get_local_disk_flag, Boolean) end |
#get_metadata_flag ⇒ Object
61 62 63 |
# File 'lib/softlayer/virtual/disk/image.rb', line 61 def request(:get_metadata_flag, Boolean) end |
#get_object ⇒ Object
65 66 67 |
# File 'lib/softlayer/virtual/disk/image.rb', line 65 def get_object request(:get_object, Softlayer::Virtual::Disk::Image) end |
#get_software_references ⇒ Object
73 74 75 |
# File 'lib/softlayer/virtual/disk/image.rb', line 73 def get_software_references request(:get_software_references, Array[Softlayer::Virtual::Disk::Image::Software]) end |
#get_source_disk_image ⇒ Object
77 78 79 |
# File 'lib/softlayer/virtual/disk/image.rb', line 77 def get_source_disk_image request(:get_source_disk_image, Softlayer::Virtual::Disk::Image) end |
#get_storage_repository ⇒ Object
81 82 83 |
# File 'lib/softlayer/virtual/disk/image.rb', line 81 def get_storage_repository request(:get_storage_repository, Softlayer::Virtual::Storage::Repository) end |
#get_storage_repository_type ⇒ Object
85 86 87 |
# File 'lib/softlayer/virtual/disk/image.rb', line 85 def get_storage_repository_type request(:get_storage_repository_type, Softlayer::Virtual::Storage::Repository::Type) end |