class Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineImageResource

Virtual machine image resource information.

Attributes

location[RW]

@return [String] The supported Azure location of the resource.

name[RW]

@return [String] The name of the resource.

tags[RW]

@return [Hash{String => String}] Specifies the tags that are assigned to the virtual machine. For more information about using tags, see [Using tags to organize your Azure resources](docs.microsoft.com/azure/azure-resource-manager/resource-group-using-tags.md).

Public Class Methods

mapper() click to toggle source

Mapper for VirtualMachineImageResource class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VirtualMachineImageResource',
    type: {
      name: 'Composite',
      class_name: 'VirtualMachineImageResource',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: true,
          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'
                }
            }
          }
        }
      }
    }
  }
end