azure_mgmt_advisor 0.17.0 → 0.17.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2016-07-12-preview/generated/azure_mgmt_advisor/advisor_management_client.rb +1 -1
  3. data/lib/2016-07-12-preview/generated/azure_mgmt_advisor/operations.rb +4 -0
  4. data/lib/2016-07-12-preview/generated/azure_mgmt_advisor/recommendations.rb +10 -0
  5. data/lib/2016-07-12-preview/generated/azure_mgmt_advisor/suppressions.rb +8 -0
  6. data/lib/2017-03-31/generated/azure_mgmt_advisor/advisor_management_client.rb +1 -1
  7. data/lib/2017-03-31/generated/azure_mgmt_advisor/operations.rb +4 -0
  8. data/lib/2017-03-31/generated/azure_mgmt_advisor/recommendations.rb +10 -0
  9. data/lib/2017-03-31/generated/azure_mgmt_advisor/suppressions.rb +8 -0
  10. data/lib/2017-04-19/generated/azure_mgmt_advisor/advisor_management_client.rb +1 -1
  11. data/lib/2017-04-19/generated/azure_mgmt_advisor/configurations.rb +10 -0
  12. data/lib/2017-04-19/generated/azure_mgmt_advisor/operations.rb +4 -0
  13. data/lib/2017-04-19/generated/azure_mgmt_advisor/recommendations.rb +10 -0
  14. data/lib/2017-04-19/generated/azure_mgmt_advisor/suppressions.rb +10 -0
  15. data/lib/2020-01-01/generated/azure_mgmt_advisor.rb +56 -0
  16. data/lib/2020-01-01/generated/azure_mgmt_advisor/advisor_management_client.rb +148 -0
  17. data/lib/2020-01-01/generated/azure_mgmt_advisor/configurations.rb +547 -0
  18. data/lib/2020-01-01/generated/azure_mgmt_advisor/models/arm_error_response.rb +48 -0
  19. data/lib/2020-01-01/generated/azure_mgmt_advisor/models/armerror_response_body.rb +59 -0
  20. data/lib/2020-01-01/generated/azure_mgmt_advisor/models/category.rb +19 -0
  21. data/lib/2020-01-01/generated/azure_mgmt_advisor/models/config_data.rb +108 -0
  22. data/lib/2020-01-01/generated/azure_mgmt_advisor/models/configuration_list_result.rb +98 -0
  23. data/lib/2020-01-01/generated/azure_mgmt_advisor/models/cpu_threshold.rb +18 -0
  24. data/lib/2020-01-01/generated/azure_mgmt_advisor/models/digest_config.rb +115 -0
  25. data/lib/2020-01-01/generated/azure_mgmt_advisor/models/digest_config_state.rb +16 -0
  26. data/lib/2020-01-01/generated/azure_mgmt_advisor/models/impact.rb +17 -0
  27. data/lib/2020-01-01/generated/azure_mgmt_advisor/models/metadata_entity.rb +140 -0
  28. data/lib/2020-01-01/generated/azure_mgmt_advisor/models/metadata_entity_list_result.rb +98 -0
  29. data/lib/2020-01-01/generated/azure_mgmt_advisor/models/metadata_supported_value_detail.rb +57 -0
  30. data/lib/2020-01-01/generated/azure_mgmt_advisor/models/operation_display_info.rb +80 -0
  31. data/lib/2020-01-01/generated/azure_mgmt_advisor/models/operation_entity.rb +58 -0
  32. data/lib/2020-01-01/generated/azure_mgmt_advisor/models/operation_entity_list_result.rb +98 -0
  33. data/lib/2020-01-01/generated/azure_mgmt_advisor/models/resource.rb +80 -0
  34. data/lib/2020-01-01/generated/azure_mgmt_advisor/models/resource_metadata.rb +57 -0
  35. data/lib/2020-01-01/generated/azure_mgmt_advisor/models/resource_recommendation_base.rb +225 -0
  36. data/lib/2020-01-01/generated/azure_mgmt_advisor/models/resource_recommendation_base_list_result.rb +99 -0
  37. data/lib/2020-01-01/generated/azure_mgmt_advisor/models/risk.rb +17 -0
  38. data/lib/2020-01-01/generated/azure_mgmt_advisor/models/scenario.rb +15 -0
  39. data/lib/2020-01-01/generated/azure_mgmt_advisor/models/short_description.rb +59 -0
  40. data/lib/2020-01-01/generated/azure_mgmt_advisor/models/suppression_contract.rb +85 -0
  41. data/lib/2020-01-01/generated/azure_mgmt_advisor/models/suppression_contract_list_result.rb +98 -0
  42. data/lib/2020-01-01/generated/azure_mgmt_advisor/module_definition.rb +9 -0
  43. data/lib/2020-01-01/generated/azure_mgmt_advisor/operations.rb +219 -0
  44. data/lib/2020-01-01/generated/azure_mgmt_advisor/recommendation_metadata.rb +318 -0
  45. data/lib/2020-01-01/generated/azure_mgmt_advisor/recommendations.rb +513 -0
  46. data/lib/2020-01-01/generated/azure_mgmt_advisor/suppressions.rb +563 -0
  47. data/lib/azure_mgmt_advisor.rb +2 -1
  48. data/lib/profiles/latest/modules/advisor_profile_module.rb +80 -46
  49. data/lib/version.rb +1 -1
  50. metadata +37 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 5496ee4e00d604b4b90c5f40c8e953e1d6c57191
