class SoftLayer::VirtualDiskImageSoftware

Each SoftLayer VirtualDiskImageSoftware is a record that connects a computing instance's virtual disk images with software records.

This class roughly corresponds to the entity SoftLayer_Virtual_Disk_Image_Software in the API.

Protected Class Methods

default_object_mask() click to toggle source
# File lib/softlayer/VirtualDiskImageSoftware.rb, line 41
def self.default_object_mask
  {
    "mask(SoftLayer_Virtual_Disk_Image_Software)" => [
                                                      'id',
                                                      'passwords[password,username]',
                                                      'softwareDescription[longDescription,name]'
                                                     ]
  }.to_sl_object_mask
end

Public Instance Methods

description() click to toggle source

The manufacturer, name and version of a piece of software.

# File lib/softlayer/VirtualDiskImageSoftware.rb, line 21
def description
  self['softwareDescription']['longDescription']
end
name() click to toggle source

The name of this specific piece of software.

# File lib/softlayer/VirtualDiskImageSoftware.rb, line 28
def name
  self['softwareDescription']['name']
end
passwords() click to toggle source

The password for this specific virtual disk image software instance.

# File lib/softlayer/VirtualDiskImageSoftware.rb, line 35
def passwords
  self['passwords']
end