azure_mgmt_monitor 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 (340) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-04-01/generated/azure_mgmt_monitor.rb +11 -8
  3. data/lib/2015-04-01/generated/azure_mgmt_monitor/activity_logs.rb +28 -19
  4. data/lib/2015-04-01/generated/azure_mgmt_monitor/autoscale_settings.rb +16 -0
  5. data/lib/2015-04-01/generated/azure_mgmt_monitor/event_categories.rb +2 -0
  6. data/lib/2015-04-01/generated/azure_mgmt_monitor/models/metric_trigger.rb +35 -1
  7. data/lib/2015-04-01/generated/azure_mgmt_monitor/models/recurrence.rb +9 -9
  8. data/lib/2015-04-01/generated/azure_mgmt_monitor/models/recurrence_frequency.rb +22 -0
  9. data/lib/2015-04-01/generated/azure_mgmt_monitor/models/recurrent_schedule.rb +1 -1
  10. data/lib/2015-04-01/generated/azure_mgmt_monitor/models/scale_rule_metric_dimension.rb +80 -0
  11. data/lib/2015-04-01/generated/azure_mgmt_monitor/models/scale_rule_metric_dimension_operation_type.rb +16 -0
  12. data/lib/2015-04-01/generated/azure_mgmt_monitor/models/time_aggregation_type.rb +1 -0
  13. data/lib/2015-04-01/generated/azure_mgmt_monitor/models/time_window.rb +1 -1
  14. data/lib/2015-04-01/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
  15. data/lib/2015-04-01/generated/azure_mgmt_monitor/operations.rb +2 -0
  16. data/lib/2015-04-01/generated/azure_mgmt_monitor/tenant_activity_logs.rb +4 -0
  17. data/lib/2015-05-01/generated/azure_mgmt_monitor.rb +106 -0
  18. data/lib/2015-05-01/generated/azure_mgmt_monitor/analytics_items.rb +585 -0
  19. data/lib/2015-05-01/generated/azure_mgmt_monitor/annotations.rb +505 -0
  20. data/lib/2015-05-01/generated/azure_mgmt_monitor/apikeys.rb +473 -0
  21. data/lib/2015-05-01/generated/azure_mgmt_monitor/application_insights_management_client.rb +193 -0
  22. data/lib/2015-05-01/generated/azure_mgmt_monitor/component_available_features.rb +130 -0
  23. data/lib/2015-05-01/generated/azure_mgmt_monitor/component_current_billing_features.rb +252 -0
  24. data/lib/2015-05-01/generated/azure_mgmt_monitor/component_feature_capabilities.rb +130 -0
  25. data/lib/2015-05-01/generated/azure_mgmt_monitor/component_quota_status.rb +133 -0
  26. data/lib/2015-05-01/generated/azure_mgmt_monitor/components.rb +1134 -0
  27. data/lib/2015-05-01/generated/azure_mgmt_monitor/export_configurations.rb +646 -0
  28. data/lib/2015-05-01/generated/azure_mgmt_monitor/favorites.rb +653 -0
  29. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/annotation.rb +103 -0
  30. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/annotation_error.rb +70 -0
  31. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/annotations_list_result.rb +56 -0
  32. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/apikey_request.rb +84 -0
  33. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component.rb +261 -0
  34. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_analytics_item.rb +146 -0
  35. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_analytics_item_properties.rb +49 -0
  36. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_apikey.rb +121 -0
  37. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_apikey_list_result.rb +57 -0
  38. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_available_features.rb +58 -0
  39. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_billing_features.rb +70 -0
  40. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_data_volume_cap.rb +106 -0
  41. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_export_configuration.rb +277 -0
  42. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_export_request.rb +143 -0
  43. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_favorite.rb +182 -0
  44. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_feature.rb +153 -0
  45. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_feature_capabilities.rb +228 -0
  46. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_feature_capability.rb +108 -0
  47. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_list_result.rb +102 -0
  48. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_proactive_detection_configuration.rb +117 -0
  49. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_proactive_detection_configuration_rule_definitions.rb +130 -0
  50. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_quota_status.rb +74 -0
  51. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_web_test_location.rb +61 -0
  52. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_web_test_locations_list_result.rb +58 -0
  53. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_type.rb +16 -0
  54. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/category_type.rb +18 -0
  55. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/component_purge_body.rb +67 -0
  56. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/component_purge_body_filters.rb +85 -0
  57. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/component_purge_response.rb +47 -0
  58. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/component_purge_status_response.rb +47 -0
  59. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/components_resource.rb +101 -0
  60. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/error_field_contract.rb +68 -0
  61. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/error_response.rb +58 -0
  62. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/favorite_source_type.rb +22 -0
  63. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/favorite_type.rb +16 -0
  64. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/flow_type.rb +15 -0
  65. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/inner_error.rb +57 -0
  66. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/item_scope.rb +16 -0
  67. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/item_scope_path.rb +16 -0
  68. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/item_type.rb +18 -0
  69. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/item_type_parameter.rb +19 -0
  70. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/link_properties.rb +68 -0
  71. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/operation.rb +58 -0
  72. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/operation_display.rb +69 -0
  73. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/operation_list_result.rb +101 -0
  74. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/purge_state.rb +16 -0
  75. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/request_source.rb +15 -0
  76. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/shared_type_kind.rb +16 -0
  77. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/tags_resource.rb +55 -0
  78. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/web_test.rb +249 -0
  79. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/web_test_geolocation.rb +47 -0
  80. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/web_test_kind.rb +16 -0
  81. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/web_test_list_result.rb +101 -0
  82. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/web_test_properties_configuration.rb +47 -0
  83. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/webtests_resource.rb +101 -0
  84. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/work_item_configuration.rb +91 -0
  85. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/work_item_configuration_error.rb +70 -0
  86. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/work_item_configurations_list_result.rb +57 -0
  87. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/work_item_create_configuration.rb +87 -0
  88. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/workbook.rb +228 -0
  89. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/workbook_error.rb +79 -0
  90. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/workbook_resource.rb +101 -0
  91. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/workbooks_list_result.rb +56 -0
  92. data/lib/2015-05-01/generated/azure_mgmt_monitor/module_definition.rb +9 -0
  93. data/lib/2015-05-01/generated/azure_mgmt_monitor/operations.rb +220 -0
  94. data/lib/2015-05-01/generated/azure_mgmt_monitor/proactive_detection_configurations.rb +392 -0
  95. data/lib/2015-05-01/generated/azure_mgmt_monitor/web_test_locations.rb +133 -0
  96. data/lib/2015-05-01/generated/azure_mgmt_monitor/web_tests.rb +1103 -0
  97. data/lib/2015-05-01/generated/azure_mgmt_monitor/work_item_configurations.rb +708 -0
  98. data/lib/2015-05-01/generated/azure_mgmt_monitor/workbooks.rb +589 -0
  99. data/lib/2016-03-01/generated/azure_mgmt_monitor.rb +14 -14
  100. data/lib/2016-03-01/generated/azure_mgmt_monitor/alert_rule_incidents.rb +4 -0
  101. data/lib/2016-03-01/generated/azure_mgmt_monitor/alert_rules.rb +33 -21
  102. data/lib/2016-03-01/generated/azure_mgmt_monitor/log_profiles.rb +10 -0
  103. data/lib/2016-03-01/generated/azure_mgmt_monitor/metric_definitions.rb +2 -0
  104. data/lib/2016-03-01/generated/azure_mgmt_monitor/monitor_management_client.rb +5 -5
  105. data/lib/2016-09-01/generated/azure_mgmt_monitor/metrics.rb +2 -0
  106. data/lib/2016-09-01/generated/azure_mgmt_monitor/monitor_client.rb +1 -1
  107. data/lib/2016-09-01/generated/azure_mgmt_monitor/service_diagnostic_settings_operations.rb +6 -0
  108. data/lib/2017-04-01/generated/azure_mgmt_monitor/action_groups.rb +14 -0
  109. data/lib/2017-04-01/generated/azure_mgmt_monitor/activity_log_alerts.rb +12 -0
  110. data/lib/2017-04-01/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
  111. data/lib/2017-05-01-preview/generated/azure_mgmt_monitor.rb +16 -11
  112. data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/diagnostic_settings_category_operations.rb +4 -0
  113. data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/diagnostic_settings_operations.rb +8 -0
  114. data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/metric_definitions.rb +2 -0
  115. data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/metrics.rb +2 -0
  116. data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/diagnostic_settings_resource.rb +19 -5
  117. data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/response.rb +1 -1
  118. data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/subscription_diagnostic_settings_resource.rb +150 -0
  119. data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/subscription_diagnostic_settings_resource_collection.rb +57 -0
  120. data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/subscription_log_settings.rb +59 -0
  121. data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/subscription_proxy_only_resource.rb +82 -0
  122. data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +10 -5
  123. data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/subscription_diagnostic_settings_operations.rb +405 -0
  124. data/lib/2017-10-01-preview/generated/azure_mgmt_monitor.rb +34 -0
  125. data/lib/2017-10-01-preview/generated/azure_mgmt_monitor/application_insights_management_client.rb +146 -0
  126. data/lib/2017-10-01-preview/generated/azure_mgmt_monitor/component_current_pricing_plan.rb +377 -0
  127. data/lib/2017-10-01-preview/generated/azure_mgmt_monitor/easubscription_list_migration_date.rb +113 -0
  128. data/lib/2017-10-01-preview/generated/azure_mgmt_monitor/easubscription_migrate_to_new_pricing_model.rb +102 -0
  129. data/lib/2017-10-01-preview/generated/azure_mgmt_monitor/easubscription_rollback_to_legacy_pricing_model.rb +102 -0
  130. data/lib/2017-10-01-preview/generated/azure_mgmt_monitor/models/application_insights_component_pricing_plan.rb +143 -0
  131. data/lib/2017-10-01-preview/generated/azure_mgmt_monitor/models/easubscription_migration_date.rb +58 -0
  132. data/lib/2017-10-01-preview/generated/azure_mgmt_monitor/models/resource.rb +80 -0
  133. data/lib/2017-10-01-preview/generated/azure_mgmt_monitor/module_definition.rb +9 -0
  134. data/lib/2017-11-01-preview/generated/azure_mgmt_monitor/metric_baseline.rb +4 -0
  135. data/lib/2017-11-01-preview/generated/azure_mgmt_monitor/models/baseline_response.rb +1 -1
  136. data/lib/2017-11-01-preview/generated/azure_mgmt_monitor/models/calculate_baseline_response.rb +1 -1
  137. data/lib/2017-11-01-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
  138. data/lib/2017-12-01-preview/generated/azure_mgmt_monitor.rb +32 -0
  139. data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/metric_namespaces.rb +120 -0
  140. data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/error_response.rb +57 -0
  141. data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/metric_namespace.rb +81 -0
  142. data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/metric_namespace_collection.rb +55 -0
  143. data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/metric_namespace_name.rb +46 -0
  144. data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/module_definition.rb +9 -0
  145. data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +128 -0
  146. data/lib/2018-01-01/generated/azure_mgmt_monitor/metric_definitions.rb +2 -0
  147. data/lib/2018-01-01/generated/azure_mgmt_monitor/metrics.rb +2 -0
  148. data/lib/2018-01-01/generated/azure_mgmt_monitor/models/metric.rb +2 -1
  149. data/lib/2018-01-01/generated/azure_mgmt_monitor/models/metric_definition.rb +3 -2
  150. data/lib/2018-01-01/generated/azure_mgmt_monitor/models/metric_value.rb +3 -4
  151. data/lib/2018-01-01/generated/azure_mgmt_monitor/models/response.rb +1 -1
  152. data/lib/2018-01-01/generated/azure_mgmt_monitor/models/unit.rb +4 -0
  153. data/lib/2018-01-01/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
  154. data/lib/2018-03-01/generated/azure_mgmt_monitor.rb +25 -17
  155. data/lib/2018-03-01/generated/azure_mgmt_monitor/action_groups.rb +14 -0
  156. data/lib/2018-03-01/generated/azure_mgmt_monitor/metric_alerts.rb +22 -10
  157. data/lib/2018-03-01/generated/azure_mgmt_monitor/metric_alerts_status.rb +4 -0
  158. data/lib/2018-03-01/generated/azure_mgmt_monitor/models/dynamic_metric_criteria.rb +175 -0
  159. data/lib/2018-03-01/generated/azure_mgmt_monitor/models/dynamic_threshold_failing_periods.rb +61 -0
  160. data/lib/2018-03-01/generated/azure_mgmt_monitor/models/dynamic_threshold_operator.rb +17 -0
  161. data/lib/2018-03-01/generated/azure_mgmt_monitor/models/dynamic_threshold_sensitivity.rb +17 -0
  162. data/lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_action.rb +3 -3
  163. data/lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_criteria.rb +2 -0
  164. data/lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_multiple_resource_multiple_metric_criteria.rb +90 -0
  165. data/lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_resource.rb +27 -1
  166. data/lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_resource_patch.rb +27 -1
  167. data/lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_criteria.rb +56 -31
  168. data/lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_dimension.rb +2 -1
  169. data/lib/2018-03-01/generated/azure_mgmt_monitor/models/multi_metric_criteria.rb +142 -0
  170. data/lib/2018-03-01/generated/azure_mgmt_monitor/models/operator.rb +20 -0
  171. data/lib/2018-03-01/generated/azure_mgmt_monitor/models/webtest_location_availability_criteria.rb +98 -0
  172. data/lib/2018-03-01/generated/azure_mgmt_monitor/monitor_management_client.rb +5 -5
  173. data/lib/2018-04-16/generated/azure_mgmt_monitor.rb +8 -5
  174. data/lib/2018-04-16/generated/azure_mgmt_monitor/models/action.rb +1 -0
  175. data/lib/2018-04-16/generated/azure_mgmt_monitor/models/alerting_action.rb +2 -2
  176. data/lib/2018-04-16/generated/azure_mgmt_monitor/models/az_ns_action_group.rb +1 -1
  177. data/lib/2018-04-16/generated/azure_mgmt_monitor/models/criteria.rb +66 -0
  178. data/lib/2018-04-16/generated/azure_mgmt_monitor/models/dimension.rb +79 -0
  179. data/lib/2018-04-16/generated/azure_mgmt_monitor/models/log_search_rule_resource.rb +4 -3
  180. data/lib/2018-04-16/generated/azure_mgmt_monitor/models/log_to_metric_action.rb +71 -0
  181. data/lib/2018-04-16/generated/azure_mgmt_monitor/models/source.rb +3 -2
  182. data/lib/2018-04-16/generated/azure_mgmt_monitor/monitor_client.rb +1 -1
  183. data/lib/2018-04-16/generated/azure_mgmt_monitor/scheduled_query_rules.rb +12 -0
  184. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor.rb +44 -0
  185. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/guest_diagnostics_settings.rb +614 -0
  186. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/guest_diagnostics_settings_association.rb +634 -0
  187. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/data_source.rb +80 -0
  188. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/data_source_configuration.rb +98 -0
  189. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/error_response.rb +57 -0
  190. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/etw_event_configuration.rb +69 -0
  191. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/etw_provider_configuration.rb +67 -0
  192. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/event_log_configuration.rb +58 -0
  193. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_association_list.rb +68 -0
  194. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_association_resource.rb +98 -0
  195. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_association_resource_patch.rb +66 -0
  196. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_list.rb +68 -0
  197. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_patch_resource.rb +98 -0
  198. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_resource.rb +130 -0
  199. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/performance_counter_configuration.rb +69 -0
  200. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/resource.rb +110 -0
  201. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/sink_configuration.rb +48 -0
  202. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/module_definition.rb +9 -0
  203. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +136 -0
  204. data/lib/2018-06-17-preview/generated/azure_mgmt_monitor.rb +36 -0
  205. data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/application_insights_management_client.rb +131 -0
  206. data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/models/category_type.rb +18 -0
  207. data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/models/error_field_contract.rb +68 -0
  208. data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/models/resource.rb +123 -0
  209. data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/models/shared_type_kind.rb +16 -0
  210. data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/models/workbook.rb +185 -0
  211. data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/models/workbook_error.rb +79 -0
  212. data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/models/workbook_update_parameters.rb +122 -0
  213. data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/models/workbooks_list_result.rb +55 -0
  214. data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/module_definition.rb +9 -0
  215. data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/workbooks.rb +609 -0
  216. data/lib/2018-09-01/generated/azure_mgmt_monitor.rb +54 -0
  217. data/lib/2018-09-01/generated/azure_mgmt_monitor/action_groups.rb +707 -0
  218. data/lib/2018-09-01/generated/azure_mgmt_monitor/metric_baseline.rb +294 -0
  219. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/action_group_list.rb +67 -0
  220. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/action_group_patch_body.rb +68 -0
  221. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/action_group_resource.rb +326 -0
  222. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/arm_role_receiver.rb +58 -0
  223. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/automation_runbook_receiver.rb +102 -0
  224. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/azure_app_push_receiver.rb +58 -0
  225. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/azure_function_receiver.rb +80 -0
  226. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/baseline.rb +86 -0
  227. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/baseline_metadata_value.rb +58 -0
  228. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/baseline_response.rb +171 -0
  229. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/calculate_baseline_response.rb +85 -0
  230. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/email_receiver.rb +72 -0
  231. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/enable_request.rb +46 -0
  232. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/error_response.rb +57 -0
  233. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/itsm_receiver.rb +94 -0
  234. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/localizable_string.rb +57 -0
  235. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/logic_app_receiver.rb +69 -0
  236. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/receiver_status.rb +17 -0
  237. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/resource.rb +110 -0
  238. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/result_type.rb +16 -0
  239. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/sensitivity.rb +17 -0
  240. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/sms_receiver.rb +83 -0
  241. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/time_series_information.rb +93 -0
  242. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/voice_receiver.rb +69 -0
  243. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/webhook_receiver.rb +58 -0
  244. data/lib/2018-09-01/generated/azure_mgmt_monitor/module_definition.rb +9 -0
  245. data/lib/2018-09-01/generated/azure_mgmt_monitor/monitor_management_client.rb +135 -0
  246. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor.rb +36 -0
  247. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/data_container.rb +47 -0
  248. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/data_status.rb +16 -0
  249. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/error.rb +57 -0
  250. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/onboarding_status.rb +17 -0
  251. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/proxy_resource.rb +71 -0
  252. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/response_with_error.rb +47 -0
  253. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/vminsights_onboarding_status.rb +123 -0
  254. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/workspace_info.rb +69 -0
  255. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/module_definition.rb +9 -0
  256. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +128 -0
  257. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/vminsights.rb +120 -0
  258. data/lib/2019-03-01/generated/azure_mgmt_monitor.rb +54 -0
  259. data/lib/2019-03-01/generated/azure_mgmt_monitor/action_groups.rb +707 -0
  260. data/lib/2019-03-01/generated/azure_mgmt_monitor/baselines.rb +186 -0
  261. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/action_group_list.rb +67 -0
  262. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/action_group_patch_body.rb +68 -0
  263. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/action_group_resource.rb +326 -0
  264. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/arm_role_receiver.rb +69 -0
  265. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/automation_runbook_receiver.rb +113 -0
  266. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/azure_app_push_receiver.rb +58 -0
  267. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/azure_function_receiver.rb +91 -0
  268. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/baseline_metadata.rb +57 -0
  269. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/baseline_sensitivity.rb +17 -0
  270. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/email_receiver.rb +83 -0
  271. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/enable_request.rb +46 -0
  272. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/error_response.rb +57 -0
  273. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/itsm_receiver.rb +94 -0
  274. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/logic_app_receiver.rb +80 -0
  275. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/metric_baselines_response.rb +55 -0
  276. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/metric_single_dimension.rb +57 -0
  277. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/receiver_status.rb +17 -0
  278. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/resource.rb +110 -0
  279. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/result_type.rb +16 -0
  280. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/single_baseline.rb +85 -0
  281. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/single_metric_baseline.rb +129 -0
  282. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/sms_receiver.rb +83 -0
  283. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/time_series_baseline.rb +127 -0
  284. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/voice_receiver.rb +69 -0
  285. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/webhook_receiver.rb +69 -0
  286. data/lib/2019-03-01/generated/azure_mgmt_monitor/module_definition.rb +9 -0
  287. data/lib/2019-03-01/generated/azure_mgmt_monitor/monitor_management_client.rb +135 -0
  288. data/lib/2019-06-01/generated/azure_mgmt_monitor.rb +45 -0
  289. data/lib/2019-06-01/generated/azure_mgmt_monitor/action_groups.rb +707 -0
  290. data/lib/2019-06-01/generated/azure_mgmt_monitor/models/action_group_list.rb +67 -0
  291. data/lib/2019-06-01/generated/azure_mgmt_monitor/models/action_group_patch_body.rb +68 -0
  292. data/lib/2019-06-01/generated/azure_mgmt_monitor/models/action_group_resource.rb +326 -0
  293. data/lib/2019-06-01/generated/azure_mgmt_monitor/models/arm_role_receiver.rb +69 -0
  294. data/lib/2019-06-01/generated/azure_mgmt_monitor/models/automation_runbook_receiver.rb +113 -0
  295. data/lib/2019-06-01/generated/azure_mgmt_monitor/models/azure_app_push_receiver.rb +58 -0
  296. data/lib/2019-06-01/generated/azure_mgmt_monitor/models/azure_function_receiver.rb +91 -0
  297. data/lib/2019-06-01/generated/azure_mgmt_monitor/models/email_receiver.rb +83 -0
  298. data/lib/2019-06-01/generated/azure_mgmt_monitor/models/enable_request.rb +46 -0
  299. data/lib/2019-06-01/generated/azure_mgmt_monitor/models/error_response.rb +57 -0
  300. data/lib/2019-06-01/generated/azure_mgmt_monitor/models/itsm_receiver.rb +94 -0
  301. data/lib/2019-06-01/generated/azure_mgmt_monitor/models/logic_app_receiver.rb +80 -0
  302. data/lib/2019-06-01/generated/azure_mgmt_monitor/models/receiver_status.rb +17 -0
  303. data/lib/2019-06-01/generated/azure_mgmt_monitor/models/resource.rb +110 -0
  304. data/lib/2019-06-01/generated/azure_mgmt_monitor/models/sms_receiver.rb +83 -0
  305. data/lib/2019-06-01/generated/azure_mgmt_monitor/models/voice_receiver.rb +69 -0
  306. data/lib/2019-06-01/generated/azure_mgmt_monitor/models/webhook_receiver.rb +115 -0
  307. data/lib/2019-06-01/generated/azure_mgmt_monitor/module_definition.rb +9 -0
  308. data/lib/2019-06-01/generated/azure_mgmt_monitor/monitor_management_client.rb +131 -0
  309. data/lib/2019-10-17-preview/generated/azure_mgmt_monitor.rb +49 -0
  310. data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/azure_monitor_private_link_scope.rb +123 -0
  311. data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/azure_monitor_private_link_scope_list_result.rb +102 -0
  312. data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/error_additional_info.rb +59 -0
  313. data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/error_response.rb +57 -0
  314. data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/error_response_common.rb +93 -0
  315. data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/operation_status.rb +102 -0
  316. data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/private_endpoint_connection.rb +100 -0
  317. data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/private_endpoint_connection_list_result.rb +100 -0
  318. data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/private_endpoint_property.rb +46 -0
  319. data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/private_link_resource.rb +95 -0
  320. data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/private_link_resource_list_result.rb +100 -0
  321. data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/private_link_scopes_resource.rb +101 -0
  322. data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/private_link_service_connection_state_property.rb +71 -0
  323. data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/proxy_resource.rb +71 -0
  324. data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/scoped_resource.rb +85 -0
  325. data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/scoped_resource_list_result.rb +100 -0
  326. data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/tags_resource.rb +55 -0
  327. data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/module_definition.rb +9 -0
  328. data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +148 -0
  329. data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/private_endpoint_connections.rb +641 -0
  330. data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/private_link_resources.rb +346 -0
  331. data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/private_link_scope_operation_status.rb +122 -0
  332. data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/private_link_scoped_resources.rb +638 -0
  333. data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/private_link_scopes.rb +889 -0
  334. data/lib/azure_mgmt_monitor.rb +16 -5
  335. data/lib/profiles/latest/modules/monitor_profile_module.rb +575 -159
  336. data/lib/profiles/v2019_03_01_hybrid/modules/monitor_profile_module.rb +327 -0
  337. data/lib/profiles/v2019_03_01_hybrid/monitor_module_definition.rb +8 -0
  338. data/lib/profiles/v2019_03_01_hybrid/monitor_v2019_03_01_hybrid_profile_client.rb +40 -0
  339. data/lib/version.rb +1 -1
  340. metadata +277 -5
