Class: Azure::Compute::Mgmt::V2016_04_30_preview::Models::DataDiskImage
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2016_04_30_preview::Models::DataDiskImage
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk_image.rb
Overview
Contains the data disk images information.
Instance Attribute Summary collapse
-
#lun ⇒ Integer
This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DataDiskImage class as Ruby Hash.
Instance Attribute Details
#lun ⇒ Integer
This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
18 19 20 |
# File 'lib/2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk_image.rb', line 18 def lun @lun end |
Class Method Details
.mapper ⇒ Object
Mapper for DataDiskImage class as Ruby Hash. This will be used for serialization/deserialization.
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk_image.rb', line 25 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DataDiskImage', type: { name: 'Composite', class_name: 'DataDiskImage', model_properties: { lun: { client_side_validation: true, required: false, read_only: true, serialized_name: 'lun', type: { name: 'Number' } } } } } end |