# 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::Labservices::Mgmt::V2018_10_15
  module Models
    #
    # Represents resource specific settings
    #
    class ResourceSettingCreationParameters

      include MsRestAzure

      # @return [String] The location where the virtual machine will live
      attr_accessor :location

      # @return [String] The name of the resource setting
      attr_accessor :name

      # @return [String] The resource id of the gallery image used for creating
      # the virtual machine
      attr_accessor :gallery_image_resource_id

      # @return [ManagedLabVmSize] The size of the virtual machine. Possible
      # values include: 'Basic', 'Standard', 'Performance'
      attr_accessor :size

      # @return [ReferenceVmCreationParameters] Creation parameters for
      # Reference Vm
      attr_accessor :reference_vm_creation_parameters


      #
      # Mapper for ResourceSettingCreationParameters class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ResourceSettingCreationParameters',
          type: {
            name: 'Composite',
            class_name: 'ResourceSettingCreationParameters',
            model_properties: {
              location: {
                client_side_validation: true,
                required: false,
                serialized_name: 'location',
                type: {
                  name: 'String'
                }
              },
              name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              gallery_image_resource_id: {
                client_side_validation: true,
                required: true,
                serialized_name: 'galleryImageResourceId',
                type: {
                  name: 'String'
                }
              },
              size: {
                client_side_validation: true,
                required: false,
                serialized_name: 'size',
                type: {
                  name: 'String'
                }
              },
              reference_vm_creation_parameters: {
                client_side_validation: true,
                required: true,
                serialized_name: 'referenceVmCreationParameters',
                type: {
                  name: 'Composite',
                  class_name: 'ReferenceVmCreationParameters'
                }
              }
            }
          }
        }
      end
    end
  end
end