@@ -110,6 +110,8 @@ module Azure::Monitor::Mgmt::V2017_04_01
110
110
  end
111
111
 
112
112
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
113
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
114
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
113
115
  # Deserialize Response
114
116
  if status_code == 200
115
117
  begin
@@ -212,6 +214,8 @@ module Azure::Monitor::Mgmt::V2017_04_01
212
214
  end
213
215
 
214
216
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
217
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
218
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
215
219
  # Deserialize Response
216
220
  if status_code == 200
217
221
  begin
@@ -303,6 +307,8 @@ module Azure::Monitor::Mgmt::V2017_04_01
303
307
  end
304
308
 
305
309
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
310
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
311
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
306
312
 
307
313
  result
308
314
  end
@@ -402,6 +408,8 @@ module Azure::Monitor::Mgmt::V2017_04_01
402
408
  end
403
409
 
404
410
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
411
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
412
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
405
413
  # Deserialize Response
406
414
  if status_code == 200
407
415
  begin
@@ -486,6 +494,8 @@ module Azure::Monitor::Mgmt::V2017_04_01
486
494
  end
487
495
 
488
496
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
497
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
498
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
489
499
  # Deserialize Response
490
500
  if status_code == 200
491
501
  begin
@@ -574,6 +584,8 @@ module Azure::Monitor::Mgmt::V2017_04_01
574
584
  end
