Class: Azure::ARM::Search::Models::SearchServiceReadableProperties

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

Overview

Defines all the properties of an Azure Search service.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#partition_countInteger

specified, it can be 1, 2, 3, 4, 6, or 12.

Returns:

  • (Integer)

    The number of partitions in the Search service; if



38
39
40
# File 'lib/generated/azure_mgmt_search/models/search_service_readable_properties.rb', line 38

def partition_count
  @partition_count
end

#provisioning_stateProvisioningState

operation performed on the Search service. Possible values include: ‘succeeded’, ‘provisioning’, ‘failed’

Returns:



26
27
28
# File 'lib/generated/azure_mgmt_search/models/search_service_readable_properties.rb', line 26

def provisioning_state
  @provisioning_state
end

#replica_countInteger

specified, it must be a value between 1 and 6 inclusive.

Returns:

  • (Integer)

    The number of replicas in the Search service. If



34
35
36
# File 'lib/generated/azure_mgmt_search/models/search_service_readable_properties.rb', line 34

def replica_count
  @replica_count
end

#skuSku

tier and capacity limits.

Returns:

  • (Sku)

    The SKU of the Search Service, which determines price



30
31
32
# File 'lib/generated/azure_mgmt_search/models/search_service_readable_properties.rb', line 30

def sku
  @sku
end

#statusSearchServiceStatus

Possible values include: ‘running’, ‘provisioning’, ‘deleting’, ‘degraded’, ‘disabled’, ‘error’

Returns:



18
19
20
# File 'lib/generated/azure_mgmt_search/models/search_service_readable_properties.rb', line 18

def status
  @status
end

#status_detailsString

Returns The details of the Search service status.

Returns:

  • (String)

    The details of the Search service status.



21
22
23
# File 'lib/generated/azure_mgmt_search/models/search_service_readable_properties.rb', line 21

def status_details
  @status_details
end

Class Method Details

.mapperObject

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



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# File 'lib/generated/azure_mgmt_search/models/search_service_readable_properties.rb', line 45

def self.mapper()
  {
    required: false,
    serialized_name: 'SearchServiceReadableProperties',
    type: {
      name: 'Composite',
      class_name: 'SearchServiceReadableProperties',
      model_properties: {
        status: {
          required: false,
          read_only: true,
          serialized_name: 'status',
          type: {
            name: 'Enum',
            module: 'SearchServiceStatus'
          }
        },
        status_details: {
          required: false,
          read_only: true,
          serialized_name: 'statusDetails',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          required: false,
          read_only: true,
          serialized_name: 'provisioningState',
          type: {
            name: 'Enum',
            module: 'ProvisioningState'
          }
        },
        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