Sha256: 309ebd521bb67c55ea6153fb251169186e298736b6da9d76b9c9202cf4b9af1b

Contents?: true

Size: 1.61 KB

Versions: 2

Compression:

Stored size: 1.61 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::Search
  module Models
    #
    # Defines the SKU of an Azure Search Service, which determines price tier
    # and capacity limits.
    #
    class Sku

      include MsRestAzure

      # @return [SkuName] The SKU of the Search service. Valid values include:
      # 'free': Shared service. 'basic': Dedicated service with up to 3
      # replicas. 'standard': Dedicated service with up to 12 partitions and 12
      # replicas. 'standard2': Similar to standard, but with more capacity per
      # search unit. 'standard3': Offers maximum capacity per search unit with
      # up to 12 partitions and 12 replicas (or up to 3 partitions with more
      # indexes if you also set the hostingMode property to 'highDensity').
      # Possible values include: 'free', 'basic', 'standard', 'standard2',
      # 'standard3'
      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: {
              name: {
                required: false,
                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_search-0.9.0 lib/generated/azure_mgmt_search/models/sku.rb
azure_mgmt_search-0.8.0 lib/generated/azure_mgmt_search/models/sku.rb