azure_mgmt_operational_insights 0.15.1 → 0.15.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/core_summary.rb +3 -0
  3. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/link_target.rb +5 -0
  4. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/proxy_resource.rb +6 -0
  5. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/resource.rb +7 -0
  6. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_search.rb +9 -0
  7. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb +4 -0
  8. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_error.rb +3 -0
  9. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_get_schema_response.rb +4 -0
  10. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_highlight.rb +3 -0
  11. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb +20 -0
  12. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata_schema.rb +3 -0
  13. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_parameters.rb +6 -0
  14. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_results_response.rb +6 -0
  15. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_schema_value.rb +9 -0
  16. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_sort.rb +3 -0
  17. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_account.rb +3 -0
  18. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight.rb +13 -0
  19. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight_list_result.rb +4 -0
  20. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight_status.rb +3 -0
  21. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/tag.rb +3 -0
  22. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb +1 -3
  23. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/saved_searches.rb +15 -0
  24. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/storage_insights.rb +12 -0
  25. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/workspaces.rb +11 -0
  26. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/azure_log_analytics.rb +1 -3
  27. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/data_sources.rb +12 -0
  28. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/linked_services.rb +12 -0
  29. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source.rb +9 -0
  30. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source_filter.rb +2 -0
  31. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source_list_result.rb +4 -0
  32. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/intelligence_pack.rb +3 -0
  33. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/linked_service.rb +7 -0
  34. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/linked_service_list_result.rb +3 -0
  35. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/management_group.rb +9 -0
  36. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/metric_name.rb +3 -0
  37. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/proxy_resource.rb +6 -0
  38. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/resource.rb +7 -0
  39. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/shared_keys.rb +3 -0
  40. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/sku.rb +2 -0
  41. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/usage_metric.rb +7 -0
  42. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace.rb +14 -0
  43. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_management_groups_result.rb +3 -0
  44. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_result.rb +3 -0
  45. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_usages_result.rb +3 -0
  46. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/workspaces.rb +26 -0
  47. data/lib/profiles/latest/operationalinsights_latest_profile_client.rb +1 -3
  48. data/lib/version.rb +1 -1
  49. metadata +10 -9
  50. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/version.rb +0 -8
  51. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/version.rb +0 -8
  52. data/lib/profiles/common/configurable.rb +0 -86
  53. data/lib/profiles/common/default.rb +0 -57
@@ -80,6 +80,9 @@ module Azure::OperationalInsights::Mgmt::V2015_03_20
80
80
  #
81
81
  def create_or_update_async(resource_group_name, workspace_name, storage_insight_name, parameters, custom_headers = nil)
82
82
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
83
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
84
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
85
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
83
86
  fail ArgumentError, 'workspace_name is nil' if workspace_name.nil?
84
87
  fail ArgumentError, 'storage_insight_name is nil' if storage_insight_name.nil?
85
88
  fail ArgumentError, 'parameters is nil' if parameters.nil?
@@ -204,6 +207,9 @@ module Azure::OperationalInsights::Mgmt::V2015_03_20
204
207
  #
205
208
  def get_async(resource_group_name, workspace_name, storage_insight_name, custom_headers = nil)
206
209
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
210
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
211
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
212
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
207
213
  fail ArgumentError, 'workspace_name is nil' if workspace_name.nil?
208
214
  fail ArgumentError, 'storage_insight_name is nil' if storage_insight_name.nil?
209
215
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -307,6 +313,9 @@ module Azure::OperationalInsights::Mgmt::V2015_03_20
307
313
  #
308
314
  def delete_async(resource_group_name, workspace_name, storage_insight_name, custom_headers = nil)
309
315
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
316
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
317
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
318
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
310
319
  fail ArgumentError, 'workspace_name is nil' if workspace_name.nil?
311
320
  fail ArgumentError, 'storage_insight_name is nil' if storage_insight_name.nil?
312
321
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -395,6 +404,9 @@ module Azure::OperationalInsights::Mgmt::V2015_03_20
395
404
  #
396
405
  def list_by_workspace_async(resource_group_name, workspace_name, custom_headers = nil)
397
406
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
407
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
408
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
409
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
398
410
  fail ArgumentError, 'workspace_name is nil' if workspace_name.nil?
399
411
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
400
412
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -98,11 +98,13 @@ module Azure::OperationalInsights::Mgmt::V2015_03_20
98
98
  begin
99
99
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
100
100
  result_mapper = {
101
+ client_side_validation: true,
101
102
  required: false,
102
103
  serialized_name: 'parsed_response',
103
104
  type: {
104
105
  name: 'Sequence',
105
106
  element: {
107
+ client_side_validation: true,
106
108
  required: false,
107
109
  serialized_name: 'LinkTargetElementType',
108
110
  type: {
@@ -168,6 +170,9 @@ module Azure::OperationalInsights::Mgmt::V2015_03_20
168
170
  #
169
171
  def get_schema_async(resource_group_name, workspace_name, custom_headers = nil)
170
172
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
173
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
174
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
175
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
171
176
  fail ArgumentError, 'workspace_name is nil' if workspace_name.nil?
172
177
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
173
178
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -318,6 +323,9 @@ module Azure::OperationalInsights::Mgmt::V2015_03_20
318
323
  #
319
324
  def update_search_results_async(resource_group_name, workspace_name, id, custom_headers = nil)
320
325
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
326
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
327
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
328
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
321
329
  fail ArgumentError, 'workspace_name is nil' if workspace_name.nil?
322
330
  fail ArgumentError, 'id is nil' if id.nil?
323
331
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -425,6 +433,9 @@ module Azure::OperationalInsights::Mgmt::V2015_03_20
425
433
  #
426
434
  def begin_get_search_results_async(resource_group_name, workspace_name, parameters, custom_headers = nil)
427
435
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
436
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
437
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
438
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
428
439
  fail ArgumentError, 'workspace_name is nil' if workspace_name.nil?
429
440
  fail ArgumentError, 'parameters is nil' if parameters.nil?
430
441
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -130,9 +130,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
130
130
  #
131
131
  def add_telemetry
132
132
  sdk_information = 'azure_mgmt_operational_insights'
133
- if defined? Azure::OperationalInsights::Mgmt::V2015_11_01_preview::VERSION
134
- sdk_information = "#{sdk_information}/#{Azure::OperationalInsights::Mgmt::V2015_11_01_preview::VERSION}"
135
- end
133
+ sdk_information = "#{sdk_information}/0.15.2"
136
134
  add_user_agent_information(sdk_information)
137
135
  end
138
136
  end
@@ -77,6 +77,9 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
77
77
  #
78
78
  def create_or_update_async(resource_group_name, workspace_name, data_source_name, parameters, custom_headers = nil)
79
79
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
80
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
81
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
82
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
80
83
  fail ArgumentError, 'workspace_name is nil' if workspace_name.nil?
81
84
  fail ArgumentError, 'data_source_name is nil' if data_source_name.nil?
82
85
  fail ArgumentError, 'parameters is nil' if parameters.nil?
@@ -197,6 +200,9 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
197
200
  #
198
201
  def delete_async(resource_group_name, workspace_name, data_source_name, custom_headers = nil)
199
202
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
203
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
204
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
205
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
200
206
  fail ArgumentError, 'workspace_name is nil' if workspace_name.nil?
201
207
  fail ArgumentError, 'data_source_name is nil' if data_source_name.nil?
202
208
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -288,6 +294,9 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
288
294
  #
289
295
  def get_async(resource_group_name, workspace_name, data_source_name, custom_headers = nil)
290
296
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
297
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
298
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
299
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
291
300
  fail ArgumentError, 'workspace_name is nil' if workspace_name.nil?
292
301
  fail ArgumentError, 'data_source_name is nil' if data_source_name.nil?
293
302
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -395,6 +404,9 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
395
404
  #
396
405
  def list_by_workspace_async(resource_group_name, workspace_name, filter, skiptoken = nil, custom_headers = nil)
397
406
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
407
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
408
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
409
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
398
410
  fail ArgumentError, 'workspace_name is nil' if workspace_name.nil?
399
411
  fail ArgumentError, 'filter is nil' if filter.nil?
400
412
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -77,6 +77,9 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
77
77
  #
78
78
  def create_or_update_async(resource_group_name, workspace_name, linked_service_name, parameters, custom_headers = nil)
79
79
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
80
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
81
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
82
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
80
83
  fail ArgumentError, 'workspace_name is nil' if workspace_name.nil?
81
84
  fail ArgumentError, 'linked_service_name is nil' if linked_service_name.nil?
82
85
  fail ArgumentError, 'parameters is nil' if parameters.nil?
@@ -197,6 +200,9 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
197
200
  #
198
201
  def delete_async(resource_group_name, workspace_name, linked_service_name, custom_headers = nil)
199
202
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
203
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
204
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
205
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
200
206
  fail ArgumentError, 'workspace_name is nil' if workspace_name.nil?
201
207
  fail ArgumentError, 'linked_service_name is nil' if linked_service_name.nil?
202
208
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -288,6 +294,9 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
288
294
  #
289
295
  def get_async(resource_group_name, workspace_name, linked_service_name, custom_headers = nil)
290
296
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
297
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
298
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
299
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
291
300
  fail ArgumentError, 'workspace_name is nil' if workspace_name.nil?
292
301
  fail ArgumentError, 'linked_service_name is nil' if linked_service_name.nil?
293
302
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -386,6 +395,9 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
386
395
  #
387
396
  def list_by_workspace_async(resource_group_name, workspace_name, custom_headers = nil)
388
397
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
398
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
399
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
400
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
389
401
  fail ArgumentError, 'workspace_name is nil' if workspace_name.nil?
390
402
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
391
403
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -34,6 +34,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
34
34
  #
35
35
  def self.mapper()
36
36
  {
37
+ client_side_validation: true,
37
38
  required: false,
38
39
  serialized_name: 'DataSource',
39
40
  type: {
@@ -41,6 +42,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
41
42
  class_name: 'DataSource',
42
43
  model_properties: {
43
44
  id: {
45
+ client_side_validation: true,
44
46
  required: false,
45
47
  read_only: true,
46
48
  serialized_name: 'id',
@@ -49,6 +51,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
49
51
  }
50
52
  },
51
53
  name: {
54
+ client_side_validation: true,
52
55
  required: false,
53
56
  read_only: true,
54
57
  serialized_name: 'name',
@@ -57,6 +60,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
57
60
  }
58
61
  },
59
62
  type: {
63
+ client_side_validation: true,
60
64
  required: false,
61
65
  read_only: true,
62
66
  serialized_name: 'type',
@@ -65,11 +69,13 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
65
69
  }
66
70
  },
67
71
  tags: {
72
+ client_side_validation: true,
68
73
  required: false,
69
74
  serialized_name: 'tags',
70
75
  type: {
71
76
  name: 'Dictionary',
72
77
  value: {
78
+ client_side_validation: true,
73
79
  required: false,
74
80
  serialized_name: 'StringElementType',
75
81
  type: {
@@ -79,6 +85,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
79
85
  }
80
86
  },
81
87
  properties: {
88
+ client_side_validation: true,
82
89
  required: true,
83
90
  serialized_name: 'properties',
84
91
  type: {
@@ -86,6 +93,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
86
93
  }
87
94
  },
88
95
  e_tag: {
96
+ client_side_validation: true,
89
97
  required: false,
90
98
  serialized_name: 'eTag',
91
99
  type: {
@@ -93,6 +101,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
93
101
  }
94
102
  },
95
103
  kind: {
104
+ client_side_validation: true,
96
105
  required: true,
97
106
  serialized_name: 'kind',
98
107
  type: {
@@ -27,6 +27,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
27
27
  #
28
28
  def self.mapper()
29
29
  {
30
+ client_side_validation: true,
30
31
  required: false,
31
32
  serialized_name: 'DataSourceFilter',
32
33
  type: {
@@ -34,6 +35,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
34
35
  class_name: 'DataSourceFilter',
35
36
  model_properties: {
36
37
  kind: {
38
+ client_side_validation: true,
37
39
  required: false,
38
40
  serialized_name: 'kind',
39
41
  type: {
@@ -57,6 +57,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
57
57
  #
58
58
  def self.mapper()
59
59
  {
60
+ client_side_validation: true,
60
61
  required: false,
61
62
  serialized_name: 'DataSourceListResult',
62
63
  type: {
@@ -64,11 +65,13 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
64
65
  class_name: 'DataSourceListResult',
65
66
  model_properties: {
66
67
  value: {
68
+ client_side_validation: true,
67
69
  required: false,
68
70
  serialized_name: 'value',
69
71
  type: {
70
72
  name: 'Sequence',
71
73
  element: {
74
+ client_side_validation: true,
72
75
  required: false,
73
76
  serialized_name: 'DataSourceElementType',
74
77
  type: {
@@ -79,6 +82,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
79
82
  }
80
83
  },
81
84
  next_link: {
85
+ client_side_validation: true,
82
86
  required: false,
83
87
  serialized_name: 'nextLink',
84
88
  type: {
@@ -26,6 +26,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
26
26
  #
27
27
  def self.mapper()
28
28
  {
29
+ client_side_validation: true,
29
30
  required: false,
30
31
  serialized_name: 'IntelligencePack',
31
32
  type: {
@@ -33,6 +34,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
33
34
  class_name: 'IntelligencePack',
34
35
  model_properties: {
35
36
  name: {
37
+ client_side_validation: true,
36
38
  required: false,
37
39
  serialized_name: 'name',
38
40
  type: {
@@ -40,6 +42,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
40
42
  }
41
43
  },
42
44
  enabled: {
45
+ client_side_validation: true,
43
46
  required: false,
44
47
  serialized_name: 'enabled',
45
48
  type: {
@@ -23,6 +23,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
23
23
  #
24
24
  def self.mapper()
25
25
  {
26
+ client_side_validation: true,
26
27
  required: false,
27
28
  serialized_name: 'LinkedService',
28
29
  type: {
@@ -30,6 +31,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
30
31
  class_name: 'LinkedService',
31
32
  model_properties: {
32
33
  id: {
34
+ client_side_validation: true,
33
35
  required: false,
34
36
  read_only: true,
35
37
  serialized_name: 'id',
@@ -38,6 +40,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
38
40
  }
39
41
  },
40
42
  name: {
43
+ client_side_validation: true,
41
44
  required: false,
42
45
  read_only: true,
43
46
  serialized_name: 'name',
@@ -46,6 +49,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
46
49
  }
47
50
  },
48
51
  type: {
52
+ client_side_validation: true,
49
53
  required: false,
50
54
  read_only: true,
51
55
  serialized_name: 'type',
@@ -54,11 +58,13 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
54
58
  }
55
59
  },
56
60
  tags: {
61
+ client_side_validation: true,
57
62
  required: false,
58
63
  serialized_name: 'tags',
59
64
  type: {
60
65
  name: 'Dictionary',
61
66
  value: {
67
+ client_side_validation: true,
62
68
  required: false,
63
69
  serialized_name: 'StringElementType',
64
70
  type: {
@@ -68,6 +74,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
68
74
  }
69
75
  },
70
76
  resource_id: {
77
+ client_side_validation: true,
71
78
  required: true,
72
79
  serialized_name: 'properties.resourceId',
73
80
  type: {
@@ -23,6 +23,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
23
23
  #
24
24
  def self.mapper()
25
25
  {
26
+ client_side_validation: true,
26
27
  required: false,
27
28
  serialized_name: 'LinkedServiceListResult',
28
29
  type: {
@@ -30,11 +31,13 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
30
31
  class_name: 'LinkedServiceListResult',
31
32
  model_properties: {
32
33
  value: {
34
+ client_side_validation: true,
33
35
  required: false,
34
36
  serialized_name: 'value',
35
37
  type: {
36
38
  name: 'Sequence',
37
39
  element: {
40
+ client_side_validation: true,
38
41
  required: false,
39
42
  serialized_name: 'LinkedServiceElementType',
40
43
  type: {
@@ -48,6 +48,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
48
48
  #
49
49
  def self.mapper()
50
50
  {
51
+ client_side_validation: true,
51
52
  required: false,
52
53
  serialized_name: 'ManagementGroup',
53
54
  type: {
@@ -55,6 +56,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
55
56
  class_name: 'ManagementGroup',
56
57
  model_properties: {
57
58
  server_count: {
59
+ client_side_validation: true,
58
60
  required: false,
59
61
  serialized_name: 'properties.serverCount',
60
62
  type: {
@@ -62,6 +64,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
62
64
  }
63
65
  },
64
66
  is_gateway: {
67
+ client_side_validation: true,
65
68
  required: false,
66
69
  serialized_name: 'properties.isGateway',
67
70
  type: {
@@ -69,6 +72,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
69
72
  }
70
73
  },
71
74
  name: {
75
+ client_side_validation: true,
72
76
  required: false,
73
77
  serialized_name: 'properties.name',
74
78
  type: {
@@ -76,6 +80,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
76
80
  }
77
81
  },
78
82
  id: {
83
+ client_side_validation: true,
79
84
  required: false,
80
85
  serialized_name: 'properties.id',
81
86
  type: {
@@ -83,6 +88,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
83
88
  }
84
89
  },
85
90
  created: {
91
+ client_side_validation: true,
86
92
  required: false,
87
93
  serialized_name: 'properties.created',
88
94
  type: {
@@ -90,6 +96,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
90
96
  }
91
97
  },
92
98
  data_received: {
99
+ client_side_validation: true,
93
100
  required: false,
94
101
  serialized_name: 'properties.dataReceived',
95
102
  type: {
@@ -97,6 +104,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
97
104
  }
98
105
  },
99
106
  version: {
107
+ client_side_validation: true,
100
108
  required: false,
101
109
  serialized_name: 'properties.version',
102
110
  type: {
@@ -104,6 +112,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
104
112
  }
105
113
  },
106
114
  sku: {
115
+ client_side_validation: true,
107
116
  required: false,
108
117
  serialized_name: 'properties.sku',
109
118
  type: {