575
585
 
576
586
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
587
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
588
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
577
589
  # Deserialize Response
578
590
  if status_code == 200
579
591
  begin
@@ -128,7 +128,7 @@ module Azure::Monitor::Mgmt::V2017_04_01
128
128
  #
129
129
  def add_telemetry
130
130
  sdk_information = 'azure_mgmt_monitor'
131
- sdk_information = "#{sdk_information}/0.17.2"
131
+ sdk_information = "#{sdk_information}/0.18.0"
132
132
  add_user_agent_information(sdk_information)
133
133
  end
134
134
  end
@@ -20,31 +20,36 @@ require '2017-05-01-preview/generated/azure_mgmt_monitor/module_definition'
20
20
  require 'ms_rest_azure'
21
21
 
22
22
  module Azure::Monitor::Mgmt::V2017_05_01_preview
23
- autoload :DiagnosticSettingsOperations, '2017-05-01-preview/generated/azure_mgmt_monitor/diagnostic_settings_operations.rb'
24
23
  autoload :DiagnosticSettingsCategoryOperations, '2017-05-01-preview/generated/azure_mgmt_monitor/diagnostic_settings_category_operations.rb'
24
+ autoload :DiagnosticSettingsOperations, '2017-05-01-preview/generated/azure_mgmt_monitor/diagnostic_settings_operations.rb'
25
25
  autoload :MetricDefinitions, '2017-05-01-preview/generated/azure_mgmt_monitor/metric_definitions.rb'
