# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Compute::Mgmt::V2018_06_01 module Models # # The instance view of the VM Agent running on the virtual machine. # class VirtualMachineAgentInstanceView include MsRestAzure # @return [String] The VM Agent full version. attr_accessor :vm_agent_version # @return [Array] The virtual # machine extension handler instance view. attr_accessor :extension_handlers # @return [Array] The resource status information. attr_accessor :statuses # # Mapper for VirtualMachineAgentInstanceView class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VirtualMachineAgentInstanceView', type: { name: 'Composite', class_name: 'VirtualMachineAgentInstanceView', model_properties: { vm_agent_version: { client_side_validation: true, required: false, serialized_name: 'vmAgentVersion', type: { name: 'String' } }, extension_handlers: { client_side_validation: true, required: false, serialized_name: 'extensionHandlers', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionHandlerInstanceViewElementType', type: { name: 'Composite', class_name: 'VirtualMachineExtensionHandlerInstanceView' } } } }, statuses: { client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { name: 'Composite', class_name: 'InstanceViewStatus' } } } } } } } end end end end