Class: Azure::Compute::Mgmt::V2019_12_01::Models::ImageDataDisk
- Inherits:
-
ImageDisk
- Object
- ImageDisk
- Azure::Compute::Mgmt::V2019_12_01::Models::ImageDataDisk
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-12-01/generated/azure_mgmt_compute/models/image_data_disk.rb
Overview
Describes a data disk.
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.
Attributes inherited from ImageDisk
#blob_uri, #caching, #disk_encryption_set, #disk_size_gb, #managed_disk, #snapshot, #storage_account_type
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ImageDataDisk 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/2019-12-01/generated/azure_mgmt_compute/models/image_data_disk.rb', line 18 def lun @lun end |
Class Method Details
.mapper ⇒ Object
Mapper for ImageDataDisk 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 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 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 |
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/image_data_disk.rb', line 25 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ImageDataDisk', type: { name: 'Composite', class_name: 'ImageDataDisk', model_properties: { snapshot: { client_side_validation: true, required: false, serialized_name: 'snapshot', type: { name: 'Composite', class_name: 'SubResource' } }, managed_disk: { client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { name: 'Composite', class_name: 'SubResource' } }, blob_uri: { client_side_validation: true, required: false, serialized_name: 'blobUri', type: { name: 'String' } }, caching: { client_side_validation: true, required: false, serialized_name: 'caching', type: { name: 'Enum', module: 'CachingTypes' } }, disk_size_gb: { client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { name: 'Number' } }, storage_account_type: { client_side_validation: true, required: false, serialized_name: 'storageAccountType', type: { name: 'String' } }, disk_encryption_set: { client_side_validation: true, required: false, serialized_name: 'diskEncryptionSet', type: { name: 'Composite', class_name: 'DiskEncryptionSetParameters' } }, lun: { client_side_validation: true, required: true, serialized_name: 'lun', type: { name: 'Number' } } } } } end |