Class: Azure::ARM::Search::Models::Sku

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_search/models/sku.rb

Overview

Defines the SKU of an Azure Search Service, which determines price tier and capacity limits.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#nameSkuName

‘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’

Returns:

  • (SkuName)

    The SKU of the Search service. Valid values include:



25
26
27
# File 'lib/generated/azure_mgmt_search/models/sku.rb', line 25

def name
  @name
end

Class Method Details

.mapperObject

Mapper for Sku class as Ruby Hash. This will be used for serialization/deserialization.



32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# File 'lib/generated/azure_mgmt_search/models/sku.rb', line 32

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