Class: Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImagePropertiesFromVm
- Inherits:
-
Object
- Object
- Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImagePropertiesFromVm
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_vm.rb
Overview
Properties for creating a custom image from a virtual machine.
Instance Attribute Summary collapse
-
#linux_os_info ⇒ LinuxOsInfo
The Linux OS information of the VM.
-
#source_vm_id ⇒ String
The source vm identifier.
-
#windows_os_info ⇒ WindowsOsInfo
The Windows OS information of the VM.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CustomImagePropertiesFromVm class as Ruby Hash.
Instance Attribute Details
#linux_os_info ⇒ LinuxOsInfo
Returns The Linux OS information of the VM.
22 23 24 |
# File 'lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_vm.rb', line 22 def linux_os_info @linux_os_info end |
#source_vm_id ⇒ String
Returns The source vm identifier.
16 17 18 |
# File 'lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_vm.rb', line 16 def source_vm_id @source_vm_id end |
#windows_os_info ⇒ WindowsOsInfo
Returns The Windows OS information of the VM.
19 20 21 |
# File 'lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_vm.rb', line 19 def windows_os_info @windows_os_info end |
Class Method Details
.mapper ⇒ Object
Mapper for CustomImagePropertiesFromVm class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# 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 |