class Azure::DevTestLabs::Mgmt::V2018_09_15::Models::DataDiskPropertiesFragment
Request body for adding a new or existing data disk to a virtual machine.
Attributes
attach_new_data_disk_options[RW]
@return [AttachNewDataDiskOptionsFragment] Specifies options to attach a new disk to the virtual machine.
existing_lab_disk_id[RW]
@return [String] Specifies the existing lab disk id to attach to virtual machine.
host_caching[RW]
@return [HostCachingOptions] Caching option for a data disk (i.e. None, ReadOnly, ReadWrite). Possible values include: 'None', 'ReadOnly', 'ReadWrite'
Private Class Methods
mapper()
click to toggle source
Mapper for DataDiskPropertiesFragment
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/data_disk_properties_fragment.rb, line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DataDiskPropertiesFragment', type: { name: 'Composite', class_name: 'DataDiskPropertiesFragment', model_properties: { attach_new_data_disk_options: { client_side_validation: true, required: false, serialized_name: 'attachNewDataDiskOptions', type: { name: 'Composite', class_name: 'AttachNewDataDiskOptionsFragment' } }, existing_lab_disk_id: { client_side_validation: true, required: false, serialized_name: 'existingLabDiskId', type: { name: 'String' } }, host_caching: { client_side_validation: true, required: false, serialized_name: 'hostCaching', type: { name: 'String' } } } } } end