Sha256: dd4ad21844b9c5a10306b1e11770d791586439caedeaa8a92de646c13decd32e

Contents?: true

Size: 1.42 KB

Versions: 2

Compression:

Stored size: 1.42 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::KeyVault
  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()
        {
          required: false,
          serialized_name: 'Sku',
          type: {
            name: 'Composite',
            class_name: 'Sku',
            model_properties: {
              family: {
                required: true,
                is_constant: true,
                serialized_name: 'family',
                default_value: 'A',
                type: {
                  name: 'String'
                }
              },
              name: {
                required: true,
                serialized_name: 'name',
                type: {
                  name: 'Enum',
                  module: 'SkuName'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_key_vault-0.9.0 lib/generated/azure_mgmt_key_vault/models/sku.rb
azure_mgmt_key_vault-0.8.0 lib/generated/azure_mgmt_key_vault/models/sku.rb