4
- data.tar.gz: bd345c1f3e458ac888fa81bdd57ce6d102f5622c
2
+ SHA256:
3
+ metadata.gz: 70e59781a44c8f387bb9a312966c0d5e285eee6627649918287b5ace9831d87c
4
+ data.tar.gz: 37003387215ade7c6014ec30a617ae004ab77e2f112ecfaa394ffc4dc6f6fa85
5
5
  SHA512:
6
- metadata.gz: 70b920d8da450bcd5011cd806132495022105c6592da005f39037030c11987b6c4aba10ee25c5d44e6210b14ccd45588d5bd2c0c7a9114e33947924954532a71
7
- data.tar.gz: 36406a65c9ab9abdd0b2d84375b941607e2b6cbf5f99ced90b29632bebf4080dd165e6578eb7cd5c0920802533313025c84546a44f39862561cc41c460f10b42
6
+ metadata.gz: a38abb0bc0c20956ca266ff10170c603d4d4573767fa4250e545fc10b21ed8c44bc17fda65268dd4aea3e7a4b1d6b6ee747a070e685c023492a78535fe602e39
7
+ data.tar.gz: 88b30c598061895ac975c6dcfc85f82349193c90903cb85752de53b6a184b69057239c58817e0d5e732aa13a527ef08e5d3c0b50bace3e8e00319bb7af4a0018
@@ -133,7 +133,7 @@ module Azure::Advisor::Mgmt::V2016_07_12_preview
133
133
  #
134
134
  def add_telemetry
135
135
  sdk_information = 'azure_mgmt_advisor'
136
- sdk_information = "#{sdk_information}/0.17.0"
136
+ sdk_information = "#{sdk_information}/0.17.1"
137
137
  add_user_agent_information(sdk_information)
138
138
  end
139
139
  end
@@ -86,6 +86,8 @@ module Azure::Advisor::Mgmt::V2016_07_12_preview
86
86
  end
87
87
 
88
88
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
89
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
90
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
89
91
  # Deserialize Response
90
92
  if status_code == 200
91
93
  begin
@@ -174,6 +176,8 @@ module Azure::Advisor::Mgmt::V2016_07_12_preview
174
176
  end
175
177
 
176
178
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
179
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
180
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
177
181
  # Deserialize Response
178
182
  if status_code == 200
179
183
  begin
@@ -93,6 +93,8 @@ module Azure::Advisor::Mgmt::V2016_07_12_preview
93
93
  end
94
94
 
95
95
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
96
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
97
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
96
98
 
97
99
  result
98
100
  end
@@ -179,6 +181,8 @@ module Azure::Advisor::Mgmt::V2016_07_12_preview
179
181
  end
180
182
 
181
183
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
184
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
185
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
182
186
 
183
187
  result
184
188
  end
@@ -271,6 +275,8 @@ module Azure::Advisor::Mgmt::V2016_07_12_preview
271
275
  end
272
276
 
273
277
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
278
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
279
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
274
280
  # Deserialize Response
275
281
  if status_code == 200
276
282
  begin
@@ -365,6 +371,8 @@ module Azure::Advisor::Mgmt::V2016_07_12_preview
365
371
  end
366
372
 
367
373
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
374
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
375
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
368
376
  # Deserialize Response
369
377
  if status_code == 200
370
378
  begin
@@ -456,6 +464,8 @@ module Azure::Advisor::Mgmt::V2016_07_12_preview
456
464
  end
457
465
 
458
466
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
467
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
468
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
459
469
  # Deserialize Response
