class Azure::Compute::Mgmt::V2020_09_30::Models::ImageDiskReference
The source image used for creating the disk.
Attributes
id[RW]
@return [String] A relative uri containing either a Platform Image Repository or user image reference.
lun[RW]
@return [Integer] If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.
Private Class Methods
mapper()
click to toggle source
Mapper for ImageDiskReference
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-09-30/generated/azure_mgmt_compute/models/image_disk_reference.rb, line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ImageDiskReference', type: { name: 'Composite', class_name: 'ImageDiskReference', model_properties: { id: { client_side_validation: true, required: true, serialized_name: 'id', type: { name: 'String' } }, lun: { client_side_validation: true, required: false, serialized_name: 'lun', type: { name: 'Number' } } } } } end