# 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::DevTestLabs::Mgmt::V2016_05_15
  module Models
    #
    # Parameters for generating an ARM template for deploying artifacts.
    #
    class GenerateArmTemplateRequest

      include MsRestAzure

      # @return [String] The resource name of the virtual machine.
      attr_accessor :virtual_machine_name

      # @return [Array<ParameterInfo>] The parameters of the ARM template.
      attr_accessor :parameters

      # @return [String] The location of the virtual machine.
      attr_accessor :location

      # @return [FileUploadOptions] Options for uploading the files for the
      # artifact. UploadFilesAndGenerateSasTokens is the default value.
      # Possible values include: 'UploadFilesAndGenerateSasTokens', 'None'
      attr_accessor :file_upload_options


      #
      # Mapper for GenerateArmTemplateRequest class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'GenerateArmTemplateRequest',
          type: {
            name: 'Composite',
            class_name: 'GenerateArmTemplateRequest',
            model_properties: {
              virtual_machine_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'virtualMachineName',
                type: {
                  name: 'String'
                }
              },
              parameters: {
                client_side_validation: true,
                required: false,
                serialized_name: 'parameters',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'ParameterInfoElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'ParameterInfo'
                      }
                  }
                }
              },
              location: {
                client_side_validation: true,
                required: false,
                serialized_name: 'location',
                type: {
                  name: 'String'
                }
              },
              file_upload_options: {
                client_side_validation: true,
                required: false,
                serialized_name: 'fileUploadOptions',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
