Sha256: 05aea6f009cf9f7b32737f3795e9df059fa1e6be01f1ea1070ad93078b548268
Contents?: true
Size: 1.94 KB
Versions: 2
Compression:
Stored size: 1.94 KB
Contents
# 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 StorageProfile include MsRestAzure # @return [ImageReference] The image reference. attr_accessor :image_reference # @return [OSDisk] The OS disk. attr_accessor :os_disk # @return [Array<DataDisk>] The data disks. attr_accessor :data_disks # # Mapper for StorageProfile class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'StorageProfile', type: { name: 'Composite', class_name: 'StorageProfile', model_properties: { image_reference: { required: false, serialized_name: 'imageReference', type: { name: 'Composite', class_name: 'ImageReference' } }, os_disk: { required: false, serialized_name: 'osDisk', type: { name: 'Composite', class_name: 'OSDisk' } }, data_disks: { required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { required: false, serialized_name: 'DataDiskElementType', type: { name: 'Composite', class_name: 'DataDisk' } } } } } } } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems