azure_mgmt_operational_insights 0.17.2 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (133) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-03-20/generated/azure_mgmt_operational_insights.rb +15 -16
  3. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/available_service_tier.rb +124 -0
  4. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/operation.rb +1 -1
  5. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/operation_display.rb +1 -1
  6. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/operation_list_result.rb +3 -3
  7. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_search.rb +5 -5
  8. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb +4 -3
  9. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/{search_highlight.rb → shared_keys.rb} +13 -13
  10. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/sku_name_enum.rb +21 -0
  11. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight_list_result.rb +1 -2
  12. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_body_filters.rb +14 -1
  13. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb +3 -5
  14. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/operations.rb +2 -0
  15. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/saved_searches.rb +69 -175
  16. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/storage_insights.rb +36 -52
  17. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/workspaces.rb +319 -169
  18. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights.rb +9 -7
  19. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/data_sources.rb +10 -0
  20. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/linked_services.rb +8 -0
  21. data/lib/{2015-03-20/generated/azure_mgmt_operational_insights/models/search_error.rb → 2015-11-01-preview/generated/azure_mgmt_operational_insights/models/error_response.rb} +11 -11
  22. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/operation_status.rb +102 -0
  23. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/sku.rb +2 -2
  24. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/sku_name_enum.rb +1 -1
  25. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace.rb +9 -10
  26. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_management_groups_result.rb +1 -1
  27. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb +95 -1
  28. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/operations.rb +4 -0
  29. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/workspaces.rb +24 -0
  30. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights.rb +123 -0
  31. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/available_service_tiers.rb +146 -0
  32. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/clusters.rb +959 -0
  33. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/data_exports.rb +523 -0
  34. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/data_sources.rb +603 -0
  35. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/deleted_workspaces.rb +211 -0
  36. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/gateways.rb +123 -0
  37. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/intelligence_packs.rb +351 -0
  38. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/linked_services.rb +577 -0
  39. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/linked_storage_accounts.rb +481 -0
  40. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/management_groups.rb +130 -0
  41. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/available_service_tier.rb +124 -0
  42. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/azure_entity_resource.rb +75 -0
  43. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster.rb +159 -0
  44. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster_entity_status.rb +21 -0
  45. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster_error_response.rb +48 -0
  46. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster_list_result.rb +98 -0
  47. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster_patch.rb +78 -0
  48. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster_sku.rb +58 -0
  49. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster_sku_name_enum.rb +15 -0
  50. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/core_summary.rb +57 -0
  51. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_export.rb +174 -0
  52. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_export_error_response.rb +48 -0
  53. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_export_list_result.rb +56 -0
  54. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_ingestion_status.rb +20 -0
  55. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_source.rb +130 -0
  56. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_source_filter.rb +61 -0
  57. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_source_kind.rb +47 -0
  58. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_source_list_result.rb +98 -0
  59. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_source_type.rb +16 -0
  60. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/error_additional_info.rb +59 -0
  61. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/error_contract.rb +49 -0
  62. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/error_response.rb +113 -0
  63. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/identity.rb +72 -0
  64. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/identity_type.rb +16 -0
  65. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/intelligence_pack.rb +69 -0
  66. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/key_vault_properties.rb +71 -0
  67. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/linked_service.rb +120 -0
  68. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/linked_service_entity_status.rb +18 -0
  69. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/linked_service_list_result.rb +55 -0
  70. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/linked_storage_accounts_list_result.rb +56 -0
  71. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/linked_storage_accounts_resource.rb +95 -0
  72. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/management_group.rb +128 -0
  73. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/metric_name.rb +57 -0
  74. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/operation.rb +59 -0
  75. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/operation_display.rb +79 -0
  76. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/operation_list_result.rb +101 -0
  77. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/operation_status.rb +102 -0
  78. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/private_link_scoped_resource.rb +58 -0
  79. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/proxy_resource.rb +63 -0
  80. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/public_network_access_type.rb +16 -0
  81. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/purge_state.rb +16 -0
  82. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/resource.rb +83 -0
  83. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/saved_search.rb +165 -0
  84. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb +55 -0
  85. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/search_get_schema_response.rb +67 -0
  86. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/search_metadata.rb +241 -0
  87. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/search_metadata_schema.rb +57 -0
  88. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/search_schema_value.rb +123 -0
  89. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/search_sort.rb +58 -0
  90. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/search_sort_enum.rb +16 -0
  91. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/shared_keys.rb +57 -0
  92. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/sku_name_enum.rb +21 -0
  93. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/storage_account.rb +58 -0
  94. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/storage_insight.rb +157 -0
  95. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/storage_insight_list_result.rb +98 -0
  96. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/storage_insight_state.rb +16 -0
  97. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/storage_insight_status.rb +58 -0
  98. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/table.rb +79 -0
  99. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/tables_list_result.rb +55 -0
  100. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/tag.rb +57 -0
  101. data/lib/{2015-03-20/generated/azure_mgmt_operational_insights/models/search_results_response.rb → 2020-03-01-preview/generated/azure_mgmt_operational_insights/models/tracked_resource.rb} +33 -31
  102. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/type.rb +16 -0
  103. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/usage_metric.rb +103 -0
  104. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace.rb +214 -0
  105. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_capping.rb +73 -0
  106. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_entity_status.rb +21 -0
  107. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_management_groups_result.rb +56 -0
  108. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_result.rb +55 -0
  109. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_usages_result.rb +56 -0
  110. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_patch.rb +207 -0
  111. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_purge_body.rb +67 -0
  112. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_purge_body_filters.rb +85 -0
  113. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_purge_response.rb +47 -0
  114. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_purge_status_response.rb +47 -0
  115. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_sku.rb +85 -0
  116. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_sku_name_enum.rb +21 -0
  117. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/module_definition.rb +9 -0
  118. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/operation_statuses.rb +121 -0
  119. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb +207 -0
  120. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/operations.rb +220 -0
  121. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/saved_searches.rb +457 -0
  122. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/schema.rb +130 -0
  123. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/shared_keys_operations.rb +238 -0
  124. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/storage_insight_configs.rb +592 -0
  125. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/tables.rb +359 -0
  126. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/usages.rb +130 -0
  127. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/workspace_purge.rb +277 -0
  128. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/workspaces.rb +768 -0
  129. data/lib/azure_mgmt_operational_insights.rb +1 -0
  130. data/lib/profiles/latest/modules/operationalinsights_profile_module.rb +291 -145
  131. data/lib/version.rb +1 -1
  132. metadata +109 -9
  133. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_parameters.rb +0 -94
