Sha256: 9f24c5de0a9057279dce885208e4a8ca1a4e166ed3ab95415e3a4b3706c08f98

Contents?: true

Size: 1.36 KB

Versions: 1

Compression:

Stored size: 1.36 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.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 [SkuFamily] SKU family name. Possible values include: '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: false,
                serialized_name: 'family',
                type: {
                  name: 'String'
                }
              },
              name: {
                required: true,
                serialized_name: 'name',
                type: {
                  name: 'Enum',
                  module: 'SkuName'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_key_vault-0.4.0 lib/generated/azure_mgmt_key_vault/models/sku.rb