instana-client 1.0.1__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 +595 -1753
- instana_client/api/__init__.py +1 -77
- instana_client/api/action_catalog_api.py +1 -1
- instana_client/api/action_history_api.py +1 -1
- instana_client/api/ai_management_api.py +1 -1
- instana_client/api/apdex_report_api.py +1 -1
- instana_client/api/apdex_settings_api.py +1 -1
- instana_client/api/api_token_api.py +7 -8
- instana_client/api/application_alert_configuration_api.py +1 -1
- instana_client/api/application_analyze_api.py +1 -1
- instana_client/api/application_catalog_api.py +1 -1
- instana_client/api/application_metrics_api.py +1 -1
- instana_client/api/application_resources_api.py +152 -25
- instana_client/api/application_settings_api.py +1 -1
- instana_client/api/application_topology_api.py +1 -1
- instana_client/api/audit_log_api.py +1 -1
- instana_client/api/authentication_api.py +13 -29
- instana_client/api/business_monitoring_api.py +1 -1
- instana_client/api/custom_dashboards_api.py +1 -1
- instana_client/api/custom_entities_api.py +1 -276
- instana_client/api/end_user_monitoring_api.py +1 -1
- instana_client/api/event_settings_api.py +130 -21
- instana_client/api/events_api.py +1 -1
- instana_client/api/global_application_alert_configuration_api.py +1 -1
- instana_client/api/groups_api.py +13 -271
- instana_client/api/health_api.py +1 -1
- instana_client/api/host_agent_api.py +1 -1
- instana_client/api/infrastructure_alert_configuration_api.py +49 -29
- instana_client/api/infrastructure_analyze_api.py +1 -1
- instana_client/api/infrastructure_catalog_api.py +1 -1
- instana_client/api/infrastructure_metrics_api.py +1 -1
- instana_client/api/infrastructure_resources_api.py +1 -1
- instana_client/api/infrastructure_topology_api.py +1 -1
- instana_client/api/log_alert_configuration_api.py +7 -1
- instana_client/api/logging_analyze_api.py +1 -1
- instana_client/api/maintenance_configuration_api.py +1 -1
- instana_client/api/mobile_app_analyze_api.py +1 -1
- instana_client/api/mobile_app_catalog_api.py +1 -1
- instana_client/api/mobile_app_configuration_api.py +1 -1
- instana_client/api/mobile_app_metrics_api.py +1 -1
- instana_client/api/policies_api.py +1 -1
- instana_client/api/releases_api.py +1 -1
- instana_client/api/roles_api.py +17 -1
- instana_client/api/service_levels_alert_configuration_api.py +1 -1
- instana_client/api/service_levels_objective_slo_configurations_api.py +54 -1
- instana_client/api/service_levels_objective_slo_report_api.py +1 -1
- instana_client/api/session_settings_api.py +1 -1
- instana_client/api/sli_report_api.py +1 -1
- instana_client/api/sli_settings_api.py +1 -1
- instana_client/api/slo_correction_configurations_api.py +13 -4
- instana_client/api/slo_correction_windows_api.py +1 -1
- instana_client/api/synthetic_alert_configuration_api.py +1 -1
- instana_client/api/synthetic_calls_api.py +1 -1
- instana_client/api/synthetic_catalog_api.py +1 -1
- instana_client/api/synthetic_metrics_api.py +1 -1
- instana_client/api/synthetic_settings_api.py +570 -1
- instana_client/api/synthetic_test_playback_results_api.py +1 -1
- instana_client/api/teams_api.py +1 -1
- instana_client/api/usage_api.py +1 -1
- instana_client/api/user_api.py +1 -262
- instana_client/api/website_analyze_api.py +1 -1
- instana_client/api/website_catalog_api.py +1 -1
- instana_client/api/website_configuration_api.py +1 -1
- instana_client/api/website_metrics_api.py +1 -1
- instana_client/api_client.py +3 -10
- instana_client/configuration.py +3 -3
- instana_client/exceptions.py +1 -1
- instana_client/models/__init__.py +44 -5
- instana_client/models/abstract_integration.py +1 -1
- instana_client/models/abstract_rule.py +1 -1
- instana_client/models/access_log_entry.py +3 -3
- instana_client/models/access_log_response.py +1 -1
- instana_client/models/access_rule.py +1 -1
- instana_client/models/action.py +1 -1
- instana_client/models/action_configuration.py +1 -1
- instana_client/models/action_instance.py +1 -1
- instana_client/models/action_instance_metadata_entry.py +1 -1
- instana_client/models/action_instance_parameter.py +1 -1
- instana_client/models/action_instance_request.py +1 -1
- instana_client/models/action_instance_request_parameters.py +1 -1
- instana_client/models/action_match.py +1 -1
- instana_client/models/action_search_space.py +1 -1
- instana_client/models/adaptive_baseline.py +1 -1
- instana_client/models/adaptive_threshold_rule.py +1 -1
- instana_client/models/addition.py +1 -1
- instana_client/models/adjusted_timeframe.py +1 -1
- instana_client/models/agent_configuration_update.py +1 -1
- instana_client/models/alerting_configuration.py +1 -1
- instana_client/models/alerting_configuration_with_last_updated.py +1 -1
- instana_client/models/alerting_time_window.py +1 -1
- instana_client/models/apdex_configuration.py +1 -1
- instana_client/models/apdex_configuration_input.py +1 -1
- instana_client/models/apdex_entity.py +1 -1
- instana_client/models/apdex_report.py +1 -1
- instana_client/models/api_create_group.py +1 -1
- instana_client/models/api_create_role.py +1 -1
- instana_client/models/api_group.py +1 -1
- instana_client/models/api_member.py +1 -1
- instana_client/models/api_permission_set.py +1 -1
- instana_client/models/api_restricted_application_filter.py +1 -1
- instana_client/models/api_role.py +1 -1
- instana_client/models/api_tag.py +1 -1
- instana_client/models/api_team.py +1 -1
- instana_client/models/api_team_info.py +1 -1
- instana_client/models/api_team_member.py +1 -1
- instana_client/models/api_team_role.py +1 -1
- instana_client/models/api_team_scope.py +1 -1
- instana_client/models/api_token.py +8 -2
- instana_client/models/app_data_metric_configuration.py +1 -1
- instana_client/models/application.py +1 -1
- instana_client/models/application_alert_config.py +1 -1
- instana_client/models/application_alert_config_with_metadata.py +1 -1
- instana_client/models/application_alert_rule.py +1 -1
- instana_client/models/application_apdex_entity.py +1 -1
- instana_client/models/application_config.py +1 -1
- instana_client/models/application_event_result.py +3 -2
- instana_client/models/application_item.py +1 -1
- instana_client/models/application_metric_result.py +1 -1
- instana_client/models/application_node.py +1 -1
- instana_client/models/application_result.py +1 -1
- instana_client/models/application_scope.py +1 -1
- instana_client/models/application_scope_with_metadata.py +1 -1
- instana_client/models/application_sli_entity.py +1 -1
- instana_client/models/application_slo_entity.py +1 -1
- instana_client/models/application_time_threshold.py +1 -1
- instana_client/models/arithmetic_configuration.py +6 -4
- instana_client/models/arithmetic_operand.py +1 -1
- instana_client/models/arithmetic_operation.py +1 -1
- instana_client/models/audit_log_entry.py +1 -1
- instana_client/models/audit_log_ui_response.py +1 -1
- instana_client/models/author.py +1 -1
- instana_client/models/availability_blueprint_indicator.py +1 -1
- instana_client/models/availability_sli_entity.py +1 -1
- instana_client/models/available_metrics.py +1 -1
- instana_client/models/available_plugins.py +1 -1
- instana_client/models/backend_trace_reference.py +1 -1
- instana_client/models/bidirectional_ms_teams_app_integration.py +1 -1
- instana_client/models/bidirectional_slack_app_integration.py +4 -2
- instana_client/models/binary_operator_dto.py +1 -1
- instana_client/models/browser_script_configuration.py +1 -1
- instana_client/models/browser_script_configuration_update.py +129 -0
- instana_client/models/built_in_event_specification.py +1 -1
- instana_client/models/built_in_event_specification_with_last_updated.py +1 -1
- instana_client/models/business_activity.py +1 -1
- instana_client/models/business_perspective_config.py +1 -1
- instana_client/models/call_groups_item.py +1 -1
- instana_client/models/call_groups_result.py +1 -1
- instana_client/models/call_relation.py +1 -1
- instana_client/models/change_summary.py +1 -1
- instana_client/models/cloudfoundry_physical_context.py +1 -1
- instana_client/models/condition.py +1 -1
- instana_client/models/config_version.py +1 -1
- instana_client/models/correction.py +1 -1
- instana_client/models/correction_configuration.py +5 -4
- instana_client/models/correction_scheduling.py +4 -3
- instana_client/models/correction_window.py +1 -1
- instana_client/models/crash_mobile_app_alert_rule.py +1 -1
- instana_client/models/create_website_request_inner.py +1 -1
- instana_client/models/cursor_paginated_business_activity_item.py +1 -1
- instana_client/models/cursor_pagination.py +1 -1
- instana_client/models/cursor_pagination_infra_explore_cursor.py +1 -1
- instana_client/models/custom_blueprint_indicator.py +1 -1
- instana_client/models/custom_dashboard.py +1 -1
- instana_client/models/custom_dashboard_preview.py +1 -1
- instana_client/models/custom_dashboard_with_user_specific_information.py +1 -1
- instana_client/models/custom_dependency.py +10 -7
- instana_client/models/custom_email_subject_prefix.py +1 -1
- instana_client/models/custom_entity_model.py +1 -1
- instana_client/models/custom_entity_with_metadata.py +1 -1
- instana_client/models/custom_event_mobile_app_alert_rule.py +1 -1
- instana_client/models/custom_event_specification.py +1 -1
- instana_client/models/custom_event_specification_with_last_updated.py +1 -1
- instana_client/models/custom_event_website_alert_rule.py +1 -1
- instana_client/models/custom_metric.py +1 -1
- instana_client/models/custom_payload_configuration.py +1 -1
- instana_client/models/custom_payload_field.py +1 -1
- instana_client/models/custom_payload_with_last_updated.py +1 -1
- instana_client/models/custom_payload_with_version.py +1 -1
- instana_client/models/dashboard_api_token.py +1 -1
- instana_client/models/database_integration.py +1 -1
- instana_client/models/deprecated_tag_filter.py +1 -1
- instana_client/models/division.py +1 -1
- instana_client/models/dns_configuration.py +1 -1
- instana_client/models/dns_configuration_update.py +143 -0
- instana_client/models/dns_filter_query_time.py +1 -1
- instana_client/models/dns_filter_target_value.py +1 -1
- instana_client/models/duration.py +1 -1
- instana_client/models/dynamic_field.py +1 -1
- instana_client/models/dynamic_field_value.py +1 -1
- instana_client/models/dynamic_parameter.py +1 -1
- instana_client/models/edit_user.py +1 -1
- instana_client/models/email_integration.py +1 -1
- instana_client/models/empty_configuration.py +1 -1
- instana_client/models/endpoint.py +1 -1
- instana_client/models/endpoint_config.py +1 -1
- instana_client/models/endpoint_event_result.py +3 -2
- instana_client/models/endpoint_item.py +1 -1
- instana_client/models/endpoint_metric_result.py +1 -1
- instana_client/models/endpoint_node.py +1 -1
- instana_client/models/endpoint_result.py +1 -1
- instana_client/models/endpoint_simple.py +1 -1
- instana_client/models/entity_count_rule.py +1 -1
- instana_client/models/entity_count_verification_rule.py +1 -1
- instana_client/models/entity_health_info.py +1 -1
- instana_client/models/entity_id.py +1 -1
- instana_client/models/entity_verification_rule.py +1 -1
- instana_client/models/error_budget_alert_rule.py +1 -1
- instana_client/models/errors_application_alert_rule.py +1 -1
- instana_client/models/event.py +6 -2
- instana_client/models/event_filtering_configuration.py +1 -1
- instana_client/models/event_result.py +3 -2
- instana_client/models/event_specification_info.py +1 -1
- instana_client/models/extended_service.py +1 -1
- instana_client/models/failure_synthetic_alert_rule.py +1 -1
- instana_client/models/fixed_http_path_segment_matching_rule.py +1 -1
- instana_client/models/fixed_time_window.py +1 -1
- instana_client/models/generic_infra_alert_rule.py +1 -1
- instana_client/models/geo_location_configuration.py +1 -1
- instana_client/models/geo_mapping_rule.py +1 -1
- instana_client/models/geo_subdivision.py +1 -1
- instana_client/models/get_activities.py +1 -1
- instana_client/models/get_application_metrics.py +1 -1
- instana_client/models/get_applications.py +1 -1
- instana_client/models/get_available_metrics_query.py +1 -1
- instana_client/models/get_available_plugins_query.py +1 -1
- instana_client/models/get_call_groups.py +1 -1
- instana_client/models/get_combined_metrics.py +1 -1
- instana_client/models/get_dynamic_parameter_values.py +1 -1
- instana_client/models/get_endpoints.py +1 -1
- instana_client/models/get_infrastructure_groups_query.py +1 -1
- instana_client/models/get_infrastructure_query.py +1 -1
- instana_client/models/get_metrics_result.py +1 -1
- instana_client/models/get_mobile_app_beacon_groups.py +1 -1
- instana_client/models/get_mobile_app_beacons.py +1 -1
- instana_client/models/get_mobile_app_metrics.py +1 -1
- instana_client/models/get_mobile_app_metrics_v2.py +1 -1
- instana_client/models/get_payload_keys_result.py +1 -1
- instana_client/models/get_services.py +1 -1
- instana_client/models/get_snapshots_query.py +1 -1
- instana_client/models/get_test_result.py +1 -1
- instana_client/models/get_test_result_analytic.py +1 -1
- instana_client/models/get_test_result_base.py +1 -1
- instana_client/models/get_test_result_list.py +1 -1
- instana_client/models/get_test_summary_result.py +1 -1
- instana_client/models/get_trace_download_result_item.py +1 -1
- instana_client/models/get_trace_groups.py +1 -1
- instana_client/models/get_traces.py +1 -1
- instana_client/models/get_website_beacon_groups.py +1 -1
- instana_client/models/get_website_beacons.py +1 -1
- instana_client/models/get_website_metrics.py +1 -1
- instana_client/models/get_website_metrics_v2.py +1 -1
- instana_client/models/global_application_alert_config_with_metadata.py +1 -1
- instana_client/models/global_applications_alert_config.py +1 -1
- instana_client/models/google_chat_integration.py +1 -1
- instana_client/models/graph_edge.py +1 -1
- instana_client/models/graph_node.py +1 -1
- instana_client/models/group.py +1 -1
- instana_client/models/group_by_tag.py +1 -1
- instana_client/models/group_mapping.py +1 -1
- instana_client/models/group_mapping_overview.py +1 -1
- instana_client/models/health_state.py +1 -1
- instana_client/models/historic_baseline.py +1 -1
- instana_client/models/host_availability_rule.py +1 -1
- instana_client/models/http_action_configuration.py +1 -1
- instana_client/models/http_action_configuration_update.py +138 -0
- instana_client/models/http_endpoint_config.py +1 -1
- instana_client/models/http_endpoint_rule.py +1 -1
- instana_client/models/http_path_segment_matching_rule.py +1 -1
- instana_client/models/http_script_configuration.py +1 -1
- instana_client/models/http_script_configuration_update.py +115 -0
- instana_client/models/hyper_param.py +1 -1
- instana_client/models/identity_provider_patch.py +1 -1
- instana_client/models/impacted_beacon_info.py +1 -1
- instana_client/models/infra_alert_config.py +1 -1
- instana_client/models/infra_alert_config_with_metadata.py +1 -1
- instana_client/models/infra_alert_rule.py +1 -1
- instana_client/models/infra_event_result.py +3 -2
- instana_client/models/infra_metric_configuration.py +1 -1
- instana_client/models/infra_slo_entity.py +1 -1
- instana_client/models/infra_time_threshold.py +1 -1
- instana_client/models/infrastructure_entities_result.py +1 -1
- instana_client/models/infrastructure_group.py +1 -1
- instana_client/models/infrastructure_groups_result.py +1 -1
- instana_client/models/infrastructure_item.py +1 -1
- instana_client/models/infrastructure_metric_result.py +1 -1
- instana_client/models/instana_version_info.py +1 -1
- instana_client/models/integration_overview.py +1 -1
- instana_client/models/invitation.py +5 -3
- instana_client/models/invitation_response.py +1 -1
- instana_client/models/invitation_result.py +1 -1
- instana_client/models/ip_masking_configuration.py +1 -1
- instana_client/models/js_stack_trace_line.py +1 -1
- instana_client/models/kubernetes_physical_context.py +1 -1
- instana_client/models/latency_blueprint_indicator.py +1 -1
- instana_client/models/llm_egress_gateway.py +2 -3
- instana_client/models/location_status.py +1 -1
- instana_client/models/log_alert_config.py +1 -1
- instana_client/models/log_alert_config_with_metadata.py +1 -1
- instana_client/models/log_alert_rule.py +1 -1
- instana_client/models/log_count_alert_rule.py +1 -1
- instana_client/models/log_entry_actor.py +1 -1
- instana_client/models/log_event_result.py +3 -2
- instana_client/models/log_time_threshold.py +1 -1
- instana_client/models/log_volume_group.py +1 -1
- instana_client/models/log_volume_usage_item.py +1 -1
- instana_client/models/log_volume_usage_result.py +1 -1
- instana_client/models/logs_application_alert_rule.py +1 -1
- instana_client/models/maintenance_config.py +1 -1
- instana_client/models/maintenance_config_scheduling.py +1 -1
- instana_client/models/maintenance_config_v2.py +1 -1
- instana_client/models/maintenance_config_v2_with_state_and_occurrence.py +1 -1
- instana_client/models/maintenance_config_with_last_updated.py +1 -1
- instana_client/models/maintenance_window.py +1 -1
- instana_client/models/manual_alerting_channel_configuration.py +1 -1
- instana_client/models/manual_close_info.py +1 -1
- instana_client/models/manual_service_config.py +1 -1
- instana_client/models/match_all_http_path_segment_matching_rule.py +1 -1
- instana_client/models/match_expression_dto.py +1 -1
- instana_client/models/meta_data.py +1 -1
- instana_client/models/metric_api_result.py +1 -1
- instana_client/models/metric_config.py +1 -1
- instana_client/models/metric_configuration.py +1 -1
- instana_client/models/metric_description.py +1 -1
- instana_client/models/metric_instance.py +1 -1
- instana_client/models/metric_item.py +1 -1
- instana_client/models/metric_metadata.py +1 -1
- instana_client/models/metric_pattern.py +1 -1
- instana_client/models/metric_query.py +1 -1
- instana_client/models/metrics_result.py +1 -1
- instana_client/models/metrics_result_item.py +1 -1
- instana_client/models/metrics_test_result_item.py +1 -1
- instana_client/models/mobile_app.py +1 -1
- instana_client/models/mobile_app_alert_config.py +1 -1
- instana_client/models/mobile_app_alert_rule.py +1 -1
- instana_client/models/mobile_app_beacon_groups_item.py +1 -1
- instana_client/models/mobile_app_beacon_groups_result.py +1 -1
- instana_client/models/mobile_app_beacon_result.py +1 -1
- instana_client/models/mobile_app_beacon_tag_group.py +1 -1
- instana_client/models/mobile_app_beacons_item.py +1 -1
- instana_client/models/mobile_app_event_result.py +3 -2
- instana_client/models/mobile_app_metric_result.py +1 -1
- instana_client/models/mobile_app_monitoring_beacon.py +1 -1
- instana_client/models/mobile_app_monitoring_metric_description.py +1 -1
- instana_client/models/mobile_app_monitoring_metrics_configuration.py +1 -1
- instana_client/models/mobile_app_time_threshold.py +1 -1
- instana_client/models/model_field.py +1 -1
- instana_client/models/monitored_entities_stats.py +1 -1
- instana_client/models/monitoring_state.py +1 -1
- instana_client/models/multiple_scripts_configuration.py +1 -1
- instana_client/models/multiplication.py +1 -1
- instana_client/models/nested_operation.py +1 -1
- instana_client/models/new_application_config.py +1 -1
- instana_client/models/new_business_perspective_config.py +1 -1
- instana_client/models/new_manual_service_config.py +1 -1
- instana_client/models/o_auth_config.py +5 -2
- instana_client/models/o_auth_integration.py +1 -1
- instana_client/models/o_auth_token.py +5 -15
- instana_client/models/occurrence.py +1 -1
- instana_client/models/office365_integration.py +1 -1
- instana_client/models/one_time_maintenance_window.py +1 -1
- instana_client/models/opsgenie_integration.py +1 -1
- instana_client/models/order.py +1 -1
- instana_client/models/pagerduty_integration.py +1 -1
- instana_client/models/paginated_result.py +1 -1
- instana_client/models/pagination.py +1 -1
- instana_client/models/parameter.py +1 -1
- instana_client/models/parameter_value.py +1 -1
- instana_client/models/path_parameter_http_path_segment_matching_rule.py +1 -1
- instana_client/models/physical_context.py +1 -1
- instana_client/models/plugin_result.py +1 -1
- instana_client/models/policy.py +1 -1
- instana_client/models/policy_runnable.py +1 -1
- instana_client/models/policy_scheduling.py +1 -1
- instana_client/models/post_mobile_app_source_map_config_request.py +1 -1
- instana_client/models/post_snapshots_result.py +1 -1
- instana_client/models/problem.py +1 -1
- instana_client/models/prometheus_webhook_integration.py +1 -1
- instana_client/models/recurrent_maintenance_window.py +1 -1
- instana_client/models/release.py +1 -1
- instana_client/models/release_scope.py +1 -1
- instana_client/models/release_with_metadata.py +1 -1
- instana_client/models/retention_period.py +1 -1
- instana_client/models/rolling_time_window.py +1 -1
- instana_client/models/rule_input.py +1 -1
- instana_client/models/rule_with_threshold_application_alert_rule.py +1 -1
- instana_client/models/rule_with_threshold_infra_alert_rule.py +1 -1
- instana_client/models/rule_with_threshold_log_alert_rule.py +1 -1
- instana_client/models/rule_with_threshold_mobile_app_alert_rule.py +1 -1
- instana_client/models/rule_with_threshold_website_alert_rule.py +1 -1
- instana_client/models/run_configuration.py +1 -1
- instana_client/models/salesforce_integration.py +1 -1
- instana_client/models/saturation_blueprint_indicator.py +1 -1
- instana_client/models/scope_binding.py +1 -1
- instana_client/models/search_field_result.py +1 -1
- instana_client/models/service.py +1 -1
- instana_client/models/service_config.py +1 -1
- instana_client/models/service_event_result.py +3 -2
- instana_client/models/service_item.py +1 -1
- instana_client/models/service_level_indicator.py +1 -1
- instana_client/models/service_level_objective_alert_rule.py +1 -1
- instana_client/models/service_levels_alert_config.py +1 -1
- instana_client/models/service_levels_alert_rule.py +1 -1
- instana_client/models/service_levels_burn_rate_config.py +1 -1
- instana_client/models/service_levels_burn_rate_time_windows.py +1 -1
- instana_client/models/service_levels_static_threshold_config.py +1 -1
- instana_client/models/service_levels_time_threshold.py +1 -1
- instana_client/models/service_levelse_alert_config_with_metadata.py +1 -1
- instana_client/models/service_map.py +1 -1
- instana_client/models/service_map_connection.py +1 -1
- instana_client/models/service_matching_rule.py +1 -1
- instana_client/models/service_metric_result.py +1 -1
- instana_client/models/service_node.py +1 -1
- instana_client/models/service_now_enhanced_integration.py +1 -1
- instana_client/models/service_now_integration.py +1 -1
- instana_client/models/service_result.py +1 -1
- instana_client/models/service_scope.py +1 -1
- instana_client/models/service_scope_with_metadata.py +1 -1
- instana_client/models/service_scoped_to.py +1 -1
- instana_client/models/service_scoped_to_with_metadata.py +1 -1
- instana_client/models/service_simple.py +1 -1
- instana_client/models/session_settings.py +1 -1
- instana_client/models/simple_metric_configuration.py +6 -4
- instana_client/models/single_value.py +1 -1
- instana_client/models/slack_integration.py +1 -1
- instana_client/models/sli_configuration.py +1 -1
- instana_client/models/sli_configuration_with_last_updated.py +1 -1
- instana_client/models/sli_entity.py +1 -1
- instana_client/models/sli_report.py +1 -1
- instana_client/models/slo_config_with_rbac_tag.py +1 -1
- instana_client/models/slo_entity.py +1 -1
- instana_client/models/slo_report.py +1 -1
- instana_client/models/slowness_application_alert_rule.py +1 -1
- instana_client/models/slowness_mobile_app_alert_rule.py +1 -1
- instana_client/models/slowness_website_alert_rule.py +1 -1
- instana_client/models/snapshot_item.py +1 -1
- instana_client/models/snapshot_preview.py +1 -1
- instana_client/models/snapshot_result.py +1 -1
- instana_client/models/software_user.py +1 -1
- instana_client/models/software_version.py +1 -1
- instana_client/models/source_map_file_blob.py +1 -1
- instana_client/models/source_map_file_meta.py +1 -1
- instana_client/models/source_map_upload_config.py +1 -1
- instana_client/models/source_map_upload_configs.py +1 -1
- instana_client/models/span_excerpt.py +1 -1
- instana_client/models/span_relation.py +1 -1
- instana_client/models/specific_js_errors_website_alert_rule.py +1 -1
- instana_client/models/splunk_integration.py +1 -1
- instana_client/models/ssl_certificate_configuration.py +1 -1
- instana_client/models/ssl_certificate_configuration_update.py +107 -0
- instana_client/models/ssl_certificate_validation.py +1 -1
- instana_client/models/stack_trace_item.py +1 -1
- instana_client/models/stack_trace_line.py +1 -1
- instana_client/models/static_baseline_threshold_rule.py +1 -1
- instana_client/models/static_string_field.py +1 -1
- instana_client/models/static_threshold.py +1 -1
- instana_client/models/static_threshold_rule.py +1 -1
- instana_client/models/status_code_application_alert_rule.py +1 -1
- instana_client/models/status_code_mobile_app_alert_rule.py +1 -1
- instana_client/models/status_code_website_alert_rule.py +1 -1
- instana_client/models/subtraction.py +1 -1
- instana_client/models/synthetic_alert_config.py +1 -1
- instana_client/models/synthetic_alert_config_with_metadata.py +1 -1
- instana_client/models/synthetic_alert_rule.py +1 -1
- instana_client/models/synthetic_bulk_response.py +92 -0
- instana_client/models/synthetic_call_config.py +1 -1
- instana_client/models/synthetic_call_rule.py +1 -1
- instana_client/models/synthetic_call_with_defaults_config.py +1 -1
- instana_client/models/synthetic_configuration.py +1 -1
- instana_client/models/synthetic_configuration_update.py +95 -0
- instana_client/models/synthetic_credential.py +1 -1
- instana_client/models/synthetic_datacenter.py +1 -1
- instana_client/models/synthetic_datacenter_configuration.py +1 -1
- instana_client/models/synthetic_geo_point.py +1 -1
- instana_client/models/synthetic_location.py +1 -1
- instana_client/models/synthetic_location_configuration.py +1 -1
- instana_client/models/synthetic_metric_configuration.py +1 -1
- instana_client/models/synthetic_metric_tag_group.py +17 -4
- instana_client/models/synthetic_playback_capabilities.py +1 -1
- 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 +1 -1
- instana_client/models/synthetic_test.py +1 -1
- instana_client/models/synthetic_test_cicd.py +1 -1
- instana_client/models/synthetic_test_cicd_customization.py +1 -1
- instana_client/models/synthetic_test_cicd_item.py +1 -1
- instana_client/models/synthetic_test_cicd_response.py +1 -1
- 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 +1 -1
- instana_client/models/synthetic_type_configuration.py +1 -1
- instana_client/models/synthetic_type_configuration_update.py +152 -0
- instana_client/models/synthetics_event_result.py +3 -2
- instana_client/models/system_rule.py +1 -1
- instana_client/models/system_rule_label.py +1 -1
- instana_client/models/tag.py +1 -1
- instana_client/models/tag_catalog.py +1 -1
- instana_client/models/tag_filter.py +19 -7
- instana_client/models/tag_filter_all_of_value.py +195 -0
- instana_client/models/tag_filter_expression.py +1 -1
- instana_client/models/tag_filter_expression_element.py +1 -1
- instana_client/models/tag_matcher_dto.py +1 -1
- instana_client/models/tag_tree_level.py +1 -1
- instana_client/models/tag_tree_node.py +1 -1
- instana_client/models/tag_tree_tag.py +1 -1
- instana_client/models/test_common_properties.py +1 -1
- instana_client/models/test_last_error.py +1 -1
- instana_client/models/test_result.py +1 -1
- instana_client/models/test_result_common_properties.py +1 -1
- instana_client/models/test_result_detail_data.py +1 -1
- instana_client/models/test_result_item.py +1 -1
- instana_client/models/test_result_list_item.py +1 -1
- instana_client/models/test_result_list_result.py +1 -1
- instana_client/models/test_result_metadata.py +1 -1
- instana_client/models/test_result_subtransaction.py +1 -1
- instana_client/models/threshold.py +1 -1
- instana_client/models/threshold_config_rule.py +1 -1
- instana_client/models/threshold_rule.py +1 -1
- instana_client/models/throughput_application_alert_rule.py +1 -1
- instana_client/models/throughput_mobile_app_alert_rule.py +1 -1
- instana_client/models/throughput_website_alert_rule.py +1 -1
- instana_client/models/time_frame.py +1 -1
- instana_client/models/time_window.py +1 -1
- instana_client/models/topology.py +1 -1
- instana_client/models/trace.py +1 -1
- instana_client/models/trace_activity_tree_node_details.py +15 -3
- instana_client/models/trace_download_result.py +1 -1
- instana_client/models/trace_groups_item.py +1 -1
- instana_client/models/trace_groups_result.py +1 -1
- instana_client/models/trace_impact_application_time_threshold.py +1 -1
- instana_client/models/trace_item.py +1 -1
- instana_client/models/trace_result.py +1 -1
- instana_client/models/traffic_blueprint_indicator.py +1 -1
- instana_client/models/trigger.py +1 -1
- instana_client/models/type_configuration.py +1 -1
- instana_client/models/unsupported_http_path_segment_matching_rule.py +1 -1
- instana_client/models/updated_business_perspective_config.py +1 -1
- instana_client/models/usage_result.py +1 -1
- instana_client/models/usage_result_items.py +1 -1
- instana_client/models/user_basic_result.py +1 -1
- instana_client/models/user_impact_mobile_app_time_threshold.py +1 -1
- instana_client/models/user_impact_website_time_threshold.py +1 -1
- instana_client/models/user_result.py +1 -1
- instana_client/models/users_result.py +1 -1
- instana_client/models/validated_alerting_channel_input_info.py +1 -1
- instana_client/models/validated_alerting_configuration.py +1 -1
- instana_client/models/validated_maintenance_config_v2_with_state_and_occurrence.py +1 -1
- instana_client/models/validated_maintenance_config_with_status.py +1 -1
- instana_client/models/victor_ops_integration.py +1 -1
- instana_client/models/violations_in_period_application_time_threshold.py +1 -1
- instana_client/models/violations_in_period_mobile_app_time_threshold.py +1 -1
- instana_client/models/violations_in_period_website_time_threshold.py +1 -1
- instana_client/models/violations_in_sequence_application_time_threshold.py +1 -1
- instana_client/models/violations_in_sequence_infra_time_threshold.py +1 -1
- instana_client/models/violations_in_sequence_log_time_threshold.py +1 -1
- instana_client/models/violations_in_sequence_mobile_app_time_threshold.py +1 -1
- instana_client/models/violations_in_sequence_synthetic_time_threshold.py +1 -1
- instana_client/models/violations_in_sequence_website_time_threshold.py +1 -1
- instana_client/models/watson_ai_ops_webhook_integration.py +1 -1
- instana_client/models/webex_teams_webhook_integration.py +1 -1
- instana_client/models/webhook_integration.py +1 -1
- instana_client/models/webpage_action_configuration.py +1 -1
- instana_client/models/webpage_action_configuration_update.py +109 -0
- instana_client/models/webpage_script_configuration.py +1 -1
- instana_client/models/webpage_script_configuration_update.py +111 -0
- instana_client/models/website.py +1 -1
- instana_client/models/website_alert_config.py +1 -1
- instana_client/models/website_alert_config_with_metadata.py +1 -1
- instana_client/models/website_alert_rule.py +1 -1
- instana_client/models/website_apdex_entity.py +1 -1
- instana_client/models/website_beacon_groups_item.py +1 -1
- instana_client/models/website_beacon_groups_result.py +1 -1
- instana_client/models/website_beacon_result.py +1 -1
- instana_client/models/website_beacon_tag_group.py +1 -1
- instana_client/models/website_beacons_item.py +1 -1
- instana_client/models/website_event_based_sli_entity.py +1 -1
- instana_client/models/website_event_result.py +3 -2
- instana_client/models/website_metric_result.py +1 -1
- instana_client/models/website_monitoring_beacon.py +1 -1
- instana_client/models/website_monitoring_metric_description.py +1 -1
- instana_client/models/website_monitoring_metrics_configuration.py +1 -1
- instana_client/models/website_slo_entity.py +1 -1
- instana_client/models/website_time_based_sli_entity.py +1 -1
- instana_client/models/website_time_threshold.py +1 -1
- instana_client/models/widget.py +1 -1
- instana_client/models/with_metadata.py +1 -1
- instana_client/models/with_resolved_name.py +1 -1
- instana_client/models/z_chat_ops_integration.py +1 -1
- instana_client/rest.py +1 -1
- {instana_client-1.0.1.dist-info → instana_client-1.0.3.dist-info}/METADATA +47 -18
- instana_client-1.0.3.dist-info/RECORD +599 -0
- {instana_client-1.0.1.dist-info → instana_client-1.0.3.dist-info}/WHEEL +1 -1
- instana_client-1.0.1.dist-info/RECORD +0 -581
- {instana_client-1.0.1.dist-info → instana_client-1.0.3.dist-info}/licenses/LICENSE +0 -0
- {instana_client-1.0.1.dist-info → instana_client-1.0.3.dist-info}/top_level.txt +0 -0
|
@@ -5,7 +5,7 @@
|
|
|
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
|
|
|
@@ -20,6 +20,7 @@ from typing_extensions import Annotated
|
|
|
20
20
|
from pydantic import Field, StrictInt, StrictStr, field_validator
|
|
21
21
|
from typing import List, Optional
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
|
+
from instana_client.models.synthetic_bulk_response import SyntheticBulkResponse
|
|
23
24
|
from instana_client.models.synthetic_credential import SyntheticCredential
|
|
24
25
|
from instana_client.models.synthetic_datacenter import SyntheticDatacenter
|
|
25
26
|
from instana_client.models.synthetic_location import SyntheticLocation
|
|
@@ -27,6 +28,7 @@ from instana_client.models.synthetic_test import SyntheticTest
|
|
|
27
28
|
from instana_client.models.synthetic_test_cicd import SyntheticTestCICD
|
|
28
29
|
from instana_client.models.synthetic_test_cicd_item import SyntheticTestCICDItem
|
|
29
30
|
from instana_client.models.synthetic_test_cicd_response import SyntheticTestCICDResponse
|
|
31
|
+
from instana_client.models.synthetic_test_update import SyntheticTestUpdate
|
|
30
32
|
|
|
31
33
|
from instana_client.api_client import ApiClient, RequestSerialized
|
|
32
34
|
from instana_client.api_response import ApiResponse
|
|
@@ -46,6 +48,573 @@ class SyntheticSettingsApi:
|
|
|
46
48
|
self.api_client = api_client
|
|
47
49
|
|
|
48
50
|
|
|
51
|
+
@validate_call
|
|
52
|
+
def bulk_delete_synthetic_tests(
|
|
53
|
+
self,
|
|
54
|
+
request_body: List[StrictStr],
|
|
55
|
+
_request_timeout: Union[
|
|
56
|
+
None,
|
|
57
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
58
|
+
Tuple[
|
|
59
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
60
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
61
|
+
]
|
|
62
|
+
] = None,
|
|
63
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
64
|
+
_content_type: Optional[StrictStr] = None,
|
|
65
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
66
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
67
|
+
) -> List[SyntheticBulkResponse]:
|
|
68
|
+
"""Delete Synthetic tests
|
|
69
|
+
|
|
70
|
+
API request to delete a list of Synthetic Tests.
|
|
71
|
+
|
|
72
|
+
:param request_body: (required)
|
|
73
|
+
:type request_body: List[str]
|
|
74
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
75
|
+
number provided, it will be total request
|
|
76
|
+
timeout. It can also be a pair (tuple) of
|
|
77
|
+
(connection, read) timeouts.
|
|
78
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
79
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
80
|
+
request; this effectively ignores the
|
|
81
|
+
authentication in the spec for a single request.
|
|
82
|
+
:type _request_auth: dict, optional
|
|
83
|
+
:param _content_type: force content-type for the request.
|
|
84
|
+
:type _content_type: str, Optional
|
|
85
|
+
:param _headers: set to override the headers for a single
|
|
86
|
+
request; this effectively ignores the headers
|
|
87
|
+
in the spec for a single request.
|
|
88
|
+
:type _headers: dict, optional
|
|
89
|
+
:param _host_index: set to override the host_index for a single
|
|
90
|
+
request; this effectively ignores the host_index
|
|
91
|
+
in the spec for a single request.
|
|
92
|
+
:type _host_index: int, optional
|
|
93
|
+
:return: Returns the result object.
|
|
94
|
+
""" # noqa: E501
|
|
95
|
+
|
|
96
|
+
_param = self._bulk_delete_synthetic_tests_serialize(
|
|
97
|
+
request_body=request_body,
|
|
98
|
+
_request_auth=_request_auth,
|
|
99
|
+
_content_type=_content_type,
|
|
100
|
+
_headers=_headers,
|
|
101
|
+
_host_index=_host_index
|
|
102
|
+
)
|
|
103
|
+
|
|
104
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
105
|
+
'200': "List[SyntheticBulkResponse]",
|
|
106
|
+
'401': None,
|
|
107
|
+
'403': None,
|
|
108
|
+
'500': None,
|
|
109
|
+
}
|
|
110
|
+
response_data = self.api_client.call_api(
|
|
111
|
+
*_param,
|
|
112
|
+
_request_timeout=_request_timeout
|
|
113
|
+
)
|
|
114
|
+
response_data.read()
|
|
115
|
+
return self.api_client.response_deserialize(
|
|
116
|
+
response_data=response_data,
|
|
117
|
+
response_types_map=_response_types_map,
|
|
118
|
+
).data
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
@validate_call
|
|
122
|
+
def bulk_delete_synthetic_tests_with_http_info(
|
|
123
|
+
self,
|
|
124
|
+
request_body: List[StrictStr],
|
|
125
|
+
_request_timeout: Union[
|
|
126
|
+
None,
|
|
127
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
128
|
+
Tuple[
|
|
129
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
130
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
131
|
+
]
|
|
132
|
+
] = None,
|
|
133
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
134
|
+
_content_type: Optional[StrictStr] = None,
|
|
135
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
136
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
137
|
+
) -> ApiResponse[List[SyntheticBulkResponse]]:
|
|
138
|
+
"""Delete Synthetic tests
|
|
139
|
+
|
|
140
|
+
API request to delete a list of Synthetic Tests.
|
|
141
|
+
|
|
142
|
+
:param request_body: (required)
|
|
143
|
+
:type request_body: List[str]
|
|
144
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
145
|
+
number provided, it will be total request
|
|
146
|
+
timeout. It can also be a pair (tuple) of
|
|
147
|
+
(connection, read) timeouts.
|
|
148
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
149
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
150
|
+
request; this effectively ignores the
|
|
151
|
+
authentication in the spec for a single request.
|
|
152
|
+
:type _request_auth: dict, optional
|
|
153
|
+
:param _content_type: force content-type for the request.
|
|
154
|
+
:type _content_type: str, Optional
|
|
155
|
+
:param _headers: set to override the headers for a single
|
|
156
|
+
request; this effectively ignores the headers
|
|
157
|
+
in the spec for a single request.
|
|
158
|
+
:type _headers: dict, optional
|
|
159
|
+
:param _host_index: set to override the host_index for a single
|
|
160
|
+
request; this effectively ignores the host_index
|
|
161
|
+
in the spec for a single request.
|
|
162
|
+
:type _host_index: int, optional
|
|
163
|
+
:return: Returns the result object.
|
|
164
|
+
""" # noqa: E501
|
|
165
|
+
|
|
166
|
+
_param = self._bulk_delete_synthetic_tests_serialize(
|
|
167
|
+
request_body=request_body,
|
|
168
|
+
_request_auth=_request_auth,
|
|
169
|
+
_content_type=_content_type,
|
|
170
|
+
_headers=_headers,
|
|
171
|
+
_host_index=_host_index
|
|
172
|
+
)
|
|
173
|
+
|
|
174
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
175
|
+
'200': "List[SyntheticBulkResponse]",
|
|
176
|
+
'401': None,
|
|
177
|
+
'403': None,
|
|
178
|
+
'500': None,
|
|
179
|
+
}
|
|
180
|
+
response_data = self.api_client.call_api(
|
|
181
|
+
*_param,
|
|
182
|
+
_request_timeout=_request_timeout
|
|
183
|
+
)
|
|
184
|
+
response_data.read()
|
|
185
|
+
return self.api_client.response_deserialize(
|
|
186
|
+
response_data=response_data,
|
|
187
|
+
response_types_map=_response_types_map,
|
|
188
|
+
)
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
@validate_call
|
|
192
|
+
def bulk_delete_synthetic_tests_without_preload_content(
|
|
193
|
+
self,
|
|
194
|
+
request_body: List[StrictStr],
|
|
195
|
+
_request_timeout: Union[
|
|
196
|
+
None,
|
|
197
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
198
|
+
Tuple[
|
|
199
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
200
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
201
|
+
]
|
|
202
|
+
] = None,
|
|
203
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
204
|
+
_content_type: Optional[StrictStr] = None,
|
|
205
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
206
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
207
|
+
) -> RESTResponseType:
|
|
208
|
+
"""Delete Synthetic tests
|
|
209
|
+
|
|
210
|
+
API request to delete a list of Synthetic Tests.
|
|
211
|
+
|
|
212
|
+
:param request_body: (required)
|
|
213
|
+
:type request_body: List[str]
|
|
214
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
215
|
+
number provided, it will be total request
|
|
216
|
+
timeout. It can also be a pair (tuple) of
|
|
217
|
+
(connection, read) timeouts.
|
|
218
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
219
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
220
|
+
request; this effectively ignores the
|
|
221
|
+
authentication in the spec for a single request.
|
|
222
|
+
:type _request_auth: dict, optional
|
|
223
|
+
:param _content_type: force content-type for the request.
|
|
224
|
+
:type _content_type: str, Optional
|
|
225
|
+
:param _headers: set to override the headers for a single
|
|
226
|
+
request; this effectively ignores the headers
|
|
227
|
+
in the spec for a single request.
|
|
228
|
+
:type _headers: dict, optional
|
|
229
|
+
:param _host_index: set to override the host_index for a single
|
|
230
|
+
request; this effectively ignores the host_index
|
|
231
|
+
in the spec for a single request.
|
|
232
|
+
:type _host_index: int, optional
|
|
233
|
+
:return: Returns the result object.
|
|
234
|
+
""" # noqa: E501
|
|
235
|
+
|
|
236
|
+
_param = self._bulk_delete_synthetic_tests_serialize(
|
|
237
|
+
request_body=request_body,
|
|
238
|
+
_request_auth=_request_auth,
|
|
239
|
+
_content_type=_content_type,
|
|
240
|
+
_headers=_headers,
|
|
241
|
+
_host_index=_host_index
|
|
242
|
+
)
|
|
243
|
+
|
|
244
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
245
|
+
'200': "List[SyntheticBulkResponse]",
|
|
246
|
+
'401': None,
|
|
247
|
+
'403': None,
|
|
248
|
+
'500': None,
|
|
249
|
+
}
|
|
250
|
+
response_data = self.api_client.call_api(
|
|
251
|
+
*_param,
|
|
252
|
+
_request_timeout=_request_timeout
|
|
253
|
+
)
|
|
254
|
+
return response_data.response
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
def _bulk_delete_synthetic_tests_serialize(
|
|
258
|
+
self,
|
|
259
|
+
request_body,
|
|
260
|
+
_request_auth,
|
|
261
|
+
_content_type,
|
|
262
|
+
_headers,
|
|
263
|
+
_host_index,
|
|
264
|
+
) -> RequestSerialized:
|
|
265
|
+
|
|
266
|
+
_host = None
|
|
267
|
+
|
|
268
|
+
_collection_formats: Dict[str, str] = {
|
|
269
|
+
'request_body': '',
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
_path_params: Dict[str, str] = {}
|
|
273
|
+
_query_params: List[Tuple[str, str]] = []
|
|
274
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
275
|
+
_form_params: List[Tuple[str, str]] = []
|
|
276
|
+
_files: Dict[
|
|
277
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
278
|
+
] = {}
|
|
279
|
+
_body_params: Optional[bytes] = None
|
|
280
|
+
|
|
281
|
+
# process the path parameters
|
|
282
|
+
# process the query parameters
|
|
283
|
+
# process the header parameters
|
|
284
|
+
# process the form parameters
|
|
285
|
+
# process the body parameter
|
|
286
|
+
if request_body is not None:
|
|
287
|
+
_body_params = request_body
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
# set the HTTP header `Accept`
|
|
291
|
+
if 'Accept' not in _header_params:
|
|
292
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
293
|
+
[
|
|
294
|
+
'application/json'
|
|
295
|
+
]
|
|
296
|
+
)
|
|
297
|
+
|
|
298
|
+
# set the HTTP header `Content-Type`
|
|
299
|
+
if _content_type:
|
|
300
|
+
_header_params['Content-Type'] = _content_type
|
|
301
|
+
else:
|
|
302
|
+
_default_content_type = (
|
|
303
|
+
self.api_client.select_header_content_type(
|
|
304
|
+
[
|
|
305
|
+
'application/json'
|
|
306
|
+
]
|
|
307
|
+
)
|
|
308
|
+
)
|
|
309
|
+
if _default_content_type is not None:
|
|
310
|
+
_header_params['Content-Type'] = _default_content_type
|
|
311
|
+
|
|
312
|
+
# authentication setting
|
|
313
|
+
_auth_settings: List[str] = [
|
|
314
|
+
'ApiKeyAuth'
|
|
315
|
+
]
|
|
316
|
+
|
|
317
|
+
return self.api_client.param_serialize(
|
|
318
|
+
method='POST',
|
|
319
|
+
resource_path='/api/synthetics/settings/tests/bulk-delete',
|
|
320
|
+
path_params=_path_params,
|
|
321
|
+
query_params=_query_params,
|
|
322
|
+
header_params=_header_params,
|
|
323
|
+
body=_body_params,
|
|
324
|
+
post_params=_form_params,
|
|
325
|
+
files=_files,
|
|
326
|
+
auth_settings=_auth_settings,
|
|
327
|
+
collection_formats=_collection_formats,
|
|
328
|
+
_host=_host,
|
|
329
|
+
_request_auth=_request_auth
|
|
330
|
+
)
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
@validate_call
|
|
336
|
+
def bulk_update_synthetic_tests(
|
|
337
|
+
self,
|
|
338
|
+
synthetic_test_update: SyntheticTestUpdate,
|
|
339
|
+
_request_timeout: Union[
|
|
340
|
+
None,
|
|
341
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
342
|
+
Tuple[
|
|
343
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
344
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
345
|
+
]
|
|
346
|
+
] = None,
|
|
347
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
348
|
+
_content_type: Optional[StrictStr] = None,
|
|
349
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
350
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
351
|
+
) -> List[SyntheticBulkResponse]:
|
|
352
|
+
"""Update Synthetic tests
|
|
353
|
+
|
|
354
|
+
API request to update a list of Synthetic Tests.
|
|
355
|
+
|
|
356
|
+
:param synthetic_test_update: (required)
|
|
357
|
+
:type synthetic_test_update: SyntheticTestUpdate
|
|
358
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
359
|
+
number provided, it will be total request
|
|
360
|
+
timeout. It can also be a pair (tuple) of
|
|
361
|
+
(connection, read) timeouts.
|
|
362
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
363
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
364
|
+
request; this effectively ignores the
|
|
365
|
+
authentication in the spec for a single request.
|
|
366
|
+
:type _request_auth: dict, optional
|
|
367
|
+
:param _content_type: force content-type for the request.
|
|
368
|
+
:type _content_type: str, Optional
|
|
369
|
+
:param _headers: set to override the headers for a single
|
|
370
|
+
request; this effectively ignores the headers
|
|
371
|
+
in the spec for a single request.
|
|
372
|
+
:type _headers: dict, optional
|
|
373
|
+
:param _host_index: set to override the host_index for a single
|
|
374
|
+
request; this effectively ignores the host_index
|
|
375
|
+
in the spec for a single request.
|
|
376
|
+
:type _host_index: int, optional
|
|
377
|
+
:return: Returns the result object.
|
|
378
|
+
""" # noqa: E501
|
|
379
|
+
|
|
380
|
+
_param = self._bulk_update_synthetic_tests_serialize(
|
|
381
|
+
synthetic_test_update=synthetic_test_update,
|
|
382
|
+
_request_auth=_request_auth,
|
|
383
|
+
_content_type=_content_type,
|
|
384
|
+
_headers=_headers,
|
|
385
|
+
_host_index=_host_index
|
|
386
|
+
)
|
|
387
|
+
|
|
388
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
389
|
+
'200': "List[SyntheticBulkResponse]",
|
|
390
|
+
'401': None,
|
|
391
|
+
'403': None,
|
|
392
|
+
'500': None,
|
|
393
|
+
}
|
|
394
|
+
response_data = self.api_client.call_api(
|
|
395
|
+
*_param,
|
|
396
|
+
_request_timeout=_request_timeout
|
|
397
|
+
)
|
|
398
|
+
response_data.read()
|
|
399
|
+
return self.api_client.response_deserialize(
|
|
400
|
+
response_data=response_data,
|
|
401
|
+
response_types_map=_response_types_map,
|
|
402
|
+
).data
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
@validate_call
|
|
406
|
+
def bulk_update_synthetic_tests_with_http_info(
|
|
407
|
+
self,
|
|
408
|
+
synthetic_test_update: SyntheticTestUpdate,
|
|
409
|
+
_request_timeout: Union[
|
|
410
|
+
None,
|
|
411
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
412
|
+
Tuple[
|
|
413
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
414
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
415
|
+
]
|
|
416
|
+
] = None,
|
|
417
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
418
|
+
_content_type: Optional[StrictStr] = None,
|
|
419
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
420
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
421
|
+
) -> ApiResponse[List[SyntheticBulkResponse]]:
|
|
422
|
+
"""Update Synthetic tests
|
|
423
|
+
|
|
424
|
+
API request to update a list of Synthetic Tests.
|
|
425
|
+
|
|
426
|
+
:param synthetic_test_update: (required)
|
|
427
|
+
:type synthetic_test_update: SyntheticTestUpdate
|
|
428
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
429
|
+
number provided, it will be total request
|
|
430
|
+
timeout. It can also be a pair (tuple) of
|
|
431
|
+
(connection, read) timeouts.
|
|
432
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
433
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
434
|
+
request; this effectively ignores the
|
|
435
|
+
authentication in the spec for a single request.
|
|
436
|
+
:type _request_auth: dict, optional
|
|
437
|
+
:param _content_type: force content-type for the request.
|
|
438
|
+
:type _content_type: str, Optional
|
|
439
|
+
:param _headers: set to override the headers for a single
|
|
440
|
+
request; this effectively ignores the headers
|
|
441
|
+
in the spec for a single request.
|
|
442
|
+
:type _headers: dict, optional
|
|
443
|
+
:param _host_index: set to override the host_index for a single
|
|
444
|
+
request; this effectively ignores the host_index
|
|
445
|
+
in the spec for a single request.
|
|
446
|
+
:type _host_index: int, optional
|
|
447
|
+
:return: Returns the result object.
|
|
448
|
+
""" # noqa: E501
|
|
449
|
+
|
|
450
|
+
_param = self._bulk_update_synthetic_tests_serialize(
|
|
451
|
+
synthetic_test_update=synthetic_test_update,
|
|
452
|
+
_request_auth=_request_auth,
|
|
453
|
+
_content_type=_content_type,
|
|
454
|
+
_headers=_headers,
|
|
455
|
+
_host_index=_host_index
|
|
456
|
+
)
|
|
457
|
+
|
|
458
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
459
|
+
'200': "List[SyntheticBulkResponse]",
|
|
460
|
+
'401': None,
|
|
461
|
+
'403': None,
|
|
462
|
+
'500': None,
|
|
463
|
+
}
|
|
464
|
+
response_data = self.api_client.call_api(
|
|
465
|
+
*_param,
|
|
466
|
+
_request_timeout=_request_timeout
|
|
467
|
+
)
|
|
468
|
+
response_data.read()
|
|
469
|
+
return self.api_client.response_deserialize(
|
|
470
|
+
response_data=response_data,
|
|
471
|
+
response_types_map=_response_types_map,
|
|
472
|
+
)
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
@validate_call
|
|
476
|
+
def bulk_update_synthetic_tests_without_preload_content(
|
|
477
|
+
self,
|
|
478
|
+
synthetic_test_update: SyntheticTestUpdate,
|
|
479
|
+
_request_timeout: Union[
|
|
480
|
+
None,
|
|
481
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
482
|
+
Tuple[
|
|
483
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
484
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
485
|
+
]
|
|
486
|
+
] = None,
|
|
487
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
488
|
+
_content_type: Optional[StrictStr] = None,
|
|
489
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
490
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
491
|
+
) -> RESTResponseType:
|
|
492
|
+
"""Update Synthetic tests
|
|
493
|
+
|
|
494
|
+
API request to update a list of Synthetic Tests.
|
|
495
|
+
|
|
496
|
+
:param synthetic_test_update: (required)
|
|
497
|
+
:type synthetic_test_update: SyntheticTestUpdate
|
|
498
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
499
|
+
number provided, it will be total request
|
|
500
|
+
timeout. It can also be a pair (tuple) of
|
|
501
|
+
(connection, read) timeouts.
|
|
502
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
503
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
504
|
+
request; this effectively ignores the
|
|
505
|
+
authentication in the spec for a single request.
|
|
506
|
+
:type _request_auth: dict, optional
|
|
507
|
+
:param _content_type: force content-type for the request.
|
|
508
|
+
:type _content_type: str, Optional
|
|
509
|
+
:param _headers: set to override the headers for a single
|
|
510
|
+
request; this effectively ignores the headers
|
|
511
|
+
in the spec for a single request.
|
|
512
|
+
:type _headers: dict, optional
|
|
513
|
+
:param _host_index: set to override the host_index for a single
|
|
514
|
+
request; this effectively ignores the host_index
|
|
515
|
+
in the spec for a single request.
|
|
516
|
+
:type _host_index: int, optional
|
|
517
|
+
:return: Returns the result object.
|
|
518
|
+
""" # noqa: E501
|
|
519
|
+
|
|
520
|
+
_param = self._bulk_update_synthetic_tests_serialize(
|
|
521
|
+
synthetic_test_update=synthetic_test_update,
|
|
522
|
+
_request_auth=_request_auth,
|
|
523
|
+
_content_type=_content_type,
|
|
524
|
+
_headers=_headers,
|
|
525
|
+
_host_index=_host_index
|
|
526
|
+
)
|
|
527
|
+
|
|
528
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
529
|
+
'200': "List[SyntheticBulkResponse]",
|
|
530
|
+
'401': None,
|
|
531
|
+
'403': None,
|
|
532
|
+
'500': None,
|
|
533
|
+
}
|
|
534
|
+
response_data = self.api_client.call_api(
|
|
535
|
+
*_param,
|
|
536
|
+
_request_timeout=_request_timeout
|
|
537
|
+
)
|
|
538
|
+
return response_data.response
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
def _bulk_update_synthetic_tests_serialize(
|
|
542
|
+
self,
|
|
543
|
+
synthetic_test_update,
|
|
544
|
+
_request_auth,
|
|
545
|
+
_content_type,
|
|
546
|
+
_headers,
|
|
547
|
+
_host_index,
|
|
548
|
+
) -> RequestSerialized:
|
|
549
|
+
|
|
550
|
+
_host = None
|
|
551
|
+
|
|
552
|
+
_collection_formats: Dict[str, str] = {
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
_path_params: Dict[str, str] = {}
|
|
556
|
+
_query_params: List[Tuple[str, str]] = []
|
|
557
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
558
|
+
_form_params: List[Tuple[str, str]] = []
|
|
559
|
+
_files: Dict[
|
|
560
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
561
|
+
] = {}
|
|
562
|
+
_body_params: Optional[bytes] = None
|
|
563
|
+
|
|
564
|
+
# process the path parameters
|
|
565
|
+
# process the query parameters
|
|
566
|
+
# process the header parameters
|
|
567
|
+
# process the form parameters
|
|
568
|
+
# process the body parameter
|
|
569
|
+
if synthetic_test_update is not None:
|
|
570
|
+
_body_params = synthetic_test_update
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
# set the HTTP header `Accept`
|
|
574
|
+
if 'Accept' not in _header_params:
|
|
575
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
576
|
+
[
|
|
577
|
+
'application/json'
|
|
578
|
+
]
|
|
579
|
+
)
|
|
580
|
+
|
|
581
|
+
# set the HTTP header `Content-Type`
|
|
582
|
+
if _content_type:
|
|
583
|
+
_header_params['Content-Type'] = _content_type
|
|
584
|
+
else:
|
|
585
|
+
_default_content_type = (
|
|
586
|
+
self.api_client.select_header_content_type(
|
|
587
|
+
[
|
|
588
|
+
'application/json'
|
|
589
|
+
]
|
|
590
|
+
)
|
|
591
|
+
)
|
|
592
|
+
if _default_content_type is not None:
|
|
593
|
+
_header_params['Content-Type'] = _default_content_type
|
|
594
|
+
|
|
595
|
+
# authentication setting
|
|
596
|
+
_auth_settings: List[str] = [
|
|
597
|
+
'ApiKeyAuth'
|
|
598
|
+
]
|
|
599
|
+
|
|
600
|
+
return self.api_client.param_serialize(
|
|
601
|
+
method='POST',
|
|
602
|
+
resource_path='/api/synthetics/settings/tests/bulk-update',
|
|
603
|
+
path_params=_path_params,
|
|
604
|
+
query_params=_query_params,
|
|
605
|
+
header_params=_header_params,
|
|
606
|
+
body=_body_params,
|
|
607
|
+
post_params=_form_params,
|
|
608
|
+
files=_files,
|
|
609
|
+
auth_settings=_auth_settings,
|
|
610
|
+
collection_formats=_collection_formats,
|
|
611
|
+
_host=_host,
|
|
612
|
+
_request_auth=_request_auth
|
|
613
|
+
)
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
|
|
617
|
+
|
|
49
618
|
@validate_call
|
|
50
619
|
def create_synthetic_credential(
|
|
51
620
|
self,
|
instana_client/api/teams_api.py
CHANGED
instana_client/api/usage_api.py
CHANGED