@@ -0,0 +1,241 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::OperationalInsights::Mgmt::V2020_03_01_preview
7
+ module Models
8
+ #
9
+ # Metadata for search results.
10
+ #
11
+ class SearchMetadata
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The request id of the search.
16
+ attr_accessor :search_id
17
+
18
+ # @return [String] The search result type.
19
+ attr_accessor :result_type
20
+
21
+ # @return [Integer] The total number of search results.
22
+ attr_accessor :total
23
+
24
+ # @return [Integer] The number of top search results.
25
+ attr_accessor :top
26
+
27
+ # @return [String] The id of the search results request.
28
+ attr_accessor :id
29
+
30
+ # @return [Array<CoreSummary>] The core summaries.
31
+ attr_accessor :core_summaries
32
+
33
+ # @return [String] The status of the search results.
34
+ attr_accessor :status
35
+
36
+ # @return [DateTime] The start time for the search.
37
+ attr_accessor :start_time
38
+
39
+ # @return [DateTime] The time of last update.
40
+ attr_accessor :last_updated
41
+
42
+ # @return [String] The ETag of the search results.
43
+ attr_accessor :e_tag
44
+
45
+ # @return [Array<SearchSort>] How the results are sorted.
46
+ attr_accessor :sort
47
+
48
+ # @return [Integer] The request time.
49
+ attr_accessor :request_time
50
+
51
+ # @return [String] The aggregated value field.
52
+ attr_accessor :aggregated_value_field
53
+
54
+ # @return [String] The aggregated grouping fields.
55
+ attr_accessor :aggregated_grouping_fields
56
+
57
+ # @return [Integer] The sum of all aggregates returned in the result set.
58
+ attr_accessor :sum
59
+
60
+ # @return [Integer] The max of all aggregates returned in the result set.
61
+ attr_accessor :max
62
+
63
+ # @return [SearchMetadataSchema] The schema.
64
+ attr_accessor :schema
65
+
66
+
67
+ #
68
+ # Mapper for SearchMetadata class as Ruby Hash.
69
+ # This will be used for serialization/deserialization.
70
+ #
71
+ def self.mapper()
72
+ {
73
+ client_side_validation: true,
74
+ required: false,
75
+ serialized_name: 'SearchMetadata',
76
+ type: {
77
+ name: 'Composite',
78
+ class_name: 'SearchMetadata',
79
+ model_properties: {
80
+ search_id: {
81
+ client_side_validation: true,
82
+ required: false,
83
+ serialized_name: 'requestId',
84
+ type: {
85
+ name: 'String'
86
+ }
87
+ },
88
+ result_type: {
89
+ client_side_validation: true,
90
+ required: false,
91
+ serialized_name: 'resultType',
92
+ type: {
93
+ name: 'String'
94
+ }
95
+ },
96
+ total: {
97
+ client_side_validation: true,
98
+ required: false,
99
+ serialized_name: 'total',
100
+ type: {
101
+ name: 'Number'
102
+ }
103
+ },
104
+ top: {
105
+ client_side_validation: true,
106
+ required: false,
107
+ serialized_name: 'top',
108
+ type: {
109
+ name: 'Number'
110
+ }
111
+ },
112
+ id: {
113
+ client_side_validation: true,
114
+ required: false,
115
+ serialized_name: 'id',
116
+ type: {
117
+ name: 'String'
118
+ }
119
+ },
120
+ core_summaries: {
121
+ client_side_validation: true,
122
+ required: false,
123
+ serialized_name: 'coreSummaries',
124
+ type: {
125
+ name: 'Sequence',
126
+ element: {
127
+ client_side_validation: true,
128
+ required: false,
129
+ serialized_name: 'CoreSummaryElementType',
130
+ type: {
131
+ name: 'Composite',
132
+ class_name: 'CoreSummary'
133
+ }
134
+ }
135
+ }
136
+ },
137
+ status: {
138
+ client_side_validation: true,
139
+ required: false,
140
+ serialized_name: 'status',
141
+ type: {
142
+ name: 'String'
143
+ }
144
+ },
145
+ start_time: {
146
+ client_side_validation: true,
147
+ required: false,
148
+ serialized_name: 'startTime',
149
+ type: {
150
+ name: 'DateTime'
151
+ }
152
+ },
153
+ last_updated: {
154
+ client_side_validation: true,
155
+ required: false,
156
+ serialized_name: 'lastUpdated',
157
+ type: {
158
+ name: 'DateTime'
159
+ }
160
+ },
161
+ e_tag: {
162
+ client_side_validation: true,
163
+ required: false,
164
+ serialized_name: 'eTag',
165
+ type: {
166
+ name: 'String'
167
+ }
168
+ },
169
+ sort: {
170
+ client_side_validation: true,
171
+ required: false,
172
+ serialized_name: 'sort',
173
+ type: {
174
+ name: 'Sequence',
175
+ element: {
176
+ client_side_validation: true,
177
+ required: false,
178
+ serialized_name: 'SearchSortElementType',
179
+ type: {
180
+ name: 'Composite',
181
+ class_name: 'SearchSort'
182
+ }
183
+ }
184
+ }
185
+ },
186
+ request_time: {
187
+ client_side_validation: true,
188
+ required: false,
189
+ serialized_name: 'requestTime',
190
+ type: {
191
+ name: 'Number'
192
+ }
193
+ },
194
+ aggregated_value_field: {
195
+ client_side_validation: true,
196
+ required: false,
197
+ serialized_name: 'aggregatedValueField',
198
+ type: {
199
+ name: 'String'
200
+ }
201
+ },
202
+ aggregated_grouping_fields: {
203
+ client_side_validation: true,
204
+ required: false,
205
+ serialized_name: 'aggregatedGroupingFields',
206
+ type: {
207
+ name: 'String'
208
+ }
209
+ },
210
+ sum: {
211
+ client_side_validation: true,
212
+ required: false,
213
+ serialized_name: 'sum',
214
+ type: {
215
+ name: 'Number'
216
+ }
217
+ },
218
+ max: {
219
+ client_side_validation: true,
220
+ required: false,
221
+ serialized_name: 'max',
222
+ type: {
223
+ name: 'Number'
224
+ }
225
+ },
226
+ schema: {
227
+ client_side_validation: true,
228
+ required: false,
229
+ serialized_name: 'schema',
230
+ type: {
231
+ name: 'Composite',
232
+ class_name: 'SearchMetadataSchema'
233
+ }
234
+ }
235
+ }
236
+ }
237
+ }
238
+ end
239
+ end
240
+ end
241
+ end
@@ -0,0 +1,57 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::OperationalInsights::Mgmt::V2020_03_01_preview
7
+ module Models
8
+ #
9
+ # Schema metadata for search.
10
+ #
11
+ class SearchMetadataSchema
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The name of the metadata schema.
16
+ attr_accessor :name
17
+
18
+ # @return [Integer] The version of the metadata schema.
19
+ attr_accessor :version
20
+
21
+
22
+ #
23
+ # Mapper for SearchMetadataSchema class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'SearchMetadataSchema',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'SearchMetadataSchema',
34
+ model_properties: {
35
+ name: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'name',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ version: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'version',
47
+ type: {
48
+ name: 'Number'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,123 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::OperationalInsights::Mgmt::V2020_03_01_preview
7
+ module Models
8
+ #
9
+ # Value object for schema results.
10
+ #
11
+ class SearchSchemaValue
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The name of the schema.
16
+ attr_accessor :name
17
+
18
+ # @return [String] The display name of the schema.
19
+ attr_accessor :display_name
20
+
21
+ # @return [String] The type.
22
+ attr_accessor :type
23
+
24
+ # @return [Boolean] The boolean that indicates the field is searchable as
25
+ # free text.
26
+ attr_accessor :indexed
27
+
28
+ # @return [Boolean] The boolean that indicates whether or not the field
29
+ # is stored.
30
+ attr_accessor :stored
31
+
32
+ # @return [Boolean] The boolean that indicates whether or not the field
33
+ # is a facet.
34
+ attr_accessor :facet
35
+
36
+ # @return [Array<String>] The array of workflows containing the field.
37
+ attr_accessor :owner_type
38
+
39
+
40
+ #
41
+ # Mapper for SearchSchemaValue class as Ruby Hash.
42
+ # This will be used for serialization/deserialization.
43
+ #
44
+ def self.mapper()
45
+ {
46
+ client_side_validation: true,
47
+ required: false,
48
+ serialized_name: 'SearchSchemaValue',
49
+ type: {
50
+ name: 'Composite',
51
+ class_name: 'SearchSchemaValue',
52
+ model_properties: {
53
+ name: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ serialized_name: 'name',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ display_name: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ serialized_name: 'displayName',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ type: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ serialized_name: 'type',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ },
77
+ indexed: {
78
+ client_side_validation: true,
79
+ required: true,
80
+ serialized_name: 'indexed',
81
+ type: {
82
+ name: 'Boolean'
83
+ }
84
+ },
85
+ stored: {
86
+ client_side_validation: true,
87
+ required: true,
88
+ serialized_name: 'stored',
89
+ type: {
90
+ name: 'Boolean'
91
+ }
92
+ },
93
+ facet: {
94
+ client_side_validation: true,
95
+ required: true,
96
+ serialized_name: 'facet',
97
+ type: {
98
+ name: 'Boolean'
99
+ }
100
+ },
101
+ owner_type: {
102
+ client_side_validation: true,
103
+ required: false,
104
+ serialized_name: 'ownerType',
105
+ type: {
106
+ name: 'Sequence',
107
+ element: {
108
+ client_side_validation: true,
109
+ required: false,
110
+ serialized_name: 'StringElementType',
111
+ type: {
112
+ name: 'String'
113
+ }
114
+ }
115
+ }
116
+ }
117
+ }
118
+ }
119
+ }
120
+ end
121
+ end
122
+ end
123
+ end
@@ -0,0 +1,58 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::OperationalInsights::Mgmt::V2020_03_01_preview
7
+ module Models
8
+ #
9
+ # The sort parameters for search.
10
+ #
11
+ class SearchSort
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The name of the field the search query is sorted on.
16
+ attr_accessor :name
17
+
18
+ # @return [SearchSortEnum] The sort order of the search. Possible values
19
+ # include: 'asc', 'desc'
20
+ attr_accessor :order
21
+
22
+
23
+ #
24
+ # Mapper for SearchSort class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ client_side_validation: true,
30
+ required: false,
31
+ serialized_name: 'SearchSort',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'SearchSort',
35
+ model_properties: {
36
+ name: {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'name',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ order: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ serialized_name: 'order',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
55
+ end
56
+ end
57
+ end
58
+ end