Class: Azure::VirtualMachineImageManagement::VirtualMachineDisk
- Inherits:
-
Object
- Object
- Azure::VirtualMachineImageManagement::VirtualMachineDisk
- Defined in:
- lib/azure/virtual_machine_image_management/virtual_machine_disk.rb
Instance Attribute Summary collapse
-
#attached ⇒ Object
Returns the value of attribute attached.
-
#image ⇒ Object
Returns the value of attribute image.
-
#name ⇒ Object
Returns the value of attribute name.
-
#os_type ⇒ Object
Returns the value of attribute os_type.
-
#size ⇒ Object
Returns the value of attribute size.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ VirtualMachineDisk
constructor
A new instance of VirtualMachineDisk.
Constructor Details
#initialize {|_self| ... } ⇒ VirtualMachineDisk
Returns a new instance of VirtualMachineDisk.
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
#attached ⇒ Object
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 |
#image ⇒ Object
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 |
#name ⇒ Object
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_type ⇒ Object
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 |
#size ⇒ Object
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 |