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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: b50a8fb77e754f2c38ab6e90b7109f0e2e6bde51
|
4
|
+
data.tar.gz: 3cbab9fd0b359c649f80fa5def593883bece75f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 918b7c6df91a56daefccda5835feb655f3349e5135236402ef02ff862ba5ab8e4f4e596e776e578d61a64d9a9c0ccbe0abf49b242b7294b10e19f34474cd75fa
|
7
|
+
data.tar.gz: 1d2bc5cc633f4edf4e1fcd74625d43b545a3ed420c8c20379d40296588321bb706c9077e36b2b8a786b1f2d38ed7e1139051fee4858ae8c64069a72ef6746890
|
data/LICENSE.txt
CHANGED
@@ -1,21 +1,21 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2015 Microsoft Corporation
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2015 Microsoft Corporation
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
21
|
THE SOFTWARE.
|
File without changes
|
@@ -160,6 +160,8 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
160
160
|
end
|
161
161
|
|
162
162
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
163
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
164
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
163
165
|
# Deserialize Response
|
164
166
|
if status_code == 200
|
165
167
|
begin
|
@@ -248,6 +250,8 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
248
250
|
end
|
249
251
|
|
250
252
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
253
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
254
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
251
255
|
# Deserialize Response
|
252
256
|
if status_code == 200
|
253
257
|
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
|
@@ -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
|
File without changes
|
File without changes
|
File without changes
|
data/lib/2015-04-01/generated/azure_mgmt_monitor/models/autoscale_setting_resource_collection.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -140,7 +140,7 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
140
140
|
#
|
141
141
|
def add_telemetry
|
142
142
|
sdk_information = 'azure_mgmt_monitor'
|
143
|
-
sdk_information = "#{sdk_information}/0.17.
|
143
|
+
sdk_information = "#{sdk_information}/0.17.5"
|
144
144
|
add_user_agent_information(sdk_information)
|
145
145
|
end
|
146
146
|
end
|
@@ -86,6 +86,8 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
86
86
|
end
|
87
87
|
|
88
88
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
89
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
90
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
89
91
|
# Deserialize Response
|
90
92
|
if status_code == 200
|
91
93
|
begin
|
@@ -170,6 +170,8 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
170
170
|
end
|
171
171
|
|
172
172
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
173
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
174
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
173
175
|
# Deserialize Response
|
174
176
|
if status_code == 200
|
175
177
|
begin
|
@@ -270,6 +272,8 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
270
272
|
end
|
271
273
|
|
272
274
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
275
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
276
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
273
277
|
# Deserialize Response
|
274
278
|
if status_code == 200
|
275
279
|
begin
|
@@ -0,0 +1,106 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
require 'uri'
|
7
|
+
require 'cgi'
|
8
|
+
require 'date'
|
9
|
+
require 'json'
|
10
|
+
require 'base64'
|
11
|
+
require 'erb'
|
12
|
+
require 'securerandom'
|
13
|
+
require 'time'
|
14
|
+
require 'timeliness'
|
15
|
+
require 'faraday'
|
16
|
+
require 'faraday-cookie_jar'
|
17
|
+
require 'concurrent'
|
18
|
+
require 'ms_rest'
|
19
|
+
require '2015-05-01/generated/azure_mgmt_monitor/module_definition'
|
20
|
+
require 'ms_rest_azure'
|
21
|
+
|
22
|
+
module Azure::Monitor::Mgmt::V2015_05_01
|
23
|
+
autoload :Operations, '2015-05-01/generated/azure_mgmt_monitor/operations.rb'
|
24
|
+
autoload :Annotations, '2015-05-01/generated/azure_mgmt_monitor/annotations.rb'
|
25
|
+
autoload :APIKeys, '2015-05-01/generated/azure_mgmt_monitor/apikeys.rb'
|
26
|
+
autoload :ExportConfigurations, '2015-05-01/generated/azure_mgmt_monitor/export_configurations.rb'
|
27
|
+
autoload :ComponentCurrentBillingFeatures, '2015-05-01/generated/azure_mgmt_monitor/component_current_billing_features.rb'
|
28
|
+
autoload :ComponentQuotaStatus, '2015-05-01/generated/azure_mgmt_monitor/component_quota_status.rb'
|
29
|
+
autoload :ComponentFeatureCapabilities, '2015-05-01/generated/azure_mgmt_monitor/component_feature_capabilities.rb'
|
30
|
+
autoload :ComponentAvailableFeatures, '2015-05-01/generated/azure_mgmt_monitor/component_available_features.rb'
|
31
|
+
autoload :ProactiveDetectionConfigurations, '2015-05-01/generated/azure_mgmt_monitor/proactive_detection_configurations.rb'
|
32
|
+
autoload :Components, '2015-05-01/generated/azure_mgmt_monitor/components.rb'
|
33
|
+
autoload :WorkItemConfigurations, '2015-05-01/generated/azure_mgmt_monitor/work_item_configurations.rb'
|
34
|
+
autoload :Favorites, '2015-05-01/generated/azure_mgmt_monitor/favorites.rb'
|
35
|
+
autoload :WebTestLocations, '2015-05-01/generated/azure_mgmt_monitor/web_test_locations.rb'
|
36
|
+
autoload :WebTests, '2015-05-01/generated/azure_mgmt_monitor/web_tests.rb'
|
37
|
+
autoload :AnalyticsItems, '2015-05-01/generated/azure_mgmt_monitor/analytics_items.rb'
|
38
|
+
autoload :Workbooks, '2015-05-01/generated/azure_mgmt_monitor/workbooks.rb'
|
39
|
+
autoload :ApplicationInsightsManagementClient, '2015-05-01/generated/azure_mgmt_monitor/application_insights_management_client.rb'
|
40
|
+
|
41
|
+
module Models
|
42
|
+
autoload :ApplicationInsightsComponentListResult, '2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_list_result.rb'
|
43
|
+
autoload :ErrorResponse, '2015-05-01/generated/azure_mgmt_monitor/models/error_response.rb'
|
44
|
+
autoload :ComponentPurgeBodyFilters, '2015-05-01/generated/azure_mgmt_monitor/models/component_purge_body_filters.rb'
|
45
|
+
autoload :Operation, '2015-05-01/generated/azure_mgmt_monitor/models/operation.rb'
|
46
|
+
autoload :ComponentPurgeBody, '2015-05-01/generated/azure_mgmt_monitor/models/component_purge_body.rb'
|
47
|
+
autoload :Annotation, '2015-05-01/generated/azure_mgmt_monitor/models/annotation.rb'
|
48
|
+
autoload :ComponentPurgeResponse, '2015-05-01/generated/azure_mgmt_monitor/models/component_purge_response.rb'
|
49
|
+
autoload :InnerError, '2015-05-01/generated/azure_mgmt_monitor/models/inner_error.rb'
|
50
|
+
autoload :ComponentPurgeStatusResponse, '2015-05-01/generated/azure_mgmt_monitor/models/component_purge_status_response.rb'
|
51
|
+
autoload :APIKeyRequest, '2015-05-01/generated/azure_mgmt_monitor/models/apikey_request.rb'
|
52
|
+
autoload :WorkItemConfiguration, '2015-05-01/generated/azure_mgmt_monitor/models/work_item_configuration.rb'
|
53
|
+
autoload :ApplicationInsightsComponentAPIKeyListResult, '2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_apikey_list_result.rb'
|
54
|
+
autoload :WorkItemConfigurationsListResult, '2015-05-01/generated/azure_mgmt_monitor/models/work_item_configurations_list_result.rb'
|
55
|
+
autoload :ApplicationInsightsComponentExportConfiguration, '2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_export_configuration.rb'
|
56
|
+
autoload :WorkItemCreateConfiguration, '2015-05-01/generated/azure_mgmt_monitor/models/work_item_create_configuration.rb'
|
57
|
+
autoload :ApplicationInsightsComponentBillingFeatures, '2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_billing_features.rb'
|
58
|
+
autoload :WorkItemConfigurationError, '2015-05-01/generated/azure_mgmt_monitor/models/work_item_configuration_error.rb'
|
59
|
+
autoload :ApplicationInsightsComponentFeatureCapabilities, '2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_feature_capabilities.rb'
|
60
|
+
autoload :ApplicationInsightsComponentFavorite, '2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_favorite.rb'
|
61
|
+
autoload :ApplicationInsightsComponentFeature, '2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_feature.rb'
|
62
|
+
autoload :ApplicationInsightsComponentWebTestLocation, '2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_web_test_location.rb'
|
63
|
+
autoload :ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions, '2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_proactive_detection_configuration_rule_definitions.rb'
|
64
|
+
autoload :ApplicationInsightsWebTestLocationsListResult, '2015-05-01/generated/azure_mgmt_monitor/models/application_insights_web_test_locations_list_result.rb'
|
65
|
+
autoload :ComponentsResource, '2015-05-01/generated/azure_mgmt_monitor/models/components_resource.rb'
|
66
|
+
autoload :WebtestsResource, '2015-05-01/generated/azure_mgmt_monitor/models/webtests_resource.rb'
|
67
|
+
autoload :TagsResource, '2015-05-01/generated/azure_mgmt_monitor/models/tags_resource.rb'
|
68
|
+
autoload :OperationDisplay, '2015-05-01/generated/azure_mgmt_monitor/models/operation_display.rb'
|
69
|
+
autoload :AnnotationsListResult, '2015-05-01/generated/azure_mgmt_monitor/models/annotations_list_result.rb'
|
70
|
+
autoload :WebTestGeolocation, '2015-05-01/generated/azure_mgmt_monitor/models/web_test_geolocation.rb'
|
71
|
+
autoload :ApplicationInsightsComponentAPIKey, '2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_apikey.rb'
|
72
|
+
autoload :WebTestPropertiesConfiguration, '2015-05-01/generated/azure_mgmt_monitor/models/web_test_properties_configuration.rb'
|
73
|
+
autoload :ApplicationInsightsComponentDataVolumeCap, '2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_data_volume_cap.rb'
|
74
|
+
autoload :WorkbookError, '2015-05-01/generated/azure_mgmt_monitor/models/workbook_error.rb'
|
75
|
+
autoload :ApplicationInsightsComponentFeatureCapability, '2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_feature_capability.rb'
|
76
|
+
autoload :WebTestListResult, '2015-05-01/generated/azure_mgmt_monitor/models/web_test_list_result.rb'
|
77
|
+
autoload :ApplicationInsightsComponentProactiveDetectionConfiguration, '2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_proactive_detection_configuration.rb'
|
78
|
+
autoload :ApplicationInsightsComponentAnalyticsItemProperties, '2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_analytics_item_properties.rb'
|
79
|
+
autoload :AnnotationError, '2015-05-01/generated/azure_mgmt_monitor/models/annotation_error.rb'
|
80
|
+
autoload :ApplicationInsightsComponentAnalyticsItem, '2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_analytics_item.rb'
|
81
|
+
autoload :ApplicationInsightsComponentQuotaStatus, '2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_quota_status.rb'
|
82
|
+
autoload :WorkbookResource, '2015-05-01/generated/azure_mgmt_monitor/models/workbook_resource.rb'
|
83
|
+
autoload :OperationListResult, '2015-05-01/generated/azure_mgmt_monitor/models/operation_list_result.rb'
|
84
|
+
autoload :ErrorFieldContract, '2015-05-01/generated/azure_mgmt_monitor/models/error_field_contract.rb'
|
85
|
+
autoload :ApplicationInsightsComponentAvailableFeatures, '2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_available_features.rb'
|
86
|
+
autoload :WorkbooksListResult, '2015-05-01/generated/azure_mgmt_monitor/models/workbooks_list_result.rb'
|
87
|
+
autoload :ApplicationInsightsComponentExportRequest, '2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_export_request.rb'
|
88
|
+
autoload :LinkProperties, '2015-05-01/generated/azure_mgmt_monitor/models/link_properties.rb'
|
89
|
+
autoload :ApplicationInsightsComponent, '2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component.rb'
|
90
|
+
autoload :WebTest, '2015-05-01/generated/azure_mgmt_monitor/models/web_test.rb'
|
91
|
+
autoload :Workbook, '2015-05-01/generated/azure_mgmt_monitor/models/workbook.rb'
|
92
|
+
autoload :ApplicationType, '2015-05-01/generated/azure_mgmt_monitor/models/application_type.rb'
|
93
|
+
autoload :FlowType, '2015-05-01/generated/azure_mgmt_monitor/models/flow_type.rb'
|
94
|
+
autoload :RequestSource, '2015-05-01/generated/azure_mgmt_monitor/models/request_source.rb'
|
95
|
+
autoload :PurgeState, '2015-05-01/generated/azure_mgmt_monitor/models/purge_state.rb'
|
96
|
+
autoload :FavoriteType, '2015-05-01/generated/azure_mgmt_monitor/models/favorite_type.rb'
|
97
|
+
autoload :WebTestKind, '2015-05-01/generated/azure_mgmt_monitor/models/web_test_kind.rb'
|
98
|
+
autoload :ItemScope, '2015-05-01/generated/azure_mgmt_monitor/models/item_scope.rb'
|
99
|
+
autoload :ItemType, '2015-05-01/generated/azure_mgmt_monitor/models/item_type.rb'
|
100
|
+
autoload :SharedTypeKind, '2015-05-01/generated/azure_mgmt_monitor/models/shared_type_kind.rb'
|
101
|
+
autoload :FavoriteSourceType, '2015-05-01/generated/azure_mgmt_monitor/models/favorite_source_type.rb'
|
102
|
+
autoload :ItemScopePath, '2015-05-01/generated/azure_mgmt_monitor/models/item_scope_path.rb'
|
103
|
+
autoload :ItemTypeParameter, '2015-05-01/generated/azure_mgmt_monitor/models/item_type_parameter.rb'
|
104
|
+
autoload :CategoryType, '2015-05-01/generated/azure_mgmt_monitor/models/category_type.rb'
|
105
|
+
end
|
106
|
+
end
|
@@ -0,0 +1,585 @@
|
|
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_05_01
|
7
|
+
#
|
8
|
+
# Composite Swagger for Application Insights Management Client
|
9
|
+
#
|
10
|
+
class AnalyticsItems
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the AnalyticsItems class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [ApplicationInsightsManagementClient] reference to the ApplicationInsightsManagementClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# Gets a list of Analytics Items defined within an Application Insights
|
26
|
+
# component.
|
27
|
+
#
|
28
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
29
|
+
# is case insensitive.
|
30
|
+
# @param resource_name [String] The name of the Application Insights component
|
31
|
+
# resource.
|
32
|
+
# @param scope_path [ItemScopePath] Enum indicating if this item definition is
|
33
|
+
# owned by a specific user or is shared between all users with access to the
|
34
|
+
# Application Insights component. Possible values include: 'analyticsItems',
|
35
|
+
# 'myanalyticsItems'
|
36
|
+
# @param scope [ItemScope] Enum indicating if this item definition is owned by
|
37
|
+
# a specific user or is shared between all users with access to the Application
|
38
|
+
# Insights component. Possible values include: 'shared', 'user'
|
39
|
+
# @param type [ItemTypeParameter] Enum indicating the type of the Analytics
|
40
|
+
# item. Possible values include: 'none', 'query', 'function', 'folder',
|
41
|
+
# 'recent'
|
42
|
+
# @param include_content [Boolean] Flag indicating whether or not to return the
|
43
|
+
# content of each applicable item. If false, only return the item information.
|
44
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
45
|
+
# will be added to the HTTP request.
|
46
|
+
#
|
47
|
+
# @return [Array] operation results.
|
48
|
+
#
|
49
|
+
def list(resource_group_name, resource_name, scope_path, scope:nil, type:nil, include_content:nil, custom_headers:nil)
|
50
|
+
response = list_async(resource_group_name, resource_name, scope_path, scope:scope, type:type, include_content:include_content, custom_headers:custom_headers).value!
|
51
|
+
response.body unless response.nil?
|
52
|
+
end
|
53
|
+
|
54
|
+
#
|
55
|
+
# Gets a list of Analytics Items defined within an Application Insights
|
56
|
+
# component.
|
57
|
+
#
|
58
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
59
|
+
# is case insensitive.
|
60
|
+
# @param resource_name [String] The name of the Application Insights component
|
61
|
+
# resource.
|
62
|
+
# @param scope_path [ItemScopePath] Enum indicating if this item definition is
|
63
|
+
# owned by a specific user or is shared between all users with access to the
|
64
|
+
# Application Insights component. Possible values include: 'analyticsItems',
|
65
|
+
# 'myanalyticsItems'
|
66
|
+
# @param scope [ItemScope] Enum indicating if this item definition is owned by
|
67
|
+
# a specific user or is shared between all users with access to the Application
|
68
|
+
# Insights component. Possible values include: 'shared', 'user'
|
69
|
+
# @param type [ItemTypeParameter] Enum indicating the type of the Analytics
|
70
|
+
# item. Possible values include: 'none', 'query', 'function', 'folder',
|
71
|
+
# 'recent'
|
72
|
+
# @param include_content [Boolean] Flag indicating whether or not to return the
|
73
|
+
# content of each applicable item. If false, only return the item information.
|
74
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
75
|
+
# will be added to the HTTP request.
|
76
|
+
#
|
77
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
78
|
+
#
|
79
|
+
def list_with_http_info(resource_group_name, resource_name, scope_path, scope:nil, type:nil, include_content:nil, custom_headers:nil)
|
80
|
+
list_async(resource_group_name, resource_name, scope_path, scope:scope, type:type, include_content:include_content, custom_headers:custom_headers).value!
|
81
|
+
end
|
82
|
+
|
83
|
+
#
|
84
|
+
# Gets a list of Analytics Items defined within an Application Insights
|
85
|
+
# component.
|
86
|
+
#
|
87
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
88
|
+
# is case insensitive.
|
89
|
+
# @param resource_name [String] The name of the Application Insights component
|
90
|
+
# resource.
|
91
|
+
# @param scope_path [ItemScopePath] Enum indicating if this item definition is
|
92
|
+
# owned by a specific user or is shared between all users with access to the
|
93
|
+
# Application Insights component. Possible values include: 'analyticsItems',
|
94
|
+
# 'myanalyticsItems'
|
95
|
+
# @param scope [ItemScope] Enum indicating if this item definition is owned by
|
96
|
+
# a specific user or is shared between all users with access to the Application
|
97
|
+
# Insights component. Possible values include: 'shared', 'user'
|
98
|
+
# @param type [ItemTypeParameter] Enum indicating the type of the Analytics
|
99
|
+
# item. Possible values include: 'none', 'query', 'function', 'folder',
|
100
|
+
# 'recent'
|
101
|
+
# @param include_content [Boolean] Flag indicating whether or not to return the
|
102
|
+
# content of each applicable item. If false, only return the item information.
|
103
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
104
|
+
# to the HTTP request.
|
105
|
+
#
|
106
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
107
|
+
#
|
108
|
+
def list_async(resource_group_name, resource_name, scope_path, scope:nil, type:nil, include_content:nil, custom_headers:nil)
|
109
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
110
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
111
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
112
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
113
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
114
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
115
|
+
fail ArgumentError, 'resource_name is nil' if resource_name.nil?
|
116
|
+
fail ArgumentError, 'scope_path is nil' if scope_path.nil?
|
117
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
118
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
119
|
+
|
120
|
+
|
121
|
+
request_headers = {}
|
122
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
123
|
+
|
124
|
+
# Set Headers
|
125
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
126
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
127
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}'
|
128
|
+
|
129
|
+
request_url = @base_url || @client.base_url
|
130
|
+
|
131
|
+
options = {
|
132
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
133
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'resourceName' => resource_name,'scopePath' => scope_path},
|
134
|
+
query_params: {'api-version' => @client.api_version,'scope' => scope,'type' => type,'includeContent' => include_content},
|
135
|
+
headers: request_headers.merge(custom_headers || {}),
|
136
|
+
base_url: request_url
|
137
|
+
}
|
138
|
+
promise = @client.make_request_async(:get, path_template, options)
|
139
|
+
|
140
|
+
promise = promise.then do |result|
|
141
|
+
http_response = result.response
|
142
|
+
status_code = http_response.status
|
143
|
+
response_content = http_response.body
|
144
|
+
unless status_code == 200
|
145
|
+
error_model = JSON.load(response_content)
|
146
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
147
|
+
end
|
148
|
+
|
149
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
150
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
151
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
152
|
+
# Deserialize Response
|
153
|
+
if status_code == 200
|
154
|
+
begin
|
155
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
156
|
+
result_mapper = {
|
157
|
+
client_side_validation: true,
|
158
|
+
required: false,
|
159
|
+
serialized_name: 'parsed_response',
|
160
|
+
type: {
|
161
|
+
name: 'Sequence',
|
162
|
+
element: {
|
163
|
+
client_side_validation: true,
|
164
|
+
required: false,
|
165
|
+
serialized_name: 'ApplicationInsightsComponentAnalyticsItemElementType',
|
166
|
+
type: {
|
167
|
+
name: 'Composite',
|
168
|
+
class_name: 'ApplicationInsightsComponentAnalyticsItem'
|
169
|
+
}
|
170
|
+
}
|
171
|
+
}
|
172
|
+
}
|
173
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
174
|
+
rescue Exception => e
|
175
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
176
|
+
end
|
177
|
+
end
|
178
|
+
|
179
|
+
result
|
180
|
+
end
|
181
|
+
|
182
|
+
promise.execute
|
183
|
+
end
|
184
|
+
|
185
|
+
#
|
186
|
+
# Gets a specific Analytics Items defined within an Application Insights
|
187
|
+
# component.
|
188
|
+
#
|
189
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
190
|
+
# is case insensitive.
|
191
|
+
# @param resource_name [String] The name of the Application Insights component
|
192
|
+
# resource.
|
193
|
+
# @param scope_path [ItemScopePath] Enum indicating if this item definition is
|
194
|
+
# owned by a specific user or is shared between all users with access to the
|
195
|
+
# Application Insights component. Possible values include: 'analyticsItems',
|
196
|
+
# 'myanalyticsItems'
|
197
|
+
# @param id [String] The Id of a specific item defined in the Application
|
198
|
+
# Insights component
|
199
|
+
# @param name [String] The name of a specific item defined in the Application
|
200
|
+
# Insights component
|
201
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
202
|
+
# will be added to the HTTP request.
|
203
|
+
#
|
204
|
+
# @return [ApplicationInsightsComponentAnalyticsItem] operation results.
|
205
|
+
#
|
206
|
+
def get(resource_group_name, resource_name, scope_path, id:nil, name:nil, custom_headers:nil)
|
207
|
+
response = get_async(resource_group_name, resource_name, scope_path, id:id, name:name, custom_headers:custom_headers).value!
|
208
|
+
response.body unless response.nil?
|
209
|
+
end
|
210
|
+
|
211
|
+
#
|
212
|
+
# Gets a specific Analytics Items defined within an Application Insights
|
213
|
+
# component.
|
214
|
+
#
|
215
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
216
|
+
# is case insensitive.
|
217
|
+
# @param resource_name [String] The name of the Application Insights component
|
218
|
+
# resource.
|
219
|
+
# @param scope_path [ItemScopePath] Enum indicating if this item definition is
|
220
|
+
# owned by a specific user or is shared between all users with access to the
|
221
|
+
# Application Insights component. Possible values include: 'analyticsItems',
|
222
|
+
# 'myanalyticsItems'
|
223
|
+
# @param id [String] The Id of a specific item defined in the Application
|
224
|
+
# Insights component
|
225
|
+
# @param name [String] The name of a specific item defined in the Application
|
226
|
+
# Insights component
|
227
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
228
|
+
# will be added to the HTTP request.
|
229
|
+
#
|
230
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
231
|
+
#
|
232
|
+
def get_with_http_info(resource_group_name, resource_name, scope_path, id:nil, name:nil, custom_headers:nil)
|
233
|
+
get_async(resource_group_name, resource_name, scope_path, id:id, name:name, custom_headers:custom_headers).value!
|
234
|
+
end
|
235
|
+
|
236
|
+
#
|
237
|
+
# Gets a specific Analytics Items defined within an Application Insights
|
238
|
+
# component.
|
239
|
+
#
|
240
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
241
|
+
# is case insensitive.
|
242
|
+
# @param resource_name [String] The name of the Application Insights component
|
243
|
+
# resource.
|
244
|
+
# @param scope_path [ItemScopePath] Enum indicating if this item definition is
|
245
|
+
# owned by a specific user or is shared between all users with access to the
|
246
|
+
# Application Insights component. Possible values include: 'analyticsItems',
|
247
|
+
# 'myanalyticsItems'
|
248
|
+
# @param id [String] The Id of a specific item defined in the Application
|
249
|
+
# Insights component
|
250
|
+
# @param name [String] The name of a specific item defined in the Application
|
251
|
+
# Insights component
|
252
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
253
|
+
# to the HTTP request.
|
254
|
+
#
|
255
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
256
|
+
#
|
257
|
+
def get_async(resource_group_name, resource_name, scope_path, id:nil, name:nil, custom_headers:nil)
|
258
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
259
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
260
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
261
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
262
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
263
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
264
|
+
fail ArgumentError, 'resource_name is nil' if resource_name.nil?
|
265
|
+
fail ArgumentError, 'scope_path is nil' if scope_path.nil?
|
266
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
267
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
268
|
+
|
269
|
+
|
270
|
+
request_headers = {}
|
271
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
272
|
+
|
273
|
+
# Set Headers
|
274
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
275
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
276
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}/item'
|
277
|
+
|
278
|
+
request_url = @base_url || @client.base_url
|
279
|
+
|
280
|
+
options = {
|
281
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
282
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'resourceName' => resource_name,'scopePath' => scope_path},
|
283
|
+
query_params: {'api-version' => @client.api_version,'id' => id,'name' => name},
|
284
|
+
headers: request_headers.merge(custom_headers || {}),
|
285
|
+
base_url: request_url
|
286
|
+
}
|
287
|
+
promise = @client.make_request_async(:get, path_template, options)
|
288
|
+
|
289
|
+
promise = promise.then do |result|
|
290
|
+
http_response = result.response
|
291
|
+
status_code = http_response.status
|
292
|
+
response_content = http_response.body
|
293
|
+
unless status_code == 200
|
294
|
+
error_model = JSON.load(response_content)
|
295
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
296
|
+
end
|
297
|
+
|
298
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
299
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
300
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
301
|
+
# Deserialize Response
|
302
|
+
if status_code == 200
|
303
|
+
begin
|
304
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
305
|
+
result_mapper = Azure::Monitor::Mgmt::V2015_05_01::Models::ApplicationInsightsComponentAnalyticsItem.mapper()
|
306
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
307
|
+
rescue Exception => e
|
308
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
309
|
+
end
|
310
|
+
end
|
311
|
+
|
312
|
+
result
|
313
|
+
end
|
314
|
+
|
315
|
+
promise.execute
|
316
|
+
end
|
317
|
+
|
318
|
+
#
|
319
|
+
# Adds or Updates a specific Analytics Item within an Application Insights
|
320
|
+
# component.
|
321
|
+
#
|
322
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
323
|
+
# is case insensitive.
|
324
|
+
# @param resource_name [String] The name of the Application Insights component
|
325
|
+
# resource.
|
326
|
+
# @param scope_path [ItemScopePath] Enum indicating if this item definition is
|
327
|
+
# owned by a specific user or is shared between all users with access to the
|
328
|
+
# Application Insights component. Possible values include: 'analyticsItems',
|
329
|
+
# 'myanalyticsItems'
|
330
|
+
# @param item_properties [ApplicationInsightsComponentAnalyticsItem] Properties
|
331
|
+
# that need to be specified to create a new item and add it to an Application
|
332
|
+
# Insights component.
|
333
|
+
# @param override_item [Boolean] Flag indicating whether or not to force save
|
334
|
+
# an item. This allows overriding an item if it already exists.
|
335
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
336
|
+
# will be added to the HTTP request.
|
337
|
+
#
|
338
|
+
# @return [ApplicationInsightsComponentAnalyticsItem] operation results.
|
339
|
+
#
|
340
|
+
def put(resource_group_name, resource_name, scope_path, item_properties, override_item:nil, custom_headers:nil)
|
341
|
+
response = put_async(resource_group_name, resource_name, scope_path, item_properties, override_item:override_item, custom_headers:custom_headers).value!
|
342
|
+
response.body unless response.nil?
|
343
|
+
end
|
344
|
+
|
345
|
+
#
|
346
|
+
# Adds or Updates a specific Analytics Item within an Application Insights
|
347
|
+
# component.
|
348
|
+
#
|
349
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
350
|
+
# is case insensitive.
|
351
|
+
# @param resource_name [String] The name of the Application Insights component
|
352
|
+
# resource.
|
353
|
+
# @param scope_path [ItemScopePath] Enum indicating if this item definition is
|
354
|
+
# owned by a specific user or is shared between all users with access to the
|
355
|
+
# Application Insights component. Possible values include: 'analyticsItems',
|
356
|
+
# 'myanalyticsItems'
|
357
|
+
# @param item_properties [ApplicationInsightsComponentAnalyticsItem] Properties
|
358
|
+
# that need to be specified to create a new item and add it to an Application
|
359
|
+
# Insights component.
|
360
|
+
# @param override_item [Boolean] Flag indicating whether or not to force save
|
361
|
+
# an item. This allows overriding an item if it already exists.
|
362
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
363
|
+
# will be added to the HTTP request.
|
364
|
+
#
|
365
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
366
|
+
#
|
367
|
+
def put_with_http_info(resource_group_name, resource_name, scope_path, item_properties, override_item:nil, custom_headers:nil)
|
368
|
+
put_async(resource_group_name, resource_name, scope_path, item_properties, override_item:override_item, custom_headers:custom_headers).value!
|
369
|
+
end
|
370
|
+
|
371
|
+
#
|
372
|
+
# Adds or Updates a specific Analytics Item within an Application Insights
|
373
|
+
# component.
|
374
|
+
#
|
375
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
376
|
+
# is case insensitive.
|
377
|
+
# @param resource_name [String] The name of the Application Insights component
|
378
|
+
# resource.
|
379
|
+
# @param scope_path [ItemScopePath] Enum indicating if this item definition is
|
380
|
+
# owned by a specific user or is shared between all users with access to the
|
381
|
+
# Application Insights component. Possible values include: 'analyticsItems',
|
382
|
+
# 'myanalyticsItems'
|
383
|
+
# @param item_properties [ApplicationInsightsComponentAnalyticsItem] Properties
|
384
|
+
# that need to be specified to create a new item and add it to an Application
|
385
|
+
# Insights component.
|
386
|
+
# @param override_item [Boolean] Flag indicating whether or not to force save
|
387
|
+
# an item. This allows overriding an item if it already exists.
|
388
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
389
|
+
# to the HTTP request.
|
390
|
+
#
|
391
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
392
|
+
#
|
393
|
+
def put_async(resource_group_name, resource_name, scope_path, item_properties, override_item:nil, custom_headers:nil)
|
394
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
395
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
396
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
397
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
398
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
399
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
400
|
+
fail ArgumentError, 'resource_name is nil' if resource_name.nil?
|
401
|
+
fail ArgumentError, 'scope_path is nil' if scope_path.nil?
|
402
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
403
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
404
|
+
fail ArgumentError, 'item_properties is nil' if item_properties.nil?
|
405
|
+
|
406
|
+
|
407
|
+
request_headers = {}
|
408
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
409
|
+
|
410
|
+
# Set Headers
|
411
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
412
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
413
|
+
|
414
|
+
# Serialize Request
|
415
|
+
request_mapper = Azure::Monitor::Mgmt::V2015_05_01::Models::ApplicationInsightsComponentAnalyticsItem.mapper()
|
416
|
+
request_content = @client.serialize(request_mapper, item_properties)
|
417
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
418
|
+
|
419
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}/item'
|
420
|
+
|
421
|
+
request_url = @base_url || @client.base_url
|
422
|
+
|
423
|
+
options = {
|
424
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
425
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'resourceName' => resource_name,'scopePath' => scope_path},
|
426
|
+
query_params: {'api-version' => @client.api_version,'overrideItem' => override_item},
|
427
|
+
body: request_content,
|
428
|
+
headers: request_headers.merge(custom_headers || {}),
|
429
|
+
base_url: request_url
|
430
|
+
}
|
431
|
+
promise = @client.make_request_async(:put, path_template, options)
|
432
|
+
|
433
|
+
promise = promise.then do |result|
|
434
|
+
http_response = result.response
|
435
|
+
status_code = http_response.status
|
436
|
+
response_content = http_response.body
|
437
|
+
unless status_code == 200
|
438
|
+
error_model = JSON.load(response_content)
|
439
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
440
|
+
end
|
441
|
+
|
442
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
443
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
444
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
445
|
+
# Deserialize Response
|
446
|
+
if status_code == 200
|
447
|
+
begin
|
448
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
449
|
+
result_mapper = Azure::Monitor::Mgmt::V2015_05_01::Models::ApplicationInsightsComponentAnalyticsItem.mapper()
|
450
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
451
|
+
rescue Exception => e
|
452
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
453
|
+
end
|
454
|
+
end
|
455
|
+
|
456
|
+
result
|
457
|
+
end
|
458
|
+
|
459
|
+
promise.execute
|
460
|
+
end
|
461
|
+
|
462
|
+
#
|
463
|
+
# Deletes a specific Analytics Items defined within an Application Insights
|
464
|
+
# component.
|
465
|
+
#
|
466
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
467
|
+
# is case insensitive.
|
468
|
+
# @param resource_name [String] The name of the Application Insights component
|
469
|
+
# resource.
|
470
|
+
# @param scope_path [ItemScopePath] Enum indicating if this item definition is
|
471
|
+
# owned by a specific user or is shared between all users with access to the
|
472
|
+
# Application Insights component. Possible values include: 'analyticsItems',
|
473
|
+
# 'myanalyticsItems'
|
474
|
+
# @param id [String] The Id of a specific item defined in the Application
|
475
|
+
# Insights component
|
476
|
+
# @param name [String] The name of a specific item defined in the Application
|
477
|
+
# Insights component
|
478
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
479
|
+
# will be added to the HTTP request.
|
480
|
+
#
|
481
|
+
#
|
482
|
+
def delete(resource_group_name, resource_name, scope_path, id:nil, name:nil, custom_headers:nil)
|
483
|
+
response = delete_async(resource_group_name, resource_name, scope_path, id:id, name:name, custom_headers:custom_headers).value!
|
484
|
+
nil
|
485
|
+
end
|
486
|
+
|
487
|
+
#
|
488
|
+
# Deletes a specific Analytics Items defined within an Application Insights
|
489
|
+
# component.
|
490
|
+
#
|
491
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
492
|
+
# is case insensitive.
|
493
|
+
# @param resource_name [String] The name of the Application Insights component
|
494
|
+
# resource.
|
495
|
+
# @param scope_path [ItemScopePath] Enum indicating if this item definition is
|
496
|
+
# owned by a specific user or is shared between all users with access to the
|
497
|
+
# Application Insights component. Possible values include: 'analyticsItems',
|
498
|
+
# 'myanalyticsItems'
|
499
|
+
# @param id [String] The Id of a specific item defined in the Application
|
500
|
+
# Insights component
|
501
|
+
# @param name [String] The name of a specific item defined in the Application
|
502
|
+
# Insights component
|
503
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
504
|
+
# will be added to the HTTP request.
|
505
|
+
#
|
506
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
507
|
+
#
|
508
|
+
def delete_with_http_info(resource_group_name, resource_name, scope_path, id:nil, name:nil, custom_headers:nil)
|
509
|
+
delete_async(resource_group_name, resource_name, scope_path, id:id, name:name, custom_headers:custom_headers).value!
|
510
|
+
end
|
511
|
+
|
512
|
+
#
|
513
|
+
# Deletes a specific Analytics Items defined within an Application Insights
|
514
|
+
# component.
|
515
|
+
#
|
516
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
517
|
+
# is case insensitive.
|
518
|
+
# @param resource_name [String] The name of the Application Insights component
|
519
|
+
# resource.
|
520
|
+
# @param scope_path [ItemScopePath] Enum indicating if this item definition is
|
521
|
+
# owned by a specific user or is shared between all users with access to the
|
522
|
+
# Application Insights component. Possible values include: 'analyticsItems',
|
523
|
+
# 'myanalyticsItems'
|
524
|
+
# @param id [String] The Id of a specific item defined in the Application
|
525
|
+
# Insights component
|
526
|
+
# @param name [String] The name of a specific item defined in the Application
|
527
|
+
# Insights component
|
528
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
529
|
+
# to the HTTP request.
|
530
|
+
#
|
531
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
532
|
+
#
|
533
|
+
def delete_async(resource_group_name, resource_name, scope_path, id:nil, name:nil, custom_headers:nil)
|
534
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
535
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
536
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
537
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
538
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
539
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
540
|
+
fail ArgumentError, 'resource_name is nil' if resource_name.nil?
|
541
|
+
fail ArgumentError, 'scope_path is nil' if scope_path.nil?
|
542
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
543
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
544
|
+
|
545
|
+
|
546
|
+
request_headers = {}
|
547
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
548
|
+
|
549
|
+
# Set Headers
|
550
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
551
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
552
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}/item'
|
553
|
+
|
554
|
+
request_url = @base_url || @client.base_url
|
555
|
+
|
556
|
+
options = {
|
557
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
558
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'resourceName' => resource_name,'scopePath' => scope_path},
|
559
|
+
query_params: {'api-version' => @client.api_version,'id' => id,'name' => name},
|
560
|
+
headers: request_headers.merge(custom_headers || {}),
|
561
|
+
base_url: request_url
|
562
|
+
}
|
563
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
564
|
+
|
565
|
+
promise = promise.then do |result|
|
566
|
+
http_response = result.response
|
567
|
+
status_code = http_response.status
|
568
|
+
response_content = http_response.body
|
569
|
+
unless status_code == 200
|
570
|
+
error_model = JSON.load(response_content)
|
571
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
572
|
+
end
|
573
|
+
|
574
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
575
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
576
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
577
|
+
|
578
|
+
result
|
579
|
+
end
|
580
|
+
|
581
|
+
promise.execute
|
582
|
+
end
|
583
|
+
|
584
|
+
end
|
585
|
+
end
|