26
26
  autoload :Metrics, '2017-05-01-preview/generated/azure_mgmt_monitor/metrics.rb'
27
+ autoload :SubscriptionDiagnosticSettingsOperations, '2017-05-01-preview/generated/azure_mgmt_monitor/subscription_diagnostic_settings_operations.rb'
27
28
  autoload :MonitorManagementClient, '2017-05-01-preview/generated/azure_mgmt_monitor/monitor_management_client.rb'
28
29
 
29
30
  module Models
30
- autoload :LocalizableString, '2017-05-01-preview/generated/azure_mgmt_monitor/models/localizable_string.rb'
31
- autoload :ProxyOnlyResource, '2017-05-01-preview/generated/azure_mgmt_monitor/models/proxy_only_resource.rb'
32
- autoload :MetricAvailability, '2017-05-01-preview/generated/azure_mgmt_monitor/models/metric_availability.rb'
33
- autoload :MetricSettings, '2017-05-01-preview/generated/azure_mgmt_monitor/models/metric_settings.rb'
34
31
  autoload :MetricDefinition, '2017-05-01-preview/generated/azure_mgmt_monitor/models/metric_definition.rb'
35
- autoload :LogSettings, '2017-05-01-preview/generated/azure_mgmt_monitor/models/log_settings.rb'
36
- autoload :Response, '2017-05-01-preview/generated/azure_mgmt_monitor/models/response.rb'
37
- autoload :ErrorResponse, '2017-05-01-preview/generated/azure_mgmt_monitor/models/error_response.rb'
32
+ autoload :ProxyOnlyResource, '2017-05-01-preview/generated/azure_mgmt_monitor/models/proxy_only_resource.rb'
38
33
  autoload :MetricDefinitionCollection, '2017-05-01-preview/generated/azure_mgmt_monitor/models/metric_definition_collection.rb'
