Class: Azure::Compute::Mgmt::V2020_09_30_preview::Models::GalleryOSDiskImage
- Inherits:
-
GalleryDiskImage
- Object
- GalleryDiskImage
- Azure::Compute::Mgmt::V2020_09_30_preview::Models::GalleryOSDiskImage
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_osdisk_image.rb
Overview
This is the OS disk image.
Instance Attribute Summary
Attributes inherited from GalleryDiskImage
#host_caching, #size_in_gb, #source
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for GalleryOSDiskImage class as Ruby Hash.
Class Method Details
.mapper ⇒ Object
Mapper for GalleryOSDiskImage class as Ruby Hash. This will be used for serialization/deserialization.
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_osdisk_image.rb', line 20 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'GalleryOSDiskImage', type: { name: 'Composite', class_name: 'GalleryOSDiskImage', model_properties: { size_in_gb: { client_side_validation: true, required: false, read_only: true, serialized_name: 'sizeInGB', type: { name: 'Number' } }, host_caching: { client_side_validation: true, required: false, serialized_name: 'hostCaching', type: { name: 'Enum', module: 'HostCaching' } }, source: { client_side_validation: true, required: false, serialized_name: 'source', type: { name: 'Composite', class_name: 'GalleryArtifactVersionSource' } } } } } end |