azure_mgmt_monitor 0.17.1 → 0.17.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (238) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-04-01/generated/azure_mgmt_monitor/activity_logs.rb +4 -0
  3. data/lib/2015-04-01/generated/azure_mgmt_monitor/autoscale_settings.rb +16 -0
  4. data/lib/2015-04-01/generated/azure_mgmt_monitor/event_categories.rb +2 -0
  5. data/lib/2015-04-01/generated/azure_mgmt_monitor/models/autoscale_setting_resource_collection.rb +1 -1
  6. data/lib/2015-04-01/generated/azure_mgmt_monitor/models/event_data_collection.rb +1 -1
  7. data/lib/2015-04-01/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
  8. data/lib/2015-04-01/generated/azure_mgmt_monitor/operations.rb +2 -0
  9. data/lib/2015-04-01/generated/azure_mgmt_monitor/tenant_activity_logs.rb +4 -0
  10. data/lib/2015-05-01/generated/azure_mgmt_monitor.rb +106 -0
  11. data/lib/2015-05-01/generated/azure_mgmt_monitor/analytics_items.rb +585 -0
  12. data/lib/2015-05-01/generated/azure_mgmt_monitor/annotations.rb +505 -0
  13. data/lib/2015-05-01/generated/azure_mgmt_monitor/apikeys.rb +473 -0
  14. data/lib/2015-05-01/generated/azure_mgmt_monitor/application_insights_management_client.rb +193 -0
  15. data/lib/2015-05-01/generated/azure_mgmt_monitor/component_available_features.rb +130 -0
  16. data/lib/2015-05-01/generated/azure_mgmt_monitor/component_current_billing_features.rb +252 -0
  17. data/lib/2015-05-01/generated/azure_mgmt_monitor/component_feature_capabilities.rb +130 -0
  18. data/lib/2015-05-01/generated/azure_mgmt_monitor/component_quota_status.rb +133 -0
  19. data/lib/2015-05-01/generated/azure_mgmt_monitor/components.rb +1134 -0
  20. data/lib/2015-05-01/generated/azure_mgmt_monitor/export_configurations.rb +646 -0
  21. data/lib/2015-05-01/generated/azure_mgmt_monitor/favorites.rb +653 -0
  22. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/annotation.rb +103 -0
  23. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/annotation_error.rb +70 -0
  24. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/annotations_list_result.rb +56 -0
  25. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/apikey_request.rb +84 -0
  26. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component.rb +261 -0
  27. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_analytics_item.rb +146 -0
  28. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_analytics_item_properties.rb +49 -0
  29. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_apikey.rb +121 -0
  30. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_apikey_list_result.rb +57 -0
  31. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_available_features.rb +58 -0
  32. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_billing_features.rb +70 -0
  33. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_data_volume_cap.rb +106 -0
  34. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_export_configuration.rb +277 -0
  35. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_export_request.rb +143 -0
  36. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_favorite.rb +182 -0
  37. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_feature.rb +153 -0
  38. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_feature_capabilities.rb +228 -0
  39. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_feature_capability.rb +108 -0
  40. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_list_result.rb +102 -0
  41. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_proactive_detection_configuration.rb +117 -0
  42. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_proactive_detection_configuration_rule_definitions.rb +130 -0
  43. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_quota_status.rb +74 -0
  44. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_web_test_location.rb +61 -0
  45. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_web_test_locations_list_result.rb +58 -0
  46. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_type.rb +16 -0
  47. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/category_type.rb +18 -0
  48. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/component_purge_body.rb +67 -0
  49. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/component_purge_body_filters.rb +85 -0
  50. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/component_purge_response.rb +47 -0
  51. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/component_purge_status_response.rb +47 -0
  52. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/components_resource.rb +101 -0
  53. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/error_field_contract.rb +68 -0
  54. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/error_response.rb +58 -0
  55. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/favorite_source_type.rb +22 -0
  56. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/favorite_type.rb +16 -0
  57. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/flow_type.rb +15 -0
  58. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/inner_error.rb +57 -0
  59. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/item_scope.rb +16 -0
  60. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/item_scope_path.rb +16 -0
  61. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/item_type.rb +18 -0
  62. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/item_type_parameter.rb +19 -0
  63. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/link_properties.rb +68 -0
  64. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/operation.rb +58 -0
  65. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/operation_display.rb +69 -0
  66. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/operation_list_result.rb +101 -0
  67. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/purge_state.rb +16 -0
  68. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/request_source.rb +15 -0
  69. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/shared_type_kind.rb +16 -0
  70. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/tags_resource.rb +55 -0
  71. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/web_test.rb +249 -0
  72. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/web_test_geolocation.rb +47 -0
  73. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/web_test_kind.rb +16 -0
  74. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/web_test_list_result.rb +101 -0
  75. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/web_test_properties_configuration.rb +47 -0
  76. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/webtests_resource.rb +101 -0
  77. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/work_item_configuration.rb +91 -0
  78. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/work_item_configuration_error.rb +70 -0
  79. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/work_item_configurations_list_result.rb +57 -0
  80. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/work_item_create_configuration.rb +87 -0
  81. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/workbook.rb +228 -0
  82. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/workbook_error.rb +79 -0
  83. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/workbook_resource.rb +101 -0
  84. data/lib/2015-05-01/generated/azure_mgmt_monitor/models/workbooks_list_result.rb +56 -0
  85. data/lib/2015-05-01/generated/azure_mgmt_monitor/module_definition.rb +9 -0
  86. data/lib/2015-05-01/generated/azure_mgmt_monitor/operations.rb +220 -0
  87. data/lib/2015-05-01/generated/azure_mgmt_monitor/proactive_detection_configurations.rb +392 -0
  88. data/lib/2015-05-01/generated/azure_mgmt_monitor/web_test_locations.rb +133 -0
  89. data/lib/2015-05-01/generated/azure_mgmt_monitor/web_tests.rb +1103 -0
  90. data/lib/2015-05-01/generated/azure_mgmt_monitor/work_item_configurations.rb +708 -0
  91. data/lib/2015-05-01/generated/azure_mgmt_monitor/workbooks.rb +589 -0
  92. data/lib/2016-03-01/generated/azure_mgmt_monitor/alert_rule_incidents.rb +4 -0
  93. data/lib/2016-03-01/generated/azure_mgmt_monitor/alert_rules.rb +12 -0
  94. data/lib/2016-03-01/generated/azure_mgmt_monitor/log_profiles.rb +10 -0
  95. data/lib/2016-03-01/generated/azure_mgmt_monitor/metric_definitions.rb +2 -0
  96. data/lib/2016-03-01/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
  97. data/lib/2016-09-01/generated/azure_mgmt_monitor/metrics.rb +2 -0
  98. data/lib/2016-09-01/generated/azure_mgmt_monitor/monitor_client.rb +1 -1
  99. data/lib/2016-09-01/generated/azure_mgmt_monitor/service_diagnostic_settings_operations.rb +6 -0
  100. data/lib/2017-04-01/generated/azure_mgmt_monitor/action_groups.rb +14 -0
  101. data/lib/2017-04-01/generated/azure_mgmt_monitor/activity_log_alerts.rb +12 -0
  102. data/lib/2017-04-01/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
  103. data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/diagnostic_settings_category_operations.rb +4 -0
  104. data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/diagnostic_settings_operations.rb +8 -0
  105. data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/metric_definitions.rb +2 -0
  106. data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/metrics.rb +2 -0
  107. data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
  108. data/lib/2017-10-01-preview/generated/azure_mgmt_monitor.rb +34 -0
  109. data/lib/2017-10-01-preview/generated/azure_mgmt_monitor/application_insights_management_client.rb +146 -0
  110. data/lib/2017-10-01-preview/generated/azure_mgmt_monitor/component_current_pricing_plan.rb +377 -0
  111. data/lib/2017-10-01-preview/generated/azure_mgmt_monitor/easubscription_list_migration_date.rb +113 -0
  112. data/lib/2017-10-01-preview/generated/azure_mgmt_monitor/easubscription_migrate_to_new_pricing_model.rb +102 -0
  113. data/lib/2017-10-01-preview/generated/azure_mgmt_monitor/easubscription_rollback_to_legacy_pricing_model.rb +102 -0
  114. data/lib/2017-10-01-preview/generated/azure_mgmt_monitor/models/application_insights_component_pricing_plan.rb +143 -0
  115. data/lib/2017-10-01-preview/generated/azure_mgmt_monitor/models/easubscription_migration_date.rb +58 -0
  116. data/lib/2017-10-01-preview/generated/azure_mgmt_monitor/models/resource.rb +80 -0
  117. data/lib/2017-10-01-preview/generated/azure_mgmt_monitor/module_definition.rb +9 -0
  118. data/lib/2017-11-01-preview/generated/azure_mgmt_monitor/metric_baseline.rb +4 -0
  119. data/lib/2017-11-01-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
  120. data/lib/2017-12-01-preview/generated/azure_mgmt_monitor.rb +32 -0
  121. data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/metric_namespaces.rb +120 -0
  122. data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/error_response.rb +57 -0
  123. data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/metric_namespace.rb +81 -0
  124. data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/metric_namespace_collection.rb +55 -0
  125. data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/metric_namespace_name.rb +46 -0
  126. data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/module_definition.rb +9 -0
  127. data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +128 -0
  128. data/lib/2018-01-01/generated/azure_mgmt_monitor/metric_definitions.rb +2 -0
  129. data/lib/2018-01-01/generated/azure_mgmt_monitor/metrics.rb +2 -0
  130. data/lib/2018-01-01/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
  131. data/lib/2018-03-01/generated/azure_mgmt_monitor/action_groups.rb +14 -0
  132. data/lib/2018-03-01/generated/azure_mgmt_monitor/metric_alerts.rb +12 -0
  133. data/lib/2018-03-01/generated/azure_mgmt_monitor/metric_alerts_status.rb +4 -0
  134. data/lib/2018-03-01/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
  135. data/lib/2018-04-16/generated/azure_mgmt_monitor/monitor_client.rb +1 -1
  136. data/lib/2018-04-16/generated/azure_mgmt_monitor/scheduled_query_rules.rb +12 -0
  137. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor.rb +44 -0
  138. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/guest_diagnostics_settings.rb +614 -0
  139. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/guest_diagnostics_settings_association.rb +634 -0
  140. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/data_source.rb +80 -0
  141. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/data_source_configuration.rb +98 -0
  142. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/error_response.rb +57 -0
  143. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/etw_event_configuration.rb +69 -0
  144. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/etw_provider_configuration.rb +67 -0
  145. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/event_log_configuration.rb +58 -0
  146. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_association_list.rb +68 -0
  147. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_association_resource.rb +98 -0
  148. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_association_resource_patch.rb +66 -0
  149. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_list.rb +68 -0
  150. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_patch_resource.rb +98 -0
  151. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_resource.rb +130 -0
  152. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/performance_counter_configuration.rb +69 -0
  153. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/resource.rb +110 -0
  154. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/sink_configuration.rb +48 -0
  155. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/module_definition.rb +9 -0
  156. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +136 -0
  157. data/lib/2018-06-17-preview/generated/azure_mgmt_monitor.rb +36 -0
  158. data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/application_insights_management_client.rb +131 -0
  159. data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/models/category_type.rb +18 -0
  160. data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/models/error_field_contract.rb +68 -0
  161. data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/models/resource.rb +123 -0
  162. data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/models/shared_type_kind.rb +16 -0
  163. data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/models/workbook.rb +185 -0
  164. data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/models/workbook_error.rb +79 -0
  165. data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/models/workbook_update_parameters.rb +122 -0
  166. data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/models/workbooks_list_result.rb +55 -0
  167. data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/module_definition.rb +9 -0
  168. data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/workbooks.rb +609 -0
  169. data/lib/2018-09-01/generated/azure_mgmt_monitor.rb +54 -0
  170. data/lib/2018-09-01/generated/azure_mgmt_monitor/action_groups.rb +707 -0
  171. data/lib/2018-09-01/generated/azure_mgmt_monitor/metric_baseline.rb +294 -0
  172. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/action_group_list.rb +67 -0
  173. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/action_group_patch_body.rb +68 -0
  174. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/action_group_resource.rb +326 -0
  175. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/arm_role_receiver.rb +58 -0
  176. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/automation_runbook_receiver.rb +102 -0
  177. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/azure_app_push_receiver.rb +58 -0
  178. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/azure_function_receiver.rb +80 -0
  179. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/baseline.rb +86 -0
  180. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/baseline_metadata_value.rb +58 -0
  181. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/baseline_response.rb +171 -0
  182. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/calculate_baseline_response.rb +85 -0
  183. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/email_receiver.rb +72 -0
  184. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/enable_request.rb +46 -0
  185. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/error_response.rb +57 -0
  186. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/itsm_receiver.rb +94 -0
  187. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/localizable_string.rb +57 -0
  188. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/logic_app_receiver.rb +69 -0
  189. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/receiver_status.rb +17 -0
  190. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/resource.rb +110 -0
  191. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/result_type.rb +16 -0
  192. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/sensitivity.rb +17 -0
  193. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/sms_receiver.rb +83 -0
  194. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/time_series_information.rb +93 -0
  195. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/voice_receiver.rb +69 -0
  196. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/webhook_receiver.rb +58 -0
  197. data/lib/2018-09-01/generated/azure_mgmt_monitor/module_definition.rb +9 -0
  198. data/lib/2018-09-01/generated/azure_mgmt_monitor/monitor_management_client.rb +135 -0
  199. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor.rb +36 -0
  200. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/data_container.rb +47 -0
  201. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/data_status.rb +16 -0
  202. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/error.rb +57 -0
  203. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/onboarding_status.rb +17 -0
  204. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/proxy_resource.rb +71 -0
  205. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/response_with_error.rb +47 -0
  206. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/vminsights_onboarding_status.rb +123 -0
  207. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/workspace_info.rb +69 -0
  208. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/module_definition.rb +9 -0
  209. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +128 -0
  210. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/vminsights.rb +120 -0
  211. data/lib/2019-03-01/generated/azure_mgmt_monitor.rb +45 -0
  212. data/lib/2019-03-01/generated/azure_mgmt_monitor/action_groups.rb +707 -0
  213. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/action_group_list.rb +67 -0
  214. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/action_group_patch_body.rb +68 -0
  215. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/action_group_resource.rb +326 -0
  216. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/arm_role_receiver.rb +69 -0
  217. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/automation_runbook_receiver.rb +113 -0
  218. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/azure_app_push_receiver.rb +58 -0
  219. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/azure_function_receiver.rb +91 -0
  220. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/email_receiver.rb +83 -0
  221. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/enable_request.rb +46 -0
  222. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/error_response.rb +57 -0
  223. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/itsm_receiver.rb +94 -0
  224. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/logic_app_receiver.rb +80 -0
  225. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/receiver_status.rb +17 -0
  226. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/resource.rb +110 -0
  227. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/sms_receiver.rb +83 -0
  228. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/voice_receiver.rb +69 -0
  229. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/webhook_receiver.rb +69 -0
  230. data/lib/2019-03-01/generated/azure_mgmt_monitor/module_definition.rb +9 -0
  231. data/lib/2019-03-01/generated/azure_mgmt_monitor/monitor_management_client.rb +131 -0
  232. data/lib/azure_mgmt_monitor.rb +12 -3
  233. data/lib/profiles/latest/modules/monitor_profile_module.rb +332 -106
  234. data/lib/profiles/v2019_03_01_hybrid/modules/monitor_profile_module.rb +297 -0
  235. data/lib/profiles/v2019_03_01_hybrid/monitor_module_definition.rb +8 -0
  236. data/lib/profiles/v2019_03_01_hybrid/monitor_v2019_03_01_hybrid_profile_client.rb +40 -0
  237. data/lib/version.rb +1 -1
  238. metadata +203 -5
