Class: Azure::VirtualMachineImageManagement::VirtualMachineDisk

Inherits:
Object
  • Object
show all
Defined in:
lib/azure/virtual_machine_image_management/virtual_machine_disk.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|_self| ... } ⇒ VirtualMachineDisk

Returns a new instance of VirtualMachineDisk.

Yields:

  • (_self)

Yield Parameters:



18
19
20
# File 'lib/azure/virtual_machine_image_management/virtual_machine_disk.rb', line 18

def initialize
  yield self if block_given?
end

Instance Attribute Details

#attachedObject

Returns the value of attribute attached.



22
23
24
# File 'lib/azure/virtual_machine_image_management/virtual_machine_disk.rb', line 22

def attached
  @attached
end

#imageObject

Returns the value of attribute image.



22
23
24
# File 'lib/azure/virtual_machine_image_management/virtual_machine_disk.rb', line 22

def image
  @image
end

#nameObject

Returns the value of attribute name.



22
23
24
# File 'lib/azure/virtual_machine_image_management/virtual_machine_disk.rb', line 22

def name
  @name
end

#os_typeObject

Returns the value of attribute os_type.



22
23
24
# File 'lib/azure/virtual_machine_image_management/virtual_machine_disk.rb', line 22

def os_type
  @os_type
end

#sizeObject

Returns the value of attribute size.



22
23
24
# File 'lib/azure/virtual_machine_image_management/virtual_machine_disk.rb', line 22

def size
  @size
end