class Azure::DevTestLabs::Mgmt::V2018_09_15::Models::FormulaFragment
A formula for creating a VM, specifying an image base and other parameters
Attributes
description[RW]
@return [String] The description of the formula.
formula_content[RW]
@return [LabVirtualMachineCreationParameterFragment] The content of the formula.
os_type[RW]
@return [String] The OS type of the formula.
vm[RW]
@return [FormulaPropertiesFromVmFragment] Information about a VM from which a formula is to be created.
Private Class Methods
mapper()
click to toggle source
Mapper for FormulaFragment
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/formula_fragment.rb, line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'FormulaFragment', type: { name: 'Composite', class_name: 'FormulaFragment', model_properties: { tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, description: { client_side_validation: true, required: false, serialized_name: 'properties.description', type: { name: 'String' } }, author: { client_side_validation: true, required: false, serialized_name: 'properties.author', type: { name: 'String' } }, os_type: { client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { name: 'String' } }, formula_content: { client_side_validation: true, required: false, serialized_name: 'properties.formulaContent', type: { name: 'Composite', class_name: 'LabVirtualMachineCreationParameterFragment' } }, vm: { client_side_validation: true, required: false, serialized_name: 'properties.vm', type: { name: 'Composite', class_name: 'FormulaPropertiesFromVmFragment' } } } } } end