Class: Azure::ARM::Search::Models::SearchServiceResource
- Inherits:
-
Object
- Object
- Azure::ARM::Search::Models::SearchServiceResource
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_search/models/search_service_resource.rb
Overview
Describes an Azure Search service and its current state.
Instance Attribute Summary collapse
-
#id ⇒ String
The resource Id of the Azure Search service.
-
#location ⇒ String
The geographic location of the Search service.
-
#name ⇒ String
The name of the Search service.
-
#properties ⇒ SearchServiceReadableProperties
service.
-
#tags ⇒ Hash{String => String}
service in the Azure Portal.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SearchServiceResource class as Ruby Hash.
Instance Attribute Details
#id ⇒ String
Returns The resource Id of the Azure Search service.
16 17 18 |
# File 'lib/generated/azure_mgmt_search/models/search_service_resource.rb', line 16 def id @id end |
#location ⇒ String
Returns The geographic location of the Search service.
22 23 24 |
# File 'lib/generated/azure_mgmt_search/models/search_service_resource.rb', line 22 def location @location end |
#name ⇒ String
Returns The name of the Search service.
19 20 21 |
# File 'lib/generated/azure_mgmt_search/models/search_service_resource.rb', line 19 def name @name end |
#properties ⇒ SearchServiceReadableProperties
service.
30 31 32 |
# File 'lib/generated/azure_mgmt_search/models/search_service_resource.rb', line 30 def properties @properties end |
#tags ⇒ Hash{String => String}
service in the Azure Portal.
26 27 28 |
# File 'lib/generated/azure_mgmt_search/models/search_service_resource.rb', line 26 def @tags end |
Class Method Details
.mapper ⇒ Object
Mapper for SearchServiceResource class as Ruby Hash. This will be used for serialization/deserialization.
37 38 39 40 41 42 43 44 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 |
# File 'lib/generated/azure_mgmt_search/models/search_service_resource.rb', line 37 def self.mapper() { required: false, serialized_name: 'SearchServiceResource', type: { name: 'Composite', class_name: 'SearchServiceResource', model_properties: { id: { required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { required: false, serialized_name: 'name', type: { name: 'String' } }, location: { required: false, serialized_name: 'location', type: { name: 'String' } }, tags: { required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, properties: { required: false, read_only: true, serialized_name: 'properties', type: { name: 'Composite', class_name: 'SearchServiceReadableProperties' } } } } } end |