Class: Azure::ARM::Search::Models::SearchServiceResource

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#idString

Returns The resource Id of the Azure Search service.

Returns:

  • (String)

    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

#locationString

Returns The geographic location of the Search service.

Returns:

  • (String)

    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

#nameString

Returns The name of the Search service.

Returns:

  • (String)

    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

#propertiesSearchServiceReadableProperties

service.

Returns:



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

def properties
  @properties
end

#tagsHash{String => String}

service in the Azure Portal.

Returns:

  • (Hash{String => String})

    Tags to help categorize the Search



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

def tags
  @tags
end

Class Method Details

.mapperObject

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