# 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::MachineLearningServices::Mgmt::V2019_05_01
  module Models
    #
    # The ssl configuration for scoring
    #
    class SslConfiguration

      include MsRestAzure

      # @return [Enum] Enable or disable ssl for scoring. Possible values
      # include: 'Disabled', 'Enabled'
      attr_accessor :status

      # @return [String] Cert data
      attr_accessor :cert

      # @return [String] Key data
      attr_accessor :key

      # @return [String] CNAME of the cert
      attr_accessor :cname


      #
      # Mapper for SslConfiguration class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'SslConfiguration',
          type: {
            name: 'Composite',
            class_name: 'SslConfiguration',
            model_properties: {
              status: {
                client_side_validation: true,
                required: false,
                serialized_name: 'status',
                type: {
                  name: 'String'
                }
              },
              cert: {
                client_side_validation: true,
                required: false,
                serialized_name: 'cert',
                type: {
                  name: 'String'
                }
              },
              key: {
                client_side_validation: true,
                required: false,
                serialized_name: 'key',
                type: {
                  name: 'String'
                }
              },
              cname: {
                client_side_validation: true,
                required: false,
                serialized_name: 'cname',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
