Class: Azure::Compute::Mgmt::V2019_07_01::Models::GalleryDataDiskImage
- Inherits:
-
GalleryDiskImage
- Object
- GalleryDiskImage
- Azure::Compute::Mgmt::V2019_07_01::Models::GalleryDataDiskImage
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_data_disk_image.rb
Overview
This is the data disk image.
Instance Attribute Summary collapse
-
#lun ⇒ Integer
the data disk.
Attributes inherited from GalleryDiskImage
#host_caching, #size_in_gb, #source
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for GalleryDataDiskImage class as Ruby Hash.
Instance Attribute Details
#lun ⇒ Integer
the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.
19 20 21 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_data_disk_image.rb', line 19 def lun @lun end |
Class Method Details
.mapper ⇒ Object
Mapper for GalleryDataDiskImage class as Ruby Hash. This will be used for serialization/deserialization.
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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_data_disk_image.rb', line 26 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'GalleryDataDiskImage', type: { name: 'Composite', class_name: 'GalleryDataDiskImage', 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' } }, lun: { client_side_validation: true, required: true, serialized_name: 'lun', type: { name: 'Number' } } } } } end |