# 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::ARM::Compute
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()
{
required: false,
serialized_name: 'ImageStorageProfile',
type: {
name: 'Composite',
class_name: 'ImageStorageProfile',
model_properties: {
os_disk: {
required: true,
serialized_name: 'osDisk',
type: {
name: 'Composite',
class_name: 'ImageOSDisk'
}
},
data_disks: {
required: false,
serialized_name: 'dataDisks',
type: {
name: 'Sequence',
element: {
required: false,
serialized_name: 'ImageDataDiskElementType',
type: {
name: 'Composite',
class_name: 'ImageDataDisk'
}
}
}
}
}
}
}
end
end
end
end