# 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::V2016_03_30 module Models # # Virtual machine image resource information. # class VirtualMachineImageResource < SubResource include MsRestAzure # @return [String] The name of the resource. attr_accessor :name # @return [String] The supported Azure location of the resource. attr_accessor :location # @return [Hash{String => String}] The tags attached to the resource. attr_accessor :tags # # Mapper for VirtualMachineImageResource class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'VirtualMachineImageResource', type: { name: 'Composite', class_name: 'VirtualMachineImageResource', model_properties: { id: { required: false, serialized_name: 'id', type: { name: 'String' } }, name: { required: true, serialized_name: 'name', type: { name: 'String' } }, location: { required: true, serialized_name: 'location', type: { name: 'String' } }, tags: { required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end end end end