class Azure::DevTestLabs::Mgmt::V2018_09_15::Models::Formula
A formula for creating a VM, specifying an image base and other parameters
Attributes
creation_date[RW]
@return [DateTime] The creation date of the formula.
description[RW]
@return [String] The description of the formula.
formula_content[RW]
@return [LabVirtualMachineCreationParameter] The content of the formula.
os_type[RW]
@return [String] The OS type of the formula.
provisioning_state[RW]
@return [String] The provisioning status of the resource.
unique_identifier[RW]
@return [String] The unique immutable identifier of a resource (Guid).
vm[RW]
@return [FormulaPropertiesFromVm] Information about a VM from which a formula is to be created.
Private Class Methods
mapper()
click to toggle source
Mapper for Formula
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/formula.rb, line 47 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Formula', type: { name: 'Composite', class_name: 'Formula', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, 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' } }, creation_date: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationDate', type: { name: 'DateTime' } }, formula_content: { client_side_validation: true, required: false, serialized_name: 'properties.formulaContent', type: { name: 'Composite', class_name: 'LabVirtualMachineCreationParameter' } }, vm: { client_side_validation: true, required: false, serialized_name: 'properties.vm', type: { name: 'Composite', class_name: 'FormulaPropertiesFromVm' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, unique_identifier: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.uniqueIdentifier', type: { name: 'String' } } } } } end