39
34
  autoload :DiagnosticSettingsCategoryResourceCollection, '2017-05-01-preview/generated/azure_mgmt_monitor/models/diagnostic_settings_category_resource_collection.rb'
40
35
  autoload :MetricValue, '2017-05-01-preview/generated/azure_mgmt_monitor/models/metric_value.rb'
41
- autoload :DiagnosticSettingsResourceCollection, '2017-05-01-preview/generated/azure_mgmt_monitor/models/diagnostic_settings_resource_collection.rb'
42
- autoload :MetadataValue, '2017-05-01-preview/generated/azure_mgmt_monitor/models/metadata_value.rb'
43
36
  autoload :RetentionPolicy, '2017-05-01-preview/generated/azure_mgmt_monitor/models/retention_policy.rb'
37
+ autoload :MetadataValue, '2017-05-01-preview/generated/azure_mgmt_monitor/models/metadata_value.rb'
38
+ autoload :LogSettings, '2017-05-01-preview/generated/azure_mgmt_monitor/models/log_settings.rb'
44
39
  autoload :TimeSeriesElement, '2017-05-01-preview/generated/azure_mgmt_monitor/models/time_series_element.rb'
40
+ autoload :DiagnosticSettingsResourceCollection, '2017-05-01-preview/generated/azure_mgmt_monitor/models/diagnostic_settings_resource_collection.rb'
45
41
  autoload :Metric, '2017-05-01-preview/generated/azure_mgmt_monitor/models/metric.rb'
