azure_mgmt_monitor 0.17.4 → 0.17.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/LICENSE.txt +20 -20
- data/lib/2015-04-01/generated/azure_mgmt_monitor.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/activity_logs.rb +4 -0
- 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/autoscale_notification.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/autoscale_profile.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/autoscale_setting_resource.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/autoscale_setting_resource_collection.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/autoscale_setting_resource_patch.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/comparison_operation_type.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/email_notification.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/error_response.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/event_category_collection.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/event_data.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/event_data_collection.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/event_level.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/http_request_info.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/localizable_string.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/metric_statistic_type.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/metric_trigger.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/operation.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/operation_display.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/operation_list_result.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/recurrence.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/recurrent_schedule.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/resource.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/scale_action.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/scale_capacity.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/scale_direction.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/scale_rule.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/scale_type.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/sender_authorization.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/time_aggregation_type.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/time_window.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/models/webhook_notification.rb +0 -0
- data/lib/2015-04-01/generated/azure_mgmt_monitor/module_definition.rb +0 -0
- 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 +0 -0
- 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 +12 -0
- 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/models/aggregation_type.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/models/alert_rule_resource.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/models/alert_rule_resource_collection.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/models/alert_rule_resource_patch.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/models/condition_operator.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/models/error_response.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/models/incident.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/models/incident_list_result.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/models/localizable_string.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/models/location_threshold_rule_condition.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/models/log_profile_collection.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/models/log_profile_resource.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/models/log_profile_resource_patch.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/models/management_event_aggregation_condition.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/models/management_event_rule_condition.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/models/metric_availability.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/models/metric_definition.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/models/metric_definition_collection.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/models/resource.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/models/retention_policy.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/models/rule_action.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/models/rule_condition.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/models/rule_data_source.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/models/rule_email_action.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/models/rule_management_event_claims_data_source.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/models/rule_management_event_data_source.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/models/rule_metric_data_source.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/models/rule_webhook_action.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/models/threshold_rule_condition.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/models/time_aggregation_operator.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/models/unit.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/module_definition.rb +0 -0
- data/lib/2016-03-01/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_monitor.rb +0 -0
- data/lib/2016-09-01/generated/azure_mgmt_monitor/metrics.rb +2 -0
- data/lib/2016-09-01/generated/azure_mgmt_monitor/models/error_response.rb +0 -0
- data/lib/2016-09-01/generated/azure_mgmt_monitor/models/localizable_string.rb +0 -0
- data/lib/2016-09-01/generated/azure_mgmt_monitor/models/log_settings.rb +0 -0
- data/lib/2016-09-01/generated/azure_mgmt_monitor/models/metric.rb +0 -0
- data/lib/2016-09-01/generated/azure_mgmt_monitor/models/metric_collection.rb +0 -0
- data/lib/2016-09-01/generated/azure_mgmt_monitor/models/metric_settings.rb +0 -0
- data/lib/2016-09-01/generated/azure_mgmt_monitor/models/metric_value.rb +0 -0
- data/lib/2016-09-01/generated/azure_mgmt_monitor/models/resource.rb +0 -0
- data/lib/2016-09-01/generated/azure_mgmt_monitor/models/retention_policy.rb +0 -0
- data/lib/2016-09-01/generated/azure_mgmt_monitor/models/service_diagnostic_settings_resource.rb +0 -0
- data/lib/2016-09-01/generated/azure_mgmt_monitor/models/service_diagnostic_settings_resource_patch.rb +0 -0
- data/lib/2016-09-01/generated/azure_mgmt_monitor/models/unit.rb +0 -0
- data/lib/2016-09-01/generated/azure_mgmt_monitor/module_definition.rb +0 -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.rb +0 -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/models/action_group_list.rb +0 -0
- data/lib/2017-04-01/generated/azure_mgmt_monitor/models/action_group_patch_body.rb +0 -0
- data/lib/2017-04-01/generated/azure_mgmt_monitor/models/action_group_resource.rb +0 -0
- data/lib/2017-04-01/generated/azure_mgmt_monitor/models/activity_log_alert_action_group.rb +0 -0
- data/lib/2017-04-01/generated/azure_mgmt_monitor/models/activity_log_alert_action_list.rb +0 -0
- data/lib/2017-04-01/generated/azure_mgmt_monitor/models/activity_log_alert_all_of_condition.rb +0 -0
- data/lib/2017-04-01/generated/azure_mgmt_monitor/models/activity_log_alert_leaf_condition.rb +0 -0
- data/lib/2017-04-01/generated/azure_mgmt_monitor/models/activity_log_alert_list.rb +0 -0
- data/lib/2017-04-01/generated/azure_mgmt_monitor/models/activity_log_alert_patch_body.rb +0 -0
- data/lib/2017-04-01/generated/azure_mgmt_monitor/models/activity_log_alert_resource.rb +0 -0
- data/lib/2017-04-01/generated/azure_mgmt_monitor/models/automation_runbook_receiver.rb +0 -0
- data/lib/2017-04-01/generated/azure_mgmt_monitor/models/azure_app_push_receiver.rb +0 -0
- data/lib/2017-04-01/generated/azure_mgmt_monitor/models/email_receiver.rb +0 -0
- data/lib/2017-04-01/generated/azure_mgmt_monitor/models/enable_request.rb +0 -0
- data/lib/2017-04-01/generated/azure_mgmt_monitor/models/error_response.rb +0 -0
- data/lib/2017-04-01/generated/azure_mgmt_monitor/models/itsm_receiver.rb +0 -0
- data/lib/2017-04-01/generated/azure_mgmt_monitor/models/receiver_status.rb +0 -0
- data/lib/2017-04-01/generated/azure_mgmt_monitor/models/resource.rb +0 -0
- data/lib/2017-04-01/generated/azure_mgmt_monitor/models/sms_receiver.rb +0 -0
- data/lib/2017-04-01/generated/azure_mgmt_monitor/models/webhook_receiver.rb +0 -0
- data/lib/2017-04-01/generated/azure_mgmt_monitor/module_definition.rb +0 -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 +0 -0
- 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/aggregation_type.rb +0 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/category_type.rb +0 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/diagnostic_settings_category_resource.rb +0 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/diagnostic_settings_category_resource_collection.rb +0 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/diagnostic_settings_resource.rb +0 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/diagnostic_settings_resource_collection.rb +0 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/error_response.rb +0 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/localizable_string.rb +0 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/log_settings.rb +0 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/metadata_value.rb +0 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/metric.rb +0 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/metric_availability.rb +0 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/metric_definition.rb +0 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/metric_definition_collection.rb +0 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/metric_settings.rb +0 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/metric_value.rb +0 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/proxy_only_resource.rb +0 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/response.rb +0 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/result_type.rb +0 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/retention_policy.rb +0 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/time_series_element.rb +0 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/unit.rb +0 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/module_definition.rb +0 -0
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
- 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.rb +0 -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.rb +0 -0
- data/lib/2017-11-01-preview/generated/azure_mgmt_monitor/models/baseline_metadata_value.rb +0 -0
- data/lib/2017-11-01-preview/generated/azure_mgmt_monitor/models/baseline_response.rb +0 -0
- data/lib/2017-11-01-preview/generated/azure_mgmt_monitor/models/calculate_baseline_response.rb +0 -0
- data/lib/2017-11-01-preview/generated/azure_mgmt_monitor/models/error_response.rb +0 -0
- data/lib/2017-11-01-preview/generated/azure_mgmt_monitor/models/localizable_string.rb +0 -0
- data/lib/2017-11-01-preview/generated/azure_mgmt_monitor/models/result_type.rb +0 -0
- data/lib/2017-11-01-preview/generated/azure_mgmt_monitor/models/sensitivity.rb +0 -0
- data/lib/2017-11-01-preview/generated/azure_mgmt_monitor/models/time_series_information.rb +0 -0
- data/lib/2017-11-01-preview/generated/azure_mgmt_monitor/module_definition.rb +0 -0
- 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 +0 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/metric_namespaces.rb +2 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/error_response.rb +0 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/metric_namespace.rb +0 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/metric_namespace_collection.rb +0 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/metric_namespace_name.rb +0 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/module_definition.rb +0 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
- data/lib/2018-01-01/generated/azure_mgmt_monitor.rb +0 -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/aggregation_type.rb +0 -0
- data/lib/2018-01-01/generated/azure_mgmt_monitor/models/error_response.rb +0 -0
- data/lib/2018-01-01/generated/azure_mgmt_monitor/models/localizable_string.rb +0 -0
- data/lib/2018-01-01/generated/azure_mgmt_monitor/models/metadata_value.rb +0 -0
- data/lib/2018-01-01/generated/azure_mgmt_monitor/models/metric.rb +0 -0
- data/lib/2018-01-01/generated/azure_mgmt_monitor/models/metric_availability.rb +0 -0
- data/lib/2018-01-01/generated/azure_mgmt_monitor/models/metric_definition.rb +0 -0
- data/lib/2018-01-01/generated/azure_mgmt_monitor/models/metric_definition_collection.rb +0 -0
- data/lib/2018-01-01/generated/azure_mgmt_monitor/models/metric_value.rb +0 -0
- data/lib/2018-01-01/generated/azure_mgmt_monitor/models/response.rb +0 -0
- data/lib/2018-01-01/generated/azure_mgmt_monitor/models/result_type.rb +0 -0
- data/lib/2018-01-01/generated/azure_mgmt_monitor/models/time_series_element.rb +0 -0
- data/lib/2018-01-01/generated/azure_mgmt_monitor/models/unit.rb +0 -0
- data/lib/2018-01-01/generated/azure_mgmt_monitor/module_definition.rb +0 -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 +0 -0
- 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 +12 -0
- 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/action_group_list.rb +0 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/action_group_patch_body.rb +0 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/action_group_resource.rb +0 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/automation_runbook_receiver.rb +0 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/azure_app_push_receiver.rb +0 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/azure_function_receiver.rb +0 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/email_receiver.rb +0 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/enable_request.rb +0 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/error_response.rb +0 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/itsm_receiver.rb +0 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/logic_app_receiver.rb +0 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_action.rb +0 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_criteria.rb +0 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_resource.rb +0 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_resource_collection.rb +0 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_resource_patch.rb +0 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_single_resource_multiple_metric_criteria.rb +0 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_status.rb +0 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_status_collection.rb +0 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_status_properties.rb +0 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_criteria.rb +0 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_dimension.rb +0 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/receiver_status.rb +0 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/resource.rb +0 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/sms_receiver.rb +0 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/voice_receiver.rb +0 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/models/webhook_receiver.rb +0 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/module_definition.rb +0 -0
- data/lib/2018-03-01/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
- data/lib/2018-04-16/generated/azure_mgmt_monitor.rb +0 -0
- data/lib/2018-04-16/generated/azure_mgmt_monitor/models/action.rb +0 -0
- data/lib/2018-04-16/generated/azure_mgmt_monitor/models/alert_severity.rb +0 -0
- data/lib/2018-04-16/generated/azure_mgmt_monitor/models/alerting_action.rb +0 -0
- data/lib/2018-04-16/generated/azure_mgmt_monitor/models/az_ns_action_group.rb +0 -0
- data/lib/2018-04-16/generated/azure_mgmt_monitor/models/conditional_operator.rb +0 -0
- data/lib/2018-04-16/generated/azure_mgmt_monitor/models/enabled.rb +0 -0
- data/lib/2018-04-16/generated/azure_mgmt_monitor/models/error_response.rb +0 -0
- data/lib/2018-04-16/generated/azure_mgmt_monitor/models/log_metric_trigger.rb +0 -0
- data/lib/2018-04-16/generated/azure_mgmt_monitor/models/log_search_rule_resource.rb +0 -0
- data/lib/2018-04-16/generated/azure_mgmt_monitor/models/log_search_rule_resource_collection.rb +0 -0
- data/lib/2018-04-16/generated/azure_mgmt_monitor/models/log_search_rule_resource_patch.rb +0 -0
- data/lib/2018-04-16/generated/azure_mgmt_monitor/models/metric_trigger_type.rb +0 -0
- data/lib/2018-04-16/generated/azure_mgmt_monitor/models/provisioning_state.rb +0 -0
- data/lib/2018-04-16/generated/azure_mgmt_monitor/models/query_type.rb +0 -0
- data/lib/2018-04-16/generated/azure_mgmt_monitor/models/resource.rb +0 -0
- data/lib/2018-04-16/generated/azure_mgmt_monitor/models/schedule.rb +0 -0
- data/lib/2018-04-16/generated/azure_mgmt_monitor/models/source.rb +0 -0
- data/lib/2018-04-16/generated/azure_mgmt_monitor/models/trigger_condition.rb +0 -0
- data/lib/2018-04-16/generated/azure_mgmt_monitor/module_definition.rb +0 -0
- 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 +0 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/guest_diagnostics_settings.rb +12 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/guest_diagnostics_settings_association.rb +12 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/data_source.rb +0 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/data_source_configuration.rb +0 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/error_response.rb +0 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/etw_event_configuration.rb +0 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/etw_provider_configuration.rb +0 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/event_log_configuration.rb +0 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_association_list.rb +0 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_association_resource.rb +0 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_association_resource_patch.rb +0 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_list.rb +0 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_patch_resource.rb +0 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_resource.rb +0 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/performance_counter_configuration.rb +0 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/resource.rb +0 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/sink_configuration.rb +0 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/module_definition.rb +0 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
- 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 +0 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/action_groups.rb +14 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/metric_baseline.rb +4 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/action_group_list.rb +0 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/action_group_patch_body.rb +0 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/action_group_resource.rb +0 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/arm_role_receiver.rb +0 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/automation_runbook_receiver.rb +0 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/azure_app_push_receiver.rb +0 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/azure_function_receiver.rb +0 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/baseline.rb +0 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/baseline_metadata_value.rb +0 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/baseline_response.rb +0 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/calculate_baseline_response.rb +0 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/email_receiver.rb +0 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/enable_request.rb +0 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/error_response.rb +0 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/itsm_receiver.rb +0 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/localizable_string.rb +0 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/logic_app_receiver.rb +0 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/receiver_status.rb +0 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/resource.rb +0 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/result_type.rb +0 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/sensitivity.rb +0 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/sms_receiver.rb +0 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/time_series_information.rb +0 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/voice_receiver.rb +0 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/webhook_receiver.rb +0 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/module_definition.rb +0 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor.rb +0 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/data_container.rb +0 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/data_status.rb +0 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/error.rb +0 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/onboarding_status.rb +0 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/proxy_resource.rb +0 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/response_with_error.rb +0 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/vminsights_onboarding_status.rb +0 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/workspace_info.rb +0 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/module_definition.rb +0 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/vminsights.rb +2 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor.rb +0 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/action_groups.rb +14 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/action_group_list.rb +0 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/action_group_patch_body.rb +0 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/action_group_resource.rb +0 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/arm_role_receiver.rb +0 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/automation_runbook_receiver.rb +0 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/azure_app_push_receiver.rb +0 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/azure_function_receiver.rb +0 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/email_receiver.rb +0 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/enable_request.rb +0 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/error_response.rb +0 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/itsm_receiver.rb +0 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/logic_app_receiver.rb +0 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/receiver_status.rb +0 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/resource.rb +0 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/sms_receiver.rb +0 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/voice_receiver.rb +0 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/webhook_receiver.rb +0 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/module_definition.rb +0 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
- data/lib/azure_mgmt_monitor.rb +10 -7
- data/lib/module_definition.rb +9 -9
- data/lib/profiles/latest/modules/monitor_profile_module.rb +735 -735
- data/lib/profiles/latest/monitor_latest_profile_client.rb +40 -40
- data/lib/profiles/latest/monitor_module_definition.rb +8 -8
- data/lib/profiles/v2019_03_01_hybrid/modules/monitor_profile_module.rb +297 -297
- data/lib/profiles/v2019_03_01_hybrid/monitor_module_definition.rb +8 -8
- data/lib/profiles/v2019_03_01_hybrid/monitor_v2019_03_01_hybrid_profile_client.rb +40 -40
- data/lib/version.rb +1 -1
- metadata +109 -5
@@ -1,40 +1,40 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
-
|
5
|
-
require 'profiles/latest/monitor_module_definition'
|
6
|
-
require 'profiles/latest/modules/monitor_profile_module'
|
7
|
-
|
8
|
-
module Azure::Monitor::Profiles::Latest
|
9
|
-
module Mgmt
|
10
|
-
#
|
11
|
-
# Client class for the Latest profile SDK.
|
12
|
-
#
|
13
|
-
class Client < MonitorManagementClass
|
14
|
-
include MsRestAzure::Common::Configurable
|
15
|
-
|
16
|
-
#
|
17
|
-
# Initializes a new instance of the Client class.
|
18
|
-
# @param options [Hash] hash of client options.
|
19
|
-
# options = {
|
20
|
-
# tenant_id: 'YOUR TENANT ID',
|
21
|
-
# client_id: 'YOUR CLIENT ID',
|
22
|
-
# client_secret: 'YOUR CLIENT SECRET',
|
23
|
-
# subscription_id: 'YOUR SUBSCRIPTION ID',
|
24
|
-
# credentials: credentials,
|
25
|
-
# active_directory_settings: active_directory_settings,
|
26
|
-
# base_url: 'YOUR BASE URL',
|
27
|
-
# options: options
|
28
|
-
# }
|
29
|
-
# 'credentials' are optional and if not passed in the hash, will be obtained
|
30
|
-
# from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
|
31
|
-
#
|
32
|
-
# Also, base_url, active_directory_settings & options are optional.
|
33
|
-
#
|
34
|
-
def initialize(options = {})
|
35
|
-
super(options)
|
36
|
-
end
|
37
|
-
|
38
|
-
end
|
39
|
-
end
|
40
|
-
end
|
1
|
+
# encoding: utf-8
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
+
|
5
|
+
require 'profiles/latest/monitor_module_definition'
|
6
|
+
require 'profiles/latest/modules/monitor_profile_module'
|
7
|
+
|
8
|
+
module Azure::Monitor::Profiles::Latest
|
9
|
+
module Mgmt
|
10
|
+
#
|
11
|
+
# Client class for the Latest profile SDK.
|
12
|
+
#
|
13
|
+
class Client < MonitorManagementClass
|
14
|
+
include MsRestAzure::Common::Configurable
|
15
|
+
|
16
|
+
#
|
17
|
+
# Initializes a new instance of the Client class.
|
18
|
+
# @param options [Hash] hash of client options.
|
19
|
+
# options = {
|
20
|
+
# tenant_id: 'YOUR TENANT ID',
|
21
|
+
# client_id: 'YOUR CLIENT ID',
|
22
|
+
# client_secret: 'YOUR CLIENT SECRET',
|
23
|
+
# subscription_id: 'YOUR SUBSCRIPTION ID',
|
24
|
+
# credentials: credentials,
|
25
|
+
# active_directory_settings: active_directory_settings,
|
26
|
+
# base_url: 'YOUR BASE URL',
|
27
|
+
# options: options
|
28
|
+
# }
|
29
|
+
# 'credentials' are optional and if not passed in the hash, will be obtained
|
30
|
+
# from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
|
31
|
+
#
|
32
|
+
# Also, base_url, active_directory_settings & options are optional.
|
33
|
+
#
|
34
|
+
def initialize(options = {})
|
35
|
+
super(options)
|
36
|
+
end
|
37
|
+
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -1,8 +1,8 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
-
|
5
|
-
module Azure end
|
6
|
-
module Azure::Monitor end
|
7
|
-
module Azure::Monitor::Profiles end
|
8
|
-
module Azure::Monitor::Profiles::Latest end
|
1
|
+
# encoding: utf-8
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
+
|
5
|
+
module Azure end
|
6
|
+
module Azure::Monitor end
|
7
|
+
module Azure::Monitor::Profiles end
|
8
|
+
module Azure::Monitor::Profiles::Latest end
|
@@ -1,297 +1,297 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
-
|
5
|
-
require 'azure_mgmt_monitor'
|
6
|
-
|
7
|
-
module Azure::Monitor::Profiles::V2019_03_01_Hybrid
|
8
|
-
module Mgmt
|
9
|
-
ActivityLogs = Azure::Monitor::Mgmt::V2015_04_01::ActivityLogs
|
10
|
-
AutoscaleSettings = Azure::Monitor::Mgmt::V2015_04_01::AutoscaleSettings
|
11
|
-
EventCategories = Azure::Monitor::Mgmt::V2015_04_01::EventCategories
|
12
|
-
Operations = Azure::Monitor::Mgmt::V2015_04_01::Operations
|
13
|
-
TenantActivityLogs = Azure::Monitor::Mgmt::V2015_04_01::TenantActivityLogs
|
14
|
-
DiagnosticSettingsOperations = Azure::Monitor::Mgmt::V2017_05_01_preview::DiagnosticSettingsOperations
|
15
|
-
DiagnosticSettingsCategoryOperations = Azure::Monitor::Mgmt::V2017_05_01_preview::DiagnosticSettingsCategoryOperations
|
16
|
-
MetricDefinitions = Azure::Monitor::Mgmt::V2018_01_01::MetricDefinitions
|
17
|
-
Metrics = Azure::Monitor::Mgmt::V2018_01_01::Metrics
|
18
|
-
|
19
|
-
module Models
|
20
|
-
RecurrentSchedule = Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrentSchedule
|
21
|
-
Recurrence = Azure::Monitor::Mgmt::V2015_04_01::Models::Recurrence
|
22
|
-
SenderAuthorization = Azure::Monitor::Mgmt::V2015_04_01::Models::SenderAuthorization
|
23
|
-
AutoscaleProfile = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleProfile
|
24
|
-
EventData = Azure::Monitor::Mgmt::V2015_04_01::Models::EventData
|
25
|
-
EmailNotification = Azure::Monitor::Mgmt::V2015_04_01::Models::EmailNotification
|
26
|
-
WebhookNotification = Azure::Monitor::Mgmt::V2015_04_01::Models::WebhookNotification
|
27
|
-
ScaleCapacity = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleCapacity
|
28
|
-
AutoscaleNotification = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleNotification
|
29
|
-
ScaleAction = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleAction
|
30
|
-
ScaleRule = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleRule
|
31
|
-
AutoscaleSettingResourcePatch = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourcePatch
|
32
|
-
EventDataCollection = Azure::Monitor::Mgmt::V2015_04_01::Models::EventDataCollection
|
33
|
-
AutoscaleSettingResourceCollection = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourceCollection
|
34
|
-
MetricTrigger = Azure::Monitor::Mgmt::V2015_04_01::Models::MetricTrigger
|
35
|
-
EventCategoryCollection = Azure::Monitor::Mgmt::V2015_04_01::Models::EventCategoryCollection
|
36
|
-
HttpRequestInfo = Azure::Monitor::Mgmt::V2015_04_01::Models::HttpRequestInfo
|
37
|
-
OperationDisplay = Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay
|
38
|
-
TimeWindow = Azure::Monitor::Mgmt::V2015_04_01::Models::TimeWindow
|
39
|
-
Operation = Azure::Monitor::Mgmt::V2015_04_01::Models::Operation
|
40
|
-
Resource = Azure::Monitor::Mgmt::V2015_04_01::Models::Resource
|
41
|
-
OperationListResult = Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult
|
42
|
-
AutoscaleSettingResource = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResource
|
43
|
-
EventLevel = Azure::Monitor::Mgmt::V2015_04_01::Models::EventLevel
|
44
|
-
MetricStatisticType = Azure::Monitor::Mgmt::V2015_04_01::Models::MetricStatisticType
|
45
|
-
TimeAggregationType = Azure::Monitor::Mgmt::V2015_04_01::Models::TimeAggregationType
|
46
|
-
ComparisonOperationType = Azure::Monitor::Mgmt::V2015_04_01::Models::ComparisonOperationType
|
47
|
-
ScaleDirection = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleDirection
|
48
|
-
ScaleType = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleType
|
49
|
-
ProxyOnlyResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource
|
50
|
-
MetricSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings
|
51
|
-
LogSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings
|
52
|
-
DiagnosticSettingsCategoryResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResourceCollection
|
53
|
-
DiagnosticSettingsResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResourceCollection
|
54
|
-
RetentionPolicy = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy
|
55
|
-
DiagnosticSettingsResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource
|
56
|
-
DiagnosticSettingsCategoryResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResource
|
57
|
-
CategoryType = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType
|
58
|
-
MetricValue = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricValue
|
59
|
-
LocalizableString = Azure::Monitor::Mgmt::V2018_01_01::Models::LocalizableString
|
60
|
-
MetadataValue = Azure::Monitor::Mgmt::V2018_01_01::Models::MetadataValue
|
61
|
-
MetricDefinition = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinition
|
62
|
-
TimeSeriesElement = Azure::Monitor::Mgmt::V2018_01_01::Models::TimeSeriesElement
|
63
|
-
ErrorResponse = Azure::Monitor::Mgmt::V2018_01_01::Models::ErrorResponse
|
64
|
-
Metric = Azure::Monitor::Mgmt::V2018_01_01::Models::Metric
|
65
|
-
MetricDefinitionCollection = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinitionCollection
|
66
|
-
Response = Azure::Monitor::Mgmt::V2018_01_01::Models::Response
|
67
|
-
MetricAvailability = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricAvailability
|
68
|
-
Unit = Azure::Monitor::Mgmt::V2018_01_01::Models::Unit
|
69
|
-
AggregationType = Azure::Monitor::Mgmt::V2018_01_01::Models::AggregationType
|
70
|
-
ResultType = Azure::Monitor::Mgmt::V2018_01_01::Models::ResultType
|
71
|
-
end
|
72
|
-
|
73
|
-
#
|
74
|
-
# MonitorManagementClass
|
75
|
-
#
|
76
|
-
class MonitorManagementClass
|
77
|
-
attr_reader :activity_logs, :autoscale_settings, :event_categories, :operations, :tenant_activity_logs, :diagnostic_settings_operations, :diagnostic_settings_category_operations, :metric_definitions, :metrics, :configurable, :base_url, :options, :model_classes
|
78
|
-
|
79
|
-
def initialize(options = {})
|
80
|
-
if options.is_a?(Hash) && options.length == 0
|
81
|
-
@options = setup_default_options
|
82
|
-
else
|
83
|
-
@options = options
|
84
|
-
end
|
85
|
-
|
86
|
-
reset!(options)
|
87
|
-
|
88
|
-
@configurable = self
|
89
|
-
@base_url = options[:base_url].nil? ? nil:options[:base_url]
|
90
|
-
@options = options[:options].nil? ? nil:options[:options]
|
91
|
-
|
92
|
-
@client_0 = Azure::Monitor::Mgmt::V2015_04_01::MonitorManagementClient.new(configurable.credentials, base_url, options)
|
93
|
-
if(@client_0.respond_to?(:subscription_id))
|
94
|
-
@client_0.subscription_id = configurable.subscription_id
|
95
|
-
end
|
96
|
-
add_telemetry(@client_0)
|
97
|
-
@activity_logs = @client_0.activity_logs
|
98
|
-
@autoscale_settings = @client_0.autoscale_settings
|
99
|
-
@event_categories = @client_0.event_categories
|
100
|
-
@operations = @client_0.operations
|
101
|
-
@tenant_activity_logs = @client_0.tenant_activity_logs
|
102
|
-
|
103
|
-
@client_1 = Azure::Monitor::Mgmt::V2017_05_01_preview::MonitorManagementClient.new(configurable.credentials, base_url, options)
|
104
|
-
if(@client_1.respond_to?(:subscription_id))
|
105
|
-
@client_1.subscription_id = configurable.subscription_id
|
106
|
-
end
|
107
|
-
add_telemetry(@client_1)
|
108
|
-
@diagnostic_settings_operations = @client_1.diagnostic_settings_operations
|
109
|
-
@diagnostic_settings_category_operations = @client_1.diagnostic_settings_category_operations
|
110
|
-
|
111
|
-
@client_2 = Azure::Monitor::Mgmt::V2018_01_01::MonitorManagementClient.new(configurable.credentials, base_url, options)
|
112
|
-
if(@client_2.respond_to?(:subscription_id))
|
113
|
-
@client_2.subscription_id = configurable.subscription_id
|
114
|
-
end
|
115
|
-
add_telemetry(@client_2)
|
116
|
-
@metric_definitions = @client_2.metric_definitions
|
117
|
-
@metrics = @client_2.metrics
|
118
|
-
|
119
|
-
@model_classes = ModelClasses.new
|
120
|
-
end
|
121
|
-
|
122
|
-
def add_telemetry(client)
|
123
|
-
profile_information = 'Profiles/V2019_03_01_Hybrid/Monitor/Mgmt'
|
124
|
-
client.add_user_agent_information(profile_information)
|
125
|
-
end
|
126
|
-
|
127
|
-
def method_missing(method, *args)
|
128
|
-
if @client_2.respond_to?method
|
129
|
-
@client_2.send(method, *args)
|
130
|
-
elsif @client_1.respond_to?method
|
131
|
-
@client_1.send(method, *args)
|
132
|
-
elsif @client_0.respond_to?method
|
133
|
-
@client_0.send(method, *args)
|
134
|
-
else
|
135
|
-
super
|
136
|
-
end
|
137
|
-
end
|
138
|
-
|
139
|
-
end
|
140
|
-
|
141
|
-
class ModelClasses
|
142
|
-
def recurrent_schedule
|
143
|
-
Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrentSchedule
|
144
|
-
end
|
145
|
-
def recurrence
|
146
|
-
Azure::Monitor::Mgmt::V2015_04_01::Models::Recurrence
|
147
|
-
end
|
148
|
-
def sender_authorization
|
149
|
-
Azure::Monitor::Mgmt::V2015_04_01::Models::SenderAuthorization
|
150
|
-
end
|
151
|
-
def autoscale_profile
|
152
|
-
Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleProfile
|
153
|
-
end
|
154
|
-
def event_data
|
155
|
-
Azure::Monitor::Mgmt::V2015_04_01::Models::EventData
|
156
|
-
end
|
157
|
-
def email_notification
|
158
|
-
Azure::Monitor::Mgmt::V2015_04_01::Models::EmailNotification
|
159
|
-
end
|
160
|
-
def webhook_notification
|
161
|
-
Azure::Monitor::Mgmt::V2015_04_01::Models::WebhookNotification
|
162
|
-
end
|
163
|
-
def scale_capacity
|
164
|
-
Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleCapacity
|
165
|
-
end
|
166
|
-
def autoscale_notification
|
167
|
-
Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleNotification
|
168
|
-
end
|
169
|
-
def scale_action
|
170
|
-
Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleAction
|
171
|
-
end
|
172
|
-
def scale_rule
|
173
|
-
Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleRule
|
174
|
-
end
|
175
|
-
def autoscale_setting_resource_patch
|
176
|
-
Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourcePatch
|
177
|
-
end
|
178
|
-
def event_data_collection
|
179
|
-
Azure::Monitor::Mgmt::V2015_04_01::Models::EventDataCollection
|
180
|
-
end
|
181
|
-
def autoscale_setting_resource_collection
|
182
|
-
Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourceCollection
|
183
|
-
end
|
184
|
-
def metric_trigger
|
185
|
-
Azure::Monitor::Mgmt::V2015_04_01::Models::MetricTrigger
|
186
|
-
end
|
187
|
-
def event_category_collection
|
188
|
-
Azure::Monitor::Mgmt::V2015_04_01::Models::EventCategoryCollection
|
189
|
-
end
|
190
|
-
def http_request_info
|
191
|
-
Azure::Monitor::Mgmt::V2015_04_01::Models::HttpRequestInfo
|
192
|
-
end
|
193
|
-
def operation_display
|
194
|
-
Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay
|
195
|
-
end
|
196
|
-
def time_window
|
197
|
-
Azure::Monitor::Mgmt::V2015_04_01::Models::TimeWindow
|
198
|
-
end
|
199
|
-
def operation
|
200
|
-
Azure::Monitor::Mgmt::V2015_04_01::Models::Operation
|
201
|
-
end
|
202
|
-
def resource
|
203
|
-
Azure::Monitor::Mgmt::V2015_04_01::Models::Resource
|
204
|
-
end
|
205
|
-
def operation_list_result
|
206
|
-
Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult
|
207
|
-
end
|
208
|
-
def autoscale_setting_resource
|
209
|
-
Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResource
|
210
|
-
end
|
211
|
-
def event_level
|
212
|
-
Azure::Monitor::Mgmt::V2015_04_01::Models::EventLevel
|
213
|
-
end
|
214
|
-
def metric_statistic_type
|
215
|
-
Azure::Monitor::Mgmt::V2015_04_01::Models::MetricStatisticType
|
216
|
-
end
|
217
|
-
def time_aggregation_type
|
218
|
-
Azure::Monitor::Mgmt::V2015_04_01::Models::TimeAggregationType
|
219
|
-
end
|
220
|
-
def comparison_operation_type
|
221
|
-
Azure::Monitor::Mgmt::V2015_04_01::Models::ComparisonOperationType
|
222
|
-
end
|
223
|
-
def scale_direction
|
224
|
-
Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleDirection
|
225
|
-
end
|
226
|
-
def scale_type
|
227
|
-
Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleType
|
228
|
-
end
|
229
|
-
def proxy_only_resource
|
230
|
-
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource
|
231
|
-
end
|
232
|
-
def metric_settings
|
233
|
-
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings
|
234
|
-
end
|
235
|
-
def log_settings
|
236
|
-
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings
|
237
|
-
end
|
238
|
-
def diagnostic_settings_category_resource_collection
|
239
|
-
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResourceCollection
|
240
|
-
end
|
241
|
-
def diagnostic_settings_resource_collection
|
242
|
-
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResourceCollection
|
243
|
-
end
|
244
|
-
def retention_policy
|
245
|
-
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy
|
246
|
-
end
|
247
|
-
def diagnostic_settings_resource
|
248
|
-
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource
|
249
|
-
end
|
250
|
-
def diagnostic_settings_category_resource
|
251
|
-
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResource
|
252
|
-
end
|
253
|
-
def category_type
|
254
|
-
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType
|
255
|
-
end
|
256
|
-
def metric_value
|
257
|
-
Azure::Monitor::Mgmt::V2018_01_01::Models::MetricValue
|
258
|
-
end
|
259
|
-
def localizable_string
|
260
|
-
Azure::Monitor::Mgmt::V2018_01_01::Models::LocalizableString
|
261
|
-
end
|
262
|
-
def metadata_value
|
263
|
-
Azure::Monitor::Mgmt::V2018_01_01::Models::MetadataValue
|
264
|
-
end
|
265
|
-
def metric_definition
|
266
|
-
Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinition
|
267
|
-
end
|
268
|
-
def time_series_element
|
269
|
-
Azure::Monitor::Mgmt::V2018_01_01::Models::TimeSeriesElement
|
270
|
-
end
|
271
|
-
def error_response
|
272
|
-
Azure::Monitor::Mgmt::V2018_01_01::Models::ErrorResponse
|
273
|
-
end
|
274
|
-
def metric
|
275
|
-
Azure::Monitor::Mgmt::V2018_01_01::Models::Metric
|
276
|
-
end
|
277
|
-
def metric_definition_collection
|
278
|
-
Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinitionCollection
|
279
|
-
end
|
280
|
-
def response
|
281
|
-
Azure::Monitor::Mgmt::V2018_01_01::Models::Response
|
282
|
-
end
|
283
|
-
def metric_availability
|
284
|
-
Azure::Monitor::Mgmt::V2018_01_01::Models::MetricAvailability
|
285
|
-
end
|
286
|
-
def unit
|
287
|
-
Azure::Monitor::Mgmt::V2018_01_01::Models::Unit
|
288
|
-
end
|
289
|
-
def aggregation_type
|
290
|
-
Azure::Monitor::Mgmt::V2018_01_01::Models::AggregationType
|
291
|
-
end
|
292
|
-
def result_type
|
293
|
-
Azure::Monitor::Mgmt::V2018_01_01::Models::ResultType
|
294
|
-
end
|
295
|
-
end
|
296
|
-
end
|
297
|
-
end
|
1
|
+
# encoding: utf-8
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
+
|
5
|
+
require 'azure_mgmt_monitor'
|
6
|
+
|
7
|
+
module Azure::Monitor::Profiles::V2019_03_01_Hybrid
|
8
|
+
module Mgmt
|
9
|
+
ActivityLogs = Azure::Monitor::Mgmt::V2015_04_01::ActivityLogs
|
10
|
+
AutoscaleSettings = Azure::Monitor::Mgmt::V2015_04_01::AutoscaleSettings
|
11
|
+
EventCategories = Azure::Monitor::Mgmt::V2015_04_01::EventCategories
|
12
|
+
Operations = Azure::Monitor::Mgmt::V2015_04_01::Operations
|
13
|
+
TenantActivityLogs = Azure::Monitor::Mgmt::V2015_04_01::TenantActivityLogs
|
14
|
+
DiagnosticSettingsOperations = Azure::Monitor::Mgmt::V2017_05_01_preview::DiagnosticSettingsOperations
|
15
|
+
DiagnosticSettingsCategoryOperations = Azure::Monitor::Mgmt::V2017_05_01_preview::DiagnosticSettingsCategoryOperations
|
16
|
+
MetricDefinitions = Azure::Monitor::Mgmt::V2018_01_01::MetricDefinitions
|
17
|
+
Metrics = Azure::Monitor::Mgmt::V2018_01_01::Metrics
|
18
|
+
|
19
|
+
module Models
|
20
|
+
RecurrentSchedule = Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrentSchedule
|
21
|
+
Recurrence = Azure::Monitor::Mgmt::V2015_04_01::Models::Recurrence
|
22
|
+
SenderAuthorization = Azure::Monitor::Mgmt::V2015_04_01::Models::SenderAuthorization
|
23
|
+
AutoscaleProfile = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleProfile
|
24
|
+
EventData = Azure::Monitor::Mgmt::V2015_04_01::Models::EventData
|
25
|
+
EmailNotification = Azure::Monitor::Mgmt::V2015_04_01::Models::EmailNotification
|
26
|
+
WebhookNotification = Azure::Monitor::Mgmt::V2015_04_01::Models::WebhookNotification
|
27
|
+
ScaleCapacity = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleCapacity
|
28
|
+
AutoscaleNotification = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleNotification
|
29
|
+
ScaleAction = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleAction
|
30
|
+
ScaleRule = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleRule
|
31
|
+
AutoscaleSettingResourcePatch = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourcePatch
|
32
|
+
EventDataCollection = Azure::Monitor::Mgmt::V2015_04_01::Models::EventDataCollection
|
33
|
+
AutoscaleSettingResourceCollection = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourceCollection
|
34
|
+
MetricTrigger = Azure::Monitor::Mgmt::V2015_04_01::Models::MetricTrigger
|
35
|
+
EventCategoryCollection = Azure::Monitor::Mgmt::V2015_04_01::Models::EventCategoryCollection
|
36
|
+
HttpRequestInfo = Azure::Monitor::Mgmt::V2015_04_01::Models::HttpRequestInfo
|
37
|
+
OperationDisplay = Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay
|
38
|
+
TimeWindow = Azure::Monitor::Mgmt::V2015_04_01::Models::TimeWindow
|
39
|
+
Operation = Azure::Monitor::Mgmt::V2015_04_01::Models::Operation
|
40
|
+
Resource = Azure::Monitor::Mgmt::V2015_04_01::Models::Resource
|
41
|
+
OperationListResult = Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult
|
42
|
+
AutoscaleSettingResource = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResource
|
43
|
+
EventLevel = Azure::Monitor::Mgmt::V2015_04_01::Models::EventLevel
|
44
|
+
MetricStatisticType = Azure::Monitor::Mgmt::V2015_04_01::Models::MetricStatisticType
|
45
|
+
TimeAggregationType = Azure::Monitor::Mgmt::V2015_04_01::Models::TimeAggregationType
|
46
|
+
ComparisonOperationType = Azure::Monitor::Mgmt::V2015_04_01::Models::ComparisonOperationType
|
47
|
+
ScaleDirection = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleDirection
|
48
|
+
ScaleType = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleType
|
49
|
+
ProxyOnlyResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource
|
50
|
+
MetricSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings
|
51
|
+
LogSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings
|
52
|
+
DiagnosticSettingsCategoryResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResourceCollection
|
53
|
+
DiagnosticSettingsResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResourceCollection
|
54
|
+
RetentionPolicy = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy
|
55
|
+
DiagnosticSettingsResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource
|
56
|
+
DiagnosticSettingsCategoryResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResource
|
57
|
+
CategoryType = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType
|
58
|
+
MetricValue = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricValue
|
59
|
+
LocalizableString = Azure::Monitor::Mgmt::V2018_01_01::Models::LocalizableString
|
60
|
+
MetadataValue = Azure::Monitor::Mgmt::V2018_01_01::Models::MetadataValue
|
61
|
+
MetricDefinition = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinition
|
62
|
+
TimeSeriesElement = Azure::Monitor::Mgmt::V2018_01_01::Models::TimeSeriesElement
|
63
|
+
ErrorResponse = Azure::Monitor::Mgmt::V2018_01_01::Models::ErrorResponse
|
64
|
+
Metric = Azure::Monitor::Mgmt::V2018_01_01::Models::Metric
|
65
|
+
MetricDefinitionCollection = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinitionCollection
|
66
|
+
Response = Azure::Monitor::Mgmt::V2018_01_01::Models::Response
|
67
|
+
MetricAvailability = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricAvailability
|
68
|
+
Unit = Azure::Monitor::Mgmt::V2018_01_01::Models::Unit
|
69
|
+
AggregationType = Azure::Monitor::Mgmt::V2018_01_01::Models::AggregationType
|
70
|
+
ResultType = Azure::Monitor::Mgmt::V2018_01_01::Models::ResultType
|
71
|
+
end
|
72
|
+
|
73
|
+
#
|
74
|
+
# MonitorManagementClass
|
75
|
+
#
|
76
|
+
class MonitorManagementClass
|
77
|
+
attr_reader :activity_logs, :autoscale_settings, :event_categories, :operations, :tenant_activity_logs, :diagnostic_settings_operations, :diagnostic_settings_category_operations, :metric_definitions, :metrics, :configurable, :base_url, :options, :model_classes
|
78
|
+
|
79
|
+
def initialize(options = {})
|
80
|
+
if options.is_a?(Hash) && options.length == 0
|
81
|
+
@options = setup_default_options
|
82
|
+
else
|
83
|
+
@options = options
|
84
|
+
end
|
85
|
+
|
86
|
+
reset!(options)
|
87
|
+
|
88
|
+
@configurable = self
|
89
|
+
@base_url = options[:base_url].nil? ? nil:options[:base_url]
|
90
|
+
@options = options[:options].nil? ? nil:options[:options]
|
91
|
+
|
92
|
+
@client_0 = Azure::Monitor::Mgmt::V2015_04_01::MonitorManagementClient.new(configurable.credentials, base_url, options)
|
93
|
+
if(@client_0.respond_to?(:subscription_id))
|
94
|
+
@client_0.subscription_id = configurable.subscription_id
|
95
|
+
end
|
96
|
+
add_telemetry(@client_0)
|
97
|
+
@activity_logs = @client_0.activity_logs
|
98
|
+
@autoscale_settings = @client_0.autoscale_settings
|
99
|
+
@event_categories = @client_0.event_categories
|
100
|
+
@operations = @client_0.operations
|
101
|
+
@tenant_activity_logs = @client_0.tenant_activity_logs
|
102
|
+
|
103
|
+
@client_1 = Azure::Monitor::Mgmt::V2017_05_01_preview::MonitorManagementClient.new(configurable.credentials, base_url, options)
|
104
|
+
if(@client_1.respond_to?(:subscription_id))
|
105
|
+
@client_1.subscription_id = configurable.subscription_id
|
106
|
+
end
|
107
|
+
add_telemetry(@client_1)
|
108
|
+
@diagnostic_settings_operations = @client_1.diagnostic_settings_operations
|
109
|
+
@diagnostic_settings_category_operations = @client_1.diagnostic_settings_category_operations
|
110
|
+
|
111
|
+
@client_2 = Azure::Monitor::Mgmt::V2018_01_01::MonitorManagementClient.new(configurable.credentials, base_url, options)
|
112
|
+
if(@client_2.respond_to?(:subscription_id))
|
113
|
+
@client_2.subscription_id = configurable.subscription_id
|
114
|
+
end
|
115
|
+
add_telemetry(@client_2)
|
116
|
+
@metric_definitions = @client_2.metric_definitions
|
117
|
+
@metrics = @client_2.metrics
|
118
|
+
|
119
|
+
@model_classes = ModelClasses.new
|
120
|
+
end
|
121
|
+
|
122
|
+
def add_telemetry(client)
|
123
|
+
profile_information = 'Profiles/V2019_03_01_Hybrid/Monitor/Mgmt'
|
124
|
+
client.add_user_agent_information(profile_information)
|
125
|
+
end
|
126
|
+
|
127
|
+
def method_missing(method, *args)
|
128
|
+
if @client_2.respond_to?method
|
129
|
+
@client_2.send(method, *args)
|
130
|
+
elsif @client_1.respond_to?method
|
131
|
+
@client_1.send(method, *args)
|
132
|
+
elsif @client_0.respond_to?method
|
133
|
+
@client_0.send(method, *args)
|
134
|
+
else
|
135
|
+
super
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
end
|
140
|
+
|
141
|
+
class ModelClasses
|
142
|
+
def recurrent_schedule
|
143
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrentSchedule
|
144
|
+
end
|
145
|
+
def recurrence
|
146
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::Recurrence
|
147
|
+
end
|
148
|
+
def sender_authorization
|
149
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::SenderAuthorization
|
150
|
+
end
|
151
|
+
def autoscale_profile
|
152
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleProfile
|
153
|
+
end
|
154
|
+
def event_data
|
155
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::EventData
|
156
|
+
end
|
157
|
+
def email_notification
|
158
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::EmailNotification
|
159
|
+
end
|
160
|
+
def webhook_notification
|
161
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::WebhookNotification
|
162
|
+
end
|
163
|
+
def scale_capacity
|
164
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleCapacity
|
165
|
+
end
|
166
|
+
def autoscale_notification
|
167
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleNotification
|
168
|
+
end
|
169
|
+
def scale_action
|
170
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleAction
|
171
|
+
end
|
172
|
+
def scale_rule
|
173
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleRule
|
174
|
+
end
|
175
|
+
def autoscale_setting_resource_patch
|
176
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourcePatch
|
177
|
+
end
|
178
|
+
def event_data_collection
|
179
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::EventDataCollection
|
180
|
+
end
|
181
|
+
def autoscale_setting_resource_collection
|
182
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourceCollection
|
183
|
+
end
|
184
|
+
def metric_trigger
|
185
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::MetricTrigger
|
186
|
+
end
|
187
|
+
def event_category_collection
|
188
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::EventCategoryCollection
|
189
|
+
end
|
190
|
+
def http_request_info
|
191
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::HttpRequestInfo
|
192
|
+
end
|
193
|
+
def operation_display
|
194
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay
|
195
|
+
end
|
196
|
+
def time_window
|
197
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::TimeWindow
|
198
|
+
end
|
199
|
+
def operation
|
200
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::Operation
|
201
|
+
end
|
202
|
+
def resource
|
203
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::Resource
|
204
|
+
end
|
205
|
+
def operation_list_result
|
206
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult
|
207
|
+
end
|
208
|
+
def autoscale_setting_resource
|
209
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResource
|
210
|
+
end
|
211
|
+
def event_level
|
212
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::EventLevel
|
213
|
+
end
|
214
|
+
def metric_statistic_type
|
215
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::MetricStatisticType
|
216
|
+
end
|
217
|
+
def time_aggregation_type
|
218
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::TimeAggregationType
|
219
|
+
end
|
220
|
+
def comparison_operation_type
|
221
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::ComparisonOperationType
|
222
|
+
end
|
223
|
+
def scale_direction
|
224
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleDirection
|
225
|
+
end
|
226
|
+
def scale_type
|
227
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleType
|
228
|
+
end
|
229
|
+
def proxy_only_resource
|
230
|
+
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource
|
231
|
+
end
|
232
|
+
def metric_settings
|
233
|
+
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings
|
234
|
+
end
|
235
|
+
def log_settings
|
236
|
+
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings
|
237
|
+
end
|
238
|
+
def diagnostic_settings_category_resource_collection
|
239
|
+
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResourceCollection
|
240
|
+
end
|
241
|
+
def diagnostic_settings_resource_collection
|
242
|
+
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResourceCollection
|
243
|
+
end
|
244
|
+
def retention_policy
|
245
|
+
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy
|
246
|
+
end
|
247
|
+
def diagnostic_settings_resource
|
248
|
+
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource
|
249
|
+
end
|
250
|
+
def diagnostic_settings_category_resource
|
251
|
+
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResource
|
252
|
+
end
|
253
|
+
def category_type
|
254
|
+
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType
|
255
|
+
end
|
256
|
+
def metric_value
|
257
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::MetricValue
|
258
|
+
end
|
259
|
+
def localizable_string
|
260
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::LocalizableString
|
261
|
+
end
|
262
|
+
def metadata_value
|
263
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::MetadataValue
|
264
|
+
end
|
265
|
+
def metric_definition
|
266
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinition
|
267
|
+
end
|
268
|
+
def time_series_element
|
269
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::TimeSeriesElement
|
270
|
+
end
|
271
|
+
def error_response
|
272
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::ErrorResponse
|
273
|
+
end
|
274
|
+
def metric
|
275
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::Metric
|
276
|
+
end
|
277
|
+
def metric_definition_collection
|
278
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinitionCollection
|
279
|
+
end
|
280
|
+
def response
|
281
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::Response
|
282
|
+
end
|
283
|
+
def metric_availability
|
284
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::MetricAvailability
|
285
|
+
end
|
286
|
+
def unit
|
287
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::Unit
|
288
|
+
end
|
289
|
+
def aggregation_type
|
290
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::AggregationType
|
291
|
+
end
|
292
|
+
def result_type
|
293
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::ResultType
|
294
|
+
end
|
295
|
+
end
|
296
|
+
end
|
297
|
+
end
|