Class: Azure::ARM::Search::Models::SearchServiceReadableProperties
- Inherits:
-
Object
- Object
- Azure::ARM::Search::Models::SearchServiceReadableProperties
- 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
-
#partition_count ⇒ Integer
specified, it can be 1, 2, 3, 4, 6, or 12.
-
#provisioning_state ⇒ ProvisioningState
operation performed on the Search service.
-
#replica_count ⇒ Integer
specified, it must be a value between 1 and 6 inclusive.
-
#sku ⇒ Sku
tier and capacity limits.
-
#status ⇒ SearchServiceStatus
Possible values include: ‘running’, ‘provisioning’, ‘deleting’, ‘degraded’, ‘disabled’, ‘error’.
-
#status_details ⇒ String
The details of the Search service status.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SearchServiceReadableProperties class as Ruby Hash.
Instance Attribute Details
#partition_count ⇒ Integer
specified, it can be 1, 2, 3, 4, 6, or 12.
38 39 40 |
# File 'lib/generated/azure_mgmt_search/models/search_service_readable_properties.rb', line 38 def partition_count @partition_count end |
#provisioning_state ⇒ ProvisioningState
operation performed on the Search service. Possible values include: ‘succeeded’, ‘provisioning’, ‘failed’
26 27 28 |
# File 'lib/generated/azure_mgmt_search/models/search_service_readable_properties.rb', line 26 def provisioning_state @provisioning_state end |
#replica_count ⇒ Integer
specified, it must be a value between 1 and 6 inclusive.
34 35 36 |
# File 'lib/generated/azure_mgmt_search/models/search_service_readable_properties.rb', line 34 def replica_count @replica_count end |
#sku ⇒ Sku
tier and capacity limits.
30 31 32 |
# File 'lib/generated/azure_mgmt_search/models/search_service_readable_properties.rb', line 30 def sku @sku end |
#status ⇒ SearchServiceStatus
Possible values include: ‘running’, ‘provisioning’, ‘deleting’, ‘degraded’, ‘disabled’, ‘error’
18 19 20 |
# File 'lib/generated/azure_mgmt_search/models/search_service_readable_properties.rb', line 18 def status @status end |
#status_details ⇒ String
Returns 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
.mapper ⇒ Object
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 |