# 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::KeyVault::Mgmt::V2016_10_01
  module Models
    #
    # SKU details
    #
    class Sku

      include MsRestAzure

      # @return [String] SKU family name. Default value: 'A' .
      attr_accessor :family

      # @return [SkuName] SKU name to specify whether the key vault is a
      # standard vault or a premium vault. Possible values include: 'standard',
      # 'premium'
      attr_accessor :name


      #
      # Mapper for Sku class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'Sku',
          type: {
            name: 'Composite',
            class_name: 'Sku',
            model_properties: {
              family: {
                client_side_validation: true,
                required: true,
                is_constant: true,
                serialized_name: 'family',
                default_value: 'A',
                type: {
                  name: 'String'
                }
              },
              name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'name',
                type: {
                  name: 'Enum',
                  module: 'SkuName'
                }
              }
            }
          }
        }
      end
    end
  end
end
