instana-client 1.0.0__py3-none-any.whl → 1.0.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- instana_client/__init__.py +91 -9
- instana_client/api/__init__.py +8 -0
- instana_client/api/action_catalog_api.py +329 -6
- instana_client/api/action_history_api.py +54 -2
- instana_client/api/ai_management_api.py +1973 -0
- instana_client/api/apdex_report_api.py +2 -2
- instana_client/api/apdex_settings_api.py +8 -9
- instana_client/api/api_token_api.py +23 -24
- instana_client/api/application_alert_configuration_api.py +79 -66
- instana_client/api/application_analyze_api.py +20 -282
- instana_client/api/application_catalog_api.py +11 -11
- instana_client/api/application_metrics_api.py +14 -14
- instana_client/api/application_resources_api.py +171 -44
- instana_client/api/application_settings_api.py +134 -104
- instana_client/api/application_topology_api.py +11 -2
- instana_client/api/audit_log_api.py +2 -2
- instana_client/api/authentication_api.py +14 -30
- instana_client/api/business_monitoring_api.py +2 -2
- instana_client/api/custom_dashboards_api.py +29 -19
- instana_client/api/custom_entities_api.py +1398 -0
- instana_client/api/end_user_monitoring_api.py +310 -0
- instana_client/api/event_settings_api.py +1365 -658
- instana_client/api/events_api.py +11 -26
- instana_client/api/global_application_alert_configuration_api.py +53 -56
- instana_client/api/groups_api.py +888 -87
- instana_client/api/health_api.py +8 -5
- instana_client/api/host_agent_api.py +274 -8
- instana_client/api/infrastructure_alert_configuration_api.py +50 -30
- instana_client/api/infrastructure_analyze_api.py +14 -14
- instana_client/api/infrastructure_catalog_api.py +44 -13
- instana_client/api/infrastructure_metrics_api.py +5 -5
- instana_client/api/infrastructure_resources_api.py +11 -11
- instana_client/api/infrastructure_topology_api.py +2 -2
- instana_client/api/log_alert_configuration_api.py +50 -30
- instana_client/api/logging_analyze_api.py +343 -0
- instana_client/api/maintenance_configuration_api.py +32 -20
- instana_client/api/mobile_app_analyze_api.py +2 -2
- instana_client/api/mobile_app_catalog_api.py +8 -2
- instana_client/api/mobile_app_configuration_api.py +3058 -334
- instana_client/api/mobile_app_metrics_api.py +3 -6
- instana_client/api/policies_api.py +14 -11
- instana_client/api/releases_api.py +8 -11
- instana_client/api/roles_api.py +1410 -0
- instana_client/api/service_levels_alert_configuration_api.py +2 -2
- instana_client/api/service_levels_objective_slo_configurations_api.py +211 -87
- instana_client/api/service_levels_objective_slo_report_api.py +38 -2
- instana_client/api/session_settings_api.py +2 -2
- instana_client/api/sli_report_api.py +2 -2
- instana_client/api/sli_settings_api.py +5 -8
- instana_client/api/slo_correction_configurations_api.py +1537 -0
- instana_client/api/slo_correction_windows_api.py +392 -0
- instana_client/api/synthetic_alert_configuration_api.py +53 -56
- instana_client/api/synthetic_calls_api.py +20 -9
- instana_client/api/synthetic_catalog_api.py +20 -2
- instana_client/api/synthetic_metrics_api.py +5 -5
- instana_client/api/synthetic_settings_api.py +1915 -477
- instana_client/api/synthetic_test_playback_results_api.py +307 -20
- instana_client/api/teams_api.py +1380 -0
- instana_client/api/usage_api.py +2 -2
- instana_client/api/user_api.py +41 -28
- instana_client/api/website_analyze_api.py +8 -8
- instana_client/api/website_catalog_api.py +11 -8
- instana_client/api/website_configuration_api.py +1801 -336
- instana_client/api/website_metrics_api.py +3 -3
- instana_client/api_client.py +3 -3
- instana_client/configuration.py +14 -7
- instana_client/exceptions.py +2 -2
- instana_client/models/__init__.py +626 -11
- instana_client/models/abstract_integration.py +11 -5
- instana_client/models/abstract_rule.py +2 -2
- instana_client/models/access_log_entry.py +12 -7
- instana_client/models/access_log_response.py +2 -2
- instana_client/models/access_rule.py +2 -2
- instana_client/models/action.py +2 -2
- instana_client/models/action_configuration.py +2 -2
- instana_client/models/action_instance.py +2 -2
- instana_client/models/action_instance_metadata_entry.py +2 -2
- instana_client/models/action_instance_parameter.py +2 -2
- instana_client/models/action_instance_request.py +2 -2
- instana_client/models/action_instance_request_parameters.py +2 -2
- instana_client/models/action_match.py +19 -6
- instana_client/models/action_search_space.py +2 -2
- instana_client/models/adaptive_baseline.py +3 -3
- instana_client/models/adaptive_threshold_rule.py +3 -3
- instana_client/models/addition.py +97 -0
- instana_client/models/adjusted_timeframe.py +2 -2
- instana_client/models/agent_configuration_update.py +2 -2
- instana_client/models/alerting_configuration.py +2 -2
- instana_client/models/alerting_configuration_with_last_updated.py +2 -2
- instana_client/models/alerting_time_window.py +2 -2
- instana_client/models/apdex_configuration.py +2 -2
- instana_client/models/apdex_configuration_input.py +2 -2
- instana_client/models/apdex_entity.py +2 -2
- instana_client/models/apdex_report.py +2 -2
- instana_client/models/api_create_group.py +2 -2
- instana_client/models/api_create_role.py +101 -0
- instana_client/models/api_group.py +2 -2
- instana_client/models/api_member.py +5 -3
- instana_client/models/api_permission_set.py +12 -3
- instana_client/models/api_restricted_application_filter.py +2 -2
- instana_client/models/api_role.py +102 -0
- instana_client/models/api_tag.py +91 -0
- instana_client/models/api_team.py +113 -0
- instana_client/models/api_team_info.py +89 -0
- instana_client/models/api_team_member.py +102 -0
- instana_client/models/api_team_role.py +92 -0
- instana_client/models/api_team_scope.py +131 -0
- instana_client/models/api_token.py +35 -5
- instana_client/models/app_data_metric_configuration.py +2 -2
- instana_client/models/application.py +2 -2
- instana_client/models/application_alert_config.py +2 -2
- instana_client/models/application_alert_config_with_metadata.py +2 -2
- instana_client/models/application_alert_rule.py +2 -2
- instana_client/models/application_apdex_entity.py +2 -2
- instana_client/models/application_config.py +2 -2
- instana_client/models/application_event_result.py +6 -7
- instana_client/models/application_item.py +2 -2
- instana_client/models/application_metric_result.py +2 -2
- instana_client/models/application_node.py +2 -2
- instana_client/models/application_result.py +2 -2
- instana_client/models/application_scope.py +4 -4
- instana_client/models/application_scope_with_metadata.py +6 -6
- instana_client/models/application_sli_entity.py +2 -2
- instana_client/models/application_slo_entity.py +2 -2
- instana_client/models/application_time_threshold.py +2 -2
- instana_client/models/arithmetic_configuration.py +123 -0
- instana_client/models/arithmetic_operand.py +154 -0
- instana_client/models/arithmetic_operation.py +128 -0
- instana_client/models/audit_log_entry.py +2 -2
- instana_client/models/audit_log_ui_response.py +2 -2
- instana_client/models/author.py +2 -2
- instana_client/models/availability_blueprint_indicator.py +5 -16
- instana_client/models/availability_sli_entity.py +2 -2
- instana_client/models/available_metrics.py +2 -2
- instana_client/models/available_plugins.py +2 -2
- instana_client/models/backend_trace_reference.py +2 -2
- instana_client/models/bidirectional_ms_teams_app_integration.py +108 -0
- instana_client/models/bidirectional_slack_app_integration.py +104 -0
- instana_client/models/binary_operator_dto.py +2 -2
- instana_client/models/browser_script_configuration.py +5 -3
- instana_client/models/browser_script_configuration_update.py +129 -0
- instana_client/models/built_in_event_specification.py +2 -2
- instana_client/models/built_in_event_specification_with_last_updated.py +2 -2
- instana_client/models/business_activity.py +5 -3
- instana_client/models/business_perspective_config.py +2 -2
- instana_client/models/call_groups_item.py +2 -2
- instana_client/models/call_groups_result.py +2 -2
- instana_client/models/call_relation.py +2 -2
- instana_client/models/change_summary.py +2 -2
- instana_client/models/cloudfoundry_physical_context.py +4 -4
- instana_client/models/condition.py +2 -2
- instana_client/models/config_version.py +2 -2
- instana_client/models/correction.py +105 -0
- instana_client/models/correction_configuration.py +110 -0
- instana_client/models/correction_scheduling.py +105 -0
- instana_client/models/correction_window.py +95 -0
- instana_client/models/crash_mobile_app_alert_rule.py +2 -2
- instana_client/models/create_website_request_inner.py +90 -0
- instana_client/models/cursor_paginated_business_activity_item.py +2 -2
- instana_client/models/cursor_pagination.py +2 -2
- instana_client/models/cursor_pagination_infra_explore_cursor.py +2 -2
- instana_client/models/custom_blueprint_indicator.py +8 -4
- instana_client/models/custom_dashboard.py +2 -2
- instana_client/models/custom_dashboard_preview.py +2 -2
- instana_client/models/custom_dashboard_with_user_specific_information.py +115 -0
- instana_client/models/custom_dependency.py +119 -0
- instana_client/models/custom_email_subject_prefix.py +2 -2
- instana_client/models/custom_entity_model.py +126 -0
- instana_client/models/custom_entity_with_metadata.py +98 -0
- instana_client/models/custom_event_mobile_app_alert_rule.py +2 -2
- instana_client/models/custom_event_specification.py +9 -3
- instana_client/models/custom_event_specification_with_last_updated.py +9 -3
- instana_client/models/custom_event_website_alert_rule.py +2 -2
- instana_client/models/custom_metric.py +134 -0
- instana_client/models/custom_payload_configuration.py +2 -2
- instana_client/models/custom_payload_field.py +2 -2
- instana_client/models/custom_payload_with_last_updated.py +2 -2
- instana_client/models/custom_payload_with_version.py +101 -0
- instana_client/models/dashboard_api_token.py +2 -2
- instana_client/models/database_integration.py +2 -2
- instana_client/models/deprecated_tag_filter.py +4 -4
- instana_client/models/division.py +97 -0
- instana_client/models/dns_configuration.py +146 -0
- instana_client/models/dns_configuration_update.py +143 -0
- instana_client/models/dns_filter_query_time.py +99 -0
- instana_client/models/dns_filter_target_value.py +106 -0
- instana_client/models/duration.py +2 -2
- instana_client/models/dynamic_field.py +2 -2
- instana_client/models/dynamic_field_value.py +2 -2
- instana_client/models/dynamic_parameter.py +2 -2
- instana_client/models/edit_user.py +2 -2
- instana_client/models/email_integration.py +2 -2
- instana_client/models/empty_configuration.py +2 -2
- instana_client/models/endpoint.py +4 -4
- instana_client/models/endpoint_config.py +2 -2
- instana_client/models/endpoint_event_result.py +8 -9
- instana_client/models/endpoint_item.py +2 -2
- instana_client/models/endpoint_metric_result.py +2 -2
- instana_client/models/endpoint_node.py +2 -2
- instana_client/models/endpoint_result.py +3 -3
- instana_client/models/endpoint_simple.py +3 -3
- instana_client/models/entity_count_rule.py +2 -2
- instana_client/models/entity_count_verification_rule.py +3 -3
- instana_client/models/entity_health_info.py +2 -2
- instana_client/models/entity_id.py +2 -2
- instana_client/models/entity_verification_rule.py +3 -3
- instana_client/models/error_budget_alert_rule.py +5 -5
- instana_client/models/errors_application_alert_rule.py +2 -2
- instana_client/models/event.py +11 -3
- instana_client/models/event_filtering_configuration.py +2 -2
- instana_client/models/event_result.py +4 -3
- instana_client/models/event_specification_info.py +2 -2
- instana_client/models/extended_service.py +2 -2
- instana_client/models/failure_synthetic_alert_rule.py +2 -2
- instana_client/models/fixed_http_path_segment_matching_rule.py +2 -2
- instana_client/models/fixed_time_window.py +4 -3
- instana_client/models/generic_infra_alert_rule.py +12 -4
- instana_client/models/geo_location_configuration.py +2 -2
- instana_client/models/geo_mapping_rule.py +2 -2
- instana_client/models/geo_subdivision.py +2 -2
- instana_client/models/get_activities.py +2 -2
- instana_client/models/get_application_metrics.py +2 -2
- instana_client/models/get_applications.py +2 -2
- instana_client/models/get_available_metrics_query.py +2 -2
- instana_client/models/get_available_plugins_query.py +2 -2
- instana_client/models/get_call_groups.py +2 -2
- instana_client/models/get_combined_metrics.py +2 -2
- instana_client/models/get_dynamic_parameter_values.py +2 -2
- instana_client/models/get_endpoints.py +2 -2
- instana_client/models/get_infrastructure_groups_query.py +2 -2
- instana_client/models/get_infrastructure_query.py +2 -2
- instana_client/models/get_metrics_result.py +2 -2
- instana_client/models/get_mobile_app_beacon_groups.py +2 -2
- instana_client/models/get_mobile_app_beacons.py +2 -2
- instana_client/models/get_mobile_app_metrics.py +2 -2
- instana_client/models/get_mobile_app_metrics_v2.py +2 -2
- instana_client/models/get_payload_keys_result.py +2 -2
- instana_client/models/get_services.py +2 -2
- instana_client/models/get_snapshots_query.py +2 -2
- instana_client/models/get_test_result.py +2 -2
- instana_client/models/get_test_result_analytic.py +126 -0
- instana_client/models/get_test_result_base.py +2 -2
- instana_client/models/get_test_result_list.py +2 -2
- instana_client/models/get_test_summary_result.py +2 -2
- instana_client/models/get_trace_download_result_item.py +3 -3
- instana_client/models/get_trace_groups.py +2 -2
- instana_client/models/get_traces.py +4 -4
- instana_client/models/get_website_beacon_groups.py +2 -2
- instana_client/models/get_website_beacons.py +2 -2
- instana_client/models/get_website_metrics.py +2 -2
- instana_client/models/get_website_metrics_v2.py +2 -2
- instana_client/models/global_application_alert_config_with_metadata.py +2 -2
- instana_client/models/global_applications_alert_config.py +2 -2
- instana_client/models/google_chat_integration.py +2 -2
- instana_client/models/graph_edge.py +2 -2
- instana_client/models/graph_node.py +2 -2
- instana_client/models/group.py +2 -2
- instana_client/models/group_by_tag.py +2 -2
- instana_client/models/group_mapping.py +5 -3
- instana_client/models/group_mapping_overview.py +96 -0
- instana_client/models/health_state.py +2 -2
- instana_client/models/historic_baseline.py +3 -3
- instana_client/models/host_availability_rule.py +2 -2
- instana_client/models/http_action_configuration.py +2 -2
- instana_client/models/http_action_configuration_update.py +138 -0
- instana_client/models/http_endpoint_config.py +2 -2
- instana_client/models/http_endpoint_rule.py +2 -2
- instana_client/models/http_path_segment_matching_rule.py +2 -2
- instana_client/models/http_script_configuration.py +5 -3
- instana_client/models/http_script_configuration_update.py +115 -0
- instana_client/models/hyper_param.py +2 -2
- instana_client/models/identity_provider_patch.py +2 -2
- instana_client/models/impacted_beacon_info.py +96 -0
- instana_client/models/infra_alert_config.py +8 -6
- instana_client/models/infra_alert_config_with_metadata.py +7 -5
- instana_client/models/infra_alert_rule.py +9 -3
- instana_client/models/infra_event_result.py +7 -8
- instana_client/models/infra_metric_configuration.py +103 -80
- instana_client/models/infra_slo_entity.py +95 -0
- instana_client/models/infra_time_threshold.py +2 -2
- instana_client/models/infrastructure_entities_result.py +2 -2
- instana_client/models/infrastructure_group.py +5 -3
- instana_client/models/infrastructure_groups_result.py +2 -2
- instana_client/models/infrastructure_item.py +2 -2
- instana_client/models/infrastructure_metric_result.py +2 -2
- instana_client/models/instana_version_info.py +2 -2
- instana_client/models/integration_overview.py +14 -4
- instana_client/models/invitation.py +6 -4
- instana_client/models/invitation_response.py +2 -2
- instana_client/models/invitation_result.py +2 -2
- instana_client/models/ip_masking_configuration.py +2 -2
- instana_client/models/js_stack_trace_line.py +2 -2
- instana_client/models/kubernetes_physical_context.py +3 -3
- instana_client/models/latency_blueprint_indicator.py +5 -16
- instana_client/models/llm_egress_gateway.py +124 -0
- instana_client/models/location_status.py +2 -2
- instana_client/models/log_alert_config.py +8 -6
- instana_client/models/log_alert_config_with_metadata.py +8 -6
- instana_client/models/log_alert_rule.py +2 -2
- instana_client/models/log_count_alert_rule.py +2 -2
- instana_client/models/log_entry_actor.py +2 -2
- instana_client/models/log_event_result.py +6 -7
- instana_client/models/log_time_threshold.py +2 -2
- instana_client/models/log_volume_group.py +91 -0
- instana_client/models/log_volume_usage_item.py +101 -0
- instana_client/models/log_volume_usage_result.py +96 -0
- instana_client/models/logs_application_alert_rule.py +4 -4
- instana_client/models/maintenance_config.py +2 -2
- instana_client/models/maintenance_config_scheduling.py +2 -2
- instana_client/models/maintenance_config_v2.py +2 -2
- instana_client/models/maintenance_config_v2_with_state_and_occurrence.py +2 -2
- instana_client/models/maintenance_config_with_last_updated.py +2 -2
- instana_client/models/maintenance_window.py +2 -2
- instana_client/models/manual_alerting_channel_configuration.py +2 -2
- instana_client/models/manual_close_info.py +2 -2
- instana_client/models/manual_service_config.py +2 -2
- instana_client/models/match_all_http_path_segment_matching_rule.py +2 -2
- instana_client/models/match_expression_dto.py +3 -3
- instana_client/models/meta_data.py +2 -2
- instana_client/models/metric_api_result.py +2 -2
- instana_client/models/metric_config.py +2 -2
- instana_client/models/metric_configuration.py +3 -3
- instana_client/models/metric_description.py +2 -2
- instana_client/models/metric_instance.py +2 -2
- instana_client/models/metric_item.py +2 -2
- instana_client/models/metric_metadata.py +4 -4
- instana_client/models/metric_pattern.py +2 -2
- instana_client/models/metric_query.py +128 -0
- instana_client/models/metrics_result.py +2 -2
- instana_client/models/metrics_result_item.py +5 -3
- instana_client/models/metrics_test_result_item.py +2 -2
- instana_client/models/mobile_app.py +2 -2
- instana_client/models/mobile_app_alert_config.py +2 -2
- instana_client/models/mobile_app_alert_rule.py +8 -5
- instana_client/models/mobile_app_beacon_groups_item.py +2 -2
- instana_client/models/mobile_app_beacon_groups_result.py +2 -2
- instana_client/models/mobile_app_beacon_result.py +2 -2
- instana_client/models/mobile_app_beacon_tag_group.py +2 -2
- instana_client/models/mobile_app_beacons_item.py +11 -5
- instana_client/models/mobile_app_event_result.py +6 -7
- instana_client/models/mobile_app_metric_result.py +2 -2
- instana_client/models/mobile_app_monitoring_beacon.py +22 -4
- instana_client/models/mobile_app_monitoring_metric_description.py +5 -3
- instana_client/models/mobile_app_monitoring_metrics_configuration.py +2 -2
- instana_client/models/mobile_app_time_threshold.py +2 -2
- instana_client/models/model_field.py +2 -2
- instana_client/models/monitored_entities_stats.py +92 -0
- instana_client/models/monitoring_state.py +11 -3
- instana_client/models/multiple_scripts_configuration.py +2 -2
- instana_client/models/multiplication.py +97 -0
- instana_client/models/nested_operation.py +128 -0
- instana_client/models/new_application_config.py +2 -2
- instana_client/models/new_business_perspective_config.py +2 -2
- instana_client/models/new_manual_service_config.py +2 -2
- instana_client/models/o_auth_config.py +110 -0
- instana_client/models/o_auth_integration.py +98 -0
- instana_client/models/o_auth_token.py +111 -0
- instana_client/models/occurrence.py +2 -2
- instana_client/models/office365_integration.py +2 -2
- instana_client/models/one_time_maintenance_window.py +2 -2
- instana_client/models/opsgenie_integration.py +2 -2
- instana_client/models/order.py +2 -2
- instana_client/models/pagerduty_integration.py +2 -2
- instana_client/models/paginated_result.py +2 -2
- instana_client/models/pagination.py +2 -2
- instana_client/models/parameter.py +2 -2
- instana_client/models/parameter_value.py +2 -2
- instana_client/models/path_parameter_http_path_segment_matching_rule.py +2 -2
- instana_client/models/physical_context.py +3 -3
- instana_client/models/plugin_result.py +2 -2
- instana_client/models/policy.py +2 -2
- instana_client/models/policy_runnable.py +2 -2
- instana_client/models/policy_scheduling.py +91 -0
- instana_client/models/post_mobile_app_source_map_config_request.py +88 -0
- instana_client/models/post_snapshots_result.py +2 -2
- instana_client/models/problem.py +2 -2
- instana_client/models/prometheus_webhook_integration.py +2 -2
- instana_client/models/recurrent_maintenance_window.py +2 -2
- instana_client/models/release.py +6 -6
- instana_client/models/release_scope.py +2 -2
- instana_client/models/release_with_metadata.py +8 -8
- instana_client/models/retention_period.py +101 -0
- instana_client/models/rolling_time_window.py +4 -3
- instana_client/models/rule_input.py +2 -2
- instana_client/models/rule_with_threshold_application_alert_rule.py +2 -2
- instana_client/models/rule_with_threshold_infra_alert_rule.py +2 -2
- instana_client/models/rule_with_threshold_log_alert_rule.py +2 -2
- instana_client/models/rule_with_threshold_mobile_app_alert_rule.py +2 -2
- instana_client/models/rule_with_threshold_website_alert_rule.py +2 -2
- instana_client/models/run_configuration.py +2 -2
- instana_client/models/salesforce_integration.py +2 -2
- instana_client/models/saturation_blueprint_indicator.py +97 -0
- instana_client/models/scope_binding.py +2 -2
- instana_client/models/search_field_result.py +2 -2
- instana_client/models/service.py +3 -3
- instana_client/models/service_config.py +2 -2
- instana_client/models/service_event_result.py +6 -7
- instana_client/models/service_item.py +2 -2
- instana_client/models/service_level_indicator.py +10 -7
- instana_client/models/service_level_objective_alert_rule.py +2 -2
- instana_client/models/service_level_objective_configuration.py +3 -3
- instana_client/models/service_levels_alert_config.py +15 -5
- instana_client/models/service_levels_alert_rule.py +2 -2
- instana_client/models/service_levels_burn_rate_config.py +115 -0
- instana_client/models/service_levels_burn_rate_time_windows.py +2 -2
- instana_client/models/service_levels_static_threshold_config.py +100 -0
- instana_client/models/service_levels_time_threshold.py +5 -5
- instana_client/models/service_levelse_alert_config_with_metadata.py +15 -5
- instana_client/models/service_map.py +2 -2
- instana_client/models/service_map_connection.py +2 -2
- instana_client/models/service_matching_rule.py +2 -2
- instana_client/models/service_metric_result.py +2 -2
- instana_client/models/service_node.py +2 -2
- instana_client/models/service_now_enhanced_integration.py +2 -2
- instana_client/models/service_now_integration.py +2 -2
- instana_client/models/service_result.py +3 -3
- instana_client/models/service_scope.py +4 -4
- instana_client/models/service_scope_with_metadata.py +5 -5
- instana_client/models/service_scoped_to.py +3 -3
- instana_client/models/service_scoped_to_with_metadata.py +4 -4
- instana_client/models/service_simple.py +2 -2
- instana_client/models/session_settings.py +4 -4
- instana_client/models/simple_metric_configuration.py +123 -0
- instana_client/models/single_value.py +128 -0
- instana_client/models/slack_integration.py +2 -2
- instana_client/models/sli_configuration.py +2 -2
- instana_client/models/sli_configuration_with_last_updated.py +2 -2
- instana_client/models/sli_entity.py +2 -2
- instana_client/models/sli_report.py +2 -2
- instana_client/models/slo_config_with_rbac_tag.py +128 -0
- instana_client/models/slo_entity.py +8 -5
- instana_client/models/slo_report.py +2 -2
- instana_client/models/slowness_application_alert_rule.py +2 -2
- instana_client/models/slowness_mobile_app_alert_rule.py +90 -0
- instana_client/models/slowness_website_alert_rule.py +2 -2
- instana_client/models/snapshot_item.py +2 -2
- instana_client/models/snapshot_preview.py +7 -7
- instana_client/models/snapshot_result.py +2 -2
- instana_client/models/software_user.py +2 -2
- instana_client/models/software_version.py +2 -2
- instana_client/models/source_map_file_blob.py +2 -2
- instana_client/models/source_map_file_meta.py +2 -2
- instana_client/models/source_map_upload_config.py +2 -2
- instana_client/models/source_map_upload_configs.py +106 -0
- instana_client/models/span_excerpt.py +12 -12
- instana_client/models/span_relation.py +3 -3
- instana_client/models/specific_js_errors_website_alert_rule.py +4 -4
- instana_client/models/splunk_integration.py +2 -2
- instana_client/models/ssl_certificate_configuration.py +17 -5
- instana_client/models/ssl_certificate_configuration_update.py +107 -0
- instana_client/models/ssl_certificate_validation.py +99 -0
- instana_client/models/stack_trace_item.py +7 -7
- instana_client/models/stack_trace_line.py +2 -2
- instana_client/models/static_baseline_threshold_rule.py +3 -3
- instana_client/models/static_string_field.py +2 -2
- instana_client/models/static_threshold.py +2 -2
- instana_client/models/static_threshold_rule.py +2 -2
- instana_client/models/status_code_application_alert_rule.py +2 -2
- instana_client/models/status_code_mobile_app_alert_rule.py +4 -4
- instana_client/models/status_code_website_alert_rule.py +4 -4
- instana_client/models/subtraction.py +97 -0
- instana_client/models/synthetic_alert_config.py +2 -2
- instana_client/models/synthetic_alert_config_with_metadata.py +2 -2
- instana_client/models/synthetic_alert_rule.py +2 -2
- instana_client/models/synthetic_bulk_response.py +92 -0
- instana_client/models/synthetic_call_config.py +4 -4
- instana_client/models/synthetic_call_rule.py +6 -6
- instana_client/models/synthetic_call_with_defaults_config.py +4 -4
- instana_client/models/synthetic_configuration.py +93 -0
- instana_client/models/synthetic_configuration_update.py +95 -0
- instana_client/models/synthetic_credential.py +23 -3
- instana_client/models/synthetic_datacenter.py +2 -2
- instana_client/models/synthetic_datacenter_configuration.py +2 -2
- instana_client/models/synthetic_geo_point.py +2 -2
- instana_client/models/synthetic_location.py +2 -2
- instana_client/models/synthetic_location_configuration.py +2 -2
- instana_client/models/synthetic_metric_configuration.py +2 -2
- instana_client/models/synthetic_metric_tag_group.py +18 -5
- instana_client/models/synthetic_playback_capabilities.py +17 -4
- instana_client/models/synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value.py +105 -0
- instana_client/models/synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation.py +105 -0
- instana_client/models/synthetic_resource_update_list_string_list_string.py +90 -0
- instana_client/models/synthetic_resource_update_map_string_string_list_string.py +90 -0
- instana_client/models/synthetic_slo_entity.py +7 -5
- instana_client/models/synthetic_test.py +27 -3
- instana_client/models/synthetic_test_cicd.py +96 -0
- instana_client/models/synthetic_test_cicd_customization.py +96 -0
- instana_client/models/synthetic_test_cicd_item.py +114 -0
- instana_client/models/synthetic_test_cicd_response.py +92 -0
- instana_client/models/synthetic_test_deep_update.py +122 -0
- instana_client/models/synthetic_test_shallow_update.py +122 -0
- instana_client/models/synthetic_test_update.py +147 -0
- instana_client/models/synthetic_time_threshold.py +2 -2
- instana_client/models/synthetic_type_configuration.py +11 -11
- instana_client/models/synthetic_type_configuration_update.py +152 -0
- instana_client/models/synthetics_event_result.py +6 -7
- instana_client/models/system_rule.py +2 -2
- instana_client/models/system_rule_label.py +2 -2
- instana_client/models/tag.py +6 -6
- instana_client/models/tag_catalog.py +2 -2
- instana_client/models/tag_filter.py +22 -10
- instana_client/models/tag_filter_all_of_value.py +195 -0
- instana_client/models/tag_filter_expression.py +2 -2
- instana_client/models/tag_filter_expression_element.py +2 -2
- instana_client/models/tag_matcher_dto.py +2 -2
- instana_client/models/tag_tree_level.py +2 -2
- instana_client/models/tag_tree_node.py +2 -2
- instana_client/models/tag_tree_tag.py +2 -2
- instana_client/models/test_common_properties.py +2 -2
- instana_client/models/test_last_error.py +90 -0
- instana_client/models/test_result.py +2 -2
- instana_client/models/test_result_common_properties.py +24 -3
- instana_client/models/test_result_detail_data.py +2 -2
- instana_client/models/test_result_item.py +2 -2
- instana_client/models/test_result_list_item.py +2 -2
- instana_client/models/test_result_list_result.py +2 -2
- instana_client/models/test_result_metadata.py +2 -2
- instana_client/models/test_result_subtransaction.py +2 -2
- instana_client/models/threshold.py +2 -2
- instana_client/models/threshold_config_rule.py +2 -2
- instana_client/models/threshold_rule.py +2 -2
- instana_client/models/throughput_application_alert_rule.py +2 -2
- instana_client/models/throughput_mobile_app_alert_rule.py +2 -2
- instana_client/models/throughput_website_alert_rule.py +2 -2
- instana_client/models/time_frame.py +2 -2
- instana_client/models/time_window.py +5 -4
- instana_client/models/topology.py +2 -2
- instana_client/models/trace.py +8 -8
- instana_client/models/trace_activity_tree_node_details.py +27 -15
- instana_client/models/trace_download_result.py +2 -2
- instana_client/models/trace_groups_item.py +2 -2
- instana_client/models/trace_groups_result.py +2 -2
- instana_client/models/trace_impact_application_time_threshold.py +2 -2
- instana_client/models/trace_item.py +2 -2
- instana_client/models/trace_result.py +2 -2
- instana_client/models/traffic_blueprint_indicator.py +3 -3
- instana_client/models/trigger.py +15 -7
- instana_client/models/type_configuration.py +2 -2
- instana_client/models/unsupported_http_path_segment_matching_rule.py +2 -2
- instana_client/models/updated_business_perspective_config.py +2 -2
- instana_client/models/usage_result.py +2 -2
- instana_client/models/usage_result_items.py +2 -2
- instana_client/models/user_basic_result.py +2 -2
- instana_client/models/user_impact_mobile_app_time_threshold.py +3 -3
- instana_client/models/user_impact_website_time_threshold.py +3 -3
- instana_client/models/user_result.py +2 -2
- instana_client/models/users_result.py +2 -2
- instana_client/models/validated_alerting_channel_input_info.py +4 -4
- instana_client/models/validated_alerting_configuration.py +2 -2
- instana_client/models/validated_maintenance_config_v2_with_state_and_occurrence.py +2 -2
- instana_client/models/validated_maintenance_config_with_status.py +2 -2
- instana_client/models/victor_ops_integration.py +2 -2
- instana_client/models/violations_in_period_application_time_threshold.py +2 -2
- instana_client/models/violations_in_period_mobile_app_time_threshold.py +2 -2
- instana_client/models/violations_in_period_website_time_threshold.py +2 -2
- instana_client/models/violations_in_sequence_application_time_threshold.py +2 -2
- instana_client/models/violations_in_sequence_infra_time_threshold.py +2 -2
- instana_client/models/violations_in_sequence_log_time_threshold.py +2 -2
- instana_client/models/violations_in_sequence_mobile_app_time_threshold.py +2 -2
- instana_client/models/violations_in_sequence_synthetic_time_threshold.py +2 -2
- instana_client/models/violations_in_sequence_website_time_threshold.py +2 -2
- instana_client/models/watson_ai_ops_webhook_integration.py +2 -2
- instana_client/models/webex_teams_webhook_integration.py +2 -2
- instana_client/models/webhook_integration.py +14 -4
- instana_client/models/webpage_action_configuration.py +2 -2
- instana_client/models/webpage_action_configuration_update.py +109 -0
- instana_client/models/webpage_script_configuration.py +5 -3
- instana_client/models/webpage_script_configuration_update.py +111 -0
- instana_client/models/website.py +2 -2
- instana_client/models/website_alert_config.py +2 -2
- instana_client/models/website_alert_config_with_metadata.py +2 -2
- instana_client/models/website_alert_rule.py +2 -2
- instana_client/models/website_apdex_entity.py +2 -2
- instana_client/models/website_beacon_groups_item.py +2 -2
- instana_client/models/website_beacon_groups_result.py +2 -2
- instana_client/models/website_beacon_result.py +2 -2
- instana_client/models/website_beacon_tag_group.py +2 -2
- instana_client/models/website_beacons_item.py +11 -5
- instana_client/models/website_event_based_sli_entity.py +2 -2
- instana_client/models/website_event_result.py +5 -6
- instana_client/models/website_metric_result.py +2 -2
- instana_client/models/website_monitoring_beacon.py +7 -3
- instana_client/models/website_monitoring_metric_description.py +2 -2
- instana_client/models/website_monitoring_metrics_configuration.py +2 -2
- instana_client/models/website_slo_entity.py +2 -2
- instana_client/models/website_time_based_sli_entity.py +2 -2
- instana_client/models/website_time_threshold.py +2 -2
- instana_client/models/widget.py +2 -2
- instana_client/models/with_metadata.py +2 -2
- instana_client/models/with_resolved_name.py +2 -2
- instana_client/models/z_chat_ops_integration.py +2 -2
- instana_client/rest.py +3 -2
- instana_client-1.0.3.dist-info/METADATA +1097 -0
- instana_client-1.0.3.dist-info/RECORD +599 -0
- {instana_client-1.0.0.dist-info → instana_client-1.0.3.dist-info}/WHEEL +1 -1
- instana_client/models/dns_action_configuration.py +0 -134
- instana_client/models/dns_action_filter_query_time.py +0 -99
- instana_client/models/dns_action_filter_target_value.py +0 -106
- instana_client/models/full_trace.py +0 -97
- instana_client/models/span.py +0 -156
- instana_client-1.0.0.dist-info/METADATA +0 -25
- instana_client-1.0.0.dist-info/RECORD +0 -515
- {instana_client-1.0.0.dist-info → instana_client-1.0.3.dist-info}/licenses/LICENSE +0 -0
- {instana_client-1.0.0.dist-info → instana_client-1.0.3.dist-info}/top_level.txt +0 -0
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Instana REST API documentation
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
Documentation for INSTANA REST API
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.309.1268
|
|
9
9
|
Contact: support@instana.com
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -66,7 +66,7 @@ class ApplicationMetricsApi:
|
|
|
66
66
|
) -> MetricAPIResult:
|
|
67
67
|
"""Get Application Data Metrics
|
|
68
68
|
|
|
69
|
-
Use this API endpoint if one wants to retrieve one or more supported aggregation of supported metrics for a combination of entities. For eg: retrieve `MEAN` aggregation of `latency` metric for an Endpoint `GET /api/foo`, Service `payment` and Application Perspective `app`. Consider this API endpoint an upgraded version of `Get Application Metrics`, `Get Endpoint metrics` and `Get Service metrics`. For more information on supported metrics, refer `Get Metric catalog`.
|
|
69
|
+
Use this API endpoint if one wants to retrieve one or more supported aggregation of supported metrics for a combination of entities. For eg: retrieve `MEAN` aggregation of `latency` metric for an Endpoint `GET /api/foo`, Service `payment` and Application Perspective `app`. Consider this API endpoint an upgraded version of `Get Application Metrics`, `Get Endpoint metrics` and `Get Service metrics`. For more information on supported metrics, refer `Get Metric catalog`. For more information on Application Metrics please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-metrics.
|
|
70
70
|
|
|
71
71
|
:param get_application_metrics:
|
|
72
72
|
:type get_application_metrics: GetApplicationMetrics
|
|
@@ -133,7 +133,7 @@ class ApplicationMetricsApi:
|
|
|
133
133
|
) -> ApiResponse[MetricAPIResult]:
|
|
134
134
|
"""Get Application Data Metrics
|
|
135
135
|
|
|
136
|
-
Use this API endpoint if one wants to retrieve one or more supported aggregation of supported metrics for a combination of entities. For eg: retrieve `MEAN` aggregation of `latency` metric for an Endpoint `GET /api/foo`, Service `payment` and Application Perspective `app`. Consider this API endpoint an upgraded version of `Get Application Metrics`, `Get Endpoint metrics` and `Get Service metrics`. For more information on supported metrics, refer `Get Metric catalog`.
|
|
136
|
+
Use this API endpoint if one wants to retrieve one or more supported aggregation of supported metrics for a combination of entities. For eg: retrieve `MEAN` aggregation of `latency` metric for an Endpoint `GET /api/foo`, Service `payment` and Application Perspective `app`. Consider this API endpoint an upgraded version of `Get Application Metrics`, `Get Endpoint metrics` and `Get Service metrics`. For more information on supported metrics, refer `Get Metric catalog`. For more information on Application Metrics please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-metrics.
|
|
137
137
|
|
|
138
138
|
:param get_application_metrics:
|
|
139
139
|
:type get_application_metrics: GetApplicationMetrics
|
|
@@ -200,7 +200,7 @@ class ApplicationMetricsApi:
|
|
|
200
200
|
) -> RESTResponseType:
|
|
201
201
|
"""Get Application Data Metrics
|
|
202
202
|
|
|
203
|
-
Use this API endpoint if one wants to retrieve one or more supported aggregation of supported metrics for a combination of entities. For eg: retrieve `MEAN` aggregation of `latency` metric for an Endpoint `GET /api/foo`, Service `payment` and Application Perspective `app`. Consider this API endpoint an upgraded version of `Get Application Metrics`, `Get Endpoint metrics` and `Get Service metrics`. For more information on supported metrics, refer `Get Metric catalog`.
|
|
203
|
+
Use this API endpoint if one wants to retrieve one or more supported aggregation of supported metrics for a combination of entities. For eg: retrieve `MEAN` aggregation of `latency` metric for an Endpoint `GET /api/foo`, Service `payment` and Application Perspective `app`. Consider this API endpoint an upgraded version of `Get Application Metrics`, `Get Endpoint metrics` and `Get Service metrics`. For more information on supported metrics, refer `Get Metric catalog`. For more information on Application Metrics please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-metrics.
|
|
204
204
|
|
|
205
205
|
:param get_application_metrics:
|
|
206
206
|
:type get_application_metrics: GetApplicationMetrics
|
|
@@ -341,7 +341,7 @@ class ApplicationMetricsApi:
|
|
|
341
341
|
) -> ApplicationMetricResult:
|
|
342
342
|
"""Get Application Metrics
|
|
343
343
|
|
|
344
|
-
Use this API endpoint if one wants to retrieve one or more supported aggregation of supported metrics for an Application Perspective. For eg: retrieve `MEAN` aggregation of `latency` metric for an Application Perspective `app`. For more information on supported metrics, refer `Get Metric catalog`.
|
|
344
|
+
Use this API endpoint if one wants to retrieve one or more supported aggregation of supported metrics for an Application Perspective. For eg: retrieve `MEAN` aggregation of `latency` metric for an Application Perspective `app`. For more information on supported metrics, refer `Get Metric catalog`. For more information on Application Metrics please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-metrics.
|
|
345
345
|
|
|
346
346
|
:param fill_time_series: If enabled, fill the missing data points in the metric result with timestamp and value 0.
|
|
347
347
|
:type fill_time_series: bool
|
|
@@ -412,7 +412,7 @@ class ApplicationMetricsApi:
|
|
|
412
412
|
) -> ApiResponse[ApplicationMetricResult]:
|
|
413
413
|
"""Get Application Metrics
|
|
414
414
|
|
|
415
|
-
Use this API endpoint if one wants to retrieve one or more supported aggregation of supported metrics for an Application Perspective. For eg: retrieve `MEAN` aggregation of `latency` metric for an Application Perspective `app`. For more information on supported metrics, refer `Get Metric catalog`.
|
|
415
|
+
Use this API endpoint if one wants to retrieve one or more supported aggregation of supported metrics for an Application Perspective. For eg: retrieve `MEAN` aggregation of `latency` metric for an Application Perspective `app`. For more information on supported metrics, refer `Get Metric catalog`. For more information on Application Metrics please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-metrics.
|
|
416
416
|
|
|
417
417
|
:param fill_time_series: If enabled, fill the missing data points in the metric result with timestamp and value 0.
|
|
418
418
|
:type fill_time_series: bool
|
|
@@ -483,7 +483,7 @@ class ApplicationMetricsApi:
|
|
|
483
483
|
) -> RESTResponseType:
|
|
484
484
|
"""Get Application Metrics
|
|
485
485
|
|
|
486
|
-
Use this API endpoint if one wants to retrieve one or more supported aggregation of supported metrics for an Application Perspective. For eg: retrieve `MEAN` aggregation of `latency` metric for an Application Perspective `app`. For more information on supported metrics, refer `Get Metric catalog`.
|
|
486
|
+
Use this API endpoint if one wants to retrieve one or more supported aggregation of supported metrics for an Application Perspective. For eg: retrieve `MEAN` aggregation of `latency` metric for an Application Perspective `app`. For more information on supported metrics, refer `Get Metric catalog`. For more information on Application Metrics please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-metrics.
|
|
487
487
|
|
|
488
488
|
:param fill_time_series: If enabled, fill the missing data points in the metric result with timestamp and value 0.
|
|
489
489
|
:type fill_time_series: bool
|
|
@@ -632,7 +632,7 @@ class ApplicationMetricsApi:
|
|
|
632
632
|
) -> EndpointMetricResult:
|
|
633
633
|
"""Get Endpoint metrics
|
|
634
634
|
|
|
635
|
-
Use this API endpoint if one wants to retrieve one or more supported aggregation of supported metrics for an Endpoint. For eg: retrieve `MEAN` aggregation of `latency` metric for an Endpoint `GET /api/foo`. For more information on supported metrics, refer `Get Metric catalog`.
|
|
635
|
+
Use this API endpoint if one wants to retrieve one or more supported aggregation of supported metrics for an Endpoint. For eg: retrieve `MEAN` aggregation of `latency` metric for an Endpoint `GET /api/foo`. For more information on supported metrics, refer `Get Metric catalog`. For more information on Application Metrics please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-metrics.
|
|
636
636
|
|
|
637
637
|
:param fill_time_series: If enabled, fill the missing data points in the metric result with timestamp and value 0.
|
|
638
638
|
:type fill_time_series: bool
|
|
@@ -703,7 +703,7 @@ class ApplicationMetricsApi:
|
|
|
703
703
|
) -> ApiResponse[EndpointMetricResult]:
|
|
704
704
|
"""Get Endpoint metrics
|
|
705
705
|
|
|
706
|
-
Use this API endpoint if one wants to retrieve one or more supported aggregation of supported metrics for an Endpoint. For eg: retrieve `MEAN` aggregation of `latency` metric for an Endpoint `GET /api/foo`. For more information on supported metrics, refer `Get Metric catalog`.
|
|
706
|
+
Use this API endpoint if one wants to retrieve one or more supported aggregation of supported metrics for an Endpoint. For eg: retrieve `MEAN` aggregation of `latency` metric for an Endpoint `GET /api/foo`. For more information on supported metrics, refer `Get Metric catalog`. For more information on Application Metrics please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-metrics.
|
|
707
707
|
|
|
708
708
|
:param fill_time_series: If enabled, fill the missing data points in the metric result with timestamp and value 0.
|
|
709
709
|
:type fill_time_series: bool
|
|
@@ -774,7 +774,7 @@ class ApplicationMetricsApi:
|
|
|
774
774
|
) -> RESTResponseType:
|
|
775
775
|
"""Get Endpoint metrics
|
|
776
776
|
|
|
777
|
-
Use this API endpoint if one wants to retrieve one or more supported aggregation of supported metrics for an Endpoint. For eg: retrieve `MEAN` aggregation of `latency` metric for an Endpoint `GET /api/foo`. For more information on supported metrics, refer `Get Metric catalog`.
|
|
777
|
+
Use this API endpoint if one wants to retrieve one or more supported aggregation of supported metrics for an Endpoint. For eg: retrieve `MEAN` aggregation of `latency` metric for an Endpoint `GET /api/foo`. For more information on supported metrics, refer `Get Metric catalog`. For more information on Application Metrics please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-metrics.
|
|
778
778
|
|
|
779
779
|
:param fill_time_series: If enabled, fill the missing data points in the metric result with timestamp and value 0.
|
|
780
780
|
:type fill_time_series: bool
|
|
@@ -924,7 +924,7 @@ class ApplicationMetricsApi:
|
|
|
924
924
|
) -> ServiceMetricResult:
|
|
925
925
|
"""Get Service metrics
|
|
926
926
|
|
|
927
|
-
Use this API endpoint if one wants to retrieve one or more supported aggregation of supported metrics for a Service. For eg: retrieve `MEAN` aggregation of `latency` metric for a Service `payment`. For more information on supported metrics, refer `Get Metric catalog`.
|
|
927
|
+
Use this API endpoint if one wants to retrieve one or more supported aggregation of supported metrics for a Service. For eg: retrieve `MEAN` aggregation of `latency` metric for a Service `payment`. For more information on supported metrics, refer `Get Metric catalog`. For more information on Application Metrics please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-metrics.
|
|
928
928
|
|
|
929
929
|
:param fill_time_series: If enabled, fill the missing data points in the metric result with timestamp and value 0.
|
|
930
930
|
:type fill_time_series: bool
|
|
@@ -999,7 +999,7 @@ class ApplicationMetricsApi:
|
|
|
999
999
|
) -> ApiResponse[ServiceMetricResult]:
|
|
1000
1000
|
"""Get Service metrics
|
|
1001
1001
|
|
|
1002
|
-
Use this API endpoint if one wants to retrieve one or more supported aggregation of supported metrics for a Service. For eg: retrieve `MEAN` aggregation of `latency` metric for a Service `payment`. For more information on supported metrics, refer `Get Metric catalog`.
|
|
1002
|
+
Use this API endpoint if one wants to retrieve one or more supported aggregation of supported metrics for a Service. For eg: retrieve `MEAN` aggregation of `latency` metric for a Service `payment`. For more information on supported metrics, refer `Get Metric catalog`. For more information on Application Metrics please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-metrics.
|
|
1003
1003
|
|
|
1004
1004
|
:param fill_time_series: If enabled, fill the missing data points in the metric result with timestamp and value 0.
|
|
1005
1005
|
:type fill_time_series: bool
|
|
@@ -1074,7 +1074,7 @@ class ApplicationMetricsApi:
|
|
|
1074
1074
|
) -> RESTResponseType:
|
|
1075
1075
|
"""Get Service metrics
|
|
1076
1076
|
|
|
1077
|
-
Use this API endpoint if one wants to retrieve one or more supported aggregation of supported metrics for a Service. For eg: retrieve `MEAN` aggregation of `latency` metric for a Service `payment`. For more information on supported metrics, refer `Get Metric catalog`.
|
|
1077
|
+
Use this API endpoint if one wants to retrieve one or more supported aggregation of supported metrics for a Service. For eg: retrieve `MEAN` aggregation of `latency` metric for a Service `payment`. For more information on supported metrics, refer `Get Metric catalog`. For more information on Application Metrics please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-metrics.
|
|
1078
1078
|
|
|
1079
1079
|
:param fill_time_series: If enabled, fill the missing data points in the metric result with timestamp and value 0.
|
|
1080
1080
|
:type fill_time_series: bool
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Instana REST API documentation
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
Documentation for INSTANA REST API
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.309.1268
|
|
9
9
|
Contact: support@instana.com
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -21,7 +21,9 @@ from pydantic import Field, StrictBool, StrictInt, StrictStr, field_validator
|
|
|
21
21
|
from typing import List, Optional
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
23
|
from instana_client.models.application_result import ApplicationResult
|
|
24
|
+
from instana_client.models.endpoint import Endpoint
|
|
24
25
|
from instana_client.models.endpoint_result import EndpointResult
|
|
26
|
+
from instana_client.models.service import Service
|
|
25
27
|
from instana_client.models.service_result import ServiceResult
|
|
26
28
|
|
|
27
29
|
from instana_client.api_client import ApiClient, RequestSerialized
|
|
@@ -45,6 +47,9 @@ class ApplicationResourcesApi:
|
|
|
45
47
|
@validate_call
|
|
46
48
|
def get_application_endpoints(
|
|
47
49
|
self,
|
|
50
|
+
app_id: Annotated[Optional[StrictStr], Field(description="Application ID")] = None,
|
|
51
|
+
service_id: Annotated[Optional[StrictStr], Field(description="Service ID")] = None,
|
|
52
|
+
endpoint_id: Annotated[Optional[StrictStr], Field(description="Endpoint ID")] = None,
|
|
48
53
|
name_filter: Annotated[Optional[StrictStr], Field(description="Name of service")] = None,
|
|
49
54
|
types: Annotated[Optional[List[StrictStr]], Field(description="Type of Endpoint")] = None,
|
|
50
55
|
technologies: Annotated[Optional[List[StrictStr]], Field(description="List of technologies")] = None,
|
|
@@ -65,11 +70,17 @@ class ApplicationResourcesApi:
|
|
|
65
70
|
_content_type: Optional[StrictStr] = None,
|
|
66
71
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
67
72
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
68
|
-
) -> EndpointResult:
|
|
73
|
+
) -> Union[EndpointResult, Endpoint]:
|
|
69
74
|
"""Get endpoints
|
|
70
75
|
|
|
71
|
-
Use this API endpoint if one wants to retrieve a list of Endpoints. A use case could be to view the endpoint id of an Endpoint.
|
|
76
|
+
Use this API endpoint if one wants to retrieve a list of Endpoints. A use case could be to view the endpoint id of an Endpoint. For more information on Application Resources please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-resources.
|
|
72
77
|
|
|
78
|
+
:param app_id: Application ID (optional, used to filter endpoints by application)
|
|
79
|
+
:type app_id: str
|
|
80
|
+
:param service_id: Service ID (optional, used to filter endpoints by service)
|
|
81
|
+
:type service_id: str
|
|
82
|
+
:param endpoint_id: Endpoint ID (optional, used to get a specific endpoint)
|
|
83
|
+
:type endpoint_id: str
|
|
73
84
|
:param name_filter: Name of service
|
|
74
85
|
:type name_filter: str
|
|
75
86
|
:param types: Type of Endpoint
|
|
@@ -109,6 +120,9 @@ class ApplicationResourcesApi:
|
|
|
109
120
|
""" # noqa: E501
|
|
110
121
|
|
|
111
122
|
_param = self._get_application_endpoints_serialize(
|
|
123
|
+
app_id=app_id,
|
|
124
|
+
service_id=service_id,
|
|
125
|
+
endpoint_id=endpoint_id,
|
|
112
126
|
name_filter=name_filter,
|
|
113
127
|
types=types,
|
|
114
128
|
technologies=technologies,
|
|
@@ -123,9 +137,16 @@ class ApplicationResourcesApi:
|
|
|
123
137
|
_host_index=_host_index
|
|
124
138
|
)
|
|
125
139
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
140
|
+
# Determine response type based on parameters
|
|
141
|
+
if app_id and service_id and endpoint_id:
|
|
142
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
143
|
+
'200': "Endpoint",
|
|
144
|
+
}
|
|
145
|
+
else:
|
|
146
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
147
|
+
'200': "EndpointResult",
|
|
148
|
+
}
|
|
149
|
+
|
|
129
150
|
response_data = self.api_client.call_api(
|
|
130
151
|
*_param,
|
|
131
152
|
_request_timeout=_request_timeout
|
|
@@ -140,6 +161,9 @@ class ApplicationResourcesApi:
|
|
|
140
161
|
@validate_call
|
|
141
162
|
def get_application_endpoints_with_http_info(
|
|
142
163
|
self,
|
|
164
|
+
app_id: Annotated[Optional[StrictStr], Field(description="Application ID")] = None,
|
|
165
|
+
service_id: Annotated[Optional[StrictStr], Field(description="Service ID")] = None,
|
|
166
|
+
endpoint_id: Annotated[Optional[StrictStr], Field(description="Endpoint ID")] = None,
|
|
143
167
|
name_filter: Annotated[Optional[StrictStr], Field(description="Name of service")] = None,
|
|
144
168
|
types: Annotated[Optional[List[StrictStr]], Field(description="Type of Endpoint")] = None,
|
|
145
169
|
technologies: Annotated[Optional[List[StrictStr]], Field(description="List of technologies")] = None,
|
|
@@ -160,11 +184,17 @@ class ApplicationResourcesApi:
|
|
|
160
184
|
_content_type: Optional[StrictStr] = None,
|
|
161
185
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
162
186
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
163
|
-
) -> ApiResponse[EndpointResult]:
|
|
187
|
+
) -> Union[ApiResponse[EndpointResult], ApiResponse[Endpoint]]:
|
|
164
188
|
"""Get endpoints
|
|
165
189
|
|
|
166
|
-
Use this API endpoint if one wants to retrieve a list of Endpoints. A use case could be to view the endpoint id of an Endpoint.
|
|
190
|
+
Use this API endpoint if one wants to retrieve a list of Endpoints. A use case could be to view the endpoint id of an Endpoint. For more information on Application Resources please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-resources.
|
|
167
191
|
|
|
192
|
+
:param app_id: Application ID (optional, used to filter endpoints by application)
|
|
193
|
+
:type app_id: str
|
|
194
|
+
:param service_id: Service ID (optional, used to filter endpoints by service)
|
|
195
|
+
:type service_id: str
|
|
196
|
+
:param endpoint_id: Endpoint ID (optional, used to get a specific endpoint)
|
|
197
|
+
:type endpoint_id: str
|
|
168
198
|
:param name_filter: Name of service
|
|
169
199
|
:type name_filter: str
|
|
170
200
|
:param types: Type of Endpoint
|
|
@@ -204,6 +234,9 @@ class ApplicationResourcesApi:
|
|
|
204
234
|
""" # noqa: E501
|
|
205
235
|
|
|
206
236
|
_param = self._get_application_endpoints_serialize(
|
|
237
|
+
app_id=app_id,
|
|
238
|
+
service_id=service_id,
|
|
239
|
+
endpoint_id=endpoint_id,
|
|
207
240
|
name_filter=name_filter,
|
|
208
241
|
types=types,
|
|
209
242
|
technologies=technologies,
|
|
@@ -218,9 +251,16 @@ class ApplicationResourcesApi:
|
|
|
218
251
|
_host_index=_host_index
|
|
219
252
|
)
|
|
220
253
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
254
|
+
# Determine response type based on parameters
|
|
255
|
+
if app_id and service_id and endpoint_id:
|
|
256
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
257
|
+
'200': "Endpoint",
|
|
258
|
+
}
|
|
259
|
+
else:
|
|
260
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
261
|
+
'200': "EndpointResult",
|
|
262
|
+
}
|
|
263
|
+
|
|
224
264
|
response_data = self.api_client.call_api(
|
|
225
265
|
*_param,
|
|
226
266
|
_request_timeout=_request_timeout
|
|
@@ -235,6 +275,9 @@ class ApplicationResourcesApi:
|
|
|
235
275
|
@validate_call
|
|
236
276
|
def get_application_endpoints_without_preload_content(
|
|
237
277
|
self,
|
|
278
|
+
app_id: Annotated[Optional[StrictStr], Field(description="Application ID")] = None,
|
|
279
|
+
service_id: Annotated[Optional[StrictStr], Field(description="Service ID")] = None,
|
|
280
|
+
endpoint_id: Annotated[Optional[StrictStr], Field(description="Endpoint ID")] = None,
|
|
238
281
|
name_filter: Annotated[Optional[StrictStr], Field(description="Name of service")] = None,
|
|
239
282
|
types: Annotated[Optional[List[StrictStr]], Field(description="Type of Endpoint")] = None,
|
|
240
283
|
technologies: Annotated[Optional[List[StrictStr]], Field(description="List of technologies")] = None,
|
|
@@ -258,8 +301,14 @@ class ApplicationResourcesApi:
|
|
|
258
301
|
) -> RESTResponseType:
|
|
259
302
|
"""Get endpoints
|
|
260
303
|
|
|
261
|
-
Use this API endpoint if one wants to retrieve a list of Endpoints. A use case could be to view the endpoint id of an Endpoint.
|
|
304
|
+
Use this API endpoint if one wants to retrieve a list of Endpoints. A use case could be to view the endpoint id of an Endpoint. For more information on Application Resources please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-resources.
|
|
262
305
|
|
|
306
|
+
:param app_id: Application ID (optional, used to filter endpoints by application)
|
|
307
|
+
:type app_id: str
|
|
308
|
+
:param service_id: Service ID (optional, used to filter endpoints by service)
|
|
309
|
+
:type service_id: str
|
|
310
|
+
:param endpoint_id: Endpoint ID (optional, used to get a specific endpoint)
|
|
311
|
+
:type endpoint_id: str
|
|
263
312
|
:param name_filter: Name of service
|
|
264
313
|
:type name_filter: str
|
|
265
314
|
:param types: Type of Endpoint
|
|
@@ -299,6 +348,9 @@ class ApplicationResourcesApi:
|
|
|
299
348
|
""" # noqa: E501
|
|
300
349
|
|
|
301
350
|
_param = self._get_application_endpoints_serialize(
|
|
351
|
+
app_id=app_id,
|
|
352
|
+
service_id=service_id,
|
|
353
|
+
endpoint_id=endpoint_id,
|
|
302
354
|
name_filter=name_filter,
|
|
303
355
|
types=types,
|
|
304
356
|
technologies=technologies,
|
|
@@ -313,9 +365,16 @@ class ApplicationResourcesApi:
|
|
|
313
365
|
_host_index=_host_index
|
|
314
366
|
)
|
|
315
367
|
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
368
|
+
# Determine response type based on parameters
|
|
369
|
+
if app_id and service_id and endpoint_id:
|
|
370
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
371
|
+
'200': "Endpoint",
|
|
372
|
+
}
|
|
373
|
+
else:
|
|
374
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
375
|
+
'200': "EndpointResult",
|
|
376
|
+
}
|
|
377
|
+
|
|
319
378
|
response_data = self.api_client.call_api(
|
|
320
379
|
*_param,
|
|
321
380
|
_request_timeout=_request_timeout
|
|
@@ -325,6 +384,9 @@ class ApplicationResourcesApi:
|
|
|
325
384
|
|
|
326
385
|
def _get_application_endpoints_serialize(
|
|
327
386
|
self,
|
|
387
|
+
app_id,
|
|
388
|
+
service_id,
|
|
389
|
+
endpoint_id,
|
|
328
390
|
name_filter,
|
|
329
391
|
types,
|
|
330
392
|
technologies,
|
|
@@ -403,6 +465,16 @@ class ApplicationResourcesApi:
|
|
|
403
465
|
)
|
|
404
466
|
|
|
405
467
|
|
|
468
|
+
# Build dynamic resource path based on app_id, service_id, and endpoint_id
|
|
469
|
+
if app_id and service_id and endpoint_id:
|
|
470
|
+
resource_path = f'/api/application-monitoring/applications;id={app_id}/services;id={service_id}/endpoints;id={endpoint_id}'
|
|
471
|
+
elif app_id and service_id:
|
|
472
|
+
resource_path = f'/api/application-monitoring/applications;id={app_id}/services;id={service_id}/endpoints'
|
|
473
|
+
elif app_id:
|
|
474
|
+
resource_path = f'/api/application-monitoring/applications;id={app_id}/services/endpoints'
|
|
475
|
+
else:
|
|
476
|
+
resource_path = '/api/application-monitoring/applications/services/endpoints'
|
|
477
|
+
|
|
406
478
|
# authentication setting
|
|
407
479
|
_auth_settings: List[str] = [
|
|
408
480
|
'ApiKeyAuth'
|
|
@@ -410,7 +482,7 @@ class ApplicationResourcesApi:
|
|
|
410
482
|
|
|
411
483
|
return self.api_client.param_serialize(
|
|
412
484
|
method='GET',
|
|
413
|
-
resource_path=
|
|
485
|
+
resource_path=resource_path,
|
|
414
486
|
path_params=_path_params,
|
|
415
487
|
query_params=_query_params,
|
|
416
488
|
header_params=_header_params,
|
|
@@ -429,7 +501,9 @@ class ApplicationResourcesApi:
|
|
|
429
501
|
@validate_call
|
|
430
502
|
def get_application_services(
|
|
431
503
|
self,
|
|
432
|
-
|
|
504
|
+
app_id: Annotated[Optional[StrictStr], Field(description="Application ID")] = None,
|
|
505
|
+
service_id: Annotated[Optional[StrictStr], Field(description="Service ID")] = None,
|
|
506
|
+
name_filter: Annotated[Optional[StrictStr], Field(description="Name of service (partial match allowed)")] = None,
|
|
433
507
|
window_size: Annotated[Optional[StrictInt], Field(description="Size of time window in milliseconds")] = None,
|
|
434
508
|
to: Annotated[Optional[StrictInt], Field(description="Timestamp since Unix Epoch in milliseconds of the end of the time window")] = None,
|
|
435
509
|
page: Annotated[Optional[StrictInt], Field(description="Page number from results")] = None,
|
|
@@ -448,12 +522,16 @@ class ApplicationResourcesApi:
|
|
|
448
522
|
_content_type: Optional[StrictStr] = None,
|
|
449
523
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
450
524
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
451
|
-
) -> ServiceResult:
|
|
525
|
+
) -> Union[ServiceResult, Service]:
|
|
452
526
|
"""Get applications/services
|
|
453
527
|
|
|
454
|
-
Use this API endpoint if one wants to retrieve a list of services in an Application Perspective. A use case could be to retrieve all service ids present in an Application Perspective.
|
|
528
|
+
Use this API endpoint if one wants to retrieve a list of services in an Application Perspective. A use case could be to retrieve all service ids present in an Application Perspective. For more information on Application Resources please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-resources.
|
|
455
529
|
|
|
456
|
-
:param
|
|
530
|
+
:param app_id: Application ID (optional, used to filter services by application)
|
|
531
|
+
:type app_id: str
|
|
532
|
+
:param service_id: Service ID (optional, used to filter specific service)
|
|
533
|
+
:type service_id: str
|
|
534
|
+
:param name_filter: Name of service (partial match allowed)
|
|
457
535
|
:type name_filter: str
|
|
458
536
|
:param window_size: Size of time window in milliseconds
|
|
459
537
|
:type window_size: int
|
|
@@ -490,6 +568,8 @@ class ApplicationResourcesApi:
|
|
|
490
568
|
""" # noqa: E501
|
|
491
569
|
|
|
492
570
|
_param = self._get_application_services_serialize(
|
|
571
|
+
app_id=app_id,
|
|
572
|
+
service_id=service_id,
|
|
493
573
|
name_filter=name_filter,
|
|
494
574
|
window_size=window_size,
|
|
495
575
|
to=to,
|
|
@@ -503,9 +583,16 @@ class ApplicationResourcesApi:
|
|
|
503
583
|
_host_index=_host_index
|
|
504
584
|
)
|
|
505
585
|
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
586
|
+
# Determine response type based on parameters
|
|
587
|
+
if app_id and service_id:
|
|
588
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
589
|
+
'200': "Service",
|
|
590
|
+
}
|
|
591
|
+
else:
|
|
592
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
593
|
+
'200': "ServiceResult",
|
|
594
|
+
}
|
|
595
|
+
|
|
509
596
|
response_data = self.api_client.call_api(
|
|
510
597
|
*_param,
|
|
511
598
|
_request_timeout=_request_timeout
|
|
@@ -520,7 +607,9 @@ class ApplicationResourcesApi:
|
|
|
520
607
|
@validate_call
|
|
521
608
|
def get_application_services_with_http_info(
|
|
522
609
|
self,
|
|
523
|
-
|
|
610
|
+
app_id: Annotated[Optional[StrictStr], Field(description="Application ID")] = None,
|
|
611
|
+
service_id: Annotated[Optional[StrictStr], Field(description="Service ID")] = None,
|
|
612
|
+
name_filter: Annotated[Optional[StrictStr], Field(description="Name of service (partial match allowed)")] = None,
|
|
524
613
|
window_size: Annotated[Optional[StrictInt], Field(description="Size of time window in milliseconds")] = None,
|
|
525
614
|
to: Annotated[Optional[StrictInt], Field(description="Timestamp since Unix Epoch in milliseconds of the end of the time window")] = None,
|
|
526
615
|
page: Annotated[Optional[StrictInt], Field(description="Page number from results")] = None,
|
|
@@ -539,12 +628,16 @@ class ApplicationResourcesApi:
|
|
|
539
628
|
_content_type: Optional[StrictStr] = None,
|
|
540
629
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
541
630
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
542
|
-
) -> ApiResponse[ServiceResult]:
|
|
631
|
+
) -> Union[ApiResponse[ServiceResult], ApiResponse[Service]]:
|
|
543
632
|
"""Get applications/services
|
|
544
633
|
|
|
545
|
-
Use this API endpoint if one wants to retrieve a list of services in an Application Perspective. A use case could be to retrieve all service ids present in an Application Perspective.
|
|
634
|
+
Use this API endpoint if one wants to retrieve a list of services in an Application Perspective. A use case could be to retrieve all service ids present in an Application Perspective. For more information on Application Resources please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-resources.
|
|
546
635
|
|
|
547
|
-
:param
|
|
636
|
+
:param app_id: Application ID (optional, used to filter services by application)
|
|
637
|
+
:type app_id: str
|
|
638
|
+
:param service_id: Service ID (optional, used to filter specific service)
|
|
639
|
+
:type service_id: str
|
|
640
|
+
:param name_filter: Name of service (partial match allowed)
|
|
548
641
|
:type name_filter: str
|
|
549
642
|
:param window_size: Size of time window in milliseconds
|
|
550
643
|
:type window_size: int
|
|
@@ -581,6 +674,8 @@ class ApplicationResourcesApi:
|
|
|
581
674
|
""" # noqa: E501
|
|
582
675
|
|
|
583
676
|
_param = self._get_application_services_serialize(
|
|
677
|
+
app_id=app_id,
|
|
678
|
+
service_id=service_id,
|
|
584
679
|
name_filter=name_filter,
|
|
585
680
|
window_size=window_size,
|
|
586
681
|
to=to,
|
|
@@ -594,9 +689,16 @@ class ApplicationResourcesApi:
|
|
|
594
689
|
_host_index=_host_index
|
|
595
690
|
)
|
|
596
691
|
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
692
|
+
# Determine response type based on parameters
|
|
693
|
+
if app_id and service_id:
|
|
694
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
695
|
+
'200': "Service",
|
|
696
|
+
}
|
|
697
|
+
else:
|
|
698
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
699
|
+
'200': "ServiceResult",
|
|
700
|
+
}
|
|
701
|
+
|
|
600
702
|
response_data = self.api_client.call_api(
|
|
601
703
|
*_param,
|
|
602
704
|
_request_timeout=_request_timeout
|
|
@@ -611,7 +713,9 @@ class ApplicationResourcesApi:
|
|
|
611
713
|
@validate_call
|
|
612
714
|
def get_application_services_without_preload_content(
|
|
613
715
|
self,
|
|
614
|
-
|
|
716
|
+
app_id: Annotated[Optional[StrictStr], Field(description="Application ID")] = None,
|
|
717
|
+
service_id: Annotated[Optional[StrictStr], Field(description="Service ID")] = None,
|
|
718
|
+
name_filter: Annotated[Optional[StrictStr], Field(description="Name of service (partial match allowed)")] = None,
|
|
615
719
|
window_size: Annotated[Optional[StrictInt], Field(description="Size of time window in milliseconds")] = None,
|
|
616
720
|
to: Annotated[Optional[StrictInt], Field(description="Timestamp since Unix Epoch in milliseconds of the end of the time window")] = None,
|
|
617
721
|
page: Annotated[Optional[StrictInt], Field(description="Page number from results")] = None,
|
|
@@ -633,9 +737,13 @@ class ApplicationResourcesApi:
|
|
|
633
737
|
) -> RESTResponseType:
|
|
634
738
|
"""Get applications/services
|
|
635
739
|
|
|
636
|
-
Use this API endpoint if one wants to retrieve a list of services in an Application Perspective. A use case could be to retrieve all service ids present in an Application Perspective.
|
|
740
|
+
Use this API endpoint if one wants to retrieve a list of services in an Application Perspective. A use case could be to retrieve all service ids present in an Application Perspective. For more information on Application Resources please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-resources.
|
|
637
741
|
|
|
638
|
-
:param
|
|
742
|
+
:param app_id: Application ID (optional, used to filter services by application)
|
|
743
|
+
:type app_id: str
|
|
744
|
+
:param service_id: Service ID (optional, used to filter specific service)
|
|
745
|
+
:type service_id: str
|
|
746
|
+
:param name_filter: Name of service (partial match allowed)
|
|
639
747
|
:type name_filter: str
|
|
640
748
|
:param window_size: Size of time window in milliseconds
|
|
641
749
|
:type window_size: int
|
|
@@ -672,6 +780,8 @@ class ApplicationResourcesApi:
|
|
|
672
780
|
""" # noqa: E501
|
|
673
781
|
|
|
674
782
|
_param = self._get_application_services_serialize(
|
|
783
|
+
app_id=app_id,
|
|
784
|
+
service_id=service_id,
|
|
675
785
|
name_filter=name_filter,
|
|
676
786
|
window_size=window_size,
|
|
677
787
|
to=to,
|
|
@@ -685,9 +795,16 @@ class ApplicationResourcesApi:
|
|
|
685
795
|
_host_index=_host_index
|
|
686
796
|
)
|
|
687
797
|
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
798
|
+
# Determine response type based on parameters
|
|
799
|
+
if app_id and service_id:
|
|
800
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
801
|
+
'200': "Service",
|
|
802
|
+
}
|
|
803
|
+
else:
|
|
804
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
805
|
+
'200': "ServiceResult",
|
|
806
|
+
}
|
|
807
|
+
|
|
691
808
|
response_data = self.api_client.call_api(
|
|
692
809
|
*_param,
|
|
693
810
|
_request_timeout=_request_timeout
|
|
@@ -697,6 +814,8 @@ class ApplicationResourcesApi:
|
|
|
697
814
|
|
|
698
815
|
def _get_application_services_serialize(
|
|
699
816
|
self,
|
|
817
|
+
app_id,
|
|
818
|
+
service_id,
|
|
700
819
|
name_filter,
|
|
701
820
|
window_size,
|
|
702
821
|
to,
|
|
@@ -768,6 +887,14 @@ class ApplicationResourcesApi:
|
|
|
768
887
|
)
|
|
769
888
|
|
|
770
889
|
|
|
890
|
+
# Build dynamic resource path based on app_id and service_id
|
|
891
|
+
if app_id and service_id:
|
|
892
|
+
resource_path = f'/api/application-monitoring/applications;id={app_id}/services;id={service_id}'
|
|
893
|
+
elif app_id:
|
|
894
|
+
resource_path = f'/api/application-monitoring/applications;id={app_id}/services'
|
|
895
|
+
else:
|
|
896
|
+
resource_path = '/api/application-monitoring/applications/services'
|
|
897
|
+
|
|
771
898
|
# authentication setting
|
|
772
899
|
_auth_settings: List[str] = [
|
|
773
900
|
'ApiKeyAuth'
|
|
@@ -775,7 +902,7 @@ class ApplicationResourcesApi:
|
|
|
775
902
|
|
|
776
903
|
return self.api_client.param_serialize(
|
|
777
904
|
method='GET',
|
|
778
|
-
resource_path=
|
|
905
|
+
resource_path=resource_path,
|
|
779
906
|
path_params=_path_params,
|
|
780
907
|
query_params=_query_params,
|
|
781
908
|
header_params=_header_params,
|
|
@@ -815,7 +942,7 @@ class ApplicationResourcesApi:
|
|
|
815
942
|
) -> ApplicationResult:
|
|
816
943
|
"""Get applications
|
|
817
944
|
|
|
818
|
-
Use this API endpoint if one wants to retrieve a list of Application Perspectives. A use case could be to view the application id of an Application Perspective.
|
|
945
|
+
Use this API endpoint if one wants to retrieve a list of Application Perspectives. A use case could be to view the application id of an Application Perspective. For more information on Application Resources please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-resources.
|
|
819
946
|
|
|
820
947
|
:param name_filter: Name of application
|
|
821
948
|
:type name_filter: str
|
|
@@ -902,7 +1029,7 @@ class ApplicationResourcesApi:
|
|
|
902
1029
|
) -> ApiResponse[ApplicationResult]:
|
|
903
1030
|
"""Get applications
|
|
904
1031
|
|
|
905
|
-
Use this API endpoint if one wants to retrieve a list of Application Perspectives. A use case could be to view the application id of an Application Perspective.
|
|
1032
|
+
Use this API endpoint if one wants to retrieve a list of Application Perspectives. A use case could be to view the application id of an Application Perspective. For more information on Application Resources please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-resources.
|
|
906
1033
|
|
|
907
1034
|
:param name_filter: Name of application
|
|
908
1035
|
:type name_filter: str
|
|
@@ -989,7 +1116,7 @@ class ApplicationResourcesApi:
|
|
|
989
1116
|
) -> RESTResponseType:
|
|
990
1117
|
"""Get applications
|
|
991
1118
|
|
|
992
|
-
Use this API endpoint if one wants to retrieve a list of Application Perspectives. A use case could be to view the application id of an Application Perspective.
|
|
1119
|
+
Use this API endpoint if one wants to retrieve a list of Application Perspectives. A use case could be to view the application id of an Application Perspective. For more information on Application Resources please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-resources.
|
|
993
1120
|
|
|
994
1121
|
:param name_filter: Name of application
|
|
995
1122
|
:type name_filter: str
|
|
@@ -1163,7 +1290,7 @@ class ApplicationResourcesApi:
|
|
|
1163
1290
|
) -> ServiceResult:
|
|
1164
1291
|
"""Get services
|
|
1165
1292
|
|
|
1166
|
-
Use this API endpoint if one wants to retrieve a list of Services. A use case could be to view the service id of a Service.
|
|
1293
|
+
Use this API endpoint if one wants to retrieve a list of Services. A use case could be to view the service id of a Service. For more information on Application Resources please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-resources.
|
|
1167
1294
|
|
|
1168
1295
|
:param name_filter: Name of service
|
|
1169
1296
|
:type name_filter: str
|
|
@@ -1250,7 +1377,7 @@ class ApplicationResourcesApi:
|
|
|
1250
1377
|
) -> ApiResponse[ServiceResult]:
|
|
1251
1378
|
"""Get services
|
|
1252
1379
|
|
|
1253
|
-
Use this API endpoint if one wants to retrieve a list of Services. A use case could be to view the service id of a Service.
|
|
1380
|
+
Use this API endpoint if one wants to retrieve a list of Services. A use case could be to view the service id of a Service. For more information on Application Resources please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-resources.
|
|
1254
1381
|
|
|
1255
1382
|
:param name_filter: Name of service
|
|
1256
1383
|
:type name_filter: str
|
|
@@ -1337,7 +1464,7 @@ class ApplicationResourcesApi:
|
|
|
1337
1464
|
) -> RESTResponseType:
|
|
1338
1465
|
"""Get services
|
|
1339
1466
|
|
|
1340
|
-
Use this API endpoint if one wants to retrieve a list of Services. A use case could be to view the service id of a Service.
|
|
1467
|
+
Use this API endpoint if one wants to retrieve a list of Services. A use case could be to view the service id of a Service. For more information on Application Resources please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-resources.
|
|
1341
1468
|
|
|
1342
1469
|
:param name_filter: Name of service
|
|
1343
1470
|
:type name_filter: str
|