# 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::Network::Mgmt::V2019_11_01
  module Models
    #
    # Definition of ExpressRouteLink Mac Security configuration.

    # ExpressRouteLink Mac Security Configuration.
    #
    class ExpressRouteLinkMacSecConfig

      include MsRestAzure

      # @return [String] Keyvault Secret Identifier URL containing Mac security
      # CKN key.
      attr_accessor :ckn_secret_identifier

      # @return [String] Keyvault Secret Identifier URL containing Mac security
      # CAK key.
      attr_accessor :cak_secret_identifier

      # @return [ExpressRouteLinkMacSecCipher] Mac security cipher. Possible
      # values include: 'gcm-aes-128', 'gcm-aes-256'
      attr_accessor :cipher


      #
      # Mapper for ExpressRouteLinkMacSecConfig class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ExpressRouteLinkMacSecConfig',
          type: {
            name: 'Composite',
            class_name: 'ExpressRouteLinkMacSecConfig',
            model_properties: {
              ckn_secret_identifier: {
                client_side_validation: true,
                required: false,
                serialized_name: 'cknSecretIdentifier',
                type: {
                  name: 'String'
                }
              },
              cak_secret_identifier: {
                client_side_validation: true,
                required: false,
                serialized_name: 'cakSecretIdentifier',
                type: {
                  name: 'String'
                }
              },
              cipher: {
                client_side_validation: true,
                required: false,
                serialized_name: 'cipher',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