460
470
  if status_code == 200
461
471
  begin
@@ -102,6 +102,8 @@ module Azure::Advisor::Mgmt::V2016_07_12_preview
102
102
  end
103
103
 
104
104
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
105
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
106
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
105
107
  # Deserialize Response
106
108
  if status_code == 200
107
109
  begin
@@ -220,6 +222,8 @@ module Azure::Advisor::Mgmt::V2016_07_12_preview
220
222
  end
221
223
 
222
224
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
225
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
226
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
223
227
  # Deserialize Response
224
228
  if status_code == 200
225
229
  begin
@@ -320,6 +324,8 @@ module Azure::Advisor::Mgmt::V2016_07_12_preview
320
324
  end
321
325
 
322
326
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
327
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
328
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
323
329
 
324
330
  result
325
331
  end
@@ -400,6 +406,8 @@ module Azure::Advisor::Mgmt::V2016_07_12_preview
400
406
  end
401
407
 
402
408
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
409
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
410
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
403
411
  # Deserialize Response
404
412
  if status_code == 200
405
413
  begin
@@ -133,7 +133,7 @@ module Azure::Advisor::Mgmt::V2017_03_31
133
133
  #
134
134
  def add_telemetry
135
135
  sdk_information = 'azure_mgmt_advisor'
136
- sdk_information = "#{sdk_information}/0.17.0"
136
+ sdk_information = "#{sdk_information}/0.17.1"
137
137
  add_user_agent_information(sdk_information)
138
138
  end
139
139
  end
@@ -86,6 +86,8 @@ module Azure::Advisor::Mgmt::V2017_03_31
86
86
  end
87
87
 
88
88
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
89
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
90
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
89
91
  # Deserialize Response
90
92
  if status_code == 200
91
93
  begin
@@ -174,6 +176,8 @@ module Azure::Advisor::Mgmt::V2017_03_31
174
176
  end
175
177
 
176
178
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
179
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
180
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
177
181
  # Deserialize Response
178
182
  if status_code == 200
179
183
  begin
@@ -93,6 +93,8 @@ module Azure::Advisor::Mgmt::V2017_03_31
93
93
  end
94
94
 
95
95
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
96
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
97
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
96
98
 
97
99
  result
98
100
  end
@@ -179,6 +181,8 @@ module Azure::Advisor::Mgmt::V2017_03_31
179
181
  end
180
182
 
181
183
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
184
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
185
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
182
186
 
183
187
  result
184
188
  end
@@ -271,6 +275,8 @@ module Azure::Advisor::Mgmt::V2017_03_31
271
275
  end
272
276
 
273
277
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
278
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
279
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
274
280
  # Deserialize Response
275
281
  if status_code == 200
276
282
  begin
@@ -365,6 +371,8 @@ module Azure::Advisor::Mgmt::V2017_03_31
365
371
  end
366
372
 
367
373
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
374
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
375
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
368
376
  # Deserialize Response
369
377
  if status_code == 200
370
378
  begin
@@ -456,6 +464,8 @@ module Azure::Advisor::Mgmt::V2017_03_31
456
464
  end
457
465
 
458
466
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
467
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
468
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
459
469
  # Deserialize Response
460
470
  if status_code == 200
461
471
  begin
@@ -102,6 +102,8 @@ module Azure::Advisor::Mgmt::V2017_03_31
102
102
  end
103
103
 
104
104
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
105
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
106
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
105
107
  # Deserialize Response
106
108
  if status_code == 200
107
109
  begin
@@ -220,6 +222,8 @@ module Azure::Advisor::Mgmt::V2017_03_31
220
222
  end
221
223
 
222
224
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
225
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
226
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
223
227
  # Deserialize Response
224
228
  if status_code == 200
225
229
  begin
@@ -320,6 +324,8 @@ module Azure::Advisor::Mgmt::V2017_03_31
320
324
  end
321
325
 
322
326
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
327
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
328
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
323
329
 
324
330
  result
325
331
  end
@@ -400,6 +406,8 @@ module Azure::Advisor::Mgmt::V2017_03_31
400
406
  end
401
407
 
402
408
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
409
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
410
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
403
411
  # Deserialize Response
404
412
  if status_code == 200
405
413
  begin
@@ -137,7 +137,7 @@ module Azure::Advisor::Mgmt::V2017_04_19
137
137
  #
138
138
  def add_telemetry
139
139
  sdk_information = 'azure_mgmt_advisor'