@@ -0,0 +1,69 @@
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::V2018_09_01
7
+ module Models
8
+ #
9
+ # A voice receiver.
10
+ #
11
+ class VoiceReceiver
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The name of the voice receiver. Names must be unique
16
+ # across all receivers within an action group.
17
+ attr_accessor :name
18
+
19
+ # @return [String] The country code of the voice receiver.
20
+ attr_accessor :country_code
21
+
22
+ # @return [String] The phone number of the voice receiver.
23
+ attr_accessor :phone_number
24
+
25
+
26
+ #
27
+ # Mapper for VoiceReceiver class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ client_side_validation: true,
33
+ required: false,
34
+ serialized_name: 'VoiceReceiver',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'VoiceReceiver',
38
+ model_properties: {
39
+ name: {
40
+ client_side_validation: true,
41
+ required: true,
42
+ serialized_name: 'name',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ country_code: {
48
+ client_side_validation: true,
49
+ required: true,
50
+ serialized_name: 'countryCode',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ phone_number: {
56
+ client_side_validation: true,
57
+ required: true,
58
+ serialized_name: 'phoneNumber',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
66
+ end
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,58 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Monitor::Mgmt::V2018_09_01
7
+ module Models
8
+ #
9
+ # A webhook receiver.
10
+ #
11
+ class WebhookReceiver
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The name of the webhook receiver. Names must be unique
16
+ # across all receivers within an action group.
17
+ attr_accessor :name
18
+
19
+ # @return [String] The URI where webhooks should be sent.
20
+ attr_accessor :service_uri
21
+
22
+
23
+ #
24
+ # Mapper for WebhookReceiver class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ client_side_validation: true,
30
+ required: false,
31
+ serialized_name: 'WebhookReceiver',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'WebhookReceiver',
35
+ model_properties: {
36
+ name: {
37
+ client_side_validation: true,
38
+ required: true,
39
+ serialized_name: 'name',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ service_uri: {
45
+ client_side_validation: true,
46
+ required: true,
47
+ serialized_name: 'serviceUri',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,9 @@
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 end
7
+ module Azure::Monitor end
8
+ module Azure::Monitor::Mgmt end
9
+ module Azure::Monitor::Mgmt::V2018_09_01 end
@@ -0,0 +1,135 @@
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::V2018_09_01
7
+ #
8
+ # A service client - single point of access to the REST API.
9
+ #
10
+ class MonitorManagementClient < MsRestAzure::AzureServiceClient
11
+ include MsRestAzure
12
+ include MsRestAzure::Serialization
13
+
14
+ # @return [String] the base URI of the service.
15
+ attr_accessor :base_url
16
+
17
+ # @return Credentials needed for the client to connect to Azure.
18
+ attr_reader :credentials
19
+
20
+ # @return [String] The Azure subscription Id.
21
+ attr_accessor :subscription_id
22
+
23
+ # @return [String] Client Api Version.
24
+ attr_reader :api_version
25
+
26
+ # @return [String] The preferred language for the response.
27
+ attr_accessor :accept_language
28
+
29
+ # @return [Integer] The retry timeout in seconds for Long Running
30
+ # Operations. Default value is 30.
31
+ attr_accessor :long_running_operation_retry_timeout
32
+
33
+ # @return [Boolean] Whether a unique x-ms-client-request-id should be
34
+ # generated. When set to true a unique x-ms-client-request-id value is
35
+ # generated and included in each request. Default is true.
36
+ attr_accessor :generate_client_request_id
37
+
38
+ # @return [ActionGroups] action_groups
39
+ attr_reader :action_groups
40
+
41
+ # @return [MetricBaseline] metric_baseline
42
+ attr_reader :metric_baseline
43
+
44
+ #
45
+ # Creates initializes a new instance of the MonitorManagementClient class.
46
+ # @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
47
+ # @param base_url [String] the base URI of the service.
48
+ # @param options [Array] filters to be applied to the HTTP requests.
49
+ #
50
+ def initialize(credentials = nil, base_url = nil, options = nil)
51
+ super(credentials, options)
52
+ @base_url = base_url || 'https://management.azure.com'
53
+
54
+ fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
55
+ @credentials = credentials
56
+
57
+ @action_groups = ActionGroups.new(self)
58
+ @metric_baseline = MetricBaseline.new(self)
59
+ @api_version = '2018-09-01'
60
+ @accept_language = 'en-US'
61
+ @long_running_operation_retry_timeout = 30
62
+ @generate_client_request_id = true
63
+ add_telemetry
64
+ end
65
+
66
+ #
67
+ # Makes a request and returns the body of the response.
68
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
69
+ # @param path [String] the path, relative to {base_url}.
70
+ # @param options [Hash{String=>String}] specifying any request options like :body.
71
+ # @return [Hash{String=>String}] containing the body of the response.
72
+ # Example:
73
+ #
74
+ # request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
75
+ # path = "/path"
76
+ # options = {
77
+ # body: request_content,
78
+ # query_params: {'api-version' => '2016-02-01'}
79
+ # }
80
+ # result = @client.make_request(:put, path, options)
81
+ #
82
+ def make_request(method, path, options = {})
83
+ result = make_request_with_http_info(method, path, options)
84
+ result.body unless result.nil?
85
+ end
86
+
87
+ #
88
+ # Makes a request and returns the operation response.
89
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
90
+ # @param path [String] the path, relative to {base_url}.
91
+ # @param options [Hash{String=>String}] specifying any request options like :body.
92
+ # @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
93
+ #
94
+ def make_request_with_http_info(method, path, options = {})
95
+ result = make_request_async(method, path, options).value!
96
+ result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
97
+ result
98
+ end
99
+
100
+ #
101
+ # Makes a request asynchronously.
102
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
103
+ # @param path [String] the path, relative to {base_url}.
104
+ # @param options [Hash{String=>String}] specifying any request options like :body.
105
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
106
+ #
107
+ def make_request_async(method, path, options = {})
108
+ fail ArgumentError, 'method is nil' if method.nil?
109
+ fail ArgumentError, 'path is nil' if path.nil?
110
+
111
+ request_url = options[:base_url] || @base_url
112
+ if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
113
+ @request_headers['Content-Type'] = options[:headers]['Content-Type']
114
+ end
115
+
116
+ request_headers = @request_headers
117
+ request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
118
+ options.merge!({headers: request_headers.merge(options[:headers] || {})})
119
+ options.merge!({credentials: @credentials}) unless @credentials.nil?
120
+
121
+ super(request_url, method, path, options)
122
+ end
123
+
124
+
125
+ private
126
+ #
127
+ # Adds telemetry information.
128
+ #
129
+ def add_telemetry
130
+ sdk_information = 'azure_mgmt_monitor'
131
+ sdk_information = "#{sdk_information}/0.17.6"
132
+ add_user_agent_information(sdk_information)
133
+ end
134
+ end
135
+ end
@@ -0,0 +1,36 @@
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 '2018-11-27-preview/generated/azure_mgmt_monitor/module_definition'
20
+ require 'ms_rest_azure'
21
+
22
+ module Azure::Monitor::Mgmt::V2018_11_27_preview
23
+ autoload :VMInsights, '2018-11-27-preview/generated/azure_mgmt_monitor/vminsights.rb'
24
+ autoload :MonitorManagementClient, '2018-11-27-preview/generated/azure_mgmt_monitor/monitor_management_client.rb'
25
+
26
+ module Models
27
+ autoload :WorkspaceInfo, '2018-11-27-preview/generated/azure_mgmt_monitor/models/workspace_info.rb'
28
+ autoload :ProxyResource, '2018-11-27-preview/generated/azure_mgmt_monitor/models/proxy_resource.rb'
29
+ autoload :DataContainer, '2018-11-27-preview/generated/azure_mgmt_monitor/models/data_container.rb'
30
+ autoload :ResponseWithError, '2018-11-27-preview/generated/azure_mgmt_monitor/models/response_with_error.rb'
31
+ autoload :Error, '2018-11-27-preview/generated/azure_mgmt_monitor/models/error.rb'
32
+ autoload :VMInsightsOnboardingStatus, '2018-11-27-preview/generated/azure_mgmt_monitor/models/vminsights_onboarding_status.rb'
33
+ autoload :OnboardingStatus, '2018-11-27-preview/generated/azure_mgmt_monitor/models/onboarding_status.rb'
34
+ autoload :DataStatus, '2018-11-27-preview/generated/azure_mgmt_monitor/models/data_status.rb'
35
+ end
36
+ end
@@ -0,0 +1,47 @@
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::V2018_11_27_preview
7
+ module Models
8
+ #
9
+ # Information about a container with data for a given resource.
10
+ #
11
+ class DataContainer
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [WorkspaceInfo] Log Analytics workspace information.
16
+ attr_accessor :workspace
17
+
18
+
19
+ #
20
+ # Mapper for DataContainer class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'DataContainer',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'DataContainer',
31
+ model_properties: {
32
+ workspace: {
33
+ client_side_validation: true,
34
+ required: true,
35
+ serialized_name: 'workspace',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'WorkspaceInfo'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,16 @@
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::V2018_11_27_preview
7
+ module Models
8
+ #
9
+ # Defines values for DataStatus
10
+ #
11
+ module DataStatus
12
+ Present = "present"
13
+ NotPresent = "notPresent"
14
+ end
15
+ end
16
+ 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::V2018_11_27_preview
7
+ module Models
8
+ #
9
+ # Error details.
10
+ #
11
+ class Error
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Error code identifying the specific error.
16
+ attr_accessor :code
17
+
18
+ # @return [String] Error message in the caller's locale.
19
+ attr_accessor :message
20
+
21
+
22
+ #
23
+ # Mapper for Error class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'Error',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'Error',
34
+ model_properties: {
35
+ code: {
36
+ client_side_validation: true,
37
+ required: true,
38
+ serialized_name: 'code',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ message: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'message',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,17 @@
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::V2018_11_27_preview
7
+ module Models
8
+ #
9
+ # Defines values for OnboardingStatus
10
+ #
11
+ module OnboardingStatus
12
+ Onboarded = "onboarded"
13
+ NotOnboarded = "notOnboarded"
14
+ Unknown = "unknown"
15
+ end
16
+ end
17
+ end