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.
- checksums.yaml +4 -4
- data/lib/2015-04-01/generated/azure_mgmt_monitor.rb +11 -8
- data/lib/2015-04-01/generated/azure_mgmt_monitor/activity_logs.rb +28 -19
- data/lib/2015-04-01/generated/azure_mgmt_monitor/autoscale_settings.rb +16 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/event_categories.rb +2 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/metric_trigger.rb +35 -1
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/recurrence.rb +9 -9
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/recurrence_frequency.rb +22 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/recurrent_schedule.rb +1 -1
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/scale_rule_metric_dimension.rb +80 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/scale_rule_metric_dimension_operation_type.rb +16 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/time_aggregation_type.rb +1 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/time_window.rb +1 -1
- data/lib/2015-04-01/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
- data/lib/2015-04-01/generated/azure_mgmt_monitor/operations.rb +2 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/tenant_activity_logs.rb +4 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor.rb +106 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/analytics_items.rb +585 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/annotations.rb +505 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/apikeys.rb +473 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/application_insights_management_client.rb +193 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/component_available_features.rb +130 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/component_current_billing_features.rb +252 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/component_feature_capabilities.rb +130 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/component_quota_status.rb +133 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/components.rb +1134 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/export_configurations.rb +646 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/favorites.rb +653 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/annotation.rb +103 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/annotation_error.rb +70 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/annotations_list_result.rb +56 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/apikey_request.rb +84 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component.rb +261 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_analytics_item.rb +146 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_analytics_item_properties.rb +49 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_apikey.rb +121 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_apikey_list_result.rb +57 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_available_features.rb +58 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_billing_features.rb +70 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_data_volume_cap.rb +106 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_export_configuration.rb +277 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_export_request.rb +143 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_favorite.rb +182 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_feature.rb +153 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_feature_capabilities.rb +228 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_feature_capability.rb +108 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_list_result.rb +102 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_proactive_detection_configuration.rb +117 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_proactive_detection_configuration_rule_definitions.rb +130 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_quota_status.rb +74 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_web_test_location.rb +61 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_web_test_locations_list_result.rb +58 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/application_type.rb +16 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/category_type.rb +18 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/component_purge_body.rb +67 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/component_purge_body_filters.rb +85 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/component_purge_response.rb +47 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/component_purge_status_response.rb +47 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/components_resource.rb +101 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/error_field_contract.rb +68 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/error_response.rb +58 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/favorite_source_type.rb +22 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/favorite_type.rb +16 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/flow_type.rb +15 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/inner_error.rb +57 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/item_scope.rb +16 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/item_scope_path.rb +16 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/item_type.rb +18 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/item_type_parameter.rb +19 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/link_properties.rb +68 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/operation.rb +58 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/operation_display.rb +69 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/operation_list_result.rb +101 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/purge_state.rb +16 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/request_source.rb +15 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/shared_type_kind.rb +16 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/tags_resource.rb +55 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/web_test.rb +249 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/web_test_geolocation.rb +47 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/web_test_kind.rb +16 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/web_test_list_result.rb +101 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/web_test_properties_configuration.rb +47 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/webtests_resource.rb +101 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/work_item_configuration.rb +91 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/work_item_configuration_error.rb +70 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/work_item_configurations_list_result.rb +57 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/work_item_create_configuration.rb +87 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/workbook.rb +228 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/workbook_error.rb +79 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/workbook_resource.rb +101 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/models/workbooks_list_result.rb +56 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/module_definition.rb +9 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/operations.rb +220 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/proactive_detection_configurations.rb +392 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/web_test_locations.rb +133 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/web_tests.rb +1103 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/work_item_configurations.rb +708 -0
- data/lib/2015-05-01/generated/azure_mgmt_monitor/workbooks.rb +589 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor.rb +14 -14
- data/lib/2016-03-01/generated/azure_mgmt_monitor/alert_rule_incidents.rb +4 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/alert_rules.rb +33 -21
- data/lib/2016-03-01/generated/azure_mgmt_monitor/log_profiles.rb +10 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/metric_definitions.rb +2 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/monitor_management_client.rb +5 -5
- data/lib/2016-09-01/generated/azure_mgmt_monitor/metrics.rb +2 -0
- data/lib/2016-09-01/generated/azure_mgmt_monitor/monitor_client.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_monitor/service_diagnostic_settings_operations.rb +6 -0
- data/lib/2017-04-01/generated/azure_mgmt_monitor/action_groups.rb +14 -0
- data/lib/2017-04-01/generated/azure_mgmt_monitor/activity_log_alerts.rb +12 -0
- data/lib/2017-04-01/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor.rb +16 -11
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/diagnostic_settings_category_operations.rb +4 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/diagnostic_settings_operations.rb +8 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/metric_definitions.rb +2 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/metrics.rb +2 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/diagnostic_settings_resource.rb +19 -5
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/response.rb +1 -1
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/subscription_diagnostic_settings_resource.rb +150 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/subscription_diagnostic_settings_resource_collection.rb +57 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/subscription_log_settings.rb +59 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/subscription_proxy_only_resource.rb +82 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +10 -5
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/subscription_diagnostic_settings_operations.rb +405 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_monitor.rb +34 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_monitor/application_insights_management_client.rb +146 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_monitor/component_current_pricing_plan.rb +377 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_monitor/easubscription_list_migration_date.rb +113 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_monitor/easubscription_migrate_to_new_pricing_model.rb +102 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_monitor/easubscription_rollback_to_legacy_pricing_model.rb +102 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_monitor/models/application_insights_component_pricing_plan.rb +143 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_monitor/models/easubscription_migration_date.rb +58 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_monitor/models/resource.rb +80 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_monitor/module_definition.rb +9 -0
- data/lib/2017-11-01-preview/generated/azure_mgmt_monitor/metric_baseline.rb +4 -0
- data/lib/2017-11-01-preview/generated/azure_mgmt_monitor/models/baseline_response.rb +1 -1
- data/lib/2017-11-01-preview/generated/azure_mgmt_monitor/models/calculate_baseline_response.rb +1 -1
- data/lib/2017-11-01-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
- data/lib/2017-12-01-preview/generated/azure_mgmt_monitor.rb +32 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/metric_namespaces.rb +120 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/error_response.rb +57 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/metric_namespace.rb +81 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/metric_namespace_collection.rb +55 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/metric_namespace_name.rb +46 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/module_definition.rb +9 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +128 -0
- data/lib/2018-01-01/generated/azure_mgmt_monitor/metric_definitions.rb +2 -0
- data/lib/2018-01-01/generated/azure_mgmt_monitor/metrics.rb +2 -0
- data/lib/2018-01-01/generated/azure_mgmt_monitor/models/metric.rb +2 -1
- data/lib/2018-01-01/generated/azure_mgmt_monitor/models/metric_definition.rb +3 -2
- data/lib/2018-01-01/generated/azure_mgmt_monitor/models/metric_value.rb +3 -4
- data/lib/2018-01-01/generated/azure_mgmt_monitor/models/response.rb +1 -1
- data/lib/2018-01-01/generated/azure_mgmt_monitor/models/unit.rb +4 -0
- data/lib/2018-01-01/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
- data/lib/2018-03-01/generated/azure_mgmt_monitor.rb +25 -17
- data/lib/2018-03-01/generated/azure_mgmt_monitor/action_groups.rb +14 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/metric_alerts.rb +22 -10
- data/lib/2018-03-01/generated/azure_mgmt_monitor/metric_alerts_status.rb +4 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/dynamic_metric_criteria.rb +175 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/dynamic_threshold_failing_periods.rb +61 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/dynamic_threshold_operator.rb +17 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/dynamic_threshold_sensitivity.rb +17 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_action.rb +3 -3
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_criteria.rb +2 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_multiple_resource_multiple_metric_criteria.rb +90 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_resource.rb +27 -1
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_resource_patch.rb +27 -1
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_criteria.rb +56 -31
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_dimension.rb +2 -1
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/multi_metric_criteria.rb +142 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/operator.rb +20 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/webtest_location_availability_criteria.rb +98 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/monitor_management_client.rb +5 -5
- data/lib/2018-04-16/generated/azure_mgmt_monitor.rb +8 -5
- data/lib/2018-04-16/generated/azure_mgmt_monitor/models/action.rb +1 -0
- data/lib/2018-04-16/generated/azure_mgmt_monitor/models/alerting_action.rb +2 -2
- data/lib/2018-04-16/generated/azure_mgmt_monitor/models/az_ns_action_group.rb +1 -1
- data/lib/2018-04-16/generated/azure_mgmt_monitor/models/criteria.rb +66 -0
- data/lib/2018-04-16/generated/azure_mgmt_monitor/models/dimension.rb +79 -0
- data/lib/2018-04-16/generated/azure_mgmt_monitor/models/log_search_rule_resource.rb +4 -3
- data/lib/2018-04-16/generated/azure_mgmt_monitor/models/log_to_metric_action.rb +71 -0
- data/lib/2018-04-16/generated/azure_mgmt_monitor/models/source.rb +3 -2
- data/lib/2018-04-16/generated/azure_mgmt_monitor/monitor_client.rb +1 -1
- data/lib/2018-04-16/generated/azure_mgmt_monitor/scheduled_query_rules.rb +12 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor.rb +44 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/guest_diagnostics_settings.rb +614 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/guest_diagnostics_settings_association.rb +634 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/data_source.rb +80 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/data_source_configuration.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/error_response.rb +57 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/etw_event_configuration.rb +69 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/etw_provider_configuration.rb +67 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/event_log_configuration.rb +58 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_association_list.rb +68 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_association_resource.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_association_resource_patch.rb +66 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_list.rb +68 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_patch_resource.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_resource.rb +130 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/performance_counter_configuration.rb +69 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/resource.rb +110 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/sink_configuration.rb +48 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/module_definition.rb +9 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +136 -0
- data/lib/2018-06-17-preview/generated/azure_mgmt_monitor.rb +36 -0
- data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/application_insights_management_client.rb +131 -0
- data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/models/category_type.rb +18 -0
- data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/models/error_field_contract.rb +68 -0
- data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/models/resource.rb +123 -0
- data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/models/shared_type_kind.rb +16 -0
- data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/models/workbook.rb +185 -0
- data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/models/workbook_error.rb +79 -0
- data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/models/workbook_update_parameters.rb +122 -0
- data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/models/workbooks_list_result.rb +55 -0
- data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/module_definition.rb +9 -0
- data/lib/2018-06-17-preview/generated/azure_mgmt_monitor/workbooks.rb +609 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor.rb +54 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/action_groups.rb +707 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/metric_baseline.rb +294 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/action_group_list.rb +67 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/action_group_patch_body.rb +68 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/action_group_resource.rb +326 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/arm_role_receiver.rb +58 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/automation_runbook_receiver.rb +102 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/azure_app_push_receiver.rb +58 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/azure_function_receiver.rb +80 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/baseline.rb +86 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/baseline_metadata_value.rb +58 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/baseline_response.rb +171 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/calculate_baseline_response.rb +85 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/email_receiver.rb +72 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/enable_request.rb +46 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/error_response.rb +57 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/itsm_receiver.rb +94 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/localizable_string.rb +57 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/logic_app_receiver.rb +69 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/receiver_status.rb +17 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/resource.rb +110 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/result_type.rb +16 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/sensitivity.rb +17 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/sms_receiver.rb +83 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/time_series_information.rb +93 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/voice_receiver.rb +69 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/webhook_receiver.rb +58 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/module_definition.rb +9 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/monitor_management_client.rb +135 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor.rb +36 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/data_container.rb +47 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/data_status.rb +16 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/error.rb +57 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/onboarding_status.rb +17 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/proxy_resource.rb +71 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/response_with_error.rb +47 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/vminsights_onboarding_status.rb +123 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/workspace_info.rb +69 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/module_definition.rb +9 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +128 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/vminsights.rb +120 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor.rb +54 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/action_groups.rb +707 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/baselines.rb +186 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/action_group_list.rb +67 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/action_group_patch_body.rb +68 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/action_group_resource.rb +326 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/arm_role_receiver.rb +69 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/automation_runbook_receiver.rb +113 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/azure_app_push_receiver.rb +58 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/azure_function_receiver.rb +91 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/baseline_metadata.rb +57 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/baseline_sensitivity.rb +17 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/email_receiver.rb +83 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/enable_request.rb +46 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/error_response.rb +57 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/itsm_receiver.rb +94 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/logic_app_receiver.rb +80 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/metric_baselines_response.rb +55 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/metric_single_dimension.rb +57 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/receiver_status.rb +17 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/resource.rb +110 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/result_type.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/single_baseline.rb +85 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/single_metric_baseline.rb +129 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/sms_receiver.rb +83 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/time_series_baseline.rb +127 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/voice_receiver.rb +69 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/webhook_receiver.rb +69 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/module_definition.rb +9 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/monitor_management_client.rb +135 -0
- data/lib/2019-06-01/generated/azure_mgmt_monitor.rb +45 -0
- data/lib/2019-06-01/generated/azure_mgmt_monitor/action_groups.rb +707 -0
- data/lib/2019-06-01/generated/azure_mgmt_monitor/models/action_group_list.rb +67 -0
- data/lib/2019-06-01/generated/azure_mgmt_monitor/models/action_group_patch_body.rb +68 -0
- data/lib/2019-06-01/generated/azure_mgmt_monitor/models/action_group_resource.rb +326 -0
- data/lib/2019-06-01/generated/azure_mgmt_monitor/models/arm_role_receiver.rb +69 -0
- data/lib/2019-06-01/generated/azure_mgmt_monitor/models/automation_runbook_receiver.rb +113 -0
- data/lib/2019-06-01/generated/azure_mgmt_monitor/models/azure_app_push_receiver.rb +58 -0
- data/lib/2019-06-01/generated/azure_mgmt_monitor/models/azure_function_receiver.rb +91 -0
- data/lib/2019-06-01/generated/azure_mgmt_monitor/models/email_receiver.rb +83 -0
- data/lib/2019-06-01/generated/azure_mgmt_monitor/models/enable_request.rb +46 -0
- data/lib/2019-06-01/generated/azure_mgmt_monitor/models/error_response.rb +57 -0
- data/lib/2019-06-01/generated/azure_mgmt_monitor/models/itsm_receiver.rb +94 -0
- data/lib/2019-06-01/generated/azure_mgmt_monitor/models/logic_app_receiver.rb +80 -0
- data/lib/2019-06-01/generated/azure_mgmt_monitor/models/receiver_status.rb +17 -0
- data/lib/2019-06-01/generated/azure_mgmt_monitor/models/resource.rb +110 -0
- data/lib/2019-06-01/generated/azure_mgmt_monitor/models/sms_receiver.rb +83 -0
- data/lib/2019-06-01/generated/azure_mgmt_monitor/models/voice_receiver.rb +69 -0
- data/lib/2019-06-01/generated/azure_mgmt_monitor/models/webhook_receiver.rb +115 -0
- data/lib/2019-06-01/generated/azure_mgmt_monitor/module_definition.rb +9 -0
- data/lib/2019-06-01/generated/azure_mgmt_monitor/monitor_management_client.rb +131 -0
- data/lib/2019-10-17-preview/generated/azure_mgmt_monitor.rb +49 -0
- data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/azure_monitor_private_link_scope.rb +123 -0
- data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/azure_monitor_private_link_scope_list_result.rb +102 -0
- data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/error_additional_info.rb +59 -0
- data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/error_response.rb +57 -0
- data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/error_response_common.rb +93 -0
- data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/operation_status.rb +102 -0
- data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/private_endpoint_connection.rb +100 -0
- data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/private_endpoint_connection_list_result.rb +100 -0
- data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/private_endpoint_property.rb +46 -0
- data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/private_link_resource.rb +95 -0
- data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/private_link_resource_list_result.rb +100 -0
- data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/private_link_scopes_resource.rb +101 -0
- data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/private_link_service_connection_state_property.rb +71 -0
- data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/proxy_resource.rb +71 -0
- data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/scoped_resource.rb +85 -0
- data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/scoped_resource_list_result.rb +100 -0
- data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/tags_resource.rb +55 -0
- data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/module_definition.rb +9 -0
- data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +148 -0
- data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/private_endpoint_connections.rb +641 -0
- data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/private_link_resources.rb +346 -0
- data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/private_link_scope_operation_status.rb +122 -0
- data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/private_link_scoped_resources.rb +638 -0
- data/lib/2019-10-17-preview/generated/azure_mgmt_monitor/private_link_scopes.rb +889 -0
- data/lib/azure_mgmt_monitor.rb +16 -5
- data/lib/profiles/latest/modules/monitor_profile_module.rb +575 -159
- data/lib/profiles/v2019_03_01_hybrid/modules/monitor_profile_module.rb +327 -0
- data/lib/profiles/v2019_03_01_hybrid/monitor_module_definition.rb +8 -0
- data/lib/profiles/v2019_03_01_hybrid/monitor_v2019_03_01_hybrid_profile_client.rb +40 -0
- data/lib/version.rb +1 -1
- metadata +277 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78af93d1f9cd0616d44f297489715b496aaf04ffc96e0de39c4538a90c8d2800
|
4
|
+
data.tar.gz: 8cc630b828ef3ffc9364b21dc17cb1a8df7406b951c601ff815682ceb20d6c25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1664dc499bd32d13b95881cee7d01b7075e8a90e21e1a1abed0f479995a41e4424c4d698474d19aaa816aa1c004a2d36260e328b2dccbc00c78583edc0cd7c5
|
7
|
+
data.tar.gz: 4db7bbebbe65f3c2c2b0628ffe45755d9e8e9c4713e9cb430d3c813e9e0c7112dbb8951acb0484c1108d4e7413469447a9dcdbe4a80d5f007ee7de5488e4ebca
|
@@ -29,35 +29,38 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
29
29
|
|
30
30
|
module Models
|
31
31
|
autoload :RecurrentSchedule, '2015-04-01/generated/azure_mgmt_monitor/models/recurrent_schedule.rb'
|
32
|
+
autoload :LocalizableString, '2015-04-01/generated/azure_mgmt_monitor/models/localizable_string.rb'
|
32
33
|
autoload :Recurrence, '2015-04-01/generated/azure_mgmt_monitor/models/recurrence.rb'
|
33
|
-
autoload :
|
34
|
+
autoload :HttpRequestInfo, '2015-04-01/generated/azure_mgmt_monitor/models/http_request_info.rb'
|
34
35
|
autoload :AutoscaleProfile, '2015-04-01/generated/azure_mgmt_monitor/models/autoscale_profile.rb'
|
35
|
-
autoload :
|
36
|
+
autoload :EventDataCollection, '2015-04-01/generated/azure_mgmt_monitor/models/event_data_collection.rb'
|
36
37
|
autoload :EmailNotification, '2015-04-01/generated/azure_mgmt_monitor/models/email_notification.rb'
|
37
|
-
autoload :
|
38
|
+
autoload :Resource, '2015-04-01/generated/azure_mgmt_monitor/models/resource.rb'
|
38
39
|
autoload :WebhookNotification, '2015-04-01/generated/azure_mgmt_monitor/models/webhook_notification.rb'
|
39
|
-
autoload :
|
40
|
+
autoload :ScaleRuleMetricDimension, '2015-04-01/generated/azure_mgmt_monitor/models/scale_rule_metric_dimension.rb'
|
40
41
|
autoload :AutoscaleNotification, '2015-04-01/generated/azure_mgmt_monitor/models/autoscale_notification.rb'
|
41
42
|
autoload :ScaleAction, '2015-04-01/generated/azure_mgmt_monitor/models/scale_action.rb'
|
42
43
|
autoload :ScaleRule, '2015-04-01/generated/azure_mgmt_monitor/models/scale_rule.rb'
|
43
|
-
autoload :
|
44
|
+
autoload :SenderAuthorization, '2015-04-01/generated/azure_mgmt_monitor/models/sender_authorization.rb'
|
44
45
|
autoload :AutoscaleSettingResourcePatch, '2015-04-01/generated/azure_mgmt_monitor/models/autoscale_setting_resource_patch.rb'
|
45
|
-
autoload :
|
46
|
+
autoload :ErrorResponse, '2015-04-01/generated/azure_mgmt_monitor/models/error_response.rb'
|
46
47
|
autoload :AutoscaleSettingResourceCollection, '2015-04-01/generated/azure_mgmt_monitor/models/autoscale_setting_resource_collection.rb'
|
47
48
|
autoload :MetricTrigger, '2015-04-01/generated/azure_mgmt_monitor/models/metric_trigger.rb'
|
48
49
|
autoload :EventCategoryCollection, '2015-04-01/generated/azure_mgmt_monitor/models/event_category_collection.rb'
|
49
|
-
autoload :
|
50
|
+
autoload :EventData, '2015-04-01/generated/azure_mgmt_monitor/models/event_data.rb'
|
50
51
|
autoload :OperationDisplay, '2015-04-01/generated/azure_mgmt_monitor/models/operation_display.rb'
|
51
52
|
autoload :TimeWindow, '2015-04-01/generated/azure_mgmt_monitor/models/time_window.rb'
|
52
53
|
autoload :Operation, '2015-04-01/generated/azure_mgmt_monitor/models/operation.rb'
|
53
|
-
autoload :
|
54
|
+
autoload :ScaleCapacity, '2015-04-01/generated/azure_mgmt_monitor/models/scale_capacity.rb'
|
54
55
|
autoload :OperationListResult, '2015-04-01/generated/azure_mgmt_monitor/models/operation_list_result.rb'
|
55
56
|
autoload :AutoscaleSettingResource, '2015-04-01/generated/azure_mgmt_monitor/models/autoscale_setting_resource.rb'
|
56
57
|
autoload :EventLevel, '2015-04-01/generated/azure_mgmt_monitor/models/event_level.rb'
|
57
58
|
autoload :MetricStatisticType, '2015-04-01/generated/azure_mgmt_monitor/models/metric_statistic_type.rb'
|
58
59
|
autoload :TimeAggregationType, '2015-04-01/generated/azure_mgmt_monitor/models/time_aggregation_type.rb'
|
59
60
|
autoload :ComparisonOperationType, '2015-04-01/generated/azure_mgmt_monitor/models/comparison_operation_type.rb'
|
61
|
+
autoload :ScaleRuleMetricDimensionOperationType, '2015-04-01/generated/azure_mgmt_monitor/models/scale_rule_metric_dimension_operation_type.rb'
|
60
62
|
autoload :ScaleDirection, '2015-04-01/generated/azure_mgmt_monitor/models/scale_direction.rb'
|
61
63
|
autoload :ScaleType, '2015-04-01/generated/azure_mgmt_monitor/models/scale_type.rb'
|
64
|
+
autoload :RecurrenceFrequency, '2015-04-01/generated/azure_mgmt_monitor/models/recurrence_frequency.rb'
|
62
65
|
end
|
63
66
|
end
|
@@ -24,9 +24,10 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
24
24
|
#
|
25
25
|
# Provides the list of records from the activity logs.
|
26
26
|
#
|
27
|
-
# @param filter [String] Reduces the set of data collected.<br>
|
28
|
-
#
|
29
|
-
#
|
27
|
+
# @param filter [String] Reduces the set of data collected.<br>This argument is
|
28
|
+
# required and it also requires at least the start date/time.<br>The
|
29
|
+
# **$filter** argument is very restricted and allows only the following
|
30
|
+
# patterns.<br>- *List events for a resource group*: $filter=eventTimestamp ge
|
30
31
|
# '2014-07-16T04:36:37.6407898Z' and eventTimestamp le
|
31
32
|
# '2014-07-20T04:36:37.6407898Z' and resourceGroupName eq
|
32
33
|
# 'resourceGroupName'.<br>- *List events for resource*: $filter=eventTimestamp
|
@@ -53,17 +54,18 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
53
54
|
#
|
54
55
|
# @return [Array<EventData>] operation results.
|
55
56
|
#
|
56
|
-
def list(filter
|
57
|
-
first_page = list_as_lazy(filter
|
57
|
+
def list(filter, select:nil, custom_headers:nil)
|
58
|
+
first_page = list_as_lazy(filter, select:select, custom_headers:custom_headers)
|
58
59
|
first_page.get_all_items
|
59
60
|
end
|
60
61
|
|
61
62
|
#
|
62
63
|
# Provides the list of records from the activity logs.
|
63
64
|
#
|
64
|
-
# @param filter [String] Reduces the set of data collected.<br>
|
65
|
-
#
|
66
|
-
#
|
65
|
+
# @param filter [String] Reduces the set of data collected.<br>This argument is
|
66
|
+
# required and it also requires at least the start date/time.<br>The
|
67
|
+
# **$filter** argument is very restricted and allows only the following
|
68
|
+
# patterns.<br>- *List events for a resource group*: $filter=eventTimestamp ge
|
67
69
|
# '2014-07-16T04:36:37.6407898Z' and eventTimestamp le
|
68
70
|
# '2014-07-20T04:36:37.6407898Z' and resourceGroupName eq
|
69
71
|
# 'resourceGroupName'.<br>- *List events for resource*: $filter=eventTimestamp
|
@@ -90,16 +92,17 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
90
92
|
#
|
91
93
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
92
94
|
#
|
93
|
-
def list_with_http_info(filter
|
94
|
-
list_async(filter
|
95
|
+
def list_with_http_info(filter, select:nil, custom_headers:nil)
|
96
|
+
list_async(filter, select:select, custom_headers:custom_headers).value!
|
95
97
|
end
|
96
98
|
|
97
99
|
#
|
98
100
|
# Provides the list of records from the activity logs.
|
99
101
|
#
|
100
|
-
# @param filter [String] Reduces the set of data collected.<br>
|
101
|
-
#
|
102
|
-
#
|
102
|
+
# @param filter [String] Reduces the set of data collected.<br>This argument is
|
103
|
+
# required and it also requires at least the start date/time.<br>The
|
104
|
+
# **$filter** argument is very restricted and allows only the following
|
105
|
+
# patterns.<br>- *List events for a resource group*: $filter=eventTimestamp ge
|
103
106
|
# '2014-07-16T04:36:37.6407898Z' and eventTimestamp le
|
104
107
|
# '2014-07-20T04:36:37.6407898Z' and resourceGroupName eq
|
105
108
|
# 'resourceGroupName'.<br>- *List events for resource*: $filter=eventTimestamp
|
@@ -126,8 +129,9 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
126
129
|
#
|
127
130
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
128
131
|
#
|
129
|
-
def list_async(filter
|
132
|
+
def list_async(filter, select:nil, custom_headers:nil)
|
130
133
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
134
|
+
fail ArgumentError, 'filter is nil' if filter.nil?
|
131
135
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
132
136
|
|
133
137
|
|
@@ -160,6 +164,8 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
160
164
|
end
|
161
165
|
|
162
166
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
167
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
168
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
163
169
|
# Deserialize Response
|
164
170
|
if status_code == 200
|
165
171
|
begin
|
@@ -248,6 +254,8 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
248
254
|
end
|
249
255
|
|
250
256
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
257
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
258
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
251
259
|
# Deserialize Response
|
252
260
|
if status_code == 200
|
253
261
|
begin
|
@@ -268,9 +276,10 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
268
276
|
#
|
269
277
|
# Provides the list of records from the activity logs.
|
270
278
|
#
|
271
|
-
# @param filter [String] Reduces the set of data collected.<br>
|
272
|
-
#
|
273
|
-
#
|
279
|
+
# @param filter [String] Reduces the set of data collected.<br>This argument is
|
280
|
+
# required and it also requires at least the start date/time.<br>The
|
281
|
+
# **$filter** argument is very restricted and allows only the following
|
282
|
+
# patterns.<br>- *List events for a resource group*: $filter=eventTimestamp ge
|
274
283
|
# '2014-07-16T04:36:37.6407898Z' and eventTimestamp le
|
275
284
|
# '2014-07-20T04:36:37.6407898Z' and resourceGroupName eq
|
276
285
|
# 'resourceGroupName'.<br>- *List events for resource*: $filter=eventTimestamp
|
@@ -298,8 +307,8 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
298
307
|
# @return [EventDataCollection] which provide lazy access to pages of the
|
299
308
|
# response.
|
300
309
|
#
|
301
|
-
def list_as_lazy(filter
|
302
|
-
response = list_async(filter
|
310
|
+
def list_as_lazy(filter, select:nil, custom_headers:nil)
|
311
|
+
response = list_async(filter, select:select, custom_headers:custom_headers).value!
|
303
312
|
unless response.nil?
|
304
313
|
page = response.body
|
305
314
|
page.next_method = Proc.new do |next_page_link|
|
@@ -92,6 +92,8 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
92
92
|
end
|
93
93
|
|
94
94
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
95
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
96
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
95
97
|
# Deserialize Response
|
96
98
|
if status_code == 200
|
97
99
|
begin
|
@@ -198,6 +200,8 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
198
200
|
end
|
199
201
|
|
200
202
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
203
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
204
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
201
205
|
# Deserialize Response
|
202
206
|
if status_code == 200
|
203
207
|
begin
|
@@ -299,6 +303,8 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
299
303
|
end
|
300
304
|
|
301
305
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
306
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
307
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
302
308
|
|
303
309
|
result
|
304
310
|
end
|
@@ -381,6 +387,8 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
381
387
|
end
|
382
388
|
|
383
389
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
390
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
391
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
384
392
|
# Deserialize Response
|
385
393
|
if status_code == 200
|
386
394
|
begin
|
@@ -490,6 +498,8 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
490
498
|
end
|
491
499
|
|
492
500
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
501
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
502
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
493
503
|
# Deserialize Response
|
494
504
|
if status_code == 200
|
495
505
|
begin
|
@@ -574,6 +584,8 @@ module Azure::Monitor::Mgmt::V2015_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
|
@@ -662,6 +674,8 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
662
674
|
end
|
663
675
|
|
664
676
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
677
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
678
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
665
679
|
# Deserialize Response
|
666
680
|
if status_code == 200
|
667
681
|
begin
|
@@ -750,6 +764,8 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
750
764
|
end
|
751
765
|
|
752
766
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
767
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
768
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
753
769
|
# Deserialize Response
|
754
770
|
if status_code == 200
|
755
771
|
begin
|
@@ -92,6 +92,8 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
92
92
|
end
|
93
93
|
|
94
94
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
95
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
96
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
95
97
|
# Deserialize Response
|
96
98
|
if status_code == 200
|
97
99
|
begin
|
@@ -16,6 +16,10 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
16
16
|
# monitors.
|
17
17
|
attr_accessor :metric_name
|
18
18
|
|
19
|
+
# @return [String] the namespace of the metric that defines what the rule
|
20
|
+
# monitors.
|
21
|
+
attr_accessor :metric_namespace
|
22
|
+
|
19
23
|
# @return [String] the resource identifier of the resource the rule
|
20
24
|
# monitors.
|
21
25
|
attr_accessor :metric_resource_uri
|
@@ -39,7 +43,7 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
39
43
|
# @return [TimeAggregationType] time aggregation type. How the data that
|
40
44
|
# is collected should be combined over time. The default value is
|
41
45
|
# Average. Possible values include: 'Average', 'Minimum', 'Maximum',
|
42
|
-
# 'Total', 'Count'
|
46
|
+
# 'Total', 'Count', 'Last'
|
43
47
|
attr_accessor :time_aggregation
|
44
48
|
|
45
49
|
# @return [ComparisonOperationType] the operator that is used to compare
|
@@ -52,6 +56,11 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
52
56
|
# action.
|
53
57
|
attr_accessor :threshold
|
54
58
|
|
59
|
+
# @return [Array<ScaleRuleMetricDimension>] List of dimension conditions.
|
60
|
+
# For example:
|
61
|
+
# [{"DimensionName":"AppName","Operator":"Equals","Values":["App1"]},{"DimensionName":"Deployment","Operator":"Equals","Values":["default"]}].
|
62
|
+
attr_accessor :dimensions
|
63
|
+
|
55
64
|
|
56
65
|
#
|
57
66
|
# Mapper for MetricTrigger class as Ruby Hash.
|
@@ -74,6 +83,14 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
74
83
|
name: 'String'
|
75
84
|
}
|
76
85
|
},
|
86
|
+
metric_namespace: {
|
87
|
+
client_side_validation: true,
|
88
|
+
required: false,
|
89
|
+
serialized_name: 'metricNamespace',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
},
|
77
94
|
metric_resource_uri: {
|
78
95
|
client_side_validation: true,
|
79
96
|
required: true,
|
@@ -132,6 +149,23 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
132
149
|
type: {
|
133
150
|
name: 'Double'
|
134
151
|
}
|
152
|
+
},
|
153
|
+
dimensions: {
|
154
|
+
client_side_validation: true,
|
155
|
+
required: false,
|
156
|
+
serialized_name: 'dimensions',
|
157
|
+
type: {
|
158
|
+
name: 'Sequence',
|
159
|
+
element: {
|
160
|
+
client_side_validation: true,
|
161
|
+
required: false,
|
162
|
+
serialized_name: 'ScaleRuleMetricDimensionElementType',
|
163
|
+
type: {
|
164
|
+
name: 'Composite',
|
165
|
+
class_name: 'ScaleRuleMetricDimension'
|
166
|
+
}
|
167
|
+
}
|
168
|
+
}
|
135
169
|
}
|
136
170
|
}
|
137
171
|
}
|
@@ -13,12 +13,13 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
|
-
# @return [
|
17
|
-
# profile should take effect. This value must be Week, meaning
|
18
|
-
# will have the same set of profiles. For example, to set a
|
19
|
-
# schedule, set **schedule** to every day of the week. The
|
20
|
-
# property specifies that the schedule is repeated weekly.
|
21
|
-
# '
|
16
|
+
# @return [RecurrenceFrequency] the recurrence frequency. How often the
|
17
|
+
# schedule profile should take effect. This value must be Week, meaning
|
18
|
+
# each week will have the same set of profiles. For example, to set a
|
19
|
+
# daily schedule, set **schedule** to every day of the week. The
|
20
|
+
# frequency property specifies that the schedule is repeated weekly.
|
21
|
+
# Possible values include: 'None', 'Second', 'Minute', 'Hour', 'Day',
|
22
|
+
# 'Week', 'Month', 'Year'
|
22
23
|
attr_accessor :frequency
|
23
24
|
|
24
25
|
# @return [RecurrentSchedule] the scheduling constraints for when the
|
@@ -42,11 +43,10 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
42
43
|
frequency: {
|
43
44
|
client_side_validation: true,
|
44
45
|
required: true,
|
45
|
-
is_constant: true,
|
46
46
|
serialized_name: 'frequency',
|
47
|
-
default_value: 'Week',
|
48
47
|
type: {
|
49
|
-
name: '
|
48
|
+
name: 'Enum',
|
49
|
+
module: 'RecurrenceFrequency'
|
50
50
|
}
|
51
51
|
},
|
52
52
|
schedule: {
|
@@ -0,0 +1,22 @@
|
|
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::V2015_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for RecurrenceFrequency
|
10
|
+
#
|
11
|
+
module RecurrenceFrequency
|
12
|
+
None = "None"
|
13
|
+
Second = "Second"
|
14
|
+
Minute = "Minute"
|
15
|
+
Hour = "Hour"
|
16
|
+
Day = "Day"
|
17
|
+
Week = "Week"
|
18
|
+
Month = "Month"
|
19
|
+
Year = "Year"
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -13,7 +13,7 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
15
|
# @return [String] the timezone for the hours of the profile. Some
|
16
|
-
# examples of valid
|
16
|
+
# examples of valid time zones are: Dateline Standard Time, UTC-11,
|
17
17
|
# Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard Time
|
18
18
|
# (Mexico), Pacific Standard Time, US Mountain Standard Time, Mountain
|
19
19
|
# Standard Time (Mexico), Mountain Standard Time, Central America
|
@@ -0,0 +1,80 @@
|
|
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::V2015_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Specifies an auto scale rule metric dimension.
|
10
|
+
#
|
11
|
+
class ScaleRuleMetricDimension
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Name of the dimension.
|
16
|
+
attr_accessor :dimension_name
|
17
|
+
|
18
|
+
# @return [ScaleRuleMetricDimensionOperationType] the dimension operator.
|
19
|
+
# Only 'Equals' and 'NotEquals' are supported. 'Equals' being equal to
|
20
|
+
# any of the values. 'NotEquals' being not equal to all of the values.
|
21
|
+
# Possible values include: 'Equals', 'NotEquals'
|
22
|
+
attr_accessor :operator
|
23
|
+
|
24
|
+
# @return [Array<String>] list of dimension values. For example:
|
25
|
+
# ["App1","App2"].
|
26
|
+
attr_accessor :values
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for ScaleRuleMetricDimension class as Ruby Hash.
|
31
|
+
# This will be used for serialization/deserialization.
|
32
|
+
#
|
33
|
+
def self.mapper()
|
34
|
+
{
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'ScaleRuleMetricDimension',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'ScaleRuleMetricDimension',
|
41
|
+
model_properties: {
|
42
|
+
dimension_name: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: true,
|
45
|
+
serialized_name: 'DimensionName',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
operator: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: true,
|
53
|
+
serialized_name: 'Operator',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
values: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: true,
|
61
|
+
serialized_name: 'Values',
|
62
|
+
type: {
|
63
|
+
name: 'Sequence',
|
64
|
+
element: {
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'StringElementType',
|
68
|
+
type: {
|
69
|
+
name: 'String'
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|