140
- sdk_information = "#{sdk_information}/0.17.0"
140
+ sdk_information = "#{sdk_information}/0.17.1"
141
141
  add_user_agent_information(sdk_information)
142
142
  end
143
143
  end
@@ -97,6 +97,8 @@ module Azure::Advisor::Mgmt::V2017_04_19
97
97
  end
98
98
 
99
99
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
100
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
101
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
100
102
  # Deserialize Response
101
103
  if status_code == 200
102
104
  begin
@@ -204,6 +206,8 @@ module Azure::Advisor::Mgmt::V2017_04_19
204
206
  end
205
207
 
206
208
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
209
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
210
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
207
211
  # Deserialize Response
208
212
  if status_code == 400
209
213
  begin
@@ -292,6 +296,8 @@ module Azure::Advisor::Mgmt::V2017_04_19
292
296
  end
293
297
 
294
298
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
299
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
300
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
295
301
  # Deserialize Response
296
302
  if status_code == 200
297
303
  begin
@@ -394,6 +400,8 @@ module Azure::Advisor::Mgmt::V2017_04_19
394
400
  end
395
401
 
396
402
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
403
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
404
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
397
405
  # Deserialize Response
398
406
  if status_code == 400
399
407
  begin
@@ -491,6 +499,8 @@ module Azure::Advisor::Mgmt::V2017_04_19
491
499
  end
492
500
 
493
501
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
502
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
503
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
494
504
  # Deserialize Response
495
505
  if status_code == 200
496
506
  begin
@@ -86,6 +86,8 @@ module Azure::Advisor::Mgmt::V2017_04_19
86
86
  end
87
87
 
88
88
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
89
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
90
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
89
91
  # Deserialize Response
90
92
  if status_code == 200
91
93
  begin
@@ -174,6 +176,8 @@ module Azure::Advisor::Mgmt::V2017_04_19
174
176
  end
175
177
 
176
178
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
179
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
180
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
177
181
  # Deserialize Response
178
182
  if status_code == 200
179
183
  begin
@@ -93,6 +93,8 @@ module Azure::Advisor::Mgmt::V2017_04_19
93
93
  end
94
94
 
95
95
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
96
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
97
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
96
98
 
97
99
  result
98
100
  end
@@ -179,6 +181,8 @@ module Azure::Advisor::Mgmt::V2017_04_19
179
181
  end
180
182
 
181
183
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
184
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
185
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
182
186
 
183
187
  result
184
188
  end
@@ -271,6 +275,8 @@ module Azure::Advisor::Mgmt::V2017_04_19
271
275
  end
272
276
 
273
277
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
278
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
279
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
274
280
  # Deserialize Response
275
281
  if status_code == 200
276
282
  begin
@@ -365,6 +371,8 @@ module Azure::Advisor::Mgmt::V2017_04_19
365
371
  end
366
372
 
367
373
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
374
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
375
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
368
376
  # Deserialize Response
369
377
  if status_code == 200
370
378
  begin
@@ -456,6 +464,8 @@ module Azure::Advisor::Mgmt::V2017_04_19
456
464
  end
457
465
 
458
466
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
467
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
468
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
459
469
  # Deserialize Response
460
470
  if status_code == 200
461
471
  begin
@@ -102,6 +102,8 @@ module Azure::Advisor::Mgmt::V2017_04_19
102
102
  end
103
103
 
104
104
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
105
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
106
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
105
107
  # Deserialize Response
106
108
  if status_code == 200
107
109
  begin
@@ -220,6 +222,8 @@ module Azure::Advisor::Mgmt::V2017_04_19
220
222
  end
221
223
 
222
224
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
225
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
226
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
223
227
  # Deserialize Response
224
228
  if status_code == 200
225
229
  begin
@@ -320,6 +324,8 @@ module Azure::Advisor::Mgmt::V2017_04_19
320
324
  end
321
325
 
322
326
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
327
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
328
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
323
329
 
324
330
  result
325
331
  end
@@ -412,6 +418,8 @@ module Azure::Advisor::Mgmt::V2017_04_19
412
418
  end
413
419
 
414
420
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
421
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
422
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
415
423
  # Deserialize Response
416
424
  if status_code == 200
417
425
  begin
@@ -506,6 +514,8 @@ module Azure::Advisor::Mgmt::V2017_04_19
506
514
  end
507
515
 
508
516
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
517
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
518
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
509
519
  # Deserialize Response
510
520
  if status_code == 200
511
521
  begin
