class Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImagePropertiesCustom
Properties for creating a custom image from a VHD.
Attributes
image_name[RW]
@return [String] The image name.
os_type[RW]
@return [CustomImageOsType] The OS type of the custom image (i.e. Windows, Linux). Possible values include: 'Windows', 'Linux', 'None'
sys_prep[RW]
@return [Boolean] Indicates whether sysprep has been run on the VHD.
Public Class Methods
mapper()
click to toggle source
Mapper for CustomImagePropertiesCustom
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_custom.rb, line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CustomImagePropertiesCustom', type: { name: 'Composite', class_name: 'CustomImagePropertiesCustom', model_properties: { image_name: { client_side_validation: true, required: false, serialized_name: 'imageName', type: { name: 'String' } }, sys_prep: { client_side_validation: true, required: false, serialized_name: 'sysPrep', type: { name: 'Boolean' } }, os_type: { client_side_validation: true, required: true, serialized_name: 'osType', type: { name: 'String' } } } } } end