46
- autoload :DiagnosticSettingsResource, '2017-05-01-preview/generated/azure_mgmt_monitor/models/diagnostic_settings_resource.rb'
42
+ autoload :MetricAvailability, '2017-05-01-preview/generated/azure_mgmt_monitor/models/metric_availability.rb'
43
+ autoload :Response, '2017-05-01-preview/generated/azure_mgmt_monitor/models/response.rb'
44
+ autoload :ErrorResponse, '2017-05-01-preview/generated/azure_mgmt_monitor/models/error_response.rb'
45
+ autoload :SubscriptionProxyOnlyResource, '2017-05-01-preview/generated/azure_mgmt_monitor/models/subscription_proxy_only_resource.rb'
46
+ autoload :MetricSettings, '2017-05-01-preview/generated/azure_mgmt_monitor/models/metric_settings.rb'
47
+ autoload :SubscriptionDiagnosticSettingsResourceCollection, '2017-05-01-preview/generated/azure_mgmt_monitor/models/subscription_diagnostic_settings_resource_collection.rb'
48
+ autoload :LocalizableString, '2017-05-01-preview/generated/azure_mgmt_monitor/models/localizable_string.rb'
49
+ autoload :SubscriptionLogSettings, '2017-05-01-preview/generated/azure_mgmt_monitor/models/subscription_log_settings.rb'
47
50
  autoload :DiagnosticSettingsCategoryResource, '2017-05-01-preview/generated/azure_mgmt_monitor/models/diagnostic_settings_category_resource.rb'
51
+ autoload :DiagnosticSettingsResource, '2017-05-01-preview/generated/azure_mgmt_monitor/models/diagnostic_settings_resource.rb'
52
+ autoload :SubscriptionDiagnosticSettingsResource, '2017-05-01-preview/generated/azure_mgmt_monitor/models/subscription_diagnostic_settings_resource.rb'
48
53
  autoload :CategoryType, '2017-05-01-preview/generated/azure_mgmt_monitor/models/category_type.rb'
49
54
  autoload :Unit, '2017-05-01-preview/generated/azure_mgmt_monitor/models/unit.rb'
