# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Compute::Mgmt::V2016_04_30_preview module Models # # Describes a storage profile. # class ImageStorageProfile include MsRestAzure # @return [ImageOSDisk] Specifies information about the operating system # disk used by the virtual machine.

For more information about # disks, see [About disks and VHDs for Azure virtual # machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). attr_accessor :os_disk # @return [Array] Specifies the parameters that are used # to add a data disk to a virtual machine.

For more information # about disks, see [About disks and VHDs for Azure virtual # machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). attr_accessor :data_disks # # Mapper for ImageStorageProfile class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ImageStorageProfile', type: { name: 'Composite', class_name: 'ImageStorageProfile', model_properties: { os_disk: { client_side_validation: true, required: true, serialized_name: 'osDisk', type: { name: 'Composite', class_name: 'ImageOSDisk' } }, data_disks: { client_side_validation: true, required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ImageDataDiskElementType', type: { name: 'Composite', class_name: 'ImageDataDisk' } } } } } } } end end end end