class Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImagePropertiesFromVm
Properties for creating a custom image from a virtual machine.
Attributes
linux_os_info[RW]
@return [LinuxOsInfo] The Linux OS information of the VM.
source_vm_id[RW]
@return [String] The source vm identifier.
windows_os_info[RW]
@return [WindowsOsInfo] The Windows OS information of the VM.
Public Class Methods
mapper()
click to toggle source
Mapper for CustomImagePropertiesFromVm
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_vm.rb, line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CustomImagePropertiesFromVm', type: { name: 'Composite', class_name: 'CustomImagePropertiesFromVm', model_properties: { source_vm_id: { client_side_validation: true, required: false, serialized_name: 'sourceVmId', type: { name: 'String' } }, windows_os_info: { client_side_validation: true, required: false, serialized_name: 'windowsOsInfo', type: { name: 'Composite', class_name: 'WindowsOsInfo' } }, linux_os_info: { client_side_validation: true, required: false, serialized_name: 'linuxOsInfo', type: { name: 'Composite', class_name: 'LinuxOsInfo' } } } } } end