50
55
  autoload :AggregationType, '2017-05-01-preview/generated/azure_mgmt_monitor/models/aggregation_type.rb'
@@ -96,6 +96,8 @@ module Azure::Monitor::Mgmt::V2017_05_01_preview
96
96
  end
97
97
 
98
98
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
99
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
100
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
99
101
  # Deserialize Response
100
102
  if status_code == 200
101
103
  begin
@@ -183,6 +185,8 @@ module Azure::Monitor::Mgmt::V2017_05_01_preview
183
185
  end
184
186
 
185
187
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
188
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
189
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
186
190
  # Deserialize Response
187
191
  if status_code == 200
188
192
  begin
@@ -96,6 +96,8 @@ module Azure::Monitor::Mgmt::V2017_05_01_preview
96
96
  end
97
97
 
98
98
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
99
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
100
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
99
101
  # Deserialize Response
100
102
  if status_code == 200
101
103
  begin
@@ -202,6 +204,8 @@ module Azure::Monitor::Mgmt::V2017_05_01_preview
202
204
  end
203
205
 
204
206
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
207
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
208
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
205
209
  # Deserialize Response
206
210
  if status_code == 200
207
211
  begin
@@ -293,6 +297,8 @@ module Azure::Monitor::Mgmt::V2017_05_01_preview
293
297
  end
294
298
 
295
299
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
300
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
301
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
296
302
 
297
303
  result
298
304
  end
@@ -370,6 +376,8 @@ module Azure::Monitor::Mgmt::V2017_05_01_preview
370
376
  end
371
377
 
372
378
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
379
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
380
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
373
381
  # Deserialize Response
374
382
  if status_code == 200
375
383
  begin
@@ -91,6 +91,8 @@ module Azure::Monitor::Mgmt::V2017_05_01_preview
91
91
  end
92
92
 
93
93
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
94
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
95
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
94
96
  # Deserialize Response
95
97
  if status_code == 200
96
98
  begin
@@ -169,6 +169,8 @@ module Azure::Monitor::Mgmt::V2017_05_01_preview
169
169
  end
170
170
 
171
171
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
172
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
173
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
172
174
  # Deserialize Response
173
175
  if status_code == 200
174
176
  begin
@@ -27,18 +27,24 @@ module Azure::Monitor::Mgmt::V2017_05_01_preview
27
27
  # default event hub will be selected.
28
28
  attr_accessor :event_hub_name
29
29
 
30
- # @return [Array<MetricSettings>] the list of metric settings.
30
+ # @return [Array<MetricSettings>] The list of metric settings.
31
31
  attr_accessor :metrics
32
32
 
33
- # @return [Array<LogSettings>] the list of logs settings.
33
+ # @return [Array<LogSettings>] The list of logs settings.
34
34
  attr_accessor :logs
35
35
 
36
- # @return [String] The workspace ID (resource ID of a Log Analytics
37
- # workspace) for a Log Analytics workspace to which you would like to
38
- # send Diagnostic Logs. Example:
36
+ # @return [String] The full ARM resource ID of the Log Analytics
37
+ # workspace to which you would like to send Diagnostic Logs. Example:
39
38
  # /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2
40
39
  attr_accessor :workspace_id
41
40
 
41
+ # @return [String] A string indicating whether the export to Log
42
+ # Analytics should use the default destination type, i.e.
43
+ # AzureDiagnostics, or use a destination type constructed as follows:
44
+ # <normalized service identity>_<normalized category name>. Possible
45
+ # values are: Dedicated and null (null is default.)
46
+ attr_accessor :log_analytics_destination_type
47
+
42
48
 
43
49
  #
44
50
  # Mapper for DiagnosticSettingsResource class as Ruby Hash.
@@ -153,6 +159,14 @@ module Azure::Monitor::Mgmt::V2017_05_01_preview
153
159
  type: {
154
160
  name: 'String'
155
161
  }
162
+ },
163
+ log_analytics_destination_type: {
164
+ client_side_validation: true,
165
+ required: false,
166
+ serialized_name: 'properties.logAnalyticsDestinationType',
167
+ type: {
168
+ name: 'String'
169
+ }
156
170
  }
157
171
  }
158
172
  }
@@ -17,7 +17,7 @@ module Azure::Monitor::Mgmt::V2017_05_01_preview
17
17
  attr_accessor :cost
18
18
 
19
19
  # @return [String] The timespan for which the data was retrieved. Its
20
- # value consists of two datatimes concatenated, separated by '/'. This
20
+ # value consists of two datetimes concatenated, separated by '/'. This
21
21
  # may be adjusted in the future and returned back from what was
22
22
  # originally requested.
23
23
  attr_accessor :timespan
