Sha256: 573c72ec45510653383ddc7fcb69de8382515f1881e14b868951da80bd5e8bc4

Contents?: true

Size: 1.89 KB

Versions: 4

Compression:

Stored size: 1.89 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::Search
  module Models
    #
    # Defines properties of an Azure Search service that can be modified.
    #
    class SearchServiceProperties

      include MsRestAzure

      # @return [Sku] The SKU of the Search Service, which determines price
      # tier and capacity limits.
      attr_accessor :sku

      # @return [Integer] The number of replicas in the Search service. If
      # specified, it must be a value between 1 and 6 inclusive.
      attr_accessor :replica_count

      # @return [Integer] The number of partitions in the Search service; if
      # specified, it can be 1, 2, 3, 4, 6, or 12.
      attr_accessor :partition_count


      #
      # Mapper for SearchServiceProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'SearchServiceProperties',
          type: {
            name: 'Composite',
            class_name: 'SearchServiceProperties',
            model_properties: {
              sku: {
                required: false,
                serialized_name: 'sku',
                type: {
                  name: 'Composite',
                  class_name: 'Sku'
                }
              },
              replica_count: {
                required: false,
                serialized_name: 'replicaCount',
                type: {
                  name: 'Number'
                }
              },
              partition_count: {
                required: false,
                serialized_name: 'partitionCount',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_search-0.7.0 lib/generated/azure_mgmt_search/models/search_service_properties.rb
azure_mgmt_search-0.6.0 lib/generated/azure_mgmt_search/models/search_service_properties.rb
azure_mgmt_search-0.5.0 lib/generated/azure_mgmt_search/models/search_service_properties.rb
azure_mgmt_search-0.4.0 lib/generated/azure_mgmt_search/models/search_service_properties.rb