# 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::DataFactory::Mgmt::V2018_06_01
  module Models
    #
    # Compute properties for data flow activity.
    #
    class ExecuteDataFlowActivityTypePropertiesCompute

      include MsRestAzure

      # @return Compute type of the cluster which will execute data flow job.
      # Possible values include: 'General', 'MemoryOptimized',
      # 'ComputeOptimized'. Type: string (or Expression with resultType string)
      attr_accessor :compute_type

      # @return Core count of the cluster which will execute data flow job.
      # Supported values are: 8, 16, 32, 48, 80, 144 and 272. Type: integer (or
      # Expression with resultType integer)
      attr_accessor :core_count


      #
      # Mapper for ExecuteDataFlowActivityTypePropertiesCompute class as Ruby
      # Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ExecuteDataFlowActivityTypeProperties_compute',
          type: {
            name: 'Composite',
            class_name: 'ExecuteDataFlowActivityTypePropertiesCompute',
            model_properties: {
              compute_type: {
                client_side_validation: true,
                required: false,
                serialized_name: 'computeType',
                type: {
                  name: 'Object'
                }
              },
              core_count: {
                client_side_validation: true,
                required: false,
                serialized_name: 'coreCount',
                type: {
                  name: 'Object'
                }
              }
            }
          }
        }
      end
    end
  end
end