@@ -0,0 +1,150 @@
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::Monitor::Mgmt::V2017_05_01_preview
7
+ module Models
8
+ #
9
+ # The subscription diagnostic setting resource.
10
+ #
11
+ class SubscriptionDiagnosticSettingsResource < SubscriptionProxyOnlyResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The resource ID of the storage account to which you
16
+ # would like to send Diagnostic Logs.
17
+ attr_accessor :storage_account_id
18
+
19
+ # @return [String] The service bus rule Id of the diagnostic setting.
20
+ # This is here to maintain backwards compatibility.
21
+ attr_accessor :service_bus_rule_id
22
+
23
+ # @return [String] The resource Id for the event hub authorization rule.
24
+ attr_accessor :event_hub_authorization_rule_id
25
+
26
+ # @return [String] The name of the event hub. If none is specified, the
27
+ # default event hub will be selected.
28
+ attr_accessor :event_hub_name
29
+
30
+ # @return [Array<SubscriptionLogSettings>] The list of logs settings.
31
+ attr_accessor :logs
32
+
33
+ # @return [String] The full ARM resource ID of the Log Analytics
34
+ # workspace to which you would like to send Diagnostic Logs. Example:
35
+ # /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2
36
+ attr_accessor :workspace_id
37
+
38
+
39
+ #
40
+ # Mapper for SubscriptionDiagnosticSettingsResource class as Ruby Hash.
41
+ # This will be used for serialization/deserialization.
42
+ #
43
+ def self.mapper()
44
+ {
45
+ client_side_validation: true,
46
+ required: false,
47
+ serialized_name: 'SubscriptionDiagnosticSettingsResource',
48
+ type: {
49
+ name: 'Composite',
50
+ class_name: 'SubscriptionDiagnosticSettingsResource',
51
+ model_properties: {
52
+ id: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ read_only: true,
56
+ serialized_name: 'id',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ name: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ read_only: true,
65
+ serialized_name: 'name',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ },
70
+ type: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ read_only: true,
74
+ serialized_name: 'type',
75
+ type: {
76
+ name: 'String'
77
+ }
78
+ },
79
+ location: {
80
+ client_side_validation: true,
81
+ required: false,
82
+ serialized_name: 'location',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ },
87
+ storage_account_id: {
88
+ client_side_validation: true,
89
+ required: false,
90
+ serialized_name: 'properties.storageAccountId',
91
+ type: {
92
+ name: 'String'
93
+ }
94
+ },
95
+ service_bus_rule_id: {
96
+ client_side_validation: true,
97
+ required: false,
98
+ serialized_name: 'properties.serviceBusRuleId',
99
+ type: {
100
+ name: 'String'
101
+ }
102
+ },
103
+ event_hub_authorization_rule_id: {
104
+ client_side_validation: true,
105
+ required: false,
106
+ serialized_name: 'properties.eventHubAuthorizationRuleId',
107
+ type: {
108
+ name: 'String'
109
+ }
110
+ },
111
+ event_hub_name: {
112
+ client_side_validation: true,
113
+ required: false,
114
+ serialized_name: 'properties.eventHubName',
115
+ type: {
116
+ name: 'String'
117
+ }
118
+ },
119
+ logs: {
120
+ client_side_validation: true,
121
+ required: false,
122
+ serialized_name: 'properties.logs',
123
+ type: {
124
+ name: 'Sequence',
125
+ element: {
126
+ client_side_validation: true,
127
+ required: false,
128
+ serialized_name: 'SubscriptionLogSettingsElementType',
129
+ type: {
130
+ name: 'Composite',
131
+ class_name: 'SubscriptionLogSettings'
132
+ }
133
+ }
134
+ }
135
+ },
136
+ workspace_id: {
137
+ client_side_validation: true,
138
+ required: false,
139
+ serialized_name: 'properties.workspaceId',
140
+ type: {
141
+ name: 'String'
142
+ }
143
+ }
144
+ }
145
+ }
146
+ }
147
+ end
148
+ end
149
+ end
150
+ 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::Monitor::Mgmt::V2017_05_01_preview
7
+ module Models
8
+ #
9
+ # Represents a collection of subscription diagnostic settings resources.
10
+ #
11
+ class SubscriptionDiagnosticSettingsResourceCollection
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<SubscriptionDiagnosticSettingsResource>] The collection
16
+ # of subscription diagnostic settings resources.
17
+ attr_accessor :value
18
+
19
+
20
+ #
21
+ # Mapper for SubscriptionDiagnosticSettingsResourceCollection class as
22
+ # Ruby Hash.
23
+ # This will be used for serialization/deserialization.
24
+ #
25
+ def self.mapper()
26
+ {
27
+ client_side_validation: true,
28
+ required: false,
29
+ serialized_name: 'SubscriptionDiagnosticSettingsResourceCollection',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'SubscriptionDiagnosticSettingsResourceCollection',
33
+ model_properties: {
34
+ value: {
35
+ client_side_validation: true,
36
+ required: false,
37
+ serialized_name: 'value',
38
+ type: {
39
+ name: 'Sequence',
40
+ element: {
41
+ client_side_validation: true,
42
+ required: false,
43
+ serialized_name: 'SubscriptionDiagnosticSettingsResourceElementType',
44
+ type: {
45
+ name: 'Composite',
46
+ class_name: 'SubscriptionDiagnosticSettingsResource'
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,59 @@
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::Monitor::Mgmt::V2017_05_01_preview
7
+ module Models
8
+ #
9
+ # Part of Subscription diagnostic setting. Specifies the settings for a
10
+ # particular log.
11
+ #
12
+ class SubscriptionLogSettings
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Name of a Subscription Diagnostic Log category for a
17
+ # resource type this setting is applied to.
18
+ attr_accessor :category
19
+
20
+ # @return [Boolean] a value indicating whether this log is enabled.
21
+ attr_accessor :enabled
22
+
23
+
24
+ #
25
+ # Mapper for SubscriptionLogSettings class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ client_side_validation: true,
31
+ required: false,
32
+ serialized_name: 'SubscriptionLogSettings',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'SubscriptionLogSettings',
36
+ model_properties: {
37
+ category: {
38
+ client_side_validation: true,
39
+ required: false,
40
+ serialized_name: 'category',
41
+ type: {
42
+ name: 'String'
43
+ }
44
+ },
45
+ enabled: {
46
+ client_side_validation: true,
47
+ required: true,
48
+ serialized_name: 'enabled',
49
+ type: {
50
+ name: 'Boolean'
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ end
57
+ end
58
+ end
59
+ end