@@ -0,0 +1,56 @@
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
+ require 'uri'
7
+ require 'cgi'
8
+ require 'date'
9
+ require 'json'
10
+ require 'base64'
11
+ require 'erb'
12
+ require 'securerandom'
13
+ require 'time'
14
+ require 'timeliness'
15
+ require 'faraday'
16
+ require 'faraday-cookie_jar'
17
+ require 'concurrent'
18
+ require 'ms_rest'
19
+ require '2020-01-01/generated/azure_mgmt_advisor/module_definition'
20
+ require 'ms_rest_azure'
21
+
22
+ module Azure::Advisor::Mgmt::V2020_01_01
23
+ autoload :RecommendationMetadata, '2020-01-01/generated/azure_mgmt_advisor/recommendation_metadata.rb'
24
+ autoload :Configurations, '2020-01-01/generated/azure_mgmt_advisor/configurations.rb'
25
+ autoload :Recommendations, '2020-01-01/generated/azure_mgmt_advisor/recommendations.rb'
26
+ autoload :Operations, '2020-01-01/generated/azure_mgmt_advisor/operations.rb'
27
+ autoload :Suppressions, '2020-01-01/generated/azure_mgmt_advisor/suppressions.rb'
28
+ autoload :AdvisorManagementClient, '2020-01-01/generated/azure_mgmt_advisor/advisor_management_client.rb'
29
+
30
+ module Models
31
+ autoload :ResourceMetadata, '2020-01-01/generated/azure_mgmt_advisor/models/resource_metadata.rb'
32
+ autoload :MetadataSupportedValueDetail, '2020-01-01/generated/azure_mgmt_advisor/models/metadata_supported_value_detail.rb'
33
+ autoload :MetadataEntity, '2020-01-01/generated/azure_mgmt_advisor/models/metadata_entity.rb'
34
+ autoload :MetadataEntityListResult, '2020-01-01/generated/azure_mgmt_advisor/models/metadata_entity_list_result.rb'
35
+ autoload :SuppressionContractListResult, '2020-01-01/generated/azure_mgmt_advisor/models/suppression_contract_list_result.rb'
36
+ autoload :ConfigurationListResult, '2020-01-01/generated/azure_mgmt_advisor/models/configuration_list_result.rb'
37
+ autoload :ResourceRecommendationBaseListResult, '2020-01-01/generated/azure_mgmt_advisor/models/resource_recommendation_base_list_result.rb'
38
+ autoload :ArmErrorResponse, '2020-01-01/generated/azure_mgmt_advisor/models/arm_error_response.rb'
39
+ autoload :Resource, '2020-01-01/generated/azure_mgmt_advisor/models/resource.rb'
40
+ autoload :DigestConfig, '2020-01-01/generated/azure_mgmt_advisor/models/digest_config.rb'
41
+ autoload :OperationDisplayInfo, '2020-01-01/generated/azure_mgmt_advisor/models/operation_display_info.rb'
42
+ autoload :ShortDescription, '2020-01-01/generated/azure_mgmt_advisor/models/short_description.rb'
43
+ autoload :OperationEntity, '2020-01-01/generated/azure_mgmt_advisor/models/operation_entity.rb'
44
+ autoload :ARMErrorResponseBody, '2020-01-01/generated/azure_mgmt_advisor/models/armerror_response_body.rb'
45
+ autoload :OperationEntityListResult, '2020-01-01/generated/azure_mgmt_advisor/models/operation_entity_list_result.rb'
46
+ autoload :ConfigData, '2020-01-01/generated/azure_mgmt_advisor/models/config_data.rb'
47
+ autoload :ResourceRecommendationBase, '2020-01-01/generated/azure_mgmt_advisor/models/resource_recommendation_base.rb'
48
+ autoload :SuppressionContract, '2020-01-01/generated/azure_mgmt_advisor/models/suppression_contract.rb'
49
+ autoload :Scenario, '2020-01-01/generated/azure_mgmt_advisor/models/scenario.rb'
50
+ autoload :CpuThreshold, '2020-01-01/generated/azure_mgmt_advisor/models/cpu_threshold.rb'
51
+ autoload :Category, '2020-01-01/generated/azure_mgmt_advisor/models/category.rb'
52
+ autoload :DigestConfigState, '2020-01-01/generated/azure_mgmt_advisor/models/digest_config_state.rb'
53
+ autoload :Impact, '2020-01-01/generated/azure_mgmt_advisor/models/impact.rb'
54
+ autoload :Risk, '2020-01-01/generated/azure_mgmt_advisor/models/risk.rb'
55
+ end
56
+ end