From 76aab46180f1aca69a77ce8a25e441bf0d92c116 Mon Sep 17 00:00:00 2001 From: Jay Sharma Date: Fri, 23 Oct 2026 16:36:44 +0530 Subject: [PATCH 1/2] Update instana_client to release-328 --- .openapi-generator/FILES | 30 +- .openapi-generator/VERSION | 2 +- README.md | 50 +- docs/AbstractIntegration.md | 3 - docs/ApiGroupToTeamRoleMigration.md | 29 + ...plicationBatchBusinessCriticalityUpdate.md | 31 + docs/ApplicationSettingsApi.md | 86 +- docs/CallsEventResult.md | 28 + docs/GroupsApi.md | 363 ++- docs/IPFilteringApi.md | 28 +- docs/IdentityProviderPatch.md | 2 +- docs/LoggingAnalyzeApi.md | 437 ++- docs/LoggingPerspective.md | 33 + docs/Mapping.md | 33 + docs/MappingOverview.md | 33 + docs/RolesApi.md | 562 ++++ docs/SLOConfigurationsApi.md | 97 +- docs/SloHealthSnapshot.md | 31 + docs/SloHealthSnapshotItem.md | 41 + docs/SloReport.md | 4 + docs/TeamsApi.md | 562 ++++ docs/TestCommonProperties.md | 1 + docs/WebsiteMonitoringBeacon.md | 1 + docs/openapi-issues/filters.md | 112 + instana_client/__init__.py | 2639 +++++++++++++---- instana_client/api/__init__.py | 84 +- instana_client/api/action_catalog_api.py | 2 +- instana_client/api/action_history_api.py | 2 +- instana_client/api/ai_management_api.py | 2 +- instana_client/api/apdex_report_api.py | 2 +- instana_client/api/apdex_settings_api.py | 2 +- instana_client/api/api_token_api.py | 2 +- .../application_alert_configuration_api.py | 2 +- instana_client/api/application_analyze_api.py | 2 +- instana_client/api/application_catalog_api.py | 2 +- instana_client/api/application_metrics_api.py | 2 +- .../api/application_resources_api.py | 2 +- .../api/application_settings_api.py | 294 +- .../api/application_topology_api.py | 2 +- instana_client/api/audit_log_api.py | 2 +- instana_client/api/authentication_api.py | 2 +- instana_client/api/business_monitoring_api.py | 2 +- instana_client/api/custom_dashboards_api.py | 2 +- instana_client/api/custom_entities_api.py | 2 +- instana_client/api/default_api.py | 2 +- instana_client/api/end_user_monitoring_api.py | 2 +- instana_client/api/event_settings_api.py | 2 +- instana_client/api/events_api.py | 2 +- ...bal_application_alert_configuration_api.py | 2 +- instana_client/api/groups_api.py | 953 ++++-- instana_client/api/health_api.py | 2 +- instana_client/api/host_agent_api.py | 2 +- .../infrastructure_alert_configuration_api.py | 2 +- .../api/infrastructure_analyze_api.py | 2 +- .../api/infrastructure_catalog_api.py | 2 +- .../api/infrastructure_metrics_api.py | 2 +- .../api/infrastructure_resources_api.py | 2 +- .../api/infrastructure_topology_api.py | 2 +- instana_client/api/ip_filtering_api.py | 71 +- instana_client/api/llm_evaluation_api.py | 2 +- .../api/llm_price_configuration_api.py | 2 +- .../api/log_alert_configuration_api.py | 2 +- instana_client/api/logging_analyze_api.py | 1605 +++++++++- .../api/maintenance_configuration_api.py | 2 +- instana_client/api/mobile_app_analyze_api.py | 2 +- instana_client/api/mobile_app_catalog_api.py | 2 +- .../api/mobile_app_configuration_api.py | 2 +- instana_client/api/mobile_app_metrics_api.py | 2 +- .../api/mobile_app_session_replay_api.py | 2 +- instana_client/api/policies_api.py | 2 +- instana_client/api/releases_api.py | 2 +- instana_client/api/roles_api.py | 2171 +++++++++++++- .../service_levels_alert_configuration_api.py | 2 +- ...service_levels_objective_slo_report_api.py | 2 +- instana_client/api/session_settings_api.py | 2 +- instana_client/api/sli_report_api.py | 2 +- instana_client/api/sli_settings_api.py | 2 +- .../api/slo_catalog_for_mobile_app_api.py | 2 +- instana_client/api/slo_configurations_api.py | 390 ++- .../api/slo_correction_configurations_api.py | 2 +- .../api/slo_correction_windows_api.py | 2 +- .../api/synthetic_alert_configuration_api.py | 2 +- instana_client/api/synthetic_calls_api.py | 2 +- instana_client/api/synthetic_catalog_api.py | 2 +- instana_client/api/synthetic_metrics_api.py | 2 +- instana_client/api/synthetic_settings_api.py | 2 +- .../synthetic_test_playback_results_api.py | 2 +- instana_client/api/teams_api.py | 2185 ++++++++++++-- instana_client/api/usage_api.py | 2 +- instana_client/api/user_api.py | 2 +- instana_client/api/website_analyze_api.py | 2 +- instana_client/api/website_catalog_api.py | 2 +- .../api/website_configuration_api.py | 2 +- instana_client/api/website_metrics_api.py | 2 +- instana_client/api_client.py | 11 +- instana_client/configuration.py | 4 +- instana_client/exceptions.py | 2 +- instana_client/models/__init__.py | 606 +++- instana_client/models/abstract_integration.py | 39 +- instana_client/models/abstract_rule.py | 2 +- instana_client/models/access_rule.py | 2 +- instana_client/models/action.py | 2 +- instana_client/models/action_beacon.py | 2 +- instana_client/models/action_configuration.py | 2 +- instana_client/models/action_instance.py | 2 +- .../models/action_instance_metadata_entry.py | 2 +- .../models/action_instance_parameter.py | 2 +- .../models/action_instance_request.py | 2 +- .../action_instance_request_parameters.py | 2 +- instana_client/models/action_match.py | 2 +- instana_client/models/action_search_space.py | 2 +- instana_client/models/adaptive_baseline.py | 2 +- .../models/adaptive_threshold_rule.py | 2 +- instana_client/models/adjusted_timeframe.py | 2 +- .../advanced_custom_blueprint_indicator.py | 2 +- instana_client/models/advanced_filter.py | 2 +- .../models/agent_configuration_update.py | 2 +- instana_client/models/agent_mode_update.py | 2 +- .../models/alerting_configuration.py | 2 +- ...lerting_configuration_with_last_updated.py | 2 +- instana_client/models/alerting_time_window.py | 2 +- instana_client/models/apdex_alert_rule.py | 2 +- .../models/apdex_config_with_rbac_tag.py | 2 +- instana_client/models/apdex_configuration.py | 2 +- .../models/apdex_configuration_input.py | 2 +- instana_client/models/apdex_entity.py | 2 +- instana_client/models/apdex_level.py | 2 +- instana_client/models/apdex_report.py | 2 +- instana_client/models/api_create_group.py | 2 +- instana_client/models/api_create_role.py | 2 +- instana_client/models/api_group.py | 2 +- .../api_group_to_team_role_migration.py | 89 + instana_client/models/api_log_item.py | 2 +- instana_client/models/api_log_tag.py | 2 +- instana_client/models/api_member.py | 2 +- instana_client/models/api_permission_set.py | 2 +- .../api_restricted_application_filter.py | 2 +- instana_client/models/api_role.py | 2 +- instana_client/models/api_tag.py | 2 +- instana_client/models/api_team.py | 2 +- instana_client/models/api_team_info.py | 2 +- instana_client/models/api_team_member.py | 2 +- instana_client/models/api_team_role.py | 2 +- instana_client/models/api_team_scope.py | 2 +- instana_client/models/api_token.py | 2 +- .../models/app_data_metric_configuration.py | 2 +- instana_client/models/application.py | 2 +- .../models/application_alert_config.py | 2 +- .../application_alert_config_with_metadata.py | 2 +- .../models/application_alert_rule.py | 2 +- .../models/application_apdex_entity.py | 2 +- ...ation_batch_business_criticality_update.py | 93 + instana_client/models/application_config.py | 7 +- .../models/application_event_result.py | 2 +- instana_client/models/application_item.py | 2 +- .../models/application_metric_result.py | 2 +- instana_client/models/application_node.py | 2 +- instana_client/models/application_result.py | 2 +- instana_client/models/application_scope.py | 2 +- .../models/application_scope_with_metadata.py | 2 +- .../models/application_sli_entity.py | 2 +- .../models/application_slo_entity.py | 2 +- .../models/application_time_threshold.py | 2 +- .../models/audit_log_ui_response.py | 2 +- instana_client/models/author.py | 2 +- .../availability_blueprint_indicator.py | 2 +- .../models/availability_sli_entity.py | 2 +- instana_client/models/available_metrics.py | 2 +- instana_client/models/available_plugins.py | 2 +- .../models/backend_trace_reference.py | 2 +- .../bidirectional_ms_teams_app_integration.py | 7 +- .../bidirectional_slack_app_integration.py | 7 +- instana_client/models/binary_operator_dto.py | 2 +- .../models/browser_script_configuration.py | 2 +- .../browser_script_configuration_update.py | 2 +- .../models/built_in_event_specification.py | 2 +- ...n_event_specification_with_last_updated.py | 2 +- .../models/bulk_alert_config_request.py | 2 +- instana_client/models/business_activity.py | 2 +- .../models/business_perspective_config.py | 2 +- instana_client/models/call_groups_item.py | 2 +- instana_client/models/call_groups_result.py | 2 +- instana_client/models/call_relation.py | 2 +- instana_client/models/calls_event_result.py | 108 + instana_client/models/change_summary.py | 2 +- .../models/cloudfoundry_physical_context.py | 2 +- instana_client/models/condition.py | 2 +- instana_client/models/config_version.py | 2 +- instana_client/models/correction.py | 2 +- .../models/correction_configuration.py | 2 +- .../models/correction_scheduling.py | 2 +- instana_client/models/correction_window.py | 2 +- .../models/crash_mobile_app_alert_rule.py | 2 +- .../models/create_evaluation_request.py | 2 +- .../models/create_evaluation_response.py | 2 +- .../models/create_website_request_inner.py | 2 +- ...cursor_paginated_business_activity_item.py | 2 +- instana_client/models/cursor_pagination.py | 2 +- ...ion_with_ui_cursor_infra_explore_cursor.py | 2 +- .../models/custom_blueprint_indicator.py | 2 +- instana_client/models/custom_dashboard.py | 2 +- .../models/custom_dashboard_preview.py | 2 +- ...ashboard_with_user_specific_information.py | 2 +- instana_client/models/custom_dependency.py | 2 +- .../models/custom_email_subject_prefix.py | 2 +- instana_client/models/custom_entity_model.py | 2 +- .../models/custom_entity_with_metadata.py | 2 +- .../custom_event_mobile_app_alert_rule.py | 2 +- .../models/custom_event_specification.py | 2 +- ...m_event_specification_with_last_updated.py | 2 +- .../models/custom_event_website_alert_rule.py | 2 +- instana_client/models/custom_metric.py | 6 +- .../custom_metric_application_alert_rule.py | 2 +- .../models/custom_payload_configuration.py | 2 +- instana_client/models/custom_payload_field.py | 2 +- .../custom_payload_with_last_updated.py | 2 +- .../models/custom_payload_with_version.py | 2 +- instana_client/models/custom_tag.py | 6 +- instana_client/models/customer_email.py | 2 +- instana_client/models/dashboard_api_token.py | 2 +- instana_client/models/database_integration.py | 2 +- .../models/deprecated_tag_filter.py | 2 +- instana_client/models/dns_configuration.py | 2 +- .../models/dns_configuration_update.py | 2 +- .../models/dns_filter_query_time.py | 2 +- .../models/dns_filter_target_value.py | 2 +- instana_client/models/duration.py | 2 +- instana_client/models/dynamic_field.py | 2 +- instana_client/models/dynamic_field_value.py | 2 +- instana_client/models/dynamic_parameter.py | 2 +- instana_client/models/dynamic_tag.py | 2 +- instana_client/models/edit_user.py | 2 +- instana_client/models/email_integration.py | 7 +- instana_client/models/empty_configuration.py | 2 +- instana_client/models/endpoint.py | 2 +- instana_client/models/endpoint_config.py | 2 +- .../models/endpoint_event_result.py | 2 +- instana_client/models/endpoint_item.py | 2 +- .../models/endpoint_metric_result.py | 2 +- instana_client/models/endpoint_node.py | 2 +- instana_client/models/endpoint_result.py | 2 +- instana_client/models/endpoint_simple.py | 2 +- instana_client/models/entity_count_rule.py | 2 +- .../models/entity_count_verification_rule.py | 2 +- instana_client/models/entity_health_info.py | 2 +- instana_client/models/entity_id.py | 2 +- instana_client/models/entity_metric.py | 2 +- instana_client/models/entity_metric_scope.py | 2 +- .../models/entity_verification_rule.py | 2 +- .../models/error_budget_alert_rule.py | 2 +- .../models/errors_application_alert_rule.py | 2 +- .../models/evaluation_detail_response.py | 2 +- instana_client/models/evaluation_list_item.py | 2 +- .../models/evaluation_list_response.py | 2 +- instana_client/models/evaluator.py | 2 +- instana_client/models/event.py | 6 +- .../models/event_filtering_configuration.py | 2 +- instana_client/models/event_result.py | 11 +- .../models/event_specification_info.py | 2 +- instana_client/models/extended_service.py | 2 +- .../models/failure_synthetic_alert_rule.py | 2 +- instana_client/models/filter_interface.py | 2 +- .../fixed_http_path_segment_matching_rule.py | 2 +- instana_client/models/fixed_time_window.py | 2 +- .../models/gateway_status_response.py | 2 +- .../models/generic_infra_alert_rule.py | 2 +- .../models/geo_location_configuration.py | 2 +- instana_client/models/geo_mapping_rule.py | 2 +- instana_client/models/geo_subdivision.py | 2 +- .../models/get_action_beacons_result.py | 2 +- instana_client/models/get_activities.py | 2 +- .../models/get_application_metrics.py | 2 +- instana_client/models/get_applications.py | 2 +- .../models/get_available_metrics_query.py | 2 +- .../models/get_available_plugins_query.py | 2 +- instana_client/models/get_call_groups.py | 2 +- instana_client/models/get_combined_metrics.py | 2 +- .../models/get_dynamic_parameter_values.py | 2 +- instana_client/models/get_endpoints.py | 2 +- .../models/get_infrastructure_groups_query.py | 2 +- .../models/get_infrastructure_query.py | 2 +- instana_client/models/get_metrics_result.py | 2 +- .../models/get_mobile_app_beacon_groups.py | 2 +- .../models/get_mobile_app_beacons.py | 2 +- .../models/get_mobile_app_metrics.py | 2 +- .../models/get_mobile_app_metrics_v2.py | 2 +- .../models/get_payload_keys_result.py | 2 +- instana_client/models/get_services.py | 2 +- .../get_session_replay_metadata_result.py | 2 +- instana_client/models/get_snapshots_query.py | 2 +- instana_client/models/get_test_result.py | 2 +- .../models/get_test_result_analytic.py | 2 +- instana_client/models/get_test_result_base.py | 2 +- instana_client/models/get_test_result_list.py | 2 +- .../models/get_test_summary_result.py | 2 +- .../models/get_trace_download_result_item.py | 2 +- instana_client/models/get_trace_groups.py | 2 +- instana_client/models/get_traces.py | 2 +- .../models/get_website_beacon_groups.py | 2 +- instana_client/models/get_website_beacons.py | 2 +- instana_client/models/get_website_metrics.py | 2 +- .../models/get_website_metrics_v2.py | 2 +- .../models/git_hub_configuration.py | 2 +- ..._application_alert_config_with_metadata.py | 2 +- .../global_applications_alert_config.py | 2 +- .../models/google_chat_integration.py | 7 +- instana_client/models/graph_edge.py | 2 +- instana_client/models/graph_node.py | 2 +- instana_client/models/group.py | 2 +- instana_client/models/group_by_tag.py | 2 +- instana_client/models/health_state.py | 2 +- instana_client/models/historic_baseline.py | 2 +- .../models/host_availability_rule.py | 2 +- .../models/http_action_configuration.py | 2 +- .../http_action_configuration_update.py | 2 +- instana_client/models/http_endpoint_config.py | 2 +- instana_client/models/http_endpoint_rule.py | 2 +- .../models/http_path_segment_matching_rule.py | 2 +- .../models/http_script_configuration.py | 2 +- .../http_script_configuration_update.py | 2 +- instana_client/models/hyper_param.py | 2 +- instana_client/models/icmp_configuration.py | 2 +- .../models/icmp_configuration_update.py | 2 +- instana_client/models/icmp_validation.py | 2 +- .../models/identity_provider_patch.py | 4 +- instana_client/models/idp_status_update.py | 2 +- instana_client/models/impacted_beacon_info.py | 2 +- instana_client/models/infra_alert_config.py | 2 +- .../infra_alert_config_with_metadata.py | 2 +- instana_client/models/infra_alert_rule.py | 2 +- instana_client/models/infra_event_result.py | 2 +- instana_client/models/infra_slo_entity.py | 2 +- instana_client/models/infra_time_threshold.py | 2 +- .../models/infrastructure_entities_result.py | 2 +- instana_client/models/infrastructure_group.py | 2 +- .../models/infrastructure_groups_result.py | 2 +- instana_client/models/infrastructure_item.py | 2 +- .../models/infrastructure_metric_result.py | 2 +- instana_client/models/instana_version_info.py | 2 +- instana_client/models/integration_overview.py | 2 +- instana_client/models/invitation.py | 2 +- instana_client/models/invitation_response.py | 2 +- instana_client/models/invitation_result.py | 2 +- instana_client/models/ip_filtering.py | 2 +- .../models/ip_filtering_rule_dto.py | 2 +- instana_client/models/ip_filtering_upsert.py | 2 +- .../models/ip_masking_configuration.py | 2 +- instana_client/models/js_stack_trace_line.py | 2 +- .../models/kubernetes_physical_context.py | 2 +- .../models/latency_blueprint_indicator.py | 2 +- instana_client/models/llm_egress_gateway.py | 5 +- .../models/llm_gateway_capability.py | 2 +- instana_client/models/llm_gateway_model.py | 2 +- instana_client/models/llm_gateway_service.py | 2 +- .../llm_gateway_test_connection_request.py | 2 +- instana_client/models/llm_model_price.py | 2 +- .../models/llm_model_price_metadata.py | 2 +- instana_client/models/location_status.py | 2 +- instana_client/models/log_alert_config.py | 2 +- .../models/log_alert_config_with_metadata.py | 2 +- instana_client/models/log_alert_rule.py | 2 +- instana_client/models/log_count_alert_rule.py | 2 +- instana_client/models/log_event_result.py | 2 +- instana_client/models/log_time_threshold.py | 2 +- instana_client/models/log_volume_group.py | 2 +- .../models/log_volume_usage_item.py | 2 +- .../models/log_volume_usage_result.py | 2 +- instana_client/models/logging_perspective.py | 109 + instana_client/models/logs_api_response.py | 2 +- .../models/logs_application_alert_rule.py | 2 +- instana_client/models/logs_query.py | 4 +- instana_client/models/maintenance_config.py | 2 +- .../models/maintenance_config_scheduling.py | 2 +- .../models/maintenance_config_v2.py | 2 +- ...nce_config_v2_with_state_and_occurrence.py | 2 +- .../maintenance_config_with_last_updated.py | 2 +- instana_client/models/maintenance_window.py | 2 +- .../manual_alerting_channel_configuration.py | 2 +- instana_client/models/manual_close_info.py | 2 +- .../models/manual_service_config.py | 2 +- instana_client/models/mapping.py | 107 + instana_client/models/mapping_overview.py | 96 + ...tch_all_http_path_segment_matching_rule.py | 2 +- instana_client/models/match_expression_dto.py | 2 +- instana_client/models/meta_data.py | 2 +- instana_client/models/metric_api_result.py | 2 +- instana_client/models/metric_config.py | 2 +- instana_client/models/metric_configuration.py | 2 +- instana_client/models/metric_description.py | 2 +- instana_client/models/metric_field.py | 2 +- instana_client/models/metric_field_value.py | 2 +- instana_client/models/metric_instance.py | 2 +- instana_client/models/metric_item.py | 2 +- instana_client/models/metric_metadata.py | 6 +- instana_client/models/metric_pattern.py | 2 +- instana_client/models/metrics_result.py | 2 +- instana_client/models/metrics_result_item.py | 2 +- .../models/metrics_test_result_item.py | 2 +- instana_client/models/mobile_app.py | 2 +- .../models/mobile_app_alert_config.py | 2 +- .../mobile_app_alert_config_with_rbac_tag.py | 2 +- .../models/mobile_app_alert_rule.py | 2 +- .../models/mobile_app_beacon_groups_item.py | 2 +- .../models/mobile_app_beacon_groups_result.py | 2 +- .../models/mobile_app_beacon_result.py | 2 +- .../models/mobile_app_beacon_tag_group.py | 2 +- .../models/mobile_app_beacons_item.py | 2 +- .../models/mobile_app_event_result.py | 2 +- .../models/mobile_app_metric_result.py | 2 +- .../models/mobile_app_monitoring_beacon.py | 2 +- ...obile_app_monitoring_metric_description.py | 2 +- ...le_app_monitoring_metrics_configuration.py | 2 +- .../models/mobile_app_time_threshold.py | 2 +- instana_client/models/mobile_slo_entity.py | 2 +- instana_client/models/model_field.py | 2 +- .../models/monitored_entities_stats.py | 2 +- instana_client/models/monitoring_state.py | 2 +- .../models/multiple_scripts_configuration.py | 2 +- .../models/new_application_config.py | 7 +- .../models/new_business_perspective_config.py | 2 +- .../models/new_manual_service_config.py | 2 +- instana_client/models/notification.py | 2 +- instana_client/models/ns1_integration.py | 7 +- instana_client/models/o_auth_config.py | 2 +- instana_client/models/o_auth_integration.py | 2 +- instana_client/models/o_auth_token.py | 2 +- instana_client/models/occurrence.py | 2 +- .../models/office365_integration.py | 7 +- .../models/one_time_maintenance_window.py | 2 +- instana_client/models/opsgenie_integration.py | 7 +- instana_client/models/order.py | 2 +- .../models/pagerduty_integration.py | 7 +- instana_client/models/paginated_result.py | 2 +- instana_client/models/pagination.py | 2 +- instana_client/models/parameter.py | 2 +- instana_client/models/parameter_value.py | 2 +- ...rameter_http_path_segment_matching_rule.py | 2 +- instana_client/models/physical_context.py | 2 +- instana_client/models/plugin_result.py | 2 +- instana_client/models/policy.py | 2 +- instana_client/models/policy_runnable.py | 2 +- instana_client/models/policy_scheduling.py | 2 +- ...st_mobile_app_source_map_config_request.py | 2 +- .../models/post_snapshots_result.py | 2 +- instana_client/models/prefix_object.py | 2 +- instana_client/models/problem.py | 2 +- .../models/prometheus_webhook_integration.py | 7 +- instana_client/models/rbac_restrictions.py | 2 +- .../models/recurrent_maintenance_window.py | 2 +- instana_client/models/release.py | 2 +- instana_client/models/release_scope.py | 2 +- .../models/release_with_metadata.py | 2 +- instana_client/models/retention_period.py | 2 +- .../models/role_mapping_overview.py | 2 +- instana_client/models/rolling_time_window.py | 2 +- instana_client/models/rule_input.py | 2 +- ...e_with_threshold_application_alert_rule.py | 2 +- .../rule_with_threshold_infra_alert_rule.py | 2 +- .../rule_with_threshold_log_alert_rule.py | 2 +- ...le_with_threshold_mobile_app_alert_rule.py | 2 +- .../rule_with_threshold_website_alert_rule.py | 2 +- instana_client/models/run_configuration.py | 2 +- .../models/run_evaluation_response.py | 2 +- .../models/salesforce_integration.py | 7 +- instana_client/models/sampling_metadata.py | 2 +- .../models/saturation_blueprint_indicator.py | 2 +- instana_client/models/scope_binding.py | 2 +- instana_client/models/search_field_result.py | 2 +- instana_client/models/service.py | 2 +- instana_client/models/service_config.py | 2 +- instana_client/models/service_event_result.py | 2 +- instana_client/models/service_item.py | 2 +- .../models/service_level_indicator.py | 2 +- .../service_level_objective_alert_rule.py | 2 +- .../models/service_levels_alert_config.py | 2 +- ...rvice_levels_alert_config_with_rbac_tag.py | 2 +- .../models/service_levels_alert_rule.py | 2 +- .../models/service_levels_burn_rate_config.py | 2 +- .../service_levels_burn_rate_time_windows.py | 2 +- .../service_levels_static_threshold_config.py | 2 +- .../models/service_levels_time_threshold.py | 2 +- ...vice_levelse_alert_config_with_metadata.py | 2 +- instana_client/models/service_map.py | 2 +- .../models/service_map_connection.py | 2 +- .../models/service_matching_rule.py | 2 +- .../models/service_metric_result.py | 2 +- instana_client/models/service_node.py | 2 +- .../service_now_enhanced_integration.py | 7 +- .../models/service_now_integration.py | 7 +- instana_client/models/service_result.py | 2 +- instana_client/models/service_scope.py | 2 +- .../models/service_scope_with_metadata.py | 2 +- instana_client/models/service_scoped_to.py | 2 +- .../models/service_scoped_to_with_metadata.py | 2 +- instana_client/models/service_simple.py | 2 +- .../models/session_replay_metadata.py | 2 +- .../models/session_replay_timestamps.py | 2 +- instana_client/models/session_settings.py | 2 +- .../models/simple_metric_configuration.py | 2 +- instana_client/models/slack_integration.py | 7 +- instana_client/models/sli_configuration.py | 2 +- .../sli_configuration_with_last_updated.py | 2 +- instana_client/models/sli_entity.py | 2 +- instana_client/models/sli_report.py | 2 +- .../models/slo_config_with_rbac_tag.py | 2 +- instana_client/models/slo_entity.py | 2 +- instana_client/models/slo_health_snapshot.py | 100 + .../models/slo_health_snapshot_item.py | 117 + instana_client/models/slo_report.py | 14 +- .../models/slowness_application_alert_rule.py | 2 +- .../models/slowness_mobile_app_alert_rule.py | 2 +- .../models/slowness_website_alert_rule.py | 2 +- instana_client/models/snapshot_item.py | 2 +- instana_client/models/snapshot_preview.py | 2 +- instana_client/models/snapshot_result.py | 2 +- instana_client/models/software_user.py | 2 +- instana_client/models/software_version.py | 2 +- instana_client/models/source_map_file_blob.py | 2 +- instana_client/models/source_map_file_meta.py | 2 +- .../models/source_map_upload_config.py | 2 +- .../models/source_map_upload_configs.py | 2 +- instana_client/models/span_excerpt.py | 2 +- instana_client/models/span_relation.py | 2 +- .../specific_js_errors_website_alert_rule.py | 2 +- instana_client/models/splunk_integration.py | 7 +- .../models/ssl_certificate_configuration.py | 2 +- .../ssl_certificate_configuration_update.py | 2 +- .../models/ssl_certificate_validation.py | 2 +- instana_client/models/stack_trace_item.py | 2 +- instana_client/models/stack_trace_line.py | 2 +- .../models/static_baseline_threshold_rule.py | 2 +- instana_client/models/static_string_field.py | 2 +- instana_client/models/static_threshold.py | 2 +- .../models/static_threshold_rule.py | 2 +- .../status_code_application_alert_rule.py | 2 +- .../status_code_mobile_app_alert_rule.py | 2 +- .../models/status_code_website_alert_rule.py | 2 +- .../models/synthetic_alert_config.py | 2 +- .../synthetic_alert_config_with_metadata.py | 2 +- .../synthetic_alert_config_with_rbac_tag.py | 2 +- instana_client/models/synthetic_alert_rule.py | 2 +- .../models/synthetic_bulk_response.py | 2 +- .../models/synthetic_call_config.py | 2 +- instana_client/models/synthetic_call_rule.py | 2 +- .../synthetic_call_with_defaults_config.py | 2 +- .../models/synthetic_configuration.py | 2 +- .../models/synthetic_configuration_update.py | 2 +- instana_client/models/synthetic_credential.py | 2 +- instana_client/models/synthetic_datacenter.py | 2 +- .../synthetic_datacenter_configuration.py | 2 +- instana_client/models/synthetic_geo_point.py | 2 +- instana_client/models/synthetic_location.py | 2 +- .../synthetic_location_configuration.py | 2 +- .../models/synthetic_metric_configuration.py | 2 +- .../models/synthetic_metric_tag_group.py | 2 +- .../models/synthetic_playback_capabilities.py | 6 +- ...rget_value_list_dns_filter_target_value.py | 2 +- ...st_icmp_validation_list_icmp_validation.py | 2 +- ...st_network_profile_list_network_profile.py | 2 +- ...idation_list_ssl_certificate_validation.py | 2 +- ...resource_update_list_string_list_string.py | 2 +- ...ce_update_map_string_string_list_string.py | 2 +- instana_client/models/synthetic_slo_entity.py | 2 +- instana_client/models/synthetic_test.py | 2 +- instana_client/models/synthetic_test_cicd.py | 2 +- .../synthetic_test_cicd_customization.py | 2 +- .../models/synthetic_test_cicd_item.py | 2 +- .../models/synthetic_test_cicd_response.py | 2 +- .../models/synthetic_test_deep_update.py | 2 +- .../models/synthetic_test_shallow_update.py | 2 +- .../models/synthetic_test_update.py | 2 +- .../models/synthetic_time_threshold.py | 2 +- .../models/synthetic_type_configuration.py | 2 +- .../synthetic_type_configuration_update.py | 2 +- .../models/synthetics_event_result.py | 2 +- instana_client/models/system_rule.py | 2 +- instana_client/models/system_rule_label.py | 2 +- instana_client/models/tag.py | 2 +- instana_client/models/tag_catalog.py | 2 +- .../models/tag_filter_expression.py | 2 +- .../models/tag_filter_expression_element.py | 2 +- instana_client/models/tag_matcher_dto.py | 2 +- instana_client/models/tag_tree_level.py | 2 +- instana_client/models/tag_tree_node.py | 2 +- instana_client/models/tag_tree_tag.py | 2 +- .../models/test_common_properties.py | 6 +- .../models/test_connection_response.py | 2 +- instana_client/models/test_last_error.py | 2 +- instana_client/models/test_result.py | 2 +- .../models/test_result_common_properties.py | 2 +- .../models/test_result_detail_data.py | 2 +- instana_client/models/test_result_item.py | 2 +- .../models/test_result_list_item.py | 2 +- .../models/test_result_list_result.py | 2 +- instana_client/models/test_result_metadata.py | 2 +- .../models/test_result_subtransaction.py | 2 +- instana_client/models/threshold.py | 2 +- .../models/threshold_config_rule.py | 2 +- instana_client/models/threshold_rule.py | 2 +- .../throughput_application_alert_rule.py | 2 +- .../throughput_mobile_app_alert_rule.py | 2 +- .../models/throughput_website_alert_rule.py | 2 +- instana_client/models/time_config.py | 2 +- instana_client/models/time_frame.py | 2 +- instana_client/models/time_window.py | 2 +- instana_client/models/topology.py | 2 +- instana_client/models/trace.py | 2 +- .../trace_activity_tree_node_details.py | 2 +- .../models/trace_download_result.py | 2 +- instana_client/models/trace_groups_item.py | 2 +- instana_client/models/trace_groups_result.py | 2 +- ...trace_impact_application_time_threshold.py | 2 +- instana_client/models/trace_item.py | 2 +- instana_client/models/trace_result.py | 2 +- .../models/trace_sampling_config.py | 2 +- .../models/traffic_blueprint_indicator.py | 2 +- instana_client/models/trigger.py | 2 +- instana_client/models/type_configuration.py | 2 +- instana_client/models/unified_beacon.py | 2 +- ...pported_http_path_segment_matching_rule.py | 2 +- .../models/update_evaluation_request.py | 2 +- .../updated_business_perspective_config.py | 2 +- instana_client/models/usage_result.py | 2 +- instana_client/models/usage_result_items.py | 2 +- instana_client/models/user_basic_result.py | 2 +- .../user_impact_mobile_app_time_threshold.py | 2 +- .../user_impact_website_time_threshold.py | 2 +- instana_client/models/user_result.py | 2 +- instana_client/models/users_result.py | 2 +- .../validated_alerting_channel_input_info.py | 6 +- .../validated_alerting_configuration.py | 2 +- ...nce_config_v2_with_state_and_occurrence.py | 2 +- ...alidated_maintenance_config_with_status.py | 2 +- .../models/victor_ops_integration.py | 7 +- ...ns_in_period_application_time_threshold.py | 2 +- ...ons_in_period_mobile_app_time_threshold.py | 2 +- ...ations_in_period_website_time_threshold.py | 2 +- ..._in_sequence_application_time_threshold.py | 2 +- ...ations_in_sequence_infra_time_threshold.py | 2 +- ...olations_in_sequence_log_time_threshold.py | 2 +- ...s_in_sequence_mobile_app_time_threshold.py | 2 +- ...ns_in_sequence_synthetic_time_threshold.py | 2 +- ...ions_in_sequence_website_time_threshold.py | 2 +- .../watson_ai_ops_webhook_integration.py | 7 +- .../models/webex_teams_webhook_integration.py | 7 +- instana_client/models/webhook_integration.py | 7 +- .../models/webpage_action_configuration.py | 2 +- .../webpage_action_configuration_update.py | 2 +- .../models/webpage_script_configuration.py | 2 +- .../webpage_script_configuration_update.py | 2 +- instana_client/models/website.py | 2 +- instana_client/models/website_alert_config.py | 2 +- .../website_alert_config_with_metadata.py | 2 +- .../website_alert_config_with_rbac_tag.py | 2 +- instana_client/models/website_alert_rule.py | 2 +- instana_client/models/website_apdex_entity.py | 2 +- .../models/website_beacon_groups_item.py | 2 +- .../models/website_beacon_groups_result.py | 2 +- .../models/website_beacon_result.py | 2 +- .../models/website_beacon_tag_group.py | 2 +- instana_client/models/website_beacons_item.py | 2 +- .../models/website_event_based_sli_entity.py | 2 +- instana_client/models/website_event_result.py | 2 +- .../models/website_metric_result.py | 2 +- .../models/website_monitoring_beacon.py | 6 +- .../website_monitoring_metric_description.py | 2 +- ...ebsite_monitoring_metrics_configuration.py | 2 +- instana_client/models/website_slo_entity.py | 2 +- .../models/website_time_based_sli_entity.py | 2 +- .../models/website_time_threshold.py | 2 +- instana_client/models/widget.py | 2 +- instana_client/models/with_meta_data.py | 2 +- instana_client/models/with_resolved_name.py | 2 +- .../models/z_chat_ops_integration.py | 7 +- instana_client/rest.py | 2 +- openapi.yaml | 1156 +++++++- requirements.txt | 1 + setup.py | 3 +- test/test_api_group_to_team_role_migration.py | 53 + ...ation_batch_business_criticality_update.py | 60 + test/test_calls_event_result.py | 51 + test/test_logging_perspective.py | 59 + test/test_mapping.py | 59 + test/test_mapping_overview.py | 56 + test/test_slo_health_snapshot.py | 73 + test/test_slo_health_snapshot_item.py | 66 + 686 files changed, 15024 insertions(+), 2508 deletions(-) create mode 100644 docs/ApiGroupToTeamRoleMigration.md create mode 100644 docs/ApplicationBatchBusinessCriticalityUpdate.md create mode 100644 docs/CallsEventResult.md create mode 100644 docs/LoggingPerspective.md create mode 100644 docs/Mapping.md create mode 100644 docs/MappingOverview.md create mode 100644 docs/SloHealthSnapshot.md create mode 100644 docs/SloHealthSnapshotItem.md create mode 100644 docs/openapi-issues/filters.md create mode 100644 instana_client/models/api_group_to_team_role_migration.py create mode 100644 instana_client/models/application_batch_business_criticality_update.py create mode 100644 instana_client/models/calls_event_result.py create mode 100644 instana_client/models/logging_perspective.py create mode 100644 instana_client/models/mapping.py create mode 100644 instana_client/models/mapping_overview.py create mode 100644 instana_client/models/slo_health_snapshot.py create mode 100644 instana_client/models/slo_health_snapshot_item.py create mode 100644 test/test_api_group_to_team_role_migration.py create mode 100644 test/test_application_batch_business_criticality_update.py create mode 100644 test/test_calls_event_result.py create mode 100644 test/test_logging_perspective.py create mode 100644 test/test_mapping.py create mode 100644 test/test_mapping_overview.py create mode 100644 test/test_slo_health_snapshot.py create mode 100644 test/test_slo_health_snapshot_item.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 289d5923..180d7b4d 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -41,6 +41,7 @@ docs/ApdexSettingsApi.md docs/ApiCreateGroup.md docs/ApiCreateRole.md docs/ApiGroup.md +docs/ApiGroupToTeamRoleMigration.md docs/ApiLogItem.md docs/ApiLogTag.md docs/ApiMember.md @@ -62,6 +63,7 @@ docs/ApplicationAlertConfigurationApi.md docs/ApplicationAlertRule.md docs/ApplicationAnalyzeApi.md docs/ApplicationApdexEntity.md +docs/ApplicationBatchBusinessCriticalityUpdate.md docs/ApplicationCatalogApi.md docs/ApplicationConfig.md docs/ApplicationEventResult.md @@ -101,6 +103,7 @@ docs/BusinessPerspectiveConfig.md docs/CallGroupsItem.md docs/CallGroupsResult.md docs/CallRelation.md +docs/CallsEventResult.md docs/ChangeSummary.md docs/CloudfoundryPhysicalContext.md docs/Condition.md @@ -234,8 +237,6 @@ docs/GraphEdge.md docs/GraphNode.md docs/Group.md docs/GroupByTag.md -docs/GroupMapping.md -docs/GroupMappingOverview.md docs/GroupsApi.md docs/HealthApi.md docs/HealthState.md @@ -307,6 +308,7 @@ docs/LogVolumeGroup.md docs/LogVolumeUsageItem.md docs/LogVolumeUsageResult.md docs/LoggingAnalyzeApi.md +docs/LoggingPerspective.md docs/LogsApiResponse.md docs/LogsApplicationAlertRule.md docs/LogsQuery.md @@ -320,6 +322,8 @@ docs/MaintenanceWindow.md docs/ManualAlertingChannelConfiguration.md docs/ManualCloseInfo.md docs/ManualServiceConfig.md +docs/Mapping.md +docs/MappingOverview.md docs/MatchAllHttpPathSegmentMatchingRule.md docs/MatchExpressionDTO.md docs/MetaData.md @@ -464,6 +468,8 @@ docs/SliConfigurationWithLastUpdated.md docs/SliEntity.md docs/SliReport.md docs/SloEntity.md +docs/SloHealthSnapshot.md +docs/SloHealthSnapshotItem.md docs/SloReport.md docs/SlownessApplicationAlertRule.md docs/SlownessMobileAppAlertRule.md @@ -750,6 +756,7 @@ instana_client/models/apdex_report.py instana_client/models/api_create_group.py instana_client/models/api_create_role.py instana_client/models/api_group.py +instana_client/models/api_group_to_team_role_migration.py instana_client/models/api_log_item.py instana_client/models/api_log_tag.py instana_client/models/api_member.py @@ -769,6 +776,7 @@ instana_client/models/application_alert_config.py instana_client/models/application_alert_config_with_metadata.py instana_client/models/application_alert_rule.py instana_client/models/application_apdex_entity.py +instana_client/models/application_batch_business_criticality_update.py instana_client/models/application_config.py instana_client/models/application_event_result.py instana_client/models/application_item.py @@ -800,6 +808,7 @@ instana_client/models/business_perspective_config.py instana_client/models/call_groups_item.py instana_client/models/call_groups_result.py instana_client/models/call_relation.py +instana_client/models/calls_event_result.py instana_client/models/change_summary.py instana_client/models/cloudfoundry_physical_context.py instana_client/models/condition.py @@ -926,8 +935,6 @@ instana_client/models/graph_edge.py instana_client/models/graph_node.py instana_client/models/group.py instana_client/models/group_by_tag.py -instana_client/models/group_mapping.py -instana_client/models/group_mapping_overview.py instana_client/models/health_state.py instana_client/models/historic_baseline.py instana_client/models/host_availability_rule.py @@ -985,6 +992,7 @@ instana_client/models/log_time_threshold.py instana_client/models/log_volume_group.py instana_client/models/log_volume_usage_item.py instana_client/models/log_volume_usage_result.py +instana_client/models/logging_perspective.py instana_client/models/logs_api_response.py instana_client/models/logs_application_alert_rule.py instana_client/models/logs_query.py @@ -997,6 +1005,8 @@ instana_client/models/maintenance_window.py instana_client/models/manual_alerting_channel_configuration.py instana_client/models/manual_close_info.py instana_client/models/manual_service_config.py +instana_client/models/mapping.py +instana_client/models/mapping_overview.py instana_client/models/match_all_http_path_segment_matching_rule.py instana_client/models/match_expression_dto.py instana_client/models/meta_data.py @@ -1121,6 +1131,8 @@ instana_client/models/sli_entity.py instana_client/models/sli_report.py instana_client/models/slo_config_with_rbac_tag.py instana_client/models/slo_entity.py +instana_client/models/slo_health_snapshot.py +instana_client/models/slo_health_snapshot_item.py instana_client/models/slo_report.py instana_client/models/slowness_application_alert_rule.py instana_client/models/slowness_mobile_app_alert_rule.py @@ -1294,6 +1306,12 @@ setup.cfg setup.py test-requirements.txt test/__init__.py -test/test_synthetic_resource_update_list_network_profile_list_network_profile.py -test/test_unified_beacon.py +test/test_api_group_to_team_role_migration.py +test/test_application_batch_business_criticality_update.py +test/test_calls_event_result.py +test/test_logging_perspective.py +test/test_mapping.py +test/test_mapping_overview.py +test/test_slo_health_snapshot.py +test/test_slo_health_snapshot_item.py tox.ini diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index eb1dc6a5..368fd8fd 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.13.0 +7.15.0 diff --git a/README.md b/README.md index c1f290bb..ad297e56 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,9 @@ Documentation for INSTANA REST API This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 1.326.1571 +- API version: 1.328.1128 +- Package version: 1.1.3 +- Generator version: 7.15.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit [http://instana.com](http://instana.com) @@ -166,6 +168,7 @@ Class | Method | HTTP request | Description *ApplicationSettingsApi* | [**add_application_config**](docs/ApplicationSettingsApi.md#add_application_config) | **POST** /api/application-monitoring/settings/application | Add application configuration *ApplicationSettingsApi* | [**add_manual_service_config**](docs/ApplicationSettingsApi.md#add_manual_service_config) | **POST** /api/application-monitoring/settings/manual-service | Add manual service configuration *ApplicationSettingsApi* | [**add_service_config**](docs/ApplicationSettingsApi.md#add_service_config) | **POST** /api/application-monitoring/settings/service | Add service configuration +*ApplicationSettingsApi* | [**batch_update_application_business_criticality**](docs/ApplicationSettingsApi.md#batch_update_application_business_criticality) | **PATCH** /api/application-monitoring/settings/application/batch-business-criticality | Batch update application business criticality *ApplicationSettingsApi* | [**create_endpoint_config**](docs/ApplicationSettingsApi.md#create_endpoint_config) | **POST** /api/application-monitoring/settings/endpoint | Create endpoint configuration *ApplicationSettingsApi* | [**create_http_endpoint_config**](docs/ApplicationSettingsApi.md#create_http_endpoint_config) | **POST** /api/application-monitoring/settings/http-endpoint | Create HTTP endpoint configuration *ApplicationSettingsApi* | [**delete_application_config**](docs/ApplicationSettingsApi.md#delete_application_config) | **DELETE** /api/application-monitoring/settings/application/{id} | Delete application configuration @@ -308,21 +311,22 @@ Class | Method | HTTP request | Description *GroupsApi* | [**add_permissions_on_group**](docs/GroupsApi.md#add_permissions_on_group) | **PUT** /api/settings/rbac/groups/{groupId}/permissions | Add permissions to group *GroupsApi* | [**add_users_to_group**](docs/GroupsApi.md#add_users_to_group) | **PUT** /api/settings/rbac/groups/{groupId}/users | Add users to group *GroupsApi* | [**create_group**](docs/GroupsApi.md#create_group) | **POST** /api/settings/rbac/groups | Create group -*GroupsApi* | [**create_group_mapping**](docs/GroupsApi.md#create_group_mapping) | **POST** /api/settings/rbac/mappings | Create group mapping +*GroupsApi* | [**create_mapping**](docs/GroupsApi.md#create_mapping) | **POST** /api/settings/rbac/mappings | Create mapping *GroupsApi* | [**delete_group**](docs/GroupsApi.md#delete_group) | **DELETE** /api/settings/rbac/groups/{id} | Delete group -*GroupsApi* | [**delete_group_mapping**](docs/GroupsApi.md#delete_group_mapping) | **DELETE** /api/settings/rbac/mappings/{id} | Delete group mapping *GroupsApi* | [**delete_groups**](docs/GroupsApi.md#delete_groups) | **PUT** /api/settings/rbac/groups/delete | Delete groups +*GroupsApi* | [**delete_mapping**](docs/GroupsApi.md#delete_mapping) | **DELETE** /api/settings/rbac/mappings/{id} | Delete mapping *GroupsApi* | [**get_group**](docs/GroupsApi.md#get_group) | **GET** /api/settings/rbac/groups/{id} | Get group -*GroupsApi* | [**get_group_mapping**](docs/GroupsApi.md#get_group_mapping) | **GET** /api/settings/rbac/mappings/{id} | Get group mapping -*GroupsApi* | [**get_group_mappings**](docs/GroupsApi.md#get_group_mappings) | **GET** /api/settings/rbac/mappings | Get all group mappings -*GroupsApi* | [**get_group_mappings_overview**](docs/GroupsApi.md#get_group_mappings_overview) | **GET** /api/settings/rbac/mappings/overview | Get all group mappings overview *GroupsApi* | [**get_groups**](docs/GroupsApi.md#get_groups) | **GET** /api/settings/rbac/groups | Get groups *GroupsApi* | [**get_groups_by_user**](docs/GroupsApi.md#get_groups_by_user) | **GET** /api/settings/rbac/groups/user/{email} | Get groups of a single user -*GroupsApi* | [**get_identity_provider_patch**](docs/GroupsApi.md#get_identity_provider_patch) | **GET** /api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups | Check user restrictions for empty Idp group mapping +*GroupsApi* | [**get_identity_provider_patch**](docs/GroupsApi.md#get_identity_provider_patch) | **GET** /api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups | Check user restrictions for empty Idp mapping +*GroupsApi* | [**get_mapping**](docs/GroupsApi.md#get_mapping) | **GET** /api/settings/rbac/mappings/{id} | Get mapping +*GroupsApi* | [**get_mappings**](docs/GroupsApi.md#get_mappings) | **GET** /api/settings/rbac/mappings | Get all mappings +*GroupsApi* | [**get_mappings_overview**](docs/GroupsApi.md#get_mappings_overview) | **GET** /api/settings/rbac/mappings/overview | Get all mappings overview +*GroupsApi* | [**migrate_group_to_team_and_role**](docs/GroupsApi.md#migrate_group_to_team_and_role) | **PUT** /api/settings/rbac/groups/{id}/migrateToTeams | Migrate a legacy RBAC group to the Team and Role model *GroupsApi* | [**remove_user_from_group**](docs/GroupsApi.md#remove_user_from_group) | **DELETE** /api/settings/rbac/groups/{id}/user/{userId} | Remove user from group *GroupsApi* | [**update_group**](docs/GroupsApi.md#update_group) | **PUT** /api/settings/rbac/groups/{id} | Update group -*GroupsApi* | [**update_group_mapping**](docs/GroupsApi.md#update_group_mapping) | **PUT** /api/settings/rbac/mappings/{id} | Update group mapping *GroupsApi* | [**update_identity_provider**](docs/GroupsApi.md#update_identity_provider) | **PUT** /api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups | Allow/Restrict users with empty Idp group mapping +*GroupsApi* | [**update_mapping**](docs/GroupsApi.md#update_mapping) | **PUT** /api/settings/rbac/mappings/{id} | Update mapping *HealthApi* | [**get_health_state**](docs/HealthApi.md#get_health_state) | **GET** /api/instana/health | Basic health traffic light *HealthApi* | [**get_version**](docs/HealthApi.md#get_version) | **GET** /api/instana/version | API version information *HostAgentApi* | [**get_agent_clr_logs**](docs/HostAgentApi.md#get_agent_clr_logs) | **GET** /api/host-agent/{hostId}/clr-logs | Agent CLR download logs @@ -410,8 +414,13 @@ Class | Method | HTTP request | Description *LogAlertConfigurationApi* | [**find_log_alert_config_versions**](docs/LogAlertConfigurationApi.md#find_log_alert_config_versions) | **GET** /api/events/settings/global-alert-configs/logs/{id}/versions | Get versions of Log Alert Config *LogAlertConfigurationApi* | [**restore_log_alert_config**](docs/LogAlertConfigurationApi.md#restore_log_alert_config) | **PUT** /api/events/settings/global-alert-configs/logs/{id}/restore/{created} | Restore Log Alert Config *LogAlertConfigurationApi* | [**update_log_alert_config**](docs/LogAlertConfigurationApi.md#update_log_alert_config) | **POST** /api/events/settings/global-alert-configs/logs/{id} | Update Log Alert Config +*LoggingAnalyzeApi* | [**create_logging_perspective**](docs/LoggingAnalyzeApi.md#create_logging_perspective) | **POST** /api/logging/perspective/v1 | Create Log Perspective +*LoggingAnalyzeApi* | [**delete_logging_perspective**](docs/LoggingAnalyzeApi.md#delete_logging_perspective) | **DELETE** /api/logging/perspective/v1/{perspectiveId} | Delete Log Perspective +*LoggingAnalyzeApi* | [**get_all_logging_perspectives**](docs/LoggingAnalyzeApi.md#get_all_logging_perspectives) | **GET** /api/logging/perspective/v1 | Get All Log Perspectives *LoggingAnalyzeApi* | [**get_log_volume_usage**](docs/LoggingAnalyzeApi.md#get_log_volume_usage) | **GET** /api/logging/logs/getLogVolumeUsage | Get Log Volume Usage +*LoggingAnalyzeApi* | [**get_logging_perspective**](docs/LoggingAnalyzeApi.md#get_logging_perspective) | **GET** /api/logging/perspective/v1/{perspectiveId} | Get Log Perspective *LoggingAnalyzeApi* | [**get_logs**](docs/LoggingAnalyzeApi.md#get_logs) | **POST** /api/logging/logs/getLogs/v1 | Retrieve logs via REST API +*LoggingAnalyzeApi* | [**update_logging_perspective**](docs/LoggingAnalyzeApi.md#update_logging_perspective) | **PUT** /api/logging/perspective/v1/{perspectiveId} | Update Log Perspective *MaintenanceConfigurationApi* | [**delete_maintenance_config**](docs/MaintenanceConfigurationApi.md#delete_maintenance_config) | **DELETE** /api/settings/maintenance/{id} | Delete maintenance configuration *MaintenanceConfigurationApi* | [**delete_maintenance_config_v2**](docs/MaintenanceConfigurationApi.md#delete_maintenance_config_v2) | **DELETE** /api/settings/v2/maintenance/{id} | Delete maintenance configuration *MaintenanceConfigurationApi* | [**get_maintenance_config**](docs/MaintenanceConfigurationApi.md#get_maintenance_config) | **GET** /api/settings/maintenance/{id} | Maintenance configuration @@ -466,11 +475,18 @@ Class | Method | HTTP request | Description *ReleasesApi* | [**get_release**](docs/ReleasesApi.md#get_release) | **GET** /api/releases/{releaseId} | Get release *ReleasesApi* | [**post_release**](docs/ReleasesApi.md#post_release) | **POST** /api/releases | Create release *ReleasesApi* | [**put_release**](docs/ReleasesApi.md#put_release) | **PUT** /api/releases/{releaseId} | Update release +*RolesApi* | [**create_mapping**](docs/RolesApi.md#create_mapping) | **POST** /api/settings/rbac/mappings | Create mapping *RolesApi* | [**create_role**](docs/RolesApi.md#create_role) | **POST** /api/settings/rbac/roles | Create role +*RolesApi* | [**delete_mapping**](docs/RolesApi.md#delete_mapping) | **DELETE** /api/settings/rbac/mappings/{id} | Delete mapping *RolesApi* | [**delete_role**](docs/RolesApi.md#delete_role) | **DELETE** /api/settings/rbac/roles/{id} | Delete role +*RolesApi* | [**get_identity_provider_patch**](docs/RolesApi.md#get_identity_provider_patch) | **GET** /api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups | Check user restrictions for empty Idp mapping +*RolesApi* | [**get_mapping**](docs/RolesApi.md#get_mapping) | **GET** /api/settings/rbac/mappings/{id} | Get mapping +*RolesApi* | [**get_mappings**](docs/RolesApi.md#get_mappings) | **GET** /api/settings/rbac/mappings | Get all mappings +*RolesApi* | [**get_mappings_overview**](docs/RolesApi.md#get_mappings_overview) | **GET** /api/settings/rbac/mappings/overview | Get all mappings overview *RolesApi* | [**get_role**](docs/RolesApi.md#get_role) | **GET** /api/settings/rbac/roles/{id} | Get role by ID *RolesApi* | [**get_role_mappings**](docs/RolesApi.md#get_role_mappings) | **GET** /api/settings/rbac/roles/{roleId}/mappings | Get role mappings *RolesApi* | [**get_roles**](docs/RolesApi.md#get_roles) | **GET** /api/settings/rbac/roles | Get all roles +*RolesApi* | [**update_mapping**](docs/RolesApi.md#update_mapping) | **PUT** /api/settings/rbac/mappings/{id} | Update mapping *RolesApi* | [**update_role**](docs/RolesApi.md#update_role) | **PUT** /api/settings/rbac/roles/{id} | Update role *SLIReportApi* | [**get_sli**](docs/SLIReportApi.md#get_sli) | **GET** /api/sli/report/{sliId} | Generate SLI report (Limitation: the Classic Edition API report can be available one hour after the SLI configuration created; other editions are around one minute.) *SLISettingsApi* | [**create_sli_config**](docs/SLISettingsApi.md#create_sli_config) | **POST** /api/settings/sli | Create SLI Config @@ -490,6 +506,7 @@ Class | Method | HTTP request | Description *SLOConfigurationsApi* | [**get_all_slo_config_tags**](docs/SLOConfigurationsApi.md#get_all_slo_config_tags) | **GET** /api/settings/slo/tags | Get All SLO Config tags *SLOConfigurationsApi* | [**get_all_slo_configs**](docs/SLOConfigurationsApi.md#get_all_slo_configs) | **GET** /api/settings/slo | Get All SLO Configs *SLOConfigurationsApi* | [**get_slo_config_by_id**](docs/SLOConfigurationsApi.md#get_slo_config_by_id) | **GET** /api/settings/slo/{id} | Get an existing SLO Config +*SLOConfigurationsApi* | [**get_slo_health_snapshot**](docs/SLOConfigurationsApi.md#get_slo_health_snapshot) | **GET** /api/settings/slo/health-snapshot | Get SLO Health Snapshot *SLOConfigurationsApi* | [**update_slo_config**](docs/SLOConfigurationsApi.md#update_slo_config) | **PUT** /api/settings/slo/{id} | Update an existing SLO Config *SLOCorrectionConfigurationsApi* | [**create_slo_correction_window_config**](docs/SLOCorrectionConfigurationsApi.md#create_slo_correction_window_config) | **POST** /api/settings/correction | Create a new SLO Correction Window Config *SLOCorrectionConfigurationsApi* | [**delete_slo_correction_window_config**](docs/SLOCorrectionConfigurationsApi.md#delete_slo_correction_window_config) | **DELETE** /api/settings/correction/{id} | Delete an existing SLO Correction Window Configuration @@ -565,11 +582,18 @@ Class | Method | HTTP request | Description *SyntheticTestPlaybackResultsApi* | [**get_synthetic_result_list**](docs/SyntheticTestPlaybackResultsApi.md#get_synthetic_result_list) | **POST** /api/synthetics/results/list | Get a list of Synthetic test playback results *SyntheticTestPlaybackResultsApi* | [**get_synthetic_result_metadata**](docs/SyntheticTestPlaybackResultsApi.md#get_synthetic_result_metadata) | **GET** /api/synthetics/results/{testid}/{testresultid} | Get Synthetic test playback detail result description(metadata) *SyntheticTestPlaybackResultsApi* | [**get_test_summary_list**](docs/SyntheticTestPlaybackResultsApi.md#get_test_summary_list) | **POST** /api/synthetics/results/testsummarylist | Get a list of Synthetic tests with success rate and average response time data +*TeamsApi* | [**create_mapping**](docs/TeamsApi.md#create_mapping) | **POST** /api/settings/rbac/mappings | Create mapping *TeamsApi* | [**create_team**](docs/TeamsApi.md#create_team) | **POST** /api/settings/rbac/teams | Create team +*TeamsApi* | [**delete_mapping**](docs/TeamsApi.md#delete_mapping) | **DELETE** /api/settings/rbac/mappings/{id} | Delete mapping *TeamsApi* | [**delete_team**](docs/TeamsApi.md#delete_team) | **DELETE** /api/settings/rbac/teams/{id} | Delete team +*TeamsApi* | [**get_identity_provider_patch**](docs/TeamsApi.md#get_identity_provider_patch) | **GET** /api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups | Check user restrictions for empty Idp mapping +*TeamsApi* | [**get_mapping**](docs/TeamsApi.md#get_mapping) | **GET** /api/settings/rbac/mappings/{id} | Get mapping +*TeamsApi* | [**get_mappings**](docs/TeamsApi.md#get_mappings) | **GET** /api/settings/rbac/mappings | Get all mappings +*TeamsApi* | [**get_mappings_overview**](docs/TeamsApi.md#get_mappings_overview) | **GET** /api/settings/rbac/mappings/overview | Get all mappings overview *TeamsApi* | [**get_team**](docs/TeamsApi.md#get_team) | **GET** /api/settings/rbac/teams/{id} | Get team by ID *TeamsApi* | [**get_team_role_mappings**](docs/TeamsApi.md#get_team_role_mappings) | **GET** /api/settings/rbac/teams/{teamId}/mappings | Get team role mappings *TeamsApi* | [**get_teams**](docs/TeamsApi.md#get_teams) | **GET** /api/settings/rbac/teams | Get all teams +*TeamsApi* | [**update_mapping**](docs/TeamsApi.md#update_mapping) | **PUT** /api/settings/rbac/mappings/{id} | Update mapping *TeamsApi* | [**update_team**](docs/TeamsApi.md#update_team) | **PUT** /api/settings/rbac/teams/{id} | Update team *UsageApi* | [**get_all_usage**](docs/UsageApi.md#get_all_usage) | **GET** /api/instana/usage/api | API usage by customer *UsageApi* | [**get_hosts_per_day**](docs/UsageApi.md#get_hosts_per_day) | **GET** /api/instana/usage/hosts/{day}/{month}/{year} | Host count day / month / year @@ -675,6 +699,7 @@ Class | Method | HTTP request | Description - [ApiCreateGroup](docs/ApiCreateGroup.md) - [ApiCreateRole](docs/ApiCreateRole.md) - [ApiGroup](docs/ApiGroup.md) + - [ApiGroupToTeamRoleMigration](docs/ApiGroupToTeamRoleMigration.md) - [ApiLogItem](docs/ApiLogItem.md) - [ApiLogTag](docs/ApiLogTag.md) - [ApiMember](docs/ApiMember.md) @@ -694,6 +719,7 @@ Class | Method | HTTP request | Description - [ApplicationAlertConfigWithMetadata](docs/ApplicationAlertConfigWithMetadata.md) - [ApplicationAlertRule](docs/ApplicationAlertRule.md) - [ApplicationApdexEntity](docs/ApplicationApdexEntity.md) + - [ApplicationBatchBusinessCriticalityUpdate](docs/ApplicationBatchBusinessCriticalityUpdate.md) - [ApplicationConfig](docs/ApplicationConfig.md) - [ApplicationEventResult](docs/ApplicationEventResult.md) - [ApplicationItem](docs/ApplicationItem.md) @@ -725,6 +751,7 @@ Class | Method | HTTP request | Description - [CallGroupsItem](docs/CallGroupsItem.md) - [CallGroupsResult](docs/CallGroupsResult.md) - [CallRelation](docs/CallRelation.md) + - [CallsEventResult](docs/CallsEventResult.md) - [ChangeSummary](docs/ChangeSummary.md) - [CloudfoundryPhysicalContext](docs/CloudfoundryPhysicalContext.md) - [Condition](docs/Condition.md) @@ -851,8 +878,6 @@ Class | Method | HTTP request | Description - [GraphNode](docs/GraphNode.md) - [Group](docs/Group.md) - [GroupByTag](docs/GroupByTag.md) - - [GroupMapping](docs/GroupMapping.md) - - [GroupMappingOverview](docs/GroupMappingOverview.md) - [HealthState](docs/HealthState.md) - [HistoricBaseline](docs/HistoricBaseline.md) - [HostAvailabilityRule](docs/HostAvailabilityRule.md) @@ -910,6 +935,7 @@ Class | Method | HTTP request | Description - [LogVolumeGroup](docs/LogVolumeGroup.md) - [LogVolumeUsageItem](docs/LogVolumeUsageItem.md) - [LogVolumeUsageResult](docs/LogVolumeUsageResult.md) + - [LoggingPerspective](docs/LoggingPerspective.md) - [LogsApiResponse](docs/LogsApiResponse.md) - [LogsApplicationAlertRule](docs/LogsApplicationAlertRule.md) - [LogsQuery](docs/LogsQuery.md) @@ -922,6 +948,8 @@ Class | Method | HTTP request | Description - [ManualAlertingChannelConfiguration](docs/ManualAlertingChannelConfiguration.md) - [ManualCloseInfo](docs/ManualCloseInfo.md) - [ManualServiceConfig](docs/ManualServiceConfig.md) + - [Mapping](docs/Mapping.md) + - [MappingOverview](docs/MappingOverview.md) - [MatchAllHttpPathSegmentMatchingRule](docs/MatchAllHttpPathSegmentMatchingRule.md) - [MatchExpressionDTO](docs/MatchExpressionDTO.md) - [MetaData](docs/MetaData.md) @@ -1049,6 +1077,8 @@ Class | Method | HTTP request | Description - [SliEntity](docs/SliEntity.md) - [SliReport](docs/SliReport.md) - [SloEntity](docs/SloEntity.md) + - [SloHealthSnapshot](docs/SloHealthSnapshot.md) + - [SloHealthSnapshotItem](docs/SloHealthSnapshotItem.md) - [SloReport](docs/SloReport.md) - [SlownessApplicationAlertRule](docs/SlownessApplicationAlertRule.md) - [SlownessMobileAppAlertRule](docs/SlownessMobileAppAlertRule.md) diff --git a/docs/AbstractIntegration.md b/docs/AbstractIntegration.md index 95779084..45599e3e 100644 --- a/docs/AbstractIntegration.md +++ b/docs/AbstractIntegration.md @@ -8,9 +8,6 @@ Name | Type | Description | Notes **id** | **str** | Unique ID of the returned Alert Channel | **kind** | **str** | The type of the Alerting Channel. | **name** | **str** | The name of the Alerting Channel. | -**test_event_type** | **str** | | [optional] -**test_severity** | **str** | | [optional] -**test_state** | **str** | | [optional] **timezone** | **str** | The timezone to be used for DateTime | [optional] ## Example diff --git a/docs/ApiGroupToTeamRoleMigration.md b/docs/ApiGroupToTeamRoleMigration.md new file mode 100644 index 00000000..84d62e0a --- /dev/null +++ b/docs/ApiGroupToTeamRoleMigration.md @@ -0,0 +1,29 @@ +# ApiGroupToTeamRoleMigration + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**target_role_id** | **str** | The ID of the pre-existing role to assign to all migrated team members | + +## Example + +```python +from instana_client.models.api_group_to_team_role_migration import ApiGroupToTeamRoleMigration + +# TODO update the JSON string below +json = "{}" +# create an instance of ApiGroupToTeamRoleMigration from a JSON string +api_group_to_team_role_migration_instance = ApiGroupToTeamRoleMigration.from_json(json) +# print the JSON string representation of the object +print(ApiGroupToTeamRoleMigration.to_json()) + +# convert the object into a dict +api_group_to_team_role_migration_dict = api_group_to_team_role_migration_instance.to_dict() +# create an instance of ApiGroupToTeamRoleMigration from a dict +api_group_to_team_role_migration_from_dict = ApiGroupToTeamRoleMigration.from_dict(api_group_to_team_role_migration_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ApplicationBatchBusinessCriticalityUpdate.md b/docs/ApplicationBatchBusinessCriticalityUpdate.md new file mode 100644 index 00000000..ee947fbf --- /dev/null +++ b/docs/ApplicationBatchBusinessCriticalityUpdate.md @@ -0,0 +1,31 @@ +# ApplicationBatchBusinessCriticalityUpdate + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**business_criticality** | **int** | | +**ids** | **List[str]** | | +**ids_unique** | **bool** | | [optional] + +## Example + +```python +from instana_client.models.application_batch_business_criticality_update import ApplicationBatchBusinessCriticalityUpdate + +# TODO update the JSON string below +json = "{}" +# create an instance of ApplicationBatchBusinessCriticalityUpdate from a JSON string +application_batch_business_criticality_update_instance = ApplicationBatchBusinessCriticalityUpdate.from_json(json) +# print the JSON string representation of the object +print(ApplicationBatchBusinessCriticalityUpdate.to_json()) + +# convert the object into a dict +application_batch_business_criticality_update_dict = application_batch_business_criticality_update_instance.to_dict() +# create an instance of ApplicationBatchBusinessCriticalityUpdate from a dict +application_batch_business_criticality_update_from_dict = ApplicationBatchBusinessCriticalityUpdate.from_dict(application_batch_business_criticality_update_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ApplicationSettingsApi.md b/docs/ApplicationSettingsApi.md index ebbdc9e7..224373bf 100644 --- a/docs/ApplicationSettingsApi.md +++ b/docs/ApplicationSettingsApi.md @@ -7,6 +7,7 @@ Method | HTTP request | Description [**add_application_config**](ApplicationSettingsApi.md#add_application_config) | **POST** /api/application-monitoring/settings/application | Add application configuration [**add_manual_service_config**](ApplicationSettingsApi.md#add_manual_service_config) | **POST** /api/application-monitoring/settings/manual-service | Add manual service configuration [**add_service_config**](ApplicationSettingsApi.md#add_service_config) | **POST** /api/application-monitoring/settings/service | Add service configuration +[**batch_update_application_business_criticality**](ApplicationSettingsApi.md#batch_update_application_business_criticality) | **PATCH** /api/application-monitoring/settings/application/batch-business-criticality | Batch update application business criticality [**create_endpoint_config**](ApplicationSettingsApi.md#create_endpoint_config) | **POST** /api/application-monitoring/settings/endpoint | Create endpoint configuration [**create_http_endpoint_config**](ApplicationSettingsApi.md#create_http_endpoint_config) | **POST** /api/application-monitoring/settings/http-endpoint | Create HTTP endpoint configuration [**delete_application_config**](ApplicationSettingsApi.md#delete_application_config) | **DELETE** /api/application-monitoring/settings/application/{id} | Delete application configuration @@ -38,7 +39,7 @@ Method | HTTP request | Description Add application configuration - +Ignores the provided business criticality of the application; business criticality can only be set with the "Batch update application business criticality" API, which requires different permissions. For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. ### Example @@ -286,6 +287,87 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **batch_update_application_business_criticality** +> batch_update_application_business_criticality(application_batch_business_criticality_update) + +Batch update application business criticality + +Updates the business criticality of one or more Application Perspectives to a new value. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.application_batch_business_criticality_update import ApplicationBatchBusinessCriticalityUpdate +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.ApplicationSettingsApi(api_client) + application_batch_business_criticality_update = {"ids":["CxJ55sRbQwqBIfw5DzpRmQ","oLyuFtIfQ3eKzAqM5vBGkQ"],"businessCriticality":"HIGH"} # ApplicationBatchBusinessCriticalityUpdate | + + try: + # Batch update application business criticality + api_instance.batch_update_application_business_criticality(application_batch_business_criticality_update) + except Exception as e: + print("Exception when calling ApplicationSettingsApi->batch_update_application_business_criticality: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **application_batch_business_criticality_update** | [**ApplicationBatchBusinessCriticalityUpdate**](ApplicationBatchBusinessCriticalityUpdate.md)| | + +### Return type + +void (empty response body) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: Not defined + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | No Content | - | +**401** | Unauthorized access - requires user authentication. | - | +**403** | Insufficient permissions or limited in access. | - | +**404** | Resource not found. | - | +**422** | Unprocessable request - missing/invalid data. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **create_endpoint_config** > EndpointConfig create_endpoint_config(endpoint_config) @@ -1710,7 +1792,7 @@ void (empty response body) Update application configuration - +Does not allow changing the business criticality of an application; this must be done with the "Batch update application business criticality" API, which requires different permissions. For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. ### Example diff --git a/docs/CallsEventResult.md b/docs/CallsEventResult.md new file mode 100644 index 00000000..c8ad07a3 --- /dev/null +++ b/docs/CallsEventResult.md @@ -0,0 +1,28 @@ +# CallsEventResult + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Example + +```python +from instana_client.models.calls_event_result import CallsEventResult + +# TODO update the JSON string below +json = "{}" +# create an instance of CallsEventResult from a JSON string +calls_event_result_instance = CallsEventResult.from_json(json) +# print the JSON string representation of the object +print(CallsEventResult.to_json()) + +# convert the object into a dict +calls_event_result_dict = calls_event_result_instance.to_dict() +# create an instance of CallsEventResult from a dict +calls_event_result_from_dict = CallsEventResult.from_dict(calls_event_result_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupsApi.md b/docs/GroupsApi.md index ab5b532f..013e3cf1 100644 --- a/docs/GroupsApi.md +++ b/docs/GroupsApi.md @@ -7,21 +7,22 @@ Method | HTTP request | Description [**add_permissions_on_group**](GroupsApi.md#add_permissions_on_group) | **PUT** /api/settings/rbac/groups/{groupId}/permissions | Add permissions to group [**add_users_to_group**](GroupsApi.md#add_users_to_group) | **PUT** /api/settings/rbac/groups/{groupId}/users | Add users to group [**create_group**](GroupsApi.md#create_group) | **POST** /api/settings/rbac/groups | Create group -[**create_group_mapping**](GroupsApi.md#create_group_mapping) | **POST** /api/settings/rbac/mappings | Create group mapping +[**create_mapping**](GroupsApi.md#create_mapping) | **POST** /api/settings/rbac/mappings | Create mapping [**delete_group**](GroupsApi.md#delete_group) | **DELETE** /api/settings/rbac/groups/{id} | Delete group -[**delete_group_mapping**](GroupsApi.md#delete_group_mapping) | **DELETE** /api/settings/rbac/mappings/{id} | Delete group mapping [**delete_groups**](GroupsApi.md#delete_groups) | **PUT** /api/settings/rbac/groups/delete | Delete groups +[**delete_mapping**](GroupsApi.md#delete_mapping) | **DELETE** /api/settings/rbac/mappings/{id} | Delete mapping [**get_group**](GroupsApi.md#get_group) | **GET** /api/settings/rbac/groups/{id} | Get group -[**get_group_mapping**](GroupsApi.md#get_group_mapping) | **GET** /api/settings/rbac/mappings/{id} | Get group mapping -[**get_group_mappings**](GroupsApi.md#get_group_mappings) | **GET** /api/settings/rbac/mappings | Get all group mappings -[**get_group_mappings_overview**](GroupsApi.md#get_group_mappings_overview) | **GET** /api/settings/rbac/mappings/overview | Get all group mappings overview [**get_groups**](GroupsApi.md#get_groups) | **GET** /api/settings/rbac/groups | Get groups [**get_groups_by_user**](GroupsApi.md#get_groups_by_user) | **GET** /api/settings/rbac/groups/user/{email} | Get groups of a single user -[**get_identity_provider_patch**](GroupsApi.md#get_identity_provider_patch) | **GET** /api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups | Check user restrictions for empty Idp group mapping +[**get_identity_provider_patch**](GroupsApi.md#get_identity_provider_patch) | **GET** /api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups | Check user restrictions for empty Idp mapping +[**get_mapping**](GroupsApi.md#get_mapping) | **GET** /api/settings/rbac/mappings/{id} | Get mapping +[**get_mappings**](GroupsApi.md#get_mappings) | **GET** /api/settings/rbac/mappings | Get all mappings +[**get_mappings_overview**](GroupsApi.md#get_mappings_overview) | **GET** /api/settings/rbac/mappings/overview | Get all mappings overview +[**migrate_group_to_team_and_role**](GroupsApi.md#migrate_group_to_team_and_role) | **PUT** /api/settings/rbac/groups/{id}/migrateToTeams | Migrate a legacy RBAC group to the Team and Role model [**remove_user_from_group**](GroupsApi.md#remove_user_from_group) | **DELETE** /api/settings/rbac/groups/{id}/user/{userId} | Remove user from group [**update_group**](GroupsApi.md#update_group) | **PUT** /api/settings/rbac/groups/{id} | Update group -[**update_group_mapping**](GroupsApi.md#update_group_mapping) | **PUT** /api/settings/rbac/mappings/{id} | Update group mapping [**update_identity_provider**](GroupsApi.md#update_identity_provider) | **PUT** /api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups | Allow/Restrict users with empty Idp group mapping +[**update_mapping**](GroupsApi.md#update_mapping) | **PUT** /api/settings/rbac/mappings/{id} | Update mapping # **add_permissions_on_group** @@ -269,10 +270,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_group_mapping** -> GroupMapping create_group_mapping(group_mapping) +# **create_mapping** +> Mapping create_mapping(mapping) -Create group mapping +Create mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. @@ -283,7 +284,7 @@ For more information on groups please access the https://developer.ibm.com/apis/ ```python import instana_client -from instana_client.models.group_mapping import GroupMapping +from instana_client.models.mapping import Mapping from instana_client.rest import ApiException from pprint import pprint @@ -308,15 +309,15 @@ configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] with instana_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = instana_client.GroupsApi(api_client) - group_mapping = {"key":"roles","value":"analyst","groupId":"-3"} # GroupMapping | + mapping = {"id":"mappingId","key":"roles","value":"analyst","groupId":"-3","teamId":null} # Mapping | try: - # Create group mapping - api_response = api_instance.create_group_mapping(group_mapping) - print("The response of GroupsApi->create_group_mapping:\n") + # Create mapping + api_response = api_instance.create_mapping(mapping) + print("The response of GroupsApi->create_mapping:\n") pprint(api_response) except Exception as e: - print("Exception when calling GroupsApi->create_group_mapping: %s\n" % e) + print("Exception when calling GroupsApi->create_mapping: %s\n" % e) ``` @@ -326,11 +327,11 @@ with instana_client.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **group_mapping** | [**GroupMapping**](GroupMapping.md)| | + **mapping** | [**Mapping**](Mapping.md)| | ### Return type -[**GroupMapping**](GroupMapping.md) +[**Mapping**](Mapping.md) ### Authorization @@ -346,6 +347,8 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | +**412** | Attempting to upsert a mapping containing a teamId - without teams being available | - | +**422** | invalid request body | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -427,12 +430,12 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_group_mapping** -> delete_group_mapping(id) - -Delete group mapping +# **delete_groups** +> delete_groups(request_body) +Delete groups +Delete multiple groups For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. ### Example @@ -465,13 +468,13 @@ configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] with instana_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = instana_client.GroupsApi(api_client) - id = 'mappingId' # str | Id of the group mapping to delete + request_body = ['request_body_example'] # List[str] | try: - # Delete group mapping - api_instance.delete_group_mapping(id) + # Delete groups + api_instance.delete_groups(request_body) except Exception as e: - print("Exception when calling GroupsApi->delete_group_mapping: %s\n" % e) + print("Exception when calling GroupsApi->delete_groups: %s\n" % e) ``` @@ -481,7 +484,7 @@ with instana_client.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **id** | **str**| Id of the group mapping to delete | + **request_body** | [**List[str]**](str.md)| | ### Return type @@ -493,7 +496,7 @@ void (empty response body) ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -504,12 +507,12 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_groups** -> delete_groups(request_body) +# **delete_mapping** +> delete_mapping(id) + +Delete mapping -Delete groups -Delete multiple groups For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. ### Example @@ -542,13 +545,13 @@ configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] with instana_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = instana_client.GroupsApi(api_client) - request_body = ['request_body_example'] # List[str] | + id = 'mappingId' # str | Id of the mapping to delete try: - # Delete groups - api_instance.delete_groups(request_body) + # Delete mapping + api_instance.delete_mapping(id) except Exception as e: - print("Exception when calling GroupsApi->delete_groups: %s\n" % e) + print("Exception when calling GroupsApi->delete_mapping: %s\n" % e) ``` @@ -558,7 +561,7 @@ with instana_client.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **request_body** | [**List[str]**](str.md)| | + **id** | **str**| Id of the mapping to delete | ### Return type @@ -570,7 +573,7 @@ void (empty response body) ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -661,10 +664,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_group_mapping** -> GroupMapping get_group_mapping(id) +# **get_groups** +> List[ApiGroup] get_groups() -Get group mapping +Get groups For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. @@ -675,7 +678,7 @@ For more information on groups please access the https://developer.ibm.com/apis/ ```python import instana_client -from instana_client.models.group_mapping import GroupMapping +from instana_client.models.api_group import ApiGroup from instana_client.rest import ApiException from pprint import pprint @@ -700,29 +703,25 @@ configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] with instana_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = instana_client.GroupsApi(api_client) - id = 'id_example' # str | try: - # Get group mapping - api_response = api_instance.get_group_mapping(id) - print("The response of GroupsApi->get_group_mapping:\n") + # Get groups + api_response = api_instance.get_groups() + print("The response of GroupsApi->get_groups:\n") pprint(api_response) except Exception as e: - print("Exception when calling GroupsApi->get_group_mapping: %s\n" % e) + print("Exception when calling GroupsApi->get_groups: %s\n" % e) ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| | +This endpoint does not need any parameter. ### Return type -[**GroupMapping**](GroupMapping.md) +[**List[ApiGroup]**](ApiGroup.md) ### Authorization @@ -738,14 +737,14 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | -**404** | No group mapping found | - | +**404** | No groups found | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_group_mappings** -> List[GroupMapping] get_group_mappings() +# **get_groups_by_user** +> List[ApiGroup] get_groups_by_user(email) -Get all group mappings +Get groups of a single user For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. @@ -756,7 +755,7 @@ For more information on groups please access the https://developer.ibm.com/apis/ ```python import instana_client -from instana_client.models.group_mapping import GroupMapping +from instana_client.models.api_group import ApiGroup from instana_client.rest import ApiException from pprint import pprint @@ -781,25 +780,29 @@ configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] with instana_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = instana_client.GroupsApi(api_client) + email = 'username@example.com' # str | Email of the user for retrieval try: - # Get all group mappings - api_response = api_instance.get_group_mappings() - print("The response of GroupsApi->get_group_mappings:\n") + # Get groups of a single user + api_response = api_instance.get_groups_by_user(email) + print("The response of GroupsApi->get_groups_by_user:\n") pprint(api_response) except Exception as e: - print("Exception when calling GroupsApi->get_group_mappings: %s\n" % e) + print("Exception when calling GroupsApi->get_groups_by_user: %s\n" % e) ``` ### Parameters -This endpoint does not need any parameter. + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **email** | **str**| Email of the user for retrieval | ### Return type -[**List[GroupMapping]**](GroupMapping.md) +[**List[ApiGroup]**](ApiGroup.md) ### Authorization @@ -815,14 +818,14 @@ This endpoint does not need any parameter. | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | -**404** | No group mapping found | - | +**404** | No groups found | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_group_mappings_overview** -> List[GroupMappingOverview] get_group_mappings_overview() +# **get_identity_provider_patch** +> IdentityProviderPatch get_identity_provider_patch() -Get all group mappings overview +Check user restrictions for empty Idp mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. @@ -833,7 +836,7 @@ For more information on groups please access the https://developer.ibm.com/apis/ ```python import instana_client -from instana_client.models.group_mapping_overview import GroupMappingOverview +from instana_client.models.identity_provider_patch import IdentityProviderPatch from instana_client.rest import ApiException from pprint import pprint @@ -860,12 +863,12 @@ with instana_client.ApiClient(configuration) as api_client: api_instance = instana_client.GroupsApi(api_client) try: - # Get all group mappings overview - api_response = api_instance.get_group_mappings_overview() - print("The response of GroupsApi->get_group_mappings_overview:\n") + # Check user restrictions for empty Idp mapping + api_response = api_instance.get_identity_provider_patch() + print("The response of GroupsApi->get_identity_provider_patch:\n") pprint(api_response) except Exception as e: - print("Exception when calling GroupsApi->get_group_mappings_overview: %s\n" % e) + print("Exception when calling GroupsApi->get_identity_provider_patch: %s\n" % e) ``` @@ -876,7 +879,7 @@ This endpoint does not need any parameter. ### Return type -[**List[GroupMappingOverview]**](GroupMappingOverview.md) +[**IdentityProviderPatch**](IdentityProviderPatch.md) ### Authorization @@ -892,14 +895,14 @@ This endpoint does not need any parameter. | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | -**404** | No group mapping overviews found | - | +**404** | No mapping restriction found | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_groups** -> List[ApiGroup] get_groups() +# **get_mapping** +> Mapping get_mapping(id) -Get groups +Get mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. @@ -910,7 +913,7 @@ For more information on groups please access the https://developer.ibm.com/apis/ ```python import instana_client -from instana_client.models.api_group import ApiGroup +from instana_client.models.mapping import Mapping from instana_client.rest import ApiException from pprint import pprint @@ -935,25 +938,29 @@ configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] with instana_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = instana_client.GroupsApi(api_client) + id = 'id_example' # str | try: - # Get groups - api_response = api_instance.get_groups() - print("The response of GroupsApi->get_groups:\n") + # Get mapping + api_response = api_instance.get_mapping(id) + print("The response of GroupsApi->get_mapping:\n") pprint(api_response) except Exception as e: - print("Exception when calling GroupsApi->get_groups: %s\n" % e) + print("Exception when calling GroupsApi->get_mapping: %s\n" % e) ``` ### Parameters -This endpoint does not need any parameter. + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | ### Return type -[**List[ApiGroup]**](ApiGroup.md) +[**Mapping**](Mapping.md) ### Authorization @@ -969,14 +976,14 @@ This endpoint does not need any parameter. | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | -**404** | No groups found | - | +**404** | No mapping found | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_groups_by_user** -> List[ApiGroup] get_groups_by_user(email) +# **get_mappings** +> List[Mapping] get_mappings() -Get groups of a single user +Get all mappings For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. @@ -987,7 +994,7 @@ For more information on groups please access the https://developer.ibm.com/apis/ ```python import instana_client -from instana_client.models.api_group import ApiGroup +from instana_client.models.mapping import Mapping from instana_client.rest import ApiException from pprint import pprint @@ -1012,29 +1019,25 @@ configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] with instana_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = instana_client.GroupsApi(api_client) - email = 'username@example.com' # str | Email of the user for retrieval try: - # Get groups of a single user - api_response = api_instance.get_groups_by_user(email) - print("The response of GroupsApi->get_groups_by_user:\n") + # Get all mappings + api_response = api_instance.get_mappings() + print("The response of GroupsApi->get_mappings:\n") pprint(api_response) except Exception as e: - print("Exception when calling GroupsApi->get_groups_by_user: %s\n" % e) + print("Exception when calling GroupsApi->get_mappings: %s\n" % e) ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **email** | **str**| Email of the user for retrieval | +This endpoint does not need any parameter. ### Return type -[**List[ApiGroup]**](ApiGroup.md) +[**List[Mapping]**](Mapping.md) ### Authorization @@ -1050,14 +1053,14 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | -**404** | No groups found | - | +**404** | No mapping found | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_identity_provider_patch** -> IdentityProviderPatch get_identity_provider_patch() +# **get_mappings_overview** +> List[MappingOverview] get_mappings_overview() -Check user restrictions for empty Idp group mapping +Get all mappings overview For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. @@ -1068,7 +1071,7 @@ For more information on groups please access the https://developer.ibm.com/apis/ ```python import instana_client -from instana_client.models.identity_provider_patch import IdentityProviderPatch +from instana_client.models.mapping_overview import MappingOverview from instana_client.rest import ApiException from pprint import pprint @@ -1095,12 +1098,12 @@ with instana_client.ApiClient(configuration) as api_client: api_instance = instana_client.GroupsApi(api_client) try: - # Check user restrictions for empty Idp group mapping - api_response = api_instance.get_identity_provider_patch() - print("The response of GroupsApi->get_identity_provider_patch:\n") + # Get all mappings overview + api_response = api_instance.get_mappings_overview() + print("The response of GroupsApi->get_mappings_overview:\n") pprint(api_response) except Exception as e: - print("Exception when calling GroupsApi->get_identity_provider_patch: %s\n" % e) + print("Exception when calling GroupsApi->get_mappings_overview: %s\n" % e) ``` @@ -1111,7 +1114,7 @@ This endpoint does not need any parameter. ### Return type -[**IdentityProviderPatch**](IdentityProviderPatch.md) +[**List[MappingOverview]**](MappingOverview.md) ### Authorization @@ -1127,7 +1130,90 @@ This endpoint does not need any parameter. | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | -**404** | No group mapping restriction found | - | +**404** | No group mapping overviews found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **migrate_group_to_team_and_role** +> migrate_group_to_team_and_role(id, api_group_to_team_role_migration) + +Migrate a legacy RBAC group to the Team and Role model + +Migrates a legacy RBAC group to a team preserving the access scope, assigning all non-IdP members the specified target role. IdP group mappings are automatically converted to team mappings with the migrated team and target role. This is a tenant-wide, **irreversible** operation — the original group is permanently deleted on success. +For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.api_group_to_team_role_migration import ApiGroupToTeamRoleMigration +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.GroupsApi(api_client) + id = 'aGzFe3kLp9qR' # str | The ID of the legacy RBAC group to migrate. + api_group_to_team_role_migration = {"targetRoleId":"bXt7mNpQ2wYs"} # ApiGroupToTeamRoleMigration | + + try: + # Migrate a legacy RBAC group to the Team and Role model + api_instance.migrate_group_to_team_and_role(id, api_group_to_team_role_migration) + except Exception as e: + print("Exception when calling GroupsApi->migrate_group_to_team_and_role: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| The ID of the legacy RBAC group to migrate. | + **api_group_to_team_role_migration** | [**ApiGroupToTeamRoleMigration**](ApiGroupToTeamRoleMigration.md)| | + +### Return type + +void (empty response body) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: Not defined + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Migration completed successfully. The group has been converted to a team, all eligible members have been assigned the target role, and the original group has been permanently deleted. | - | +**400** | Bad request. Possible reasons: (1) the groupId refers to a protected system group which cannot be migrated; (2) the groupId and targetRoleId refer to the same entity; (3) the targetRoleId does not refer to an existing role. | - | +**404** | No group found for the given groupId in this tenant. | - | +**500** | An unexpected error occurred. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1294,10 +1380,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **update_group_mapping** -> GroupMapping update_group_mapping(id, group_mapping) +# **update_identity_provider** +> update_identity_provider(identity_provider_patch) -Update group mapping +Allow/Restrict users with empty Idp group mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. @@ -1308,7 +1394,7 @@ For more information on groups please access the https://developer.ibm.com/apis/ ```python import instana_client -from instana_client.models.group_mapping import GroupMapping +from instana_client.models.identity_provider_patch import IdentityProviderPatch from instana_client.rest import ApiException from pprint import pprint @@ -1333,16 +1419,13 @@ configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] with instana_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = instana_client.GroupsApi(api_client) - id = 'mappingId' # str | Id of the group mapping to update - group_mapping = {"id":"mappingId","key":"roles","value":"analyst","groupId":"-3"} # GroupMapping | + identity_provider_patch = {"restrictEmptyIdpGroups":false} # IdentityProviderPatch | try: - # Update group mapping - api_response = api_instance.update_group_mapping(id, group_mapping) - print("The response of GroupsApi->update_group_mapping:\n") - pprint(api_response) + # Allow/Restrict users with empty Idp group mapping + api_instance.update_identity_provider(identity_provider_patch) except Exception as e: - print("Exception when calling GroupsApi->update_group_mapping: %s\n" % e) + print("Exception when calling GroupsApi->update_identity_provider: %s\n" % e) ``` @@ -1352,12 +1435,11 @@ with instana_client.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **id** | **str**| Id of the group mapping to update | - **group_mapping** | [**GroupMapping**](GroupMapping.md)| | + **identity_provider_patch** | [**IdentityProviderPatch**](IdentityProviderPatch.md)| | ### Return type -[**GroupMapping**](GroupMapping.md) +void (empty response body) ### Authorization @@ -1366,20 +1448,21 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**412** | An IdP must be configured before this can be changed. | - | +**422** | Invalid request body. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **update_identity_provider** -> update_identity_provider(identity_provider_patch) +# **update_mapping** +> Mapping update_mapping(id, mapping) -Allow/Restrict users with empty Idp group mapping +Update mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. @@ -1390,7 +1473,7 @@ For more information on groups please access the https://developer.ibm.com/apis/ ```python import instana_client -from instana_client.models.identity_provider_patch import IdentityProviderPatch +from instana_client.models.mapping import Mapping from instana_client.rest import ApiException from pprint import pprint @@ -1415,13 +1498,16 @@ configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] with instana_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = instana_client.GroupsApi(api_client) - identity_provider_patch = {"restrictEmptyIdpGroups":true} # IdentityProviderPatch | + id = 'mappingId' # str | Id of the mapping to update + mapping = {"id":"mappingId","key":"roles","value":"analyst","groupId":"-3","teamId":null} # Mapping | try: - # Allow/Restrict users with empty Idp group mapping - api_instance.update_identity_provider(identity_provider_patch) + # Update mapping + api_response = api_instance.update_mapping(id, mapping) + print("The response of GroupsApi->update_mapping:\n") + pprint(api_response) except Exception as e: - print("Exception when calling GroupsApi->update_identity_provider: %s\n" % e) + print("Exception when calling GroupsApi->update_mapping: %s\n" % e) ``` @@ -1431,11 +1517,12 @@ with instana_client.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **identity_provider_patch** | [**IdentityProviderPatch**](IdentityProviderPatch.md)| | + **id** | **str**| Id of the mapping to update | + **mapping** | [**Mapping**](Mapping.md)| | ### Return type -void (empty response body) +[**Mapping**](Mapping.md) ### Authorization @@ -1450,7 +1537,9 @@ void (empty response body) | Status code | Description | Response headers | |-------------|-------------|------------------| -**0** | default response | - | +**200** | OK | - | +**412** | Attempting to upsert a mapping containing a teamId - without teams being available | - | +**422** | invalid request body | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/IPFilteringApi.md b/docs/IPFilteringApi.md index 7fbe4436..a0fab256 100644 --- a/docs/IPFilteringApi.md +++ b/docs/IPFilteringApi.md @@ -86,11 +86,11 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **disable_ip_filtering** -> IPFiltering disable_ip_filtering() +> IPFiltering disable_ip_filtering(body) Disable the current ip-filtering -Disable and retrieve the currently configured ip-filtering for the current tenant unit. +Disable and retrieve the currently configured ip-filtering for the current tenant unit. Request body is ignored, but required by some clients. ### Example @@ -123,10 +123,11 @@ configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] with instana_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = instana_client.IPFilteringApi(api_client) + body = {"key":null} # object | try: # Disable the current ip-filtering - api_response = api_instance.disable_ip_filtering() + api_response = api_instance.disable_ip_filtering(body) print("The response of IPFilteringApi->disable_ip_filtering:\n") pprint(api_response) except Exception as e: @@ -137,7 +138,10 @@ with instana_client.ApiClient(configuration) as api_client: ### Parameters -This endpoint does not need any parameter. + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **object**| | ### Return type @@ -149,7 +153,7 @@ This endpoint does not need any parameter. ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -323,11 +327,11 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **verify_ip_filtering** -> IPFiltering verify_ip_filtering() +> IPFiltering verify_ip_filtering(body) Verify current ip-filtering -Verify and retrieve the currently configured ip-filtering for the current tenant unit. This action is required to promote a configuration from temporary active to permanently active. This action can only be performed whilst the configuration is temporary active. +Verify and retrieve the currently configured ip-filtering for the current tenant unit. This action is required to promote a configuration from temporary active to permanently active. This action can only be performed whilst the configuration is temporary active. Request body is ignored, but required by some clients. ### Example @@ -360,10 +364,11 @@ configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] with instana_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = instana_client.IPFilteringApi(api_client) + body = {"key":null} # object | try: # Verify current ip-filtering - api_response = api_instance.verify_ip_filtering() + api_response = api_instance.verify_ip_filtering(body) print("The response of IPFilteringApi->verify_ip_filtering:\n") pprint(api_response) except Exception as e: @@ -374,7 +379,10 @@ with instana_client.ApiClient(configuration) as api_client: ### Parameters -This endpoint does not need any parameter. + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **object**| | ### Return type @@ -386,7 +394,7 @@ This endpoint does not need any parameter. ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details diff --git a/docs/IdentityProviderPatch.md b/docs/IdentityProviderPatch.md index 30d5770d..4773bd53 100644 --- a/docs/IdentityProviderPatch.md +++ b/docs/IdentityProviderPatch.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**restrict_empty_idp_groups** | **bool** | | [optional] +**restrict_empty_idp_groups** | **bool** | If IdP users need to be mapped to at least one group before being allowed to access Instana. | [optional] ## Example diff --git a/docs/LoggingAnalyzeApi.md b/docs/LoggingAnalyzeApi.md index 6b6c0898..0cae22d2 100644 --- a/docs/LoggingAnalyzeApi.md +++ b/docs/LoggingAnalyzeApi.md @@ -4,10 +4,265 @@ All URIs are relative to *https://unit-tenant.instana.io* Method | HTTP request | Description ------------- | ------------- | ------------- +[**create_logging_perspective**](LoggingAnalyzeApi.md#create_logging_perspective) | **POST** /api/logging/perspective/v1 | Create Log Perspective +[**delete_logging_perspective**](LoggingAnalyzeApi.md#delete_logging_perspective) | **DELETE** /api/logging/perspective/v1/{perspectiveId} | Delete Log Perspective +[**get_all_logging_perspectives**](LoggingAnalyzeApi.md#get_all_logging_perspectives) | **GET** /api/logging/perspective/v1 | Get All Log Perspectives [**get_log_volume_usage**](LoggingAnalyzeApi.md#get_log_volume_usage) | **GET** /api/logging/logs/getLogVolumeUsage | Get Log Volume Usage +[**get_logging_perspective**](LoggingAnalyzeApi.md#get_logging_perspective) | **GET** /api/logging/perspective/v1/{perspectiveId} | Get Log Perspective [**get_logs**](LoggingAnalyzeApi.md#get_logs) | **POST** /api/logging/logs/getLogs/v1 | Retrieve logs via REST API +[**update_logging_perspective**](LoggingAnalyzeApi.md#update_logging_perspective) | **PUT** /api/logging/perspective/v1/{perspectiveId} | Update Log Perspective +# **create_logging_perspective** +> LoggingPerspective create_logging_perspective(logging_perspective) + +Create Log Perspective + +Creates a new log perspective for the caller's tenant unit. + +- `perspectiveId` is **not** required — the server assigns it automatically. +- `perspectiveName` must be unique. +- `filter` accepts at least 1 and at most 10 elements. The `REGEX_MATCH` operator is not supported. + + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.logging_perspective import LoggingPerspective +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.LoggingAnalyzeApi(api_client) + logging_perspective = {"perspectiveName":"Production Errors (k8s)","description":"ERROR logs scoped to the production Kubernetes namespace","filter":{"type":"EXPRESSION","logicalOperator":"AND","elements":[{"type":"TAG_FILTER","name":"log.level","operator":"EQUALS","entity":"NOT_APPLICABLE","value":"ERROR"},{"type":"TAG_FILTER","name":"kubernetes.namespace.name","operator":"EQUALS","entity":"NOT_APPLICABLE","value":"production"}]}} # LoggingPerspective | The log perspective to create. + + try: + # Create Log Perspective + api_response = api_instance.create_logging_perspective(logging_perspective) + print("The response of LoggingAnalyzeApi->create_logging_perspective:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling LoggingAnalyzeApi->create_logging_perspective: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **logging_perspective** | [**LoggingPerspective**](LoggingPerspective.md)| The log perspective to create. | + +### Return type + +[**LoggingPerspective**](LoggingPerspective.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Perspective created successfully. Returns the persisted perspective including the server-assigned `perspectiveId`. | - | +**400** | Validation failed. Possible reasons: - `perspectiveName` is missing or blank. - `perspectiveName` is `\"All logs\"` — this is a reserved name. - `filter` is missing, empty, or cannot be parsed. - The filter contains more than 10 elements. - The filter contains a `REGEX_MATCH` operator. - A perspective with the same name already exists. - The reserved ID `\"0\"` (\"All logs\") was provided. | - | +**403** | Possible reasons: - Insufficient permissions to configure log perspectives. - The tenant unit has reached its maximum number of allowed perspectives. | - | +**404** | Tenant unit not found. | - | +**500** | Internal server error. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_logging_perspective** +> delete_logging_perspective(perspective_id) + +Delete Log Perspective + +Deletes an existing log perspective by its ID. + +The reserved **"All logs"** perspective (id=`"0"`) cannot be deleted. + + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.LoggingAnalyzeApi(api_client) + perspective_id = 'perspective_id_example' # str | + + try: + # Delete Log Perspective + api_instance.delete_logging_perspective(perspective_id) + except Exception as e: + print("Exception when calling LoggingAnalyzeApi->delete_logging_perspective: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **perspective_id** | **str**| | + +### Return type + +void (empty response body) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | Perspective deleted successfully. | - | +**400** | Attempted to delete the reserved perspective \"0\" (\"All logs\"). | - | +**403** | Insufficient permissions to delete this perspective. | - | +**404** | Tenant unit not found. | - | +**500** | Internal server error. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_all_logging_perspectives** +> List[LoggingPerspective] get_all_logging_perspectives() + +Get All Log Perspectives + +Returns all log perspectives that belong to the authenticated caller's tenant unit. + + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.logging_perspective import LoggingPerspective +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.LoggingAnalyzeApi(api_client) + + try: + # Get All Log Perspectives + api_response = api_instance.get_all_logging_perspectives() + print("The response of LoggingAnalyzeApi->get_all_logging_perspectives:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling LoggingAnalyzeApi->get_all_logging_perspectives: %s\n" % e) +``` + + + +### Parameters + +This endpoint does not need any parameter. + +### Return type + +[**List[LoggingPerspective]**](LoggingPerspective.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successfully retrieved all log perspectives for the tenant unit. | - | +**403** | Insufficient permissions to view logs. | - | +**404** | Tenant unit not found. | - | +**500** | Internal server error. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_log_volume_usage** > LogVolumeUsageResult get_log_volume_usage(from_ts, to_ts, grouping_tag=grouping_tag) @@ -51,7 +306,7 @@ with instana_client.ApiClient(configuration) as api_client: api_instance = instana_client.LoggingAnalyzeApi(api_client) from_ts = 1682899200 # int | Start timestamp in seconds. Must be <= `toTs`. to_ts = 1682899201 # int | End timestamp in seconds. Must be >= `fromTs`. - grouping_tag = 'zone' # str | Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`. (optional) + grouping_tag = 'zone' # str | Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`, `perspective_id`. (optional) try: # Get Log Volume Usage @@ -71,7 +326,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **from_ts** | **int**| Start timestamp in seconds. Must be <= `toTs`. | **to_ts** | **int**| End timestamp in seconds. Must be >= `fromTs`. | - **grouping_tag** | **str**| Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`. | [optional] + **grouping_tag** | **str**| Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`, `perspective_id`. | [optional] ### Return type @@ -96,6 +351,89 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_logging_perspective** +> LoggingPerspective get_logging_perspective(perspective_id) + +Get Log Perspective + +Retrieves a single log perspective by its ID. + + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.logging_perspective import LoggingPerspective +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.LoggingAnalyzeApi(api_client) + perspective_id = 'perspective_id_example' # str | + + try: + # Get Log Perspective + api_response = api_instance.get_logging_perspective(perspective_id) + print("The response of LoggingAnalyzeApi->get_logging_perspective:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling LoggingAnalyzeApi->get_logging_perspective: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **perspective_id** | **str**| | + +### Return type + +[**LoggingPerspective**](LoggingPerspective.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successfully retrieved the log perspective. | - | +**403** | Insufficient permissions to view this perspective. | - | +**404** | Logging perspective not found or tenant unit not found. | - | +**500** | Internal server error. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_logs** > LogsApiResponse get_logs(logs_query) @@ -300,3 +638,98 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **update_logging_perspective** +> LoggingPerspective update_logging_perspective(perspective_id, logging_perspective) + +Update Log Perspective + +Replaces an existing log perspective with the provided values. + +**Updatable fields:** +- `perspectiveName` — new display name; must be unique within the tenant unit. +- `description` — free-text description shown in the UI. Set to `null` to clear. +- `filter` — accepts at most 10 elements; the `REGEX_MATCH` operator is not supported. + +**Rules:** +- `perspectiveId` in the request body must match the `{perspectiveId}` path parameter. +- The reserved perspective `"0"` ("All logs") cannot be updated. + + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.logging_perspective import LoggingPerspective +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.LoggingAnalyzeApi(api_client) + perspective_id = 'perspective_id_example' # str | + logging_perspective = {"perspectiveId":"RuuEJgfYQ3qF_Ma9IcEV4g","perspectiveName":"Production Errors (Updated)","description":"ERROR-level logs scoped to the production Kubernetes namespace","filter":{"type":"EXPRESSION","logicalOperator":"AND","elements":[{"type":"TAG_FILTER","name":"log.level","operator":"EQUALS","entity":"NOT_APPLICABLE","value":"ERROR"},{"type":"TAG_FILTER","name":"kubernetes.namespace.name","operator":"EQUALS","entity":"NOT_APPLICABLE","value":"production"}]}} # LoggingPerspective | Full log perspective object. `perspectiveId` must be present and match the path parameter. + + try: + # Update Log Perspective + api_response = api_instance.update_logging_perspective(perspective_id, logging_perspective) + print("The response of LoggingAnalyzeApi->update_logging_perspective:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling LoggingAnalyzeApi->update_logging_perspective: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **perspective_id** | **str**| | + **logging_perspective** | [**LoggingPerspective**](LoggingPerspective.md)| Full log perspective object. `perspectiveId` must be present and match the path parameter. | + +### Return type + +[**LoggingPerspective**](LoggingPerspective.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Perspective updated successfully. Returns the persisted perspective. | - | +**400** | Validation failed. Possible reasons: - `perspectiveId` in the body does not match the path parameter. - `perspectiveName` is missing or blank. - `perspectiveName` is `\"All logs\"` — this is a reserved name. - `filter` is missing, empty, or cannot be parsed. - The filter contains more than 10 elements. - The filter contains a `REGEX_MATCH` operator. - A different perspective with the same name already exists in this tenant unit. - Attempted to update the reserved perspective `\"0\"` (\"All logs\"). | - | +**403** | Insufficient permissions to update this perspective. | - | +**404** | Perspective not found or tenant unit not found. | - | +**500** | Internal server error. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/LoggingPerspective.md b/docs/LoggingPerspective.md new file mode 100644 index 00000000..5fa3fc32 --- /dev/null +++ b/docs/LoggingPerspective.md @@ -0,0 +1,33 @@ +# LoggingPerspective + +A filtered view of logs defined by a tag filter expression. Referred to as a Log Perspective in the UI. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**description** | **str** | Optional free-text description shown in the UI. Set to null to clear. | [optional] +**filter** | [**TagFilterExpressionElement**](TagFilterExpressionElement.md) | | +**perspective_id** | **str** | Server-assigned unique identifier. Omit on create (POST). Must match the path parameter on update (PUT). | [optional] +**perspective_name** | **str** | Display name of the perspective. Must be unique. `Required`. | + +## Example + +```python +from instana_client.models.logging_perspective import LoggingPerspective + +# TODO update the JSON string below +json = "{}" +# create an instance of LoggingPerspective from a JSON string +logging_perspective_instance = LoggingPerspective.from_json(json) +# print the JSON string representation of the object +print(LoggingPerspective.to_json()) + +# convert the object into a dict +logging_perspective_dict = logging_perspective_instance.to_dict() +# create an instance of LoggingPerspective from a dict +logging_perspective_from_dict = LoggingPerspective.from_dict(logging_perspective_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Mapping.md b/docs/Mapping.md new file mode 100644 index 00000000..178663e2 --- /dev/null +++ b/docs/Mapping.md @@ -0,0 +1,33 @@ +# Mapping + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**group_id** | **str** | ID of role or group to be assigned if the mapping is matched. | +**id** | **str** | ID of the current mapping. | [optional] +**key** | **str** | Key (in the IdPs \"user-profile\" to be checked for mapping. | +**team_id** | **str** | Optional, ID of team, to which the role assignment is scoped. If absent mapping is unit scoped. | [optional] +**value** | **str** | Value (of the key in the IdPs \"user-profile\" to be compared for mapping. | + +## Example + +```python +from instana_client.models.mapping import Mapping + +# TODO update the JSON string below +json = "{}" +# create an instance of Mapping from a JSON string +mapping_instance = Mapping.from_json(json) +# print the JSON string representation of the object +print(Mapping.to_json()) + +# convert the object into a dict +mapping_dict = mapping_instance.to_dict() +# create an instance of Mapping from a dict +mapping_from_dict = Mapping.from_dict(mapping_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/MappingOverview.md b/docs/MappingOverview.md new file mode 100644 index 00000000..69b509cb --- /dev/null +++ b/docs/MappingOverview.md @@ -0,0 +1,33 @@ +# MappingOverview + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | ID of the current mapping. | [optional] +**key** | **str** | Key (in the IdPs \"user-profile\" to be checked for mapping. | [optional] +**role** | **str** | Name of role or group to be assigned if the mapping is matched. | [optional] +**team** | **str** | Optional, Name of team, to which the role assignment is scoped. If absent mapping is unit scoped. | [optional] +**value** | **str** | Value (of the key in the IdPs \"user-profile\" to be compared for mapping. | [optional] + +## Example + +```python +from instana_client.models.mapping_overview import MappingOverview + +# TODO update the JSON string below +json = "{}" +# create an instance of MappingOverview from a JSON string +mapping_overview_instance = MappingOverview.from_json(json) +# print the JSON string representation of the object +print(MappingOverview.to_json()) + +# convert the object into a dict +mapping_overview_dict = mapping_overview_instance.to_dict() +# create an instance of MappingOverview from a dict +mapping_overview_from_dict = MappingOverview.from_dict(mapping_overview_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/RolesApi.md b/docs/RolesApi.md index 38d5b122..434f5626 100644 --- a/docs/RolesApi.md +++ b/docs/RolesApi.md @@ -4,14 +4,103 @@ All URIs are relative to *https://unit-tenant.instana.io* Method | HTTP request | Description ------------- | ------------- | ------------- +[**create_mapping**](RolesApi.md#create_mapping) | **POST** /api/settings/rbac/mappings | Create mapping [**create_role**](RolesApi.md#create_role) | **POST** /api/settings/rbac/roles | Create role +[**delete_mapping**](RolesApi.md#delete_mapping) | **DELETE** /api/settings/rbac/mappings/{id} | Delete mapping [**delete_role**](RolesApi.md#delete_role) | **DELETE** /api/settings/rbac/roles/{id} | Delete role +[**get_identity_provider_patch**](RolesApi.md#get_identity_provider_patch) | **GET** /api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups | Check user restrictions for empty Idp mapping +[**get_mapping**](RolesApi.md#get_mapping) | **GET** /api/settings/rbac/mappings/{id} | Get mapping +[**get_mappings**](RolesApi.md#get_mappings) | **GET** /api/settings/rbac/mappings | Get all mappings +[**get_mappings_overview**](RolesApi.md#get_mappings_overview) | **GET** /api/settings/rbac/mappings/overview | Get all mappings overview [**get_role**](RolesApi.md#get_role) | **GET** /api/settings/rbac/roles/{id} | Get role by ID [**get_role_mappings**](RolesApi.md#get_role_mappings) | **GET** /api/settings/rbac/roles/{roleId}/mappings | Get role mappings [**get_roles**](RolesApi.md#get_roles) | **GET** /api/settings/rbac/roles | Get all roles +[**update_mapping**](RolesApi.md#update_mapping) | **PUT** /api/settings/rbac/mappings/{id} | Update mapping [**update_role**](RolesApi.md#update_role) | **PUT** /api/settings/rbac/roles/{id} | Update role +# **create_mapping** +> Mapping create_mapping(mapping) + +Create mapping + + +For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.mapping import Mapping +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.RolesApi(api_client) + mapping = {"id":"mappingId","key":"roles","value":"analyst","groupId":"-3","teamId":null} # Mapping | + + try: + # Create mapping + api_response = api_instance.create_mapping(mapping) + print("The response of RolesApi->create_mapping:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling RolesApi->create_mapping: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **mapping** | [**Mapping**](Mapping.md)| | + +### Return type + +[**Mapping**](Mapping.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**412** | Attempting to upsert a mapping containing a teamId - without teams being available | - | +**422** | invalid request body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **create_role** > ApiRole create_role(api_create_role) @@ -93,6 +182,83 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **delete_mapping** +> delete_mapping(id) + +Delete mapping + + +For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.RolesApi(api_client) + id = 'mappingId' # str | Id of the mapping to delete + + try: + # Delete mapping + api_instance.delete_mapping(id) + except Exception as e: + print("Exception when calling RolesApi->delete_mapping: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| Id of the mapping to delete | + +### Return type + +void (empty response body) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**0** | default response | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **delete_role** > delete_role(id) @@ -171,6 +337,318 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_identity_provider_patch** +> IdentityProviderPatch get_identity_provider_patch() + +Check user restrictions for empty Idp mapping + + +For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.identity_provider_patch import IdentityProviderPatch +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.RolesApi(api_client) + + try: + # Check user restrictions for empty Idp mapping + api_response = api_instance.get_identity_provider_patch() + print("The response of RolesApi->get_identity_provider_patch:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling RolesApi->get_identity_provider_patch: %s\n" % e) +``` + + + +### Parameters + +This endpoint does not need any parameter. + +### Return type + +[**IdentityProviderPatch**](IdentityProviderPatch.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**404** | No mapping restriction found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_mapping** +> Mapping get_mapping(id) + +Get mapping + + +For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.mapping import Mapping +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.RolesApi(api_client) + id = 'id_example' # str | + + try: + # Get mapping + api_response = api_instance.get_mapping(id) + print("The response of RolesApi->get_mapping:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling RolesApi->get_mapping: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + +### Return type + +[**Mapping**](Mapping.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**404** | No mapping found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_mappings** +> List[Mapping] get_mappings() + +Get all mappings + + +For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.mapping import Mapping +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.RolesApi(api_client) + + try: + # Get all mappings + api_response = api_instance.get_mappings() + print("The response of RolesApi->get_mappings:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling RolesApi->get_mappings: %s\n" % e) +``` + + + +### Parameters + +This endpoint does not need any parameter. + +### Return type + +[**List[Mapping]**](Mapping.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**404** | No mapping found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_mappings_overview** +> List[MappingOverview] get_mappings_overview() + +Get all mappings overview + + +For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.mapping_overview import MappingOverview +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.RolesApi(api_client) + + try: + # Get all mappings overview + api_response = api_instance.get_mappings_overview() + print("The response of RolesApi->get_mappings_overview:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling RolesApi->get_mappings_overview: %s\n" % e) +``` + + + +### Parameters + +This endpoint does not need any parameter. + +### Return type + +[**List[MappingOverview]**](MappingOverview.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**404** | No group mapping overviews found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_role** > ApiRole get_role(id, include_team_usage=include_team_usage) @@ -409,6 +887,90 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **update_mapping** +> Mapping update_mapping(id, mapping) + +Update mapping + + +For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.mapping import Mapping +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.RolesApi(api_client) + id = 'mappingId' # str | Id of the mapping to update + mapping = {"id":"mappingId","key":"roles","value":"analyst","groupId":"-3","teamId":null} # Mapping | + + try: + # Update mapping + api_response = api_instance.update_mapping(id, mapping) + print("The response of RolesApi->update_mapping:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling RolesApi->update_mapping: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| Id of the mapping to update | + **mapping** | [**Mapping**](Mapping.md)| | + +### Return type + +[**Mapping**](Mapping.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**412** | Attempting to upsert a mapping containing a teamId - without teams being available | - | +**422** | invalid request body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **update_role** > ApiRole update_role(id, api_role) diff --git a/docs/SLOConfigurationsApi.md b/docs/SLOConfigurationsApi.md index 907f3f7a..90135798 100644 --- a/docs/SLOConfigurationsApi.md +++ b/docs/SLOConfigurationsApi.md @@ -9,6 +9,7 @@ Method | HTTP request | Description [**get_all_slo_config_tags**](SLOConfigurationsApi.md#get_all_slo_config_tags) | **GET** /api/settings/slo/tags | Get All SLO Config tags [**get_all_slo_configs**](SLOConfigurationsApi.md#get_all_slo_configs) | **GET** /api/settings/slo | Get All SLO Configs [**get_slo_config_by_id**](SLOConfigurationsApi.md#get_slo_config_by_id) | **GET** /api/settings/slo/{id} | Get an existing SLO Config +[**get_slo_health_snapshot**](SLOConfigurationsApi.md#get_slo_health_snapshot) | **GET** /api/settings/slo/health-snapshot | Get SLO Health Snapshot [**update_slo_config**](SLOConfigurationsApi.md#update_slo_config) | **PUT** /api/settings/slo/{id} | Update an existing SLO Config @@ -245,7 +246,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_all_slo_configs** -> PaginatedResult get_all_slo_configs(page_size=page_size, page=page, order_by=order_by, order_direction=order_direction, query=query, tag=tag, entity_type=entity_type, infra_entity_types=infra_entity_types, kubernetes_cluster_uuid=kubernetes_cluster_uuid, blueprint=blueprint, slo_ids=slo_ids, slo_status=slo_status, entity_ids=entity_ids, grouped=grouped, refresh=refresh, rbac_tags=rbac_tags) +> PaginatedResult get_all_slo_configs(page_size=page_size, page=page, order_by=order_by, order_direction=order_direction, query=query, tag=tag, entity_type=entity_type, infra_entity_types=infra_entity_types, kubernetes_cluster_uuid=kubernetes_cluster_uuid, blueprint=blueprint, slo_ids=slo_ids, slo_status=slo_status, slo_health_state=slo_health_state, entity_ids=entity_ids, grouped=grouped, refresh=refresh, rbac_tags=rbac_tags) Get All SLO Configs @@ -292,6 +293,7 @@ with instana_client.ApiClient(configuration) as api_client: blueprint = ['latency'] # List[str] | (optional) slo_ids = ['SLOdCTspkHlS_OzNOATQWgsuw'] # List[str] | (optional) slo_status = 'green' # str | (optional) + slo_health_state = 'HEALTHY' # str | (optional) entity_ids = ['adsewby312sdfd1'] # List[str] | (optional) grouped = false # bool | (optional) refresh = false # bool | (optional) @@ -299,7 +301,7 @@ with instana_client.ApiClient(configuration) as api_client: try: # Get All SLO Configs - api_response = api_instance.get_all_slo_configs(page_size=page_size, page=page, order_by=order_by, order_direction=order_direction, query=query, tag=tag, entity_type=entity_type, infra_entity_types=infra_entity_types, kubernetes_cluster_uuid=kubernetes_cluster_uuid, blueprint=blueprint, slo_ids=slo_ids, slo_status=slo_status, entity_ids=entity_ids, grouped=grouped, refresh=refresh, rbac_tags=rbac_tags) + api_response = api_instance.get_all_slo_configs(page_size=page_size, page=page, order_by=order_by, order_direction=order_direction, query=query, tag=tag, entity_type=entity_type, infra_entity_types=infra_entity_types, kubernetes_cluster_uuid=kubernetes_cluster_uuid, blueprint=blueprint, slo_ids=slo_ids, slo_status=slo_status, slo_health_state=slo_health_state, entity_ids=entity_ids, grouped=grouped, refresh=refresh, rbac_tags=rbac_tags) print("The response of SLOConfigurationsApi->get_all_slo_configs:\n") pprint(api_response) except Exception as e: @@ -325,6 +327,7 @@ Name | Type | Description | Notes **blueprint** | [**List[str]**](str.md)| | [optional] **slo_ids** | [**List[str]**](str.md)| | [optional] **slo_status** | **str**| | [optional] + **slo_health_state** | **str**| | [optional] **entity_ids** | [**List[str]**](str.md)| | [optional] **grouped** | **bool**| | [optional] **refresh** | **bool**| | [optional] @@ -431,6 +434,96 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_slo_health_snapshot** +> SloHealthSnapshot get_slo_health_snapshot(query=query, tag=tag, entity_type=entity_type, blueprint=blueprint, slo_health_state=slo_health_state, slo_ids=slo_ids, rbac_tags=rbac_tags) + +Get SLO Health Snapshot + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.slo_health_snapshot import SloHealthSnapshot +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.SLOConfigurationsApi(api_client) + query = 'checkout' # str | (optional) + tag = ['team:payments'] # List[str] | (optional) + entity_type = ['application'] # List[str] | (optional) + blueprint = ['latency'] # List[str] | (optional) + slo_health_state = 'AT_RISK' # str | (optional) + slo_ids = ['SLOdCTspkHlS_OzNOATQWgsuw'] # List[str] | (optional) + rbac_tags = ['team:payments'] # List[str] | (optional) + + try: + # Get SLO Health Snapshot + api_response = api_instance.get_slo_health_snapshot(query=query, tag=tag, entity_type=entity_type, blueprint=blueprint, slo_health_state=slo_health_state, slo_ids=slo_ids, rbac_tags=rbac_tags) + print("The response of SLOConfigurationsApi->get_slo_health_snapshot:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling SLOConfigurationsApi->get_slo_health_snapshot: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **query** | **str**| | [optional] + **tag** | [**List[str]**](str.md)| | [optional] + **entity_type** | [**List[str]**](str.md)| | [optional] + **blueprint** | [**List[str]**](str.md)| | [optional] + **slo_health_state** | **str**| | [optional] + **slo_ids** | [**List[str]**](str.md)| | [optional] + **rbac_tags** | [**List[str]**](str.md)| | [optional] + +### Return type + +[**SloHealthSnapshot**](SloHealthSnapshot.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Health snapshot for all matching SLOs | - | +**503** | Health metrics temporarily unavailable | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **update_slo_config** > SLOConfigWithRBACTag update_slo_config(id, slo_config_with_rbac_tag) diff --git a/docs/SloHealthSnapshot.md b/docs/SloHealthSnapshot.md new file mode 100644 index 00000000..d825d420 --- /dev/null +++ b/docs/SloHealthSnapshot.md @@ -0,0 +1,31 @@ +# SloHealthSnapshot + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**items** | [**List[SloHealthSnapshotItem]**](SloHealthSnapshotItem.md) | | [optional] +**state_counts** | **Dict[str, int]** | | [optional] +**total_count** | **int** | | [optional] + +## Example + +```python +from instana_client.models.slo_health_snapshot import SloHealthSnapshot + +# TODO update the JSON string below +json = "{}" +# create an instance of SloHealthSnapshot from a JSON string +slo_health_snapshot_instance = SloHealthSnapshot.from_json(json) +# print the JSON string representation of the object +print(SloHealthSnapshot.to_json()) + +# convert the object into a dict +slo_health_snapshot_dict = slo_health_snapshot_instance.to_dict() +# create an instance of SloHealthSnapshot from a dict +slo_health_snapshot_from_dict = SloHealthSnapshot.from_dict(slo_health_snapshot_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SloHealthSnapshotItem.md b/docs/SloHealthSnapshotItem.md new file mode 100644 index 00000000..8d9f8d18 --- /dev/null +++ b/docs/SloHealthSnapshotItem.md @@ -0,0 +1,41 @@ +# SloHealthSnapshotItem + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**blueprint** | **str** | | [optional] +**entity_type** | **str** | | [optional] +**health_score** | **int** | | [optional] +**health_state** | **str** | | [optional] +**id** | **str** | | [optional] +**name** | **str** | | [optional] +**primary_reason** | **str** | | [optional] +**tags** | **List[str]** | | [optional] +**target** | **float** | | [optional] +**trend** | **str** | | [optional] +**window_duration** | **int** | | [optional] +**window_duration_unit** | **str** | | [optional] +**window_type** | **str** | | [optional] + +## Example + +```python +from instana_client.models.slo_health_snapshot_item import SloHealthSnapshotItem + +# TODO update the JSON string below +json = "{}" +# create an instance of SloHealthSnapshotItem from a JSON string +slo_health_snapshot_item_instance = SloHealthSnapshotItem.from_json(json) +# print the JSON string representation of the object +print(SloHealthSnapshotItem.to_json()) + +# convert the object into a dict +slo_health_snapshot_item_dict = slo_health_snapshot_item_instance.to_dict() +# create an instance of SloHealthSnapshotItem from a dict +slo_health_snapshot_item_from_dict = SloHealthSnapshotItem.from_dict(slo_health_snapshot_item_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SloReport.md b/docs/SloReport.md index e9d50409..be28891e 100644 --- a/docs/SloReport.md +++ b/docs/SloReport.md @@ -13,6 +13,10 @@ Name | Type | Description | Notes **error_burn_rate_chart** | **Dict[str, int]** | Budget Rate value of SLO configuration in different timestamps from starting to ending point | [optional] **error_chart** | **Dict[str, int]** | Value indicating presence of bad minutes/events of SLO configuration in different timestamps from starting to ending point | [optional] **from_timestamp** | **int** | Starting point of the data retrieval, specified as 13 digit Unix Timestamp milliseconds | [optional] +**health_score** | **int** | Health score of the SLO (0–100), null when state is INSUFFICIENT_DATA or NOT_EVALUATED | [optional] +**health_score_primary_reason** | **str** | Primary reason code driving the current health state | [optional] +**health_score_trend** | **str** | Burn rate trend direction (IMPROVING, CONSTANT, DEGRADING, UNKNOWN) | [optional] +**health_state** | **str** | Health state of the SLO (HEALTHY, AT_RISK, BREACHED, INSUFFICIENT_DATA, NOT_EVALUATED) | [optional] **sli** | **float** | Latest Status value of SLO Configuration | [optional] **slo** | **float** | Target status of SLO Configuration | [optional] **to_timestamp** | **int** | Ending point of the data retrieval, specified as 13 digit Unix Timestamp milliseconds | [optional] diff --git a/docs/TeamsApi.md b/docs/TeamsApi.md index 1688752a..54d89d89 100644 --- a/docs/TeamsApi.md +++ b/docs/TeamsApi.md @@ -4,14 +4,103 @@ All URIs are relative to *https://unit-tenant.instana.io* Method | HTTP request | Description ------------- | ------------- | ------------- +[**create_mapping**](TeamsApi.md#create_mapping) | **POST** /api/settings/rbac/mappings | Create mapping [**create_team**](TeamsApi.md#create_team) | **POST** /api/settings/rbac/teams | Create team +[**delete_mapping**](TeamsApi.md#delete_mapping) | **DELETE** /api/settings/rbac/mappings/{id} | Delete mapping [**delete_team**](TeamsApi.md#delete_team) | **DELETE** /api/settings/rbac/teams/{id} | Delete team +[**get_identity_provider_patch**](TeamsApi.md#get_identity_provider_patch) | **GET** /api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups | Check user restrictions for empty Idp mapping +[**get_mapping**](TeamsApi.md#get_mapping) | **GET** /api/settings/rbac/mappings/{id} | Get mapping +[**get_mappings**](TeamsApi.md#get_mappings) | **GET** /api/settings/rbac/mappings | Get all mappings +[**get_mappings_overview**](TeamsApi.md#get_mappings_overview) | **GET** /api/settings/rbac/mappings/overview | Get all mappings overview [**get_team**](TeamsApi.md#get_team) | **GET** /api/settings/rbac/teams/{id} | Get team by ID [**get_team_role_mappings**](TeamsApi.md#get_team_role_mappings) | **GET** /api/settings/rbac/teams/{teamId}/mappings | Get team role mappings [**get_teams**](TeamsApi.md#get_teams) | **GET** /api/settings/rbac/teams | Get all teams +[**update_mapping**](TeamsApi.md#update_mapping) | **PUT** /api/settings/rbac/mappings/{id} | Update mapping [**update_team**](TeamsApi.md#update_team) | **PUT** /api/settings/rbac/teams/{id} | Update team +# **create_mapping** +> Mapping create_mapping(mapping) + +Create mapping + + +For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.mapping import Mapping +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.TeamsApi(api_client) + mapping = {"id":"mappingId","key":"roles","value":"analyst","groupId":"-3","teamId":null} # Mapping | + + try: + # Create mapping + api_response = api_instance.create_mapping(mapping) + print("The response of TeamsApi->create_mapping:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TeamsApi->create_mapping: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **mapping** | [**Mapping**](Mapping.md)| | + +### Return type + +[**Mapping**](Mapping.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**412** | Attempting to upsert a mapping containing a teamId - without teams being available | - | +**422** | invalid request body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **create_team** > create_team(api_team) @@ -89,6 +178,83 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **delete_mapping** +> delete_mapping(id) + +Delete mapping + + +For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.TeamsApi(api_client) + id = 'mappingId' # str | Id of the mapping to delete + + try: + # Delete mapping + api_instance.delete_mapping(id) + except Exception as e: + print("Exception when calling TeamsApi->delete_mapping: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| Id of the mapping to delete | + +### Return type + +void (empty response body) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**0** | default response | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **delete_team** > delete_team(id) @@ -165,6 +331,318 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_identity_provider_patch** +> IdentityProviderPatch get_identity_provider_patch() + +Check user restrictions for empty Idp mapping + + +For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.identity_provider_patch import IdentityProviderPatch +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.TeamsApi(api_client) + + try: + # Check user restrictions for empty Idp mapping + api_response = api_instance.get_identity_provider_patch() + print("The response of TeamsApi->get_identity_provider_patch:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TeamsApi->get_identity_provider_patch: %s\n" % e) +``` + + + +### Parameters + +This endpoint does not need any parameter. + +### Return type + +[**IdentityProviderPatch**](IdentityProviderPatch.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**404** | No mapping restriction found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_mapping** +> Mapping get_mapping(id) + +Get mapping + + +For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.mapping import Mapping +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.TeamsApi(api_client) + id = 'id_example' # str | + + try: + # Get mapping + api_response = api_instance.get_mapping(id) + print("The response of TeamsApi->get_mapping:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TeamsApi->get_mapping: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + +### Return type + +[**Mapping**](Mapping.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**404** | No mapping found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_mappings** +> List[Mapping] get_mappings() + +Get all mappings + + +For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.mapping import Mapping +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.TeamsApi(api_client) + + try: + # Get all mappings + api_response = api_instance.get_mappings() + print("The response of TeamsApi->get_mappings:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TeamsApi->get_mappings: %s\n" % e) +``` + + + +### Parameters + +This endpoint does not need any parameter. + +### Return type + +[**List[Mapping]**](Mapping.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**404** | No mapping found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_mappings_overview** +> List[MappingOverview] get_mappings_overview() + +Get all mappings overview + + +For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.mapping_overview import MappingOverview +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.TeamsApi(api_client) + + try: + # Get all mappings overview + api_response = api_instance.get_mappings_overview() + print("The response of TeamsApi->get_mappings_overview:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TeamsApi->get_mappings_overview: %s\n" % e) +``` + + + +### Parameters + +This endpoint does not need any parameter. + +### Return type + +[**List[MappingOverview]**](MappingOverview.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**404** | No group mapping overviews found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_team** > ApiTeam get_team(id, include_team_usage=include_team_usage) @@ -403,6 +881,90 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **update_mapping** +> Mapping update_mapping(id, mapping) + +Update mapping + + +For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.mapping import Mapping +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.TeamsApi(api_client) + id = 'mappingId' # str | Id of the mapping to update + mapping = {"id":"mappingId","key":"roles","value":"analyst","groupId":"-3","teamId":null} # Mapping | + + try: + # Update mapping + api_response = api_instance.update_mapping(id, mapping) + print("The response of TeamsApi->update_mapping:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TeamsApi->update_mapping: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| Id of the mapping to update | + **mapping** | [**Mapping**](Mapping.md)| | + +### Return type + +[**Mapping**](Mapping.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**412** | Attempting to upsert a mapping containing a teamId - without teams being available | - | +**422** | invalid request body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **update_team** > update_team(id, api_team) diff --git a/docs/TestCommonProperties.md b/docs/TestCommonProperties.md index 92bd16d0..36fe6a23 100644 --- a/docs/TestCommonProperties.md +++ b/docs/TestCommonProperties.md @@ -22,6 +22,7 @@ Name | Type | Description | Notes **mobile_application_ids** | **List[str]** | | [optional] **mobile_application_labels** | **List[str]** | | [optional] **modified_at** | **int** | | [optional] +**profiles** | **List[str]** | | [optional] **rbac_tags** | [**List[ApiTag]**](ApiTag.md) | | [optional] **service_id** | **str** | | [optional] **type** | **str** | | diff --git a/docs/WebsiteMonitoringBeacon.md b/docs/WebsiteMonitoringBeacon.md index 51937cc8..76ac6d09 100644 --- a/docs/WebsiteMonitoringBeacon.md +++ b/docs/WebsiteMonitoringBeacon.md @@ -87,6 +87,7 @@ Name | Type | Description | Notes **resource_type** | **str** | | [optional] **response_time** | **int** | | [optional] **session_id** | **str** | | [optional] +**session_replay_status** | **int** | | [optional] **snippet_version** | **str** | | [optional] **ssl_time** | **int** | | [optional] **stack_trace** | **str** | | [optional] diff --git a/docs/openapi-issues/filters.md b/docs/openapi-issues/filters.md new file mode 100644 index 00000000..062b06aa --- /dev/null +++ b/docs/openapi-issues/filters.md @@ -0,0 +1,112 @@ +# OpenAPI Issue Note: Filters API + +**Spec file:** `openapi.yaml` (OpenAPI 3.0.1, spec version 1.328.1128) +**Related generated code:** `instana_client/api/default_api.py` +**Part of:** Problem 2, "Multiple API operations are poorly documented" +**Status:** Analysis only. No spec or SDK files were changed. + +## 1. Affected operations + +| Method | Path | operationId | Spec location | +|---|---|---|---| +| GET | `/api/filters` | `get` | `openapi.yaml` line 12856 | +| POST | `/api/filters` | `post` | `openapi.yaml` line 12864 | +| PUT | `/api/filters/{id}` | `put` | `openapi.yaml` line 12887 | +| DELETE | `/api/filters/{id}` | `delete` | `openapi.yaml` line 12873 | + +## 2. What the spec contains today + +Each of the four operations is defined only like this: + +```yaml +/api/filters: + get: + operationId: get + responses: + default: + content: + application/json: {} + description: default response +``` + +The `{id}` operations also have one path parameter, `id`, typed as a string and with no description. + +The following are not defined for any of the four operations: + +- summary +- description +- tags +- `security` +- `requestBody` (POST and PUT) +- success response (200, 201 or 204) and its schema +- error responses (400, 401, 403, 404) +- examples +- a description for the `id` parameter + +There is also no global `security` in the spec, so nothing supplies a default. + +## 3. Impact on the generated Python SDK + +These points come from reading the generated code in `instana_client/api/default_api.py`. I did not run the calls against a live server. + +### 3.1 Credentials are not sent +The spec has no `security` block on these operations, so the generator emits an empty auth list for every one of them: + +```python +_auth_settings: List[str] = [ +] +``` + +For example, `DELETE /api/filters/{id}` at `default_api.py` line 277 and `GET /api/filters` at line 1031. The `Authorization: apikey ...` header is therefore not attached, even when an API token is configured. If the server requires authentication, the calls would be rejected with 401. A caller has to work around this per call with `_request_auth` or `_headers`. + +### 3.2 Filters cannot be created or updated +`POST /api/filters` and `PUT /api/filters/{id}` have no `requestBody`. The generated `post()` method takes no body argument, and `put()` takes only `id`. The SDK has no normal way to send a filter definition. + +### 3.3 Nothing can be read back +The `default` response has an empty content object and no schema, so the response type map is empty (`_response_types_map = {}`) and every method is typed `-> None`. This means: + +- `get()` returns no list of filters. +- `post()` and `put()` return no created or updated filter. + +### 3.4 Method names are unusable +The generic operation IDs `get`, `post`, `put` and `delete` put these methods in `DefaultApi`, next to `get1`, `get2`, `get3` and `put1`, which belong to unrelated endpoints (license, terms of service, user settings). The numeric suffixes depend on the order of operations in the spec, so they can change between spec versions and silently break callers. + +### 3.5 No error contract +No 400, 401, 403 or 404 is documented, so a client cannot tell a missing filter from a permission problem or an invalid payload. + +## 4. Required changes + +| # | Change | Depends on | +|---|---|---| +| 1 | Add `security: [{ApiKeyAuth: []}]` to all four operations | Backend team confirms which permission guards filters | +| 2 | Add a tag such as `Filters`, which moves the operations out of `DefaultApi` | None | +| 3 | Replace the generic operation IDs with unique, meaningful ones, for example `getFilters`, `createFilter`, `updateFilter`, `deleteFilter` | None. Note that this renames SDK methods and is a breaking change for callers. | +| 4 | Add a summary and description for each operation | Backend or documentation team | +| 5 | Define a `Filter` schema and add it as the `requestBody` of POST and PUT | Backend team supplies the real filter shape | +| 6 | Add typed success responses: 200 with an array of `Filter` for GET, 200 or 201 with `Filter` for POST and PUT, and 204 or 200 for DELETE | Backend team confirms the status codes | +| 7 | Add 400, 401, 403 and 404 responses, referencing a shared error schema | Backend team defines the error shape | +| 8 | Describe the `id` path parameter and add examples for it and for each request and response body | Documentation team | + +Items 1 to 4 and 7 are structural and don't depend on the filter schema, so they can be done first. + +## 5. Open questions + +1. What does a filter look like? Nothing in the spec or this repository defines it. I cannot propose the `Filter` schema without guessing, so it must come from the owning team or from a real response. +2. Which permission guards the filters endpoints? +3. What status code does each operation return on success, and what does POST return: the created object, its ID, or nothing? +4. What error body does the API return, and is there a shared error schema to reference? +5. Is `id` a UUID, a numeric string or another format? Does `PUT` require the same body as `POST`? + +## 6. Information requested from the backend team + +- One real `GET /api/filters` response. +- One `POST /api/filters` request and response pair. +- The status codes and error bodies returned for an unauthorized call and for an unknown `id`. + +With these, items 5 and 6 can be written from real data. + +## 7. Notes on the evidence + +- The spec facts in sections 2 and 4 come from reading `openapi.yaml`. +- The SDK behaviour in section 3 comes from reading the generated `default_api.py`. It has not been verified at runtime, and the 401 behaviour in 3.1 is inferred from the empty auth settings. +- The working tree already contained many uncommitted changes to `openapi.yaml` and the generated SDK before this analysis. The line numbers above refer to that current state and may differ in other revisions. diff --git a/instana_client/__init__.py b/instana_client/__init__.py index 336968bc..93eb6a04 100644 --- a/instana_client/__init__.py +++ b/instana_client/__init__.py @@ -7,7 +7,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -17,656 +17,1995 @@ __version__ = "1.1.3" -# import apis into sdk package -from instana_client.api.ai_management_api import AIManagementApi -from instana_client.api.api_token_api import APITokenApi -from instana_client.api.action_catalog_api import ActionCatalogApi -from instana_client.api.action_history_api import ActionHistoryApi -from instana_client.api.apdex_report_api import ApdexReportApi -from instana_client.api.apdex_settings_api import ApdexSettingsApi -from instana_client.api.application_alert_configuration_api import ApplicationAlertConfigurationApi -from instana_client.api.application_analyze_api import ApplicationAnalyzeApi -from instana_client.api.application_catalog_api import ApplicationCatalogApi -from instana_client.api.application_metrics_api import ApplicationMetricsApi -from instana_client.api.application_resources_api import ApplicationResourcesApi -from instana_client.api.application_settings_api import ApplicationSettingsApi -from instana_client.api.application_topology_api import ApplicationTopologyApi -from instana_client.api.audit_log_api import AuditLogApi -from instana_client.api.authentication_api import AuthenticationApi -from instana_client.api.business_monitoring_api import BusinessMonitoringApi -from instana_client.api.custom_dashboards_api import CustomDashboardsApi -from instana_client.api.custom_entities_api import CustomEntitiesApi -from instana_client.api.end_user_monitoring_api import EndUserMonitoringApi -from instana_client.api.event_settings_api import EventSettingsApi -from instana_client.api.events_api import EventsApi -from instana_client.api.global_application_alert_configuration_api import GlobalApplicationAlertConfigurationApi -from instana_client.api.groups_api import GroupsApi -from instana_client.api.health_api import HealthApi -from instana_client.api.host_agent_api import HostAgentApi -from instana_client.api.ip_filtering_api import IPFilteringApi -from instana_client.api.infrastructure_alert_configuration_api import InfrastructureAlertConfigurationApi -from instana_client.api.infrastructure_analyze_api import InfrastructureAnalyzeApi -from instana_client.api.infrastructure_catalog_api import InfrastructureCatalogApi -from instana_client.api.infrastructure_metrics_api import InfrastructureMetricsApi -from instana_client.api.infrastructure_resources_api import InfrastructureResourcesApi -from instana_client.api.infrastructure_topology_api import InfrastructureTopologyApi -from instana_client.api.llm_evaluation_api import LLMEvaluationApi -from instana_client.api.llm_price_configuration_api import LLMPriceConfigurationApi -from instana_client.api.log_alert_configuration_api import LogAlertConfigurationApi -from instana_client.api.logging_analyze_api import LoggingAnalyzeApi -from instana_client.api.maintenance_configuration_api import MaintenanceConfigurationApi -from instana_client.api.mobile_app_analyze_api import MobileAppAnalyzeApi -from instana_client.api.mobile_app_catalog_api import MobileAppCatalogApi -from instana_client.api.mobile_app_configuration_api import MobileAppConfigurationApi -from instana_client.api.mobile_app_metrics_api import MobileAppMetricsApi -from instana_client.api.mobile_app_session_replay_api import MobileAppSessionReplayApi -from instana_client.api.policies_api import PoliciesApi -from instana_client.api.releases_api import ReleasesApi -from instana_client.api.roles_api import RolesApi -from instana_client.api.sli_report_api import SLIReportApi -from instana_client.api.sli_settings_api import SLISettingsApi -from instana_client.api.slo_catalog_for_mobile_app_api import SLOCatalogForMobileAppApi -from instana_client.api.slo_configurations_api import SLOConfigurationsApi -from instana_client.api.slo_correction_configurations_api import SLOCorrectionConfigurationsApi -from instana_client.api.slo_correction_windows_api import SLOCorrectionWindowsApi -from instana_client.api.service_levels_alert_configuration_api import ServiceLevelsAlertConfigurationApi -from instana_client.api.service_levels_objective_slo_report_api import ServiceLevelsObjectiveSLOReportApi -from instana_client.api.session_settings_api import SessionSettingsApi -from instana_client.api.synthetic_alert_configuration_api import SyntheticAlertConfigurationApi -from instana_client.api.synthetic_calls_api import SyntheticCallsApi -from instana_client.api.synthetic_catalog_api import SyntheticCatalogApi -from instana_client.api.synthetic_metrics_api import SyntheticMetricsApi -from instana_client.api.synthetic_settings_api import SyntheticSettingsApi -from instana_client.api.synthetic_test_playback_results_api import SyntheticTestPlaybackResultsApi -from instana_client.api.teams_api import TeamsApi -from instana_client.api.usage_api import UsageApi -from instana_client.api.user_api import UserApi -from instana_client.api.website_analyze_api import WebsiteAnalyzeApi -from instana_client.api.website_catalog_api import WebsiteCatalogApi -from instana_client.api.website_configuration_api import WebsiteConfigurationApi -from instana_client.api.website_metrics_api import WebsiteMetricsApi -from instana_client.api.default_api import DefaultApi +# Define package exports +__all__ = [ + "AIManagementApi", + "APITokenApi", + "ActionCatalogApi", + "ActionHistoryApi", + "ApdexReportApi", + "ApdexSettingsApi", + "ApplicationAlertConfigurationApi", + "ApplicationAnalyzeApi", + "ApplicationCatalogApi", + "ApplicationMetricsApi", + "ApplicationResourcesApi", + "ApplicationSettingsApi", + "ApplicationTopologyApi", + "AuditLogApi", + "AuthenticationApi", + "BusinessMonitoringApi", + "CustomDashboardsApi", + "CustomEntitiesApi", + "EndUserMonitoringApi", + "EventSettingsApi", + "EventsApi", + "GlobalApplicationAlertConfigurationApi", + "GroupsApi", + "HealthApi", + "HostAgentApi", + "IPFilteringApi", + "InfrastructureAlertConfigurationApi", + "InfrastructureAnalyzeApi", + "InfrastructureCatalogApi", + "InfrastructureMetricsApi", + "InfrastructureResourcesApi", + "InfrastructureTopologyApi", + "LLMEvaluationApi", + "LLMPriceConfigurationApi", + "LogAlertConfigurationApi", + "LoggingAnalyzeApi", + "MaintenanceConfigurationApi", + "MobileAppAnalyzeApi", + "MobileAppCatalogApi", + "MobileAppConfigurationApi", + "MobileAppMetricsApi", + "MobileAppSessionReplayApi", + "PoliciesApi", + "ReleasesApi", + "RolesApi", + "SLIReportApi", + "SLISettingsApi", + "SLOCatalogForMobileAppApi", + "SLOConfigurationsApi", + "SLOCorrectionConfigurationsApi", + "SLOCorrectionWindowsApi", + "ServiceLevelsAlertConfigurationApi", + "ServiceLevelsObjectiveSLOReportApi", + "SessionSettingsApi", + "SyntheticAlertConfigurationApi", + "SyntheticCallsApi", + "SyntheticCatalogApi", + "SyntheticMetricsApi", + "SyntheticSettingsApi", + "SyntheticTestPlaybackResultsApi", + "TeamsApi", + "UsageApi", + "UserApi", + "WebsiteAnalyzeApi", + "WebsiteCatalogApi", + "WebsiteConfigurationApi", + "WebsiteMetricsApi", + "DefaultApi", + "ApiResponse", + "ApiClient", + "Configuration", + "OpenApiException", + "ApiTypeError", + "ApiValueError", + "ApiKeyError", + "ApiAttributeError", + "ApiException", + "AbstractIntegration", + "AbstractRule", + "AccessRule", + "Action", + "ActionBeacon", + "ActionConfiguration", + "ActionInstance", + "ActionInstanceMetadataEntry", + "ActionInstanceParameter", + "ActionInstanceRequest", + "ActionInstanceRequestParameters", + "ActionMatch", + "ActionSearchSpace", + "AdaptiveBaseline", + "AdaptiveThresholdRule", + "AdjustedTimeframe", + "AdvancedCustomBlueprintIndicator", + "AdvancedFilter", + "AgentConfigurationUpdate", + "AgentModeUpdate", + "AlertingConfiguration", + "AlertingConfigurationWithLastUpdated", + "AlertingTimeWindow", + "ApdexAlertRule", + "ApdexConfigWithRBACTag", + "ApdexConfiguration", + "ApdexConfigurationInput", + "ApdexEntity", + "ApdexLevel", + "ApdexReport", + "ApiCreateGroup", + "ApiCreateRole", + "ApiGroup", + "ApiGroupToTeamRoleMigration", + "ApiLogItem", + "ApiLogTag", + "ApiMember", + "ApiPermissionSet", + "ApiRestrictedApplicationFilter", + "ApiRole", + "ApiTag", + "ApiTeam", + "ApiTeamInfo", + "ApiTeamMember", + "ApiTeamRole", + "ApiTeamScope", + "ApiToken", + "AppDataMetricConfiguration", + "Application", + "ApplicationAlertConfig", + "ApplicationAlertConfigWithMetadata", + "ApplicationAlertRule", + "ApplicationApdexEntity", + "ApplicationBatchBusinessCriticalityUpdate", + "ApplicationConfig", + "ApplicationEventResult", + "ApplicationItem", + "ApplicationMetricResult", + "ApplicationNode", + "ApplicationResult", + "ApplicationScope", + "ApplicationScopeWithMetadata", + "ApplicationSliEntity", + "ApplicationSloEntity", + "ApplicationTimeThreshold", + "AuditLogUiResponse", + "Author", + "AvailabilityBlueprintIndicator", + "AvailabilitySliEntity", + "AvailableMetrics", + "AvailablePlugins", + "BackendTraceReference", + "BidirectionalMsTeamsAppIntegration", + "BidirectionalSlackAppIntegration", + "BinaryOperatorDTO", + "BrowserScriptConfiguration", + "BrowserScriptConfigurationUpdate", + "BuiltInEventSpecification", + "BuiltInEventSpecificationWithLastUpdated", + "BulkAlertConfigRequest", + "BusinessActivity", + "BusinessPerspectiveConfig", + "CallGroupsItem", + "CallGroupsResult", + "CallRelation", + "CallsEventResult", + "ChangeSummary", + "CloudfoundryPhysicalContext", + "Condition", + "ConfigVersion", + "Correction", + "CorrectionConfiguration", + "CorrectionScheduling", + "CorrectionWindow", + "CrashMobileAppAlertRule", + "CreateEvaluationRequest", + "CreateEvaluationResponse", + "CreateWebsiteRequestInner", + "CursorPaginatedBusinessActivityItem", + "CursorPagination", + "CursorPaginationWithUiCursorInfraExploreCursor", + "CustomBlueprintIndicator", + "CustomDashboard", + "CustomDashboardPreview", + "CustomDashboardWithUserSpecificInformation", + "CustomDependency", + "CustomEmailSubjectPrefix", + "CustomEntityModel", + "CustomEntityWithMetadata", + "CustomEventMobileAppAlertRule", + "CustomEventSpecification", + "CustomEventSpecificationWithLastUpdated", + "CustomEventWebsiteAlertRule", + "CustomMetric", + "CustomMetricApplicationAlertRule", + "CustomPayloadConfiguration", + "CustomPayloadField", + "CustomPayloadWithLastUpdated", + "CustomPayloadWithVersion", + "CustomTag", + "CustomerEmail", + "DNSConfiguration", + "DNSConfigurationUpdate", + "DNSFilterQueryTime", + "DNSFilterTargetValue", + "DashboardApiToken", + "DatabaseIntegration", + "DeprecatedTagFilter", + "Duration", + "DynamicField", + "DynamicFieldValue", + "DynamicParameter", + "DynamicTag", + "EditUser", + "EmailIntegration", + "EmptyConfiguration", + "Endpoint", + "EndpointConfig", + "EndpointEventResult", + "EndpointItem", + "EndpointMetricResult", + "EndpointNode", + "EndpointResult", + "EndpointSimple", + "EntityCountRule", + "EntityCountVerificationRule", + "EntityHealthInfo", + "EntityId", + "EntityMetric", + "EntityMetricScope", + "EntityVerificationRule", + "ErrorBudgetAlertRule", + "ErrorsApplicationAlertRule", + "EvaluationDetailResponse", + "EvaluationListItem", + "EvaluationListResponse", + "Evaluator", + "Event", + "EventFilteringConfiguration", + "EventResult", + "EventSpecificationInfo", + "ExtendedService", + "FailureSyntheticAlertRule", + "FilterInterface", + "FixedHttpPathSegmentMatchingRule", + "FixedTimeWindow", + "GatewayStatusResponse", + "GenericInfraAlertRule", + "GeoLocationConfiguration", + "GeoMappingRule", + "GeoSubdivision", + "GetActionBeaconsResult", + "GetActivities", + "GetApplicationMetrics", + "GetApplications", + "GetAvailableMetricsQuery", + "GetAvailablePluginsQuery", + "GetCallGroups", + "GetCombinedMetrics", + "GetDynamicParameterValues", + "GetEndpoints", + "GetInfrastructureGroupsQuery", + "GetInfrastructureQuery", + "GetMetricsResult", + "GetMobileAppBeaconGroups", + "GetMobileAppBeacons", + "GetMobileAppMetrics", + "GetMobileAppMetricsV2", + "GetPayloadKeysResult", + "GetServices", + "GetSessionReplayMetadataResult", + "GetSnapshotsQuery", + "GetTestResult", + "GetTestResultAnalytic", + "GetTestResultBase", + "GetTestResultList", + "GetTestSummaryResult", + "GetTraceDownloadResultItem", + "GetTraceGroups", + "GetTraces", + "GetWebsiteBeaconGroups", + "GetWebsiteBeacons", + "GetWebsiteMetrics", + "GetWebsiteMetricsV2", + "GitHubConfiguration", + "GlobalApplicationAlertConfigWithMetadata", + "GlobalApplicationsAlertConfig", + "GoogleChatIntegration", + "GraphEdge", + "GraphNode", + "Group", + "GroupByTag", + "HealthState", + "HistoricBaseline", + "HostAvailabilityRule", + "HttpActionConfiguration", + "HttpActionConfigurationUpdate", + "HttpEndpointConfig", + "HttpEndpointRule", + "HttpPathSegmentMatchingRule", + "HttpScriptConfiguration", + "HttpScriptConfigurationUpdate", + "HyperParam", + "ICMPConfiguration", + "ICMPConfigurationUpdate", + "ICMPValidation", + "IPFiltering", + "IPFilteringRuleDto", + "IPFilteringUpsert", + "IdentityProviderPatch", + "IdpStatusUpdate", + "ImpactedBeaconInfo", + "InfraAlertConfig", + "InfraAlertConfigWithMetadata", + "InfraAlertRule", + "InfraEventResult", + "InfraSloEntity", + "InfraTimeThreshold", + "InfrastructureEntitiesResult", + "InfrastructureGroup", + "InfrastructureGroupsResult", + "InfrastructureItem", + "InfrastructureMetricResult", + "InstanaVersionInfo", + "IntegrationOverview", + "Invitation", + "InvitationResponse", + "InvitationResult", + "IpMaskingConfiguration", + "JsStackTraceLine", + "KubernetesPhysicalContext", + "LLMEgressGateway", + "LLMGatewayCapability", + "LLMGatewayModel", + "LLMGatewayService", + "LLMGatewayTestConnectionRequest", + "LatencyBlueprintIndicator", + "LlmModelPrice", + "LlmModelPriceMetadata", + "LocationStatus", + "LogAlertConfig", + "LogAlertConfigWithMetadata", + "LogAlertRule", + "LogCountAlertRule", + "LogEventResult", + "LogTimeThreshold", + "LogVolumeGroup", + "LogVolumeUsageItem", + "LogVolumeUsageResult", + "LoggingPerspective", + "LogsApiResponse", + "LogsApplicationAlertRule", + "LogsQuery", + "MaintenanceConfig", + "MaintenanceConfigScheduling", + "MaintenanceConfigV2", + "MaintenanceConfigV2WithStateAndOccurrence", + "MaintenanceConfigWithLastUpdated", + "MaintenanceWindow", + "ManualAlertingChannelConfiguration", + "ManualCloseInfo", + "ManualServiceConfig", + "Mapping", + "MappingOverview", + "MatchAllHttpPathSegmentMatchingRule", + "MatchExpressionDTO", + "MetaData", + "MetricAPIResult", + "MetricConfig", + "MetricConfiguration", + "MetricDescription", + "MetricField", + "MetricFieldValue", + "MetricInstance", + "MetricItem", + "MetricMetadata", + "MetricPattern", + "MetricsResult", + "MetricsResultItem", + "MetricsTestResultItem", + "MobileApp", + "MobileAppAlertConfig", + "MobileAppAlertConfigWithRBACTag", + "MobileAppAlertRule", + "MobileAppBeaconGroupsItem", + "MobileAppBeaconGroupsResult", + "MobileAppBeaconResult", + "MobileAppBeaconTagGroup", + "MobileAppBeaconsItem", + "MobileAppEventResult", + "MobileAppMetricResult", + "MobileAppMonitoringBeacon", + "MobileAppMonitoringMetricDescription", + "MobileAppMonitoringMetricsConfiguration", + "MobileAppTimeThreshold", + "MobileSloEntity", + "ModelField", + "MonitoredEntitiesStats", + "MonitoringState", + "MultipleScriptsConfiguration", + "NS1Integration", + "NewApplicationConfig", + "NewBusinessPerspectiveConfig", + "NewManualServiceConfig", + "Notification", + "OAuthConfig", + "OAuthIntegration", + "OAuthToken", + "Occurrence", + "Office365Integration", + "OneTimeMaintenanceWindow", + "OpsgenieIntegration", + "Order", + "PagerdutyIntegration", + "PaginatedResult", + "Pagination", + "Parameter", + "ParameterValue", + "PathParameterHttpPathSegmentMatchingRule", + "PhysicalContext", + "PluginResult", + "Policy", + "PolicyRunnable", + "PolicyScheduling", + "PostMobileAppSourceMapConfigRequest", + "PostSnapshotsResult", + "PrefixObject", + "Problem", + "PrometheusWebhookIntegration", + "RbacRestrictions", + "RecurrentMaintenanceWindow", + "Release", + "ReleaseScope", + "ReleaseWithMetadata", + "RetentionPeriod", + "RoleMappingOverview", + "RollingTimeWindow", + "RuleInput", + "RuleWithThresholdApplicationAlertRule", + "RuleWithThresholdInfraAlertRule", + "RuleWithThresholdLogAlertRule", + "RuleWithThresholdMobileAppAlertRule", + "RuleWithThresholdWebsiteAlertRule", + "RunConfiguration", + "RunEvaluationResponse", + "SLOConfigWithRBACTag", + "SSLCertificateConfiguration", + "SSLCertificateConfigurationUpdate", + "SSLCertificateValidation", + "SalesforceIntegration", + "SamplingMetadata", + "SaturationBlueprintIndicator", + "ScopeBinding", + "SearchFieldResult", + "Service", + "ServiceConfig", + "ServiceEventResult", + "ServiceItem", + "ServiceLevelIndicator", + "ServiceLevelObjectiveAlertRule", + "ServiceLevelsAlertConfig", + "ServiceLevelsAlertConfigWithRBACTag", + "ServiceLevelsAlertRule", + "ServiceLevelsBurnRateConfig", + "ServiceLevelsBurnRateTimeWindows", + "ServiceLevelsStaticThresholdConfig", + "ServiceLevelsTimeThreshold", + "ServiceLevelseAlertConfigWithMetadata", + "ServiceMap", + "ServiceMapConnection", + "ServiceMatchingRule", + "ServiceMetricResult", + "ServiceNode", + "ServiceNowEnhancedIntegration", + "ServiceNowIntegration", + "ServiceResult", + "ServiceScope", + "ServiceScopeWithMetadata", + "ServiceScopedTo", + "ServiceScopedToWithMetadata", + "ServiceSimple", + "SessionReplayMetadata", + "SessionReplayTimestamps", + "SessionSettings", + "SimpleMetricConfiguration", + "SlackIntegration", + "SliConfiguration", + "SliConfigurationWithLastUpdated", + "SliEntity", + "SliReport", + "SloEntity", + "SloHealthSnapshot", + "SloHealthSnapshotItem", + "SloReport", + "SlownessApplicationAlertRule", + "SlownessMobileAppAlertRule", + "SlownessWebsiteAlertRule", + "SnapshotItem", + "SnapshotPreview", + "SnapshotResult", + "SoftwareUser", + "SoftwareVersion", + "SourceMapFileBlob", + "SourceMapFileMeta", + "SourceMapUploadConfig", + "SourceMapUploadConfigs", + "SpanExcerpt", + "SpanRelation", + "SpecificJsErrorsWebsiteAlertRule", + "SplunkIntegration", + "StackTraceItem", + "StackTraceLine", + "StaticBaselineThresholdRule", + "StaticStringField", + "StaticThreshold", + "StaticThresholdRule", + "StatusCodeApplicationAlertRule", + "StatusCodeMobileAppAlertRule", + "StatusCodeWebsiteAlertRule", + "SyntheticAlertConfig", + "SyntheticAlertConfigWithMetadata", + "SyntheticAlertConfigWithRBACTag", + "SyntheticAlertRule", + "SyntheticBulkResponse", + "SyntheticCallConfig", + "SyntheticCallRule", + "SyntheticCallWithDefaultsConfig", + "SyntheticConfiguration", + "SyntheticConfigurationUpdate", + "SyntheticCredential", + "SyntheticDatacenter", + "SyntheticDatacenterConfiguration", + "SyntheticGeoPoint", + "SyntheticLocation", + "SyntheticLocationConfiguration", + "SyntheticMetricConfiguration", + "SyntheticMetricTagGroup", + "SyntheticPlaybackCapabilities", + "SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue", + "SyntheticResourceUpdateListICMPValidationListICMPValidation", + "SyntheticResourceUpdateListNetworkProfileListNetworkProfile", + "SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation", + "SyntheticResourceUpdateListStringListString", + "SyntheticResourceUpdateMapStringStringListString", + "SyntheticSloEntity", + "SyntheticTest", + "SyntheticTestCICD", + "SyntheticTestCICDCustomization", + "SyntheticTestCICDItem", + "SyntheticTestCICDResponse", + "SyntheticTestDeepUpdate", + "SyntheticTestShallowUpdate", + "SyntheticTestUpdate", + "SyntheticTimeThreshold", + "SyntheticTypeConfiguration", + "SyntheticTypeConfigurationUpdate", + "SyntheticsEventResult", + "SystemRule", + "SystemRuleLabel", + "Tag", + "TagCatalog", + "TagFilter", + "TagFilterExpression", + "TagFilterExpressionElement", + "TagMatcherDTO", + "TagTreeLevel", + "TagTreeNode", + "TagTreeTag", + "TestCommonProperties", + "TestConnectionResponse", + "TestLastError", + "TestResult", + "TestResultCommonProperties", + "TestResultDetailData", + "TestResultItem", + "TestResultListItem", + "TestResultListResult", + "TestResultMetadata", + "TestResultSubtransaction", + "Threshold", + "ThresholdConfigRule", + "ThresholdRule", + "ThroughputApplicationAlertRule", + "ThroughputMobileAppAlertRule", + "ThroughputWebsiteAlertRule", + "TimeConfig", + "TimeFrame", + "TimeWindow", + "Topology", + "Trace", + "TraceActivityTreeNodeDetails", + "TraceDownloadResult", + "TraceGroupsItem", + "TraceGroupsResult", + "TraceImpactApplicationTimeThreshold", + "TraceItem", + "TraceResult", + "TraceSamplingConfig", + "TrafficBlueprintIndicator", + "Trigger", + "TypeConfiguration", + "UnifiedBeacon", + "UnsupportedHttpPathSegmentMatchingRule", + "UpdateEvaluationRequest", + "UpdatedBusinessPerspectiveConfig", + "UsageResult", + "UsageResultItems", + "UserBasicResult", + "UserImpactMobileAppTimeThreshold", + "UserImpactWebsiteTimeThreshold", + "UserResult", + "UsersResult", + "ValidatedAlertingChannelInputInfo", + "ValidatedAlertingConfiguration", + "ValidatedMaintenanceConfigV2WithStateAndOccurrence", + "ValidatedMaintenanceConfigWithStatus", + "VictorOpsIntegration", + "ViolationsInPeriodApplicationTimeThreshold", + "ViolationsInPeriodMobileAppTimeThreshold", + "ViolationsInPeriodWebsiteTimeThreshold", + "ViolationsInSequenceApplicationTimeThreshold", + "ViolationsInSequenceInfraTimeThreshold", + "ViolationsInSequenceLogTimeThreshold", + "ViolationsInSequenceMobileAppTimeThreshold", + "ViolationsInSequenceSyntheticTimeThreshold", + "ViolationsInSequenceWebsiteTimeThreshold", + "WatsonAIOpsWebhookIntegration", + "WebexTeamsWebhookIntegration", + "WebhookIntegration", + "WebpageActionConfiguration", + "WebpageActionConfigurationUpdate", + "WebpageScriptConfiguration", + "WebpageScriptConfigurationUpdate", + "Website", + "WebsiteAlertConfig", + "WebsiteAlertConfigWithMetadata", + "WebsiteAlertConfigWithRBACTag", + "WebsiteAlertRule", + "WebsiteApdexEntity", + "WebsiteBeaconGroupsItem", + "WebsiteBeaconGroupsResult", + "WebsiteBeaconResult", + "WebsiteBeaconTagGroup", + "WebsiteBeaconsItem", + "WebsiteEventBasedSliEntity", + "WebsiteEventResult", + "WebsiteMetricResult", + "WebsiteMonitoringBeacon", + "WebsiteMonitoringMetricDescription", + "WebsiteMonitoringMetricsConfiguration", + "WebsiteSloEntity", + "WebsiteTimeBasedSliEntity", + "WebsiteTimeThreshold", + "Widget", + "WithMetaData", + "WithResolvedName", + "ZChatOpsIntegration", +] + +if __import__("typing").TYPE_CHECKING: + # import apis into sdk package + from instana_client.api.ai_management_api import AIManagementApi as AIManagementApi + from instana_client.api.api_token_api import APITokenApi as APITokenApi + from instana_client.api.action_catalog_api import ActionCatalogApi as ActionCatalogApi + from instana_client.api.action_history_api import ActionHistoryApi as ActionHistoryApi + from instana_client.api.apdex_report_api import ApdexReportApi as ApdexReportApi + from instana_client.api.apdex_settings_api import ApdexSettingsApi as ApdexSettingsApi + from instana_client.api.application_alert_configuration_api import ApplicationAlertConfigurationApi as ApplicationAlertConfigurationApi + from instana_client.api.application_analyze_api import ApplicationAnalyzeApi as ApplicationAnalyzeApi + from instana_client.api.application_catalog_api import ApplicationCatalogApi as ApplicationCatalogApi + from instana_client.api.application_metrics_api import ApplicationMetricsApi as ApplicationMetricsApi + from instana_client.api.application_resources_api import ApplicationResourcesApi as ApplicationResourcesApi + from instana_client.api.application_settings_api import ApplicationSettingsApi as ApplicationSettingsApi + from instana_client.api.application_topology_api import ApplicationTopologyApi as ApplicationTopologyApi + from instana_client.api.audit_log_api import AuditLogApi as AuditLogApi + from instana_client.api.authentication_api import AuthenticationApi as AuthenticationApi + from instana_client.api.business_monitoring_api import BusinessMonitoringApi as BusinessMonitoringApi + from instana_client.api.custom_dashboards_api import CustomDashboardsApi as CustomDashboardsApi + from instana_client.api.custom_entities_api import CustomEntitiesApi as CustomEntitiesApi + from instana_client.api.end_user_monitoring_api import EndUserMonitoringApi as EndUserMonitoringApi + from instana_client.api.event_settings_api import EventSettingsApi as EventSettingsApi + from instana_client.api.events_api import EventsApi as EventsApi + from instana_client.api.global_application_alert_configuration_api import GlobalApplicationAlertConfigurationApi as GlobalApplicationAlertConfigurationApi + from instana_client.api.groups_api import GroupsApi as GroupsApi + from instana_client.api.health_api import HealthApi as HealthApi + from instana_client.api.host_agent_api import HostAgentApi as HostAgentApi + from instana_client.api.ip_filtering_api import IPFilteringApi as IPFilteringApi + from instana_client.api.infrastructure_alert_configuration_api import InfrastructureAlertConfigurationApi as InfrastructureAlertConfigurationApi + from instana_client.api.infrastructure_analyze_api import InfrastructureAnalyzeApi as InfrastructureAnalyzeApi + from instana_client.api.infrastructure_catalog_api import InfrastructureCatalogApi as InfrastructureCatalogApi + from instana_client.api.infrastructure_metrics_api import InfrastructureMetricsApi as InfrastructureMetricsApi + from instana_client.api.infrastructure_resources_api import InfrastructureResourcesApi as InfrastructureResourcesApi + from instana_client.api.infrastructure_topology_api import InfrastructureTopologyApi as InfrastructureTopologyApi + from instana_client.api.llm_evaluation_api import LLMEvaluationApi as LLMEvaluationApi + from instana_client.api.llm_price_configuration_api import LLMPriceConfigurationApi as LLMPriceConfigurationApi + from instana_client.api.log_alert_configuration_api import LogAlertConfigurationApi as LogAlertConfigurationApi + from instana_client.api.logging_analyze_api import LoggingAnalyzeApi as LoggingAnalyzeApi + from instana_client.api.maintenance_configuration_api import MaintenanceConfigurationApi as MaintenanceConfigurationApi + from instana_client.api.mobile_app_analyze_api import MobileAppAnalyzeApi as MobileAppAnalyzeApi + from instana_client.api.mobile_app_catalog_api import MobileAppCatalogApi as MobileAppCatalogApi + from instana_client.api.mobile_app_configuration_api import MobileAppConfigurationApi as MobileAppConfigurationApi + from instana_client.api.mobile_app_metrics_api import MobileAppMetricsApi as MobileAppMetricsApi + from instana_client.api.mobile_app_session_replay_api import MobileAppSessionReplayApi as MobileAppSessionReplayApi + from instana_client.api.policies_api import PoliciesApi as PoliciesApi + from instana_client.api.releases_api import ReleasesApi as ReleasesApi + from instana_client.api.roles_api import RolesApi as RolesApi + from instana_client.api.sli_report_api import SLIReportApi as SLIReportApi + from instana_client.api.sli_settings_api import SLISettingsApi as SLISettingsApi + from instana_client.api.slo_catalog_for_mobile_app_api import SLOCatalogForMobileAppApi as SLOCatalogForMobileAppApi + from instana_client.api.slo_configurations_api import SLOConfigurationsApi as SLOConfigurationsApi + from instana_client.api.slo_correction_configurations_api import SLOCorrectionConfigurationsApi as SLOCorrectionConfigurationsApi + from instana_client.api.slo_correction_windows_api import SLOCorrectionWindowsApi as SLOCorrectionWindowsApi + from instana_client.api.service_levels_alert_configuration_api import ServiceLevelsAlertConfigurationApi as ServiceLevelsAlertConfigurationApi + from instana_client.api.service_levels_objective_slo_report_api import ServiceLevelsObjectiveSLOReportApi as ServiceLevelsObjectiveSLOReportApi + from instana_client.api.session_settings_api import SessionSettingsApi as SessionSettingsApi + from instana_client.api.synthetic_alert_configuration_api import SyntheticAlertConfigurationApi as SyntheticAlertConfigurationApi + from instana_client.api.synthetic_calls_api import SyntheticCallsApi as SyntheticCallsApi + from instana_client.api.synthetic_catalog_api import SyntheticCatalogApi as SyntheticCatalogApi + from instana_client.api.synthetic_metrics_api import SyntheticMetricsApi as SyntheticMetricsApi + from instana_client.api.synthetic_settings_api import SyntheticSettingsApi as SyntheticSettingsApi + from instana_client.api.synthetic_test_playback_results_api import SyntheticTestPlaybackResultsApi as SyntheticTestPlaybackResultsApi + from instana_client.api.teams_api import TeamsApi as TeamsApi + from instana_client.api.usage_api import UsageApi as UsageApi + from instana_client.api.user_api import UserApi as UserApi + from instana_client.api.website_analyze_api import WebsiteAnalyzeApi as WebsiteAnalyzeApi + from instana_client.api.website_catalog_api import WebsiteCatalogApi as WebsiteCatalogApi + from instana_client.api.website_configuration_api import WebsiteConfigurationApi as WebsiteConfigurationApi + from instana_client.api.website_metrics_api import WebsiteMetricsApi as WebsiteMetricsApi + from instana_client.api.default_api import DefaultApi as DefaultApi + + # import ApiClient + from instana_client.api_response import ApiResponse as ApiResponse + from instana_client.api_client import ApiClient as ApiClient + from instana_client.configuration import Configuration as Configuration + from instana_client.exceptions import OpenApiException as OpenApiException + from instana_client.exceptions import ApiTypeError as ApiTypeError + from instana_client.exceptions import ApiValueError as ApiValueError + from instana_client.exceptions import ApiKeyError as ApiKeyError + from instana_client.exceptions import ApiAttributeError as ApiAttributeError + from instana_client.exceptions import ApiException as ApiException + + # import models into sdk package + from instana_client.models.abstract_integration import AbstractIntegration as AbstractIntegration + from instana_client.models.abstract_rule import AbstractRule as AbstractRule + from instana_client.models.access_rule import AccessRule as AccessRule + from instana_client.models.action import Action as Action + from instana_client.models.action_beacon import ActionBeacon as ActionBeacon + from instana_client.models.action_configuration import ActionConfiguration as ActionConfiguration + from instana_client.models.action_instance import ActionInstance as ActionInstance + from instana_client.models.action_instance_metadata_entry import ActionInstanceMetadataEntry as ActionInstanceMetadataEntry + from instana_client.models.action_instance_parameter import ActionInstanceParameter as ActionInstanceParameter + from instana_client.models.action_instance_request import ActionInstanceRequest as ActionInstanceRequest + from instana_client.models.action_instance_request_parameters import ActionInstanceRequestParameters as ActionInstanceRequestParameters + from instana_client.models.action_match import ActionMatch as ActionMatch + from instana_client.models.action_search_space import ActionSearchSpace as ActionSearchSpace + from instana_client.models.adaptive_baseline import AdaptiveBaseline as AdaptiveBaseline + from instana_client.models.adaptive_threshold_rule import AdaptiveThresholdRule as AdaptiveThresholdRule + from instana_client.models.adjusted_timeframe import AdjustedTimeframe as AdjustedTimeframe + from instana_client.models.advanced_custom_blueprint_indicator import AdvancedCustomBlueprintIndicator as AdvancedCustomBlueprintIndicator + from instana_client.models.advanced_filter import AdvancedFilter as AdvancedFilter + from instana_client.models.agent_configuration_update import AgentConfigurationUpdate as AgentConfigurationUpdate + from instana_client.models.agent_mode_update import AgentModeUpdate as AgentModeUpdate + from instana_client.models.alerting_configuration import AlertingConfiguration as AlertingConfiguration + from instana_client.models.alerting_configuration_with_last_updated import AlertingConfigurationWithLastUpdated as AlertingConfigurationWithLastUpdated + from instana_client.models.alerting_time_window import AlertingTimeWindow as AlertingTimeWindow + from instana_client.models.apdex_alert_rule import ApdexAlertRule as ApdexAlertRule + from instana_client.models.apdex_config_with_rbac_tag import ApdexConfigWithRBACTag as ApdexConfigWithRBACTag + from instana_client.models.apdex_configuration import ApdexConfiguration as ApdexConfiguration + from instana_client.models.apdex_configuration_input import ApdexConfigurationInput as ApdexConfigurationInput + from instana_client.models.apdex_entity import ApdexEntity as ApdexEntity + from instana_client.models.apdex_level import ApdexLevel as ApdexLevel + from instana_client.models.apdex_report import ApdexReport as ApdexReport + from instana_client.models.api_create_group import ApiCreateGroup as ApiCreateGroup + from instana_client.models.api_create_role import ApiCreateRole as ApiCreateRole + from instana_client.models.api_group import ApiGroup as ApiGroup + from instana_client.models.api_group_to_team_role_migration import ApiGroupToTeamRoleMigration as ApiGroupToTeamRoleMigration + from instana_client.models.api_log_item import ApiLogItem as ApiLogItem + from instana_client.models.api_log_tag import ApiLogTag as ApiLogTag + from instana_client.models.api_member import ApiMember as ApiMember + from instana_client.models.api_permission_set import ApiPermissionSet as ApiPermissionSet + from instana_client.models.api_restricted_application_filter import ApiRestrictedApplicationFilter as ApiRestrictedApplicationFilter + from instana_client.models.api_role import ApiRole as ApiRole + from instana_client.models.api_tag import ApiTag as ApiTag + from instana_client.models.api_team import ApiTeam as ApiTeam + from instana_client.models.api_team_info import ApiTeamInfo as ApiTeamInfo + from instana_client.models.api_team_member import ApiTeamMember as ApiTeamMember + from instana_client.models.api_team_role import ApiTeamRole as ApiTeamRole + from instana_client.models.api_team_scope import ApiTeamScope as ApiTeamScope + from instana_client.models.api_token import ApiToken as ApiToken + from instana_client.models.app_data_metric_configuration import AppDataMetricConfiguration as AppDataMetricConfiguration + from instana_client.models.application import Application as Application + from instana_client.models.application_alert_config import ApplicationAlertConfig as ApplicationAlertConfig + from instana_client.models.application_alert_config_with_metadata import ApplicationAlertConfigWithMetadata as ApplicationAlertConfigWithMetadata + from instana_client.models.application_alert_rule import ApplicationAlertRule as ApplicationAlertRule + from instana_client.models.application_apdex_entity import ApplicationApdexEntity as ApplicationApdexEntity + from instana_client.models.application_batch_business_criticality_update import ApplicationBatchBusinessCriticalityUpdate as ApplicationBatchBusinessCriticalityUpdate + from instana_client.models.application_config import ApplicationConfig as ApplicationConfig + from instana_client.models.application_event_result import ApplicationEventResult as ApplicationEventResult + from instana_client.models.application_item import ApplicationItem as ApplicationItem + from instana_client.models.application_metric_result import ApplicationMetricResult as ApplicationMetricResult + from instana_client.models.application_node import ApplicationNode as ApplicationNode + from instana_client.models.application_result import ApplicationResult as ApplicationResult + from instana_client.models.application_scope import ApplicationScope as ApplicationScope + from instana_client.models.application_scope_with_metadata import ApplicationScopeWithMetadata as ApplicationScopeWithMetadata + from instana_client.models.application_sli_entity import ApplicationSliEntity as ApplicationSliEntity + from instana_client.models.application_slo_entity import ApplicationSloEntity as ApplicationSloEntity + from instana_client.models.application_time_threshold import ApplicationTimeThreshold as ApplicationTimeThreshold + from instana_client.models.audit_log_ui_response import AuditLogUiResponse as AuditLogUiResponse + from instana_client.models.author import Author as Author + from instana_client.models.availability_blueprint_indicator import AvailabilityBlueprintIndicator as AvailabilityBlueprintIndicator + from instana_client.models.availability_sli_entity import AvailabilitySliEntity as AvailabilitySliEntity + from instana_client.models.available_metrics import AvailableMetrics as AvailableMetrics + from instana_client.models.available_plugins import AvailablePlugins as AvailablePlugins + from instana_client.models.backend_trace_reference import BackendTraceReference as BackendTraceReference + from instana_client.models.bidirectional_ms_teams_app_integration import BidirectionalMsTeamsAppIntegration as BidirectionalMsTeamsAppIntegration + from instana_client.models.bidirectional_slack_app_integration import BidirectionalSlackAppIntegration as BidirectionalSlackAppIntegration + from instana_client.models.binary_operator_dto import BinaryOperatorDTO as BinaryOperatorDTO + from instana_client.models.browser_script_configuration import BrowserScriptConfiguration as BrowserScriptConfiguration + from instana_client.models.browser_script_configuration_update import BrowserScriptConfigurationUpdate as BrowserScriptConfigurationUpdate + from instana_client.models.built_in_event_specification import BuiltInEventSpecification as BuiltInEventSpecification + from instana_client.models.built_in_event_specification_with_last_updated import BuiltInEventSpecificationWithLastUpdated as BuiltInEventSpecificationWithLastUpdated + from instana_client.models.bulk_alert_config_request import BulkAlertConfigRequest as BulkAlertConfigRequest + from instana_client.models.business_activity import BusinessActivity as BusinessActivity + from instana_client.models.business_perspective_config import BusinessPerspectiveConfig as BusinessPerspectiveConfig + from instana_client.models.call_groups_item import CallGroupsItem as CallGroupsItem + from instana_client.models.call_groups_result import CallGroupsResult as CallGroupsResult + from instana_client.models.call_relation import CallRelation as CallRelation + from instana_client.models.calls_event_result import CallsEventResult as CallsEventResult + from instana_client.models.change_summary import ChangeSummary as ChangeSummary + from instana_client.models.cloudfoundry_physical_context import CloudfoundryPhysicalContext as CloudfoundryPhysicalContext + from instana_client.models.condition import Condition as Condition + from instana_client.models.config_version import ConfigVersion as ConfigVersion + from instana_client.models.correction import Correction as Correction + from instana_client.models.correction_configuration import CorrectionConfiguration as CorrectionConfiguration + from instana_client.models.correction_scheduling import CorrectionScheduling as CorrectionScheduling + from instana_client.models.correction_window import CorrectionWindow as CorrectionWindow + from instana_client.models.crash_mobile_app_alert_rule import CrashMobileAppAlertRule as CrashMobileAppAlertRule + from instana_client.models.create_evaluation_request import CreateEvaluationRequest as CreateEvaluationRequest + from instana_client.models.create_evaluation_response import CreateEvaluationResponse as CreateEvaluationResponse + from instana_client.models.create_website_request_inner import CreateWebsiteRequestInner as CreateWebsiteRequestInner + from instana_client.models.cursor_paginated_business_activity_item import CursorPaginatedBusinessActivityItem as CursorPaginatedBusinessActivityItem + from instana_client.models.cursor_pagination import CursorPagination as CursorPagination + from instana_client.models.cursor_pagination_with_ui_cursor_infra_explore_cursor import CursorPaginationWithUiCursorInfraExploreCursor as CursorPaginationWithUiCursorInfraExploreCursor + from instana_client.models.custom_blueprint_indicator import CustomBlueprintIndicator as CustomBlueprintIndicator + from instana_client.models.custom_dashboard import CustomDashboard as CustomDashboard + from instana_client.models.custom_dashboard_preview import CustomDashboardPreview as CustomDashboardPreview + from instana_client.models.custom_dashboard_with_user_specific_information import CustomDashboardWithUserSpecificInformation as CustomDashboardWithUserSpecificInformation + from instana_client.models.custom_dependency import CustomDependency as CustomDependency + from instana_client.models.custom_email_subject_prefix import CustomEmailSubjectPrefix as CustomEmailSubjectPrefix + from instana_client.models.custom_entity_model import CustomEntityModel as CustomEntityModel + from instana_client.models.custom_entity_with_metadata import CustomEntityWithMetadata as CustomEntityWithMetadata + from instana_client.models.custom_event_mobile_app_alert_rule import CustomEventMobileAppAlertRule as CustomEventMobileAppAlertRule + from instana_client.models.custom_event_specification import CustomEventSpecification as CustomEventSpecification + from instana_client.models.custom_event_specification_with_last_updated import CustomEventSpecificationWithLastUpdated as CustomEventSpecificationWithLastUpdated + from instana_client.models.custom_event_website_alert_rule import CustomEventWebsiteAlertRule as CustomEventWebsiteAlertRule + from instana_client.models.custom_metric import CustomMetric as CustomMetric + from instana_client.models.custom_metric_application_alert_rule import CustomMetricApplicationAlertRule as CustomMetricApplicationAlertRule + from instana_client.models.custom_payload_configuration import CustomPayloadConfiguration as CustomPayloadConfiguration + from instana_client.models.custom_payload_field import CustomPayloadField as CustomPayloadField + from instana_client.models.custom_payload_with_last_updated import CustomPayloadWithLastUpdated as CustomPayloadWithLastUpdated + from instana_client.models.custom_payload_with_version import CustomPayloadWithVersion as CustomPayloadWithVersion + from instana_client.models.custom_tag import CustomTag as CustomTag + from instana_client.models.customer_email import CustomerEmail as CustomerEmail + from instana_client.models.dns_configuration import DNSConfiguration as DNSConfiguration + from instana_client.models.dns_configuration_update import DNSConfigurationUpdate as DNSConfigurationUpdate + from instana_client.models.dns_filter_query_time import DNSFilterQueryTime as DNSFilterQueryTime + from instana_client.models.dns_filter_target_value import DNSFilterTargetValue as DNSFilterTargetValue + from instana_client.models.dashboard_api_token import DashboardApiToken as DashboardApiToken + from instana_client.models.database_integration import DatabaseIntegration as DatabaseIntegration + from instana_client.models.deprecated_tag_filter import DeprecatedTagFilter as DeprecatedTagFilter + from instana_client.models.duration import Duration as Duration + from instana_client.models.dynamic_field import DynamicField as DynamicField + from instana_client.models.dynamic_field_value import DynamicFieldValue as DynamicFieldValue + from instana_client.models.dynamic_parameter import DynamicParameter as DynamicParameter + from instana_client.models.dynamic_tag import DynamicTag as DynamicTag + from instana_client.models.edit_user import EditUser as EditUser + from instana_client.models.email_integration import EmailIntegration as EmailIntegration + from instana_client.models.empty_configuration import EmptyConfiguration as EmptyConfiguration + from instana_client.models.endpoint import Endpoint as Endpoint + from instana_client.models.endpoint_config import EndpointConfig as EndpointConfig + from instana_client.models.endpoint_event_result import EndpointEventResult as EndpointEventResult + from instana_client.models.endpoint_item import EndpointItem as EndpointItem + from instana_client.models.endpoint_metric_result import EndpointMetricResult as EndpointMetricResult + from instana_client.models.endpoint_node import EndpointNode as EndpointNode + from instana_client.models.endpoint_result import EndpointResult as EndpointResult + from instana_client.models.endpoint_simple import EndpointSimple as EndpointSimple + from instana_client.models.entity_count_rule import EntityCountRule as EntityCountRule + from instana_client.models.entity_count_verification_rule import EntityCountVerificationRule as EntityCountVerificationRule + from instana_client.models.entity_health_info import EntityHealthInfo as EntityHealthInfo + from instana_client.models.entity_id import EntityId as EntityId + from instana_client.models.entity_metric import EntityMetric as EntityMetric + from instana_client.models.entity_metric_scope import EntityMetricScope as EntityMetricScope + from instana_client.models.entity_verification_rule import EntityVerificationRule as EntityVerificationRule + from instana_client.models.error_budget_alert_rule import ErrorBudgetAlertRule as ErrorBudgetAlertRule + from instana_client.models.errors_application_alert_rule import ErrorsApplicationAlertRule as ErrorsApplicationAlertRule + from instana_client.models.evaluation_detail_response import EvaluationDetailResponse as EvaluationDetailResponse + from instana_client.models.evaluation_list_item import EvaluationListItem as EvaluationListItem + from instana_client.models.evaluation_list_response import EvaluationListResponse as EvaluationListResponse + from instana_client.models.evaluator import Evaluator as Evaluator + from instana_client.models.event import Event as Event + from instana_client.models.event_filtering_configuration import EventFilteringConfiguration as EventFilteringConfiguration + from instana_client.models.event_result import EventResult as EventResult + from instana_client.models.event_specification_info import EventSpecificationInfo as EventSpecificationInfo + from instana_client.models.extended_service import ExtendedService as ExtendedService + from instana_client.models.failure_synthetic_alert_rule import FailureSyntheticAlertRule as FailureSyntheticAlertRule + from instana_client.models.filter_interface import FilterInterface as FilterInterface + from instana_client.models.fixed_http_path_segment_matching_rule import FixedHttpPathSegmentMatchingRule as FixedHttpPathSegmentMatchingRule + from instana_client.models.fixed_time_window import FixedTimeWindow as FixedTimeWindow + from instana_client.models.gateway_status_response import GatewayStatusResponse as GatewayStatusResponse + from instana_client.models.generic_infra_alert_rule import GenericInfraAlertRule as GenericInfraAlertRule + from instana_client.models.geo_location_configuration import GeoLocationConfiguration as GeoLocationConfiguration + from instana_client.models.geo_mapping_rule import GeoMappingRule as GeoMappingRule + from instana_client.models.geo_subdivision import GeoSubdivision as GeoSubdivision + from instana_client.models.get_action_beacons_result import GetActionBeaconsResult as GetActionBeaconsResult + from instana_client.models.get_activities import GetActivities as GetActivities + from instana_client.models.get_application_metrics import GetApplicationMetrics as GetApplicationMetrics + from instana_client.models.get_applications import GetApplications as GetApplications + from instana_client.models.get_available_metrics_query import GetAvailableMetricsQuery as GetAvailableMetricsQuery + from instana_client.models.get_available_plugins_query import GetAvailablePluginsQuery as GetAvailablePluginsQuery + from instana_client.models.get_call_groups import GetCallGroups as GetCallGroups + from instana_client.models.get_combined_metrics import GetCombinedMetrics as GetCombinedMetrics + from instana_client.models.get_dynamic_parameter_values import GetDynamicParameterValues as GetDynamicParameterValues + from instana_client.models.get_endpoints import GetEndpoints as GetEndpoints + from instana_client.models.get_infrastructure_groups_query import GetInfrastructureGroupsQuery as GetInfrastructureGroupsQuery + from instana_client.models.get_infrastructure_query import GetInfrastructureQuery as GetInfrastructureQuery + from instana_client.models.get_metrics_result import GetMetricsResult as GetMetricsResult + from instana_client.models.get_mobile_app_beacon_groups import GetMobileAppBeaconGroups as GetMobileAppBeaconGroups + from instana_client.models.get_mobile_app_beacons import GetMobileAppBeacons as GetMobileAppBeacons + from instana_client.models.get_mobile_app_metrics import GetMobileAppMetrics as GetMobileAppMetrics + from instana_client.models.get_mobile_app_metrics_v2 import GetMobileAppMetricsV2 as GetMobileAppMetricsV2 + from instana_client.models.get_payload_keys_result import GetPayloadKeysResult as GetPayloadKeysResult + from instana_client.models.get_services import GetServices as GetServices + from instana_client.models.get_session_replay_metadata_result import GetSessionReplayMetadataResult as GetSessionReplayMetadataResult + from instana_client.models.get_snapshots_query import GetSnapshotsQuery as GetSnapshotsQuery + from instana_client.models.get_test_result import GetTestResult as GetTestResult + from instana_client.models.get_test_result_analytic import GetTestResultAnalytic as GetTestResultAnalytic + from instana_client.models.get_test_result_base import GetTestResultBase as GetTestResultBase + from instana_client.models.get_test_result_list import GetTestResultList as GetTestResultList + from instana_client.models.get_test_summary_result import GetTestSummaryResult as GetTestSummaryResult + from instana_client.models.get_trace_download_result_item import GetTraceDownloadResultItem as GetTraceDownloadResultItem + from instana_client.models.get_trace_groups import GetTraceGroups as GetTraceGroups + from instana_client.models.get_traces import GetTraces as GetTraces + from instana_client.models.get_website_beacon_groups import GetWebsiteBeaconGroups as GetWebsiteBeaconGroups + from instana_client.models.get_website_beacons import GetWebsiteBeacons as GetWebsiteBeacons + from instana_client.models.get_website_metrics import GetWebsiteMetrics as GetWebsiteMetrics + from instana_client.models.get_website_metrics_v2 import GetWebsiteMetricsV2 as GetWebsiteMetricsV2 + from instana_client.models.git_hub_configuration import GitHubConfiguration as GitHubConfiguration + from instana_client.models.global_application_alert_config_with_metadata import GlobalApplicationAlertConfigWithMetadata as GlobalApplicationAlertConfigWithMetadata + from instana_client.models.global_applications_alert_config import GlobalApplicationsAlertConfig as GlobalApplicationsAlertConfig + from instana_client.models.google_chat_integration import GoogleChatIntegration as GoogleChatIntegration + from instana_client.models.graph_edge import GraphEdge as GraphEdge + from instana_client.models.graph_node import GraphNode as GraphNode + from instana_client.models.group import Group as Group + from instana_client.models.group_by_tag import GroupByTag as GroupByTag + from instana_client.models.health_state import HealthState as HealthState + from instana_client.models.historic_baseline import HistoricBaseline as HistoricBaseline + from instana_client.models.host_availability_rule import HostAvailabilityRule as HostAvailabilityRule + from instana_client.models.http_action_configuration import HttpActionConfiguration as HttpActionConfiguration + from instana_client.models.http_action_configuration_update import HttpActionConfigurationUpdate as HttpActionConfigurationUpdate + from instana_client.models.http_endpoint_config import HttpEndpointConfig as HttpEndpointConfig + from instana_client.models.http_endpoint_rule import HttpEndpointRule as HttpEndpointRule + from instana_client.models.http_path_segment_matching_rule import HttpPathSegmentMatchingRule as HttpPathSegmentMatchingRule + from instana_client.models.http_script_configuration import HttpScriptConfiguration as HttpScriptConfiguration + from instana_client.models.http_script_configuration_update import HttpScriptConfigurationUpdate as HttpScriptConfigurationUpdate + from instana_client.models.hyper_param import HyperParam as HyperParam + from instana_client.models.icmp_configuration import ICMPConfiguration as ICMPConfiguration + from instana_client.models.icmp_configuration_update import ICMPConfigurationUpdate as ICMPConfigurationUpdate + from instana_client.models.icmp_validation import ICMPValidation as ICMPValidation + from instana_client.models.ip_filtering import IPFiltering as IPFiltering + from instana_client.models.ip_filtering_rule_dto import IPFilteringRuleDto as IPFilteringRuleDto + from instana_client.models.ip_filtering_upsert import IPFilteringUpsert as IPFilteringUpsert + from instana_client.models.identity_provider_patch import IdentityProviderPatch as IdentityProviderPatch + from instana_client.models.idp_status_update import IdpStatusUpdate as IdpStatusUpdate + from instana_client.models.impacted_beacon_info import ImpactedBeaconInfo as ImpactedBeaconInfo + from instana_client.models.infra_alert_config import InfraAlertConfig as InfraAlertConfig + from instana_client.models.infra_alert_config_with_metadata import InfraAlertConfigWithMetadata as InfraAlertConfigWithMetadata + from instana_client.models.infra_alert_rule import InfraAlertRule as InfraAlertRule + from instana_client.models.infra_event_result import InfraEventResult as InfraEventResult + from instana_client.models.infra_slo_entity import InfraSloEntity as InfraSloEntity + from instana_client.models.infra_time_threshold import InfraTimeThreshold as InfraTimeThreshold + from instana_client.models.infrastructure_entities_result import InfrastructureEntitiesResult as InfrastructureEntitiesResult + from instana_client.models.infrastructure_group import InfrastructureGroup as InfrastructureGroup + from instana_client.models.infrastructure_groups_result import InfrastructureGroupsResult as InfrastructureGroupsResult + from instana_client.models.infrastructure_item import InfrastructureItem as InfrastructureItem + from instana_client.models.infrastructure_metric_result import InfrastructureMetricResult as InfrastructureMetricResult + from instana_client.models.instana_version_info import InstanaVersionInfo as InstanaVersionInfo + from instana_client.models.integration_overview import IntegrationOverview as IntegrationOverview + from instana_client.models.invitation import Invitation as Invitation + from instana_client.models.invitation_response import InvitationResponse as InvitationResponse + from instana_client.models.invitation_result import InvitationResult as InvitationResult + from instana_client.models.ip_masking_configuration import IpMaskingConfiguration as IpMaskingConfiguration + from instana_client.models.js_stack_trace_line import JsStackTraceLine as JsStackTraceLine + from instana_client.models.kubernetes_physical_context import KubernetesPhysicalContext as KubernetesPhysicalContext + from instana_client.models.llm_egress_gateway import LLMEgressGateway as LLMEgressGateway + from instana_client.models.llm_gateway_capability import LLMGatewayCapability as LLMGatewayCapability + from instana_client.models.llm_gateway_model import LLMGatewayModel as LLMGatewayModel + from instana_client.models.llm_gateway_service import LLMGatewayService as LLMGatewayService + from instana_client.models.llm_gateway_test_connection_request import LLMGatewayTestConnectionRequest as LLMGatewayTestConnectionRequest + from instana_client.models.latency_blueprint_indicator import LatencyBlueprintIndicator as LatencyBlueprintIndicator + from instana_client.models.llm_model_price import LlmModelPrice as LlmModelPrice + from instana_client.models.llm_model_price_metadata import LlmModelPriceMetadata as LlmModelPriceMetadata + from instana_client.models.location_status import LocationStatus as LocationStatus + from instana_client.models.log_alert_config import LogAlertConfig as LogAlertConfig + from instana_client.models.log_alert_config_with_metadata import LogAlertConfigWithMetadata as LogAlertConfigWithMetadata + from instana_client.models.log_alert_rule import LogAlertRule as LogAlertRule + from instana_client.models.log_count_alert_rule import LogCountAlertRule as LogCountAlertRule + from instana_client.models.log_event_result import LogEventResult as LogEventResult + from instana_client.models.log_time_threshold import LogTimeThreshold as LogTimeThreshold + from instana_client.models.log_volume_group import LogVolumeGroup as LogVolumeGroup + from instana_client.models.log_volume_usage_item import LogVolumeUsageItem as LogVolumeUsageItem + from instana_client.models.log_volume_usage_result import LogVolumeUsageResult as LogVolumeUsageResult + from instana_client.models.logging_perspective import LoggingPerspective as LoggingPerspective + from instana_client.models.logs_api_response import LogsApiResponse as LogsApiResponse + from instana_client.models.logs_application_alert_rule import LogsApplicationAlertRule as LogsApplicationAlertRule + from instana_client.models.logs_query import LogsQuery as LogsQuery + from instana_client.models.maintenance_config import MaintenanceConfig as MaintenanceConfig + from instana_client.models.maintenance_config_scheduling import MaintenanceConfigScheduling as MaintenanceConfigScheduling + from instana_client.models.maintenance_config_v2 import MaintenanceConfigV2 as MaintenanceConfigV2 + from instana_client.models.maintenance_config_v2_with_state_and_occurrence import MaintenanceConfigV2WithStateAndOccurrence as MaintenanceConfigV2WithStateAndOccurrence + from instana_client.models.maintenance_config_with_last_updated import MaintenanceConfigWithLastUpdated as MaintenanceConfigWithLastUpdated + from instana_client.models.maintenance_window import MaintenanceWindow as MaintenanceWindow + from instana_client.models.manual_alerting_channel_configuration import ManualAlertingChannelConfiguration as ManualAlertingChannelConfiguration + from instana_client.models.manual_close_info import ManualCloseInfo as ManualCloseInfo + from instana_client.models.manual_service_config import ManualServiceConfig as ManualServiceConfig + from instana_client.models.mapping import Mapping as Mapping + from instana_client.models.mapping_overview import MappingOverview as MappingOverview + from instana_client.models.match_all_http_path_segment_matching_rule import MatchAllHttpPathSegmentMatchingRule as MatchAllHttpPathSegmentMatchingRule + from instana_client.models.match_expression_dto import MatchExpressionDTO as MatchExpressionDTO + from instana_client.models.meta_data import MetaData as MetaData + from instana_client.models.metric_api_result import MetricAPIResult as MetricAPIResult + from instana_client.models.metric_config import MetricConfig as MetricConfig + from instana_client.models.metric_configuration import MetricConfiguration as MetricConfiguration + from instana_client.models.metric_description import MetricDescription as MetricDescription + from instana_client.models.metric_field import MetricField as MetricField + from instana_client.models.metric_field_value import MetricFieldValue as MetricFieldValue + from instana_client.models.metric_instance import MetricInstance as MetricInstance + from instana_client.models.metric_item import MetricItem as MetricItem + from instana_client.models.metric_metadata import MetricMetadata as MetricMetadata + from instana_client.models.metric_pattern import MetricPattern as MetricPattern + from instana_client.models.metrics_result import MetricsResult as MetricsResult + from instana_client.models.metrics_result_item import MetricsResultItem as MetricsResultItem + from instana_client.models.metrics_test_result_item import MetricsTestResultItem as MetricsTestResultItem + from instana_client.models.mobile_app import MobileApp as MobileApp + from instana_client.models.mobile_app_alert_config import MobileAppAlertConfig as MobileAppAlertConfig + from instana_client.models.mobile_app_alert_config_with_rbac_tag import MobileAppAlertConfigWithRBACTag as MobileAppAlertConfigWithRBACTag + from instana_client.models.mobile_app_alert_rule import MobileAppAlertRule as MobileAppAlertRule + from instana_client.models.mobile_app_beacon_groups_item import MobileAppBeaconGroupsItem as MobileAppBeaconGroupsItem + from instana_client.models.mobile_app_beacon_groups_result import MobileAppBeaconGroupsResult as MobileAppBeaconGroupsResult + from instana_client.models.mobile_app_beacon_result import MobileAppBeaconResult as MobileAppBeaconResult + from instana_client.models.mobile_app_beacon_tag_group import MobileAppBeaconTagGroup as MobileAppBeaconTagGroup + from instana_client.models.mobile_app_beacons_item import MobileAppBeaconsItem as MobileAppBeaconsItem + from instana_client.models.mobile_app_event_result import MobileAppEventResult as MobileAppEventResult + from instana_client.models.mobile_app_metric_result import MobileAppMetricResult as MobileAppMetricResult + from instana_client.models.mobile_app_monitoring_beacon import MobileAppMonitoringBeacon as MobileAppMonitoringBeacon + from instana_client.models.mobile_app_monitoring_metric_description import MobileAppMonitoringMetricDescription as MobileAppMonitoringMetricDescription + from instana_client.models.mobile_app_monitoring_metrics_configuration import MobileAppMonitoringMetricsConfiguration as MobileAppMonitoringMetricsConfiguration + from instana_client.models.mobile_app_time_threshold import MobileAppTimeThreshold as MobileAppTimeThreshold + from instana_client.models.mobile_slo_entity import MobileSloEntity as MobileSloEntity + from instana_client.models.model_field import ModelField as ModelField + from instana_client.models.monitored_entities_stats import MonitoredEntitiesStats as MonitoredEntitiesStats + from instana_client.models.monitoring_state import MonitoringState as MonitoringState + from instana_client.models.multiple_scripts_configuration import MultipleScriptsConfiguration as MultipleScriptsConfiguration + from instana_client.models.ns1_integration import NS1Integration as NS1Integration + from instana_client.models.new_application_config import NewApplicationConfig as NewApplicationConfig + from instana_client.models.new_business_perspective_config import NewBusinessPerspectiveConfig as NewBusinessPerspectiveConfig + from instana_client.models.new_manual_service_config import NewManualServiceConfig as NewManualServiceConfig + from instana_client.models.notification import Notification as Notification + from instana_client.models.o_auth_config import OAuthConfig as OAuthConfig + from instana_client.models.o_auth_integration import OAuthIntegration as OAuthIntegration + from instana_client.models.o_auth_token import OAuthToken as OAuthToken + from instana_client.models.occurrence import Occurrence as Occurrence + from instana_client.models.office365_integration import Office365Integration as Office365Integration + from instana_client.models.one_time_maintenance_window import OneTimeMaintenanceWindow as OneTimeMaintenanceWindow + from instana_client.models.opsgenie_integration import OpsgenieIntegration as OpsgenieIntegration + from instana_client.models.order import Order as Order + from instana_client.models.pagerduty_integration import PagerdutyIntegration as PagerdutyIntegration + from instana_client.models.paginated_result import PaginatedResult as PaginatedResult + from instana_client.models.pagination import Pagination as Pagination + from instana_client.models.parameter import Parameter as Parameter + from instana_client.models.parameter_value import ParameterValue as ParameterValue + from instana_client.models.path_parameter_http_path_segment_matching_rule import PathParameterHttpPathSegmentMatchingRule as PathParameterHttpPathSegmentMatchingRule + from instana_client.models.physical_context import PhysicalContext as PhysicalContext + from instana_client.models.plugin_result import PluginResult as PluginResult + from instana_client.models.policy import Policy as Policy + from instana_client.models.policy_runnable import PolicyRunnable as PolicyRunnable + from instana_client.models.policy_scheduling import PolicyScheduling as PolicyScheduling + from instana_client.models.post_mobile_app_source_map_config_request import PostMobileAppSourceMapConfigRequest as PostMobileAppSourceMapConfigRequest + from instana_client.models.post_snapshots_result import PostSnapshotsResult as PostSnapshotsResult + from instana_client.models.prefix_object import PrefixObject as PrefixObject + from instana_client.models.problem import Problem as Problem + from instana_client.models.prometheus_webhook_integration import PrometheusWebhookIntegration as PrometheusWebhookIntegration + from instana_client.models.rbac_restrictions import RbacRestrictions as RbacRestrictions + from instana_client.models.recurrent_maintenance_window import RecurrentMaintenanceWindow as RecurrentMaintenanceWindow + from instana_client.models.release import Release as Release + from instana_client.models.release_scope import ReleaseScope as ReleaseScope + from instana_client.models.release_with_metadata import ReleaseWithMetadata as ReleaseWithMetadata + from instana_client.models.retention_period import RetentionPeriod as RetentionPeriod + from instana_client.models.role_mapping_overview import RoleMappingOverview as RoleMappingOverview + from instana_client.models.rolling_time_window import RollingTimeWindow as RollingTimeWindow + from instana_client.models.rule_input import RuleInput as RuleInput + from instana_client.models.rule_with_threshold_application_alert_rule import RuleWithThresholdApplicationAlertRule as RuleWithThresholdApplicationAlertRule + from instana_client.models.rule_with_threshold_infra_alert_rule import RuleWithThresholdInfraAlertRule as RuleWithThresholdInfraAlertRule + from instana_client.models.rule_with_threshold_log_alert_rule import RuleWithThresholdLogAlertRule as RuleWithThresholdLogAlertRule + from instana_client.models.rule_with_threshold_mobile_app_alert_rule import RuleWithThresholdMobileAppAlertRule as RuleWithThresholdMobileAppAlertRule + from instana_client.models.rule_with_threshold_website_alert_rule import RuleWithThresholdWebsiteAlertRule as RuleWithThresholdWebsiteAlertRule + from instana_client.models.run_configuration import RunConfiguration as RunConfiguration + from instana_client.models.run_evaluation_response import RunEvaluationResponse as RunEvaluationResponse + from instana_client.models.slo_config_with_rbac_tag import SLOConfigWithRBACTag as SLOConfigWithRBACTag + from instana_client.models.ssl_certificate_configuration import SSLCertificateConfiguration as SSLCertificateConfiguration + from instana_client.models.ssl_certificate_configuration_update import SSLCertificateConfigurationUpdate as SSLCertificateConfigurationUpdate + from instana_client.models.ssl_certificate_validation import SSLCertificateValidation as SSLCertificateValidation + from instana_client.models.salesforce_integration import SalesforceIntegration as SalesforceIntegration + from instana_client.models.sampling_metadata import SamplingMetadata as SamplingMetadata + from instana_client.models.saturation_blueprint_indicator import SaturationBlueprintIndicator as SaturationBlueprintIndicator + from instana_client.models.scope_binding import ScopeBinding as ScopeBinding + from instana_client.models.search_field_result import SearchFieldResult as SearchFieldResult + from instana_client.models.service import Service as Service + from instana_client.models.service_config import ServiceConfig as ServiceConfig + from instana_client.models.service_event_result import ServiceEventResult as ServiceEventResult + from instana_client.models.service_item import ServiceItem as ServiceItem + from instana_client.models.service_level_indicator import ServiceLevelIndicator as ServiceLevelIndicator + from instana_client.models.service_level_objective_alert_rule import ServiceLevelObjectiveAlertRule as ServiceLevelObjectiveAlertRule + from instana_client.models.service_levels_alert_config import ServiceLevelsAlertConfig as ServiceLevelsAlertConfig + from instana_client.models.service_levels_alert_config_with_rbac_tag import ServiceLevelsAlertConfigWithRBACTag as ServiceLevelsAlertConfigWithRBACTag + from instana_client.models.service_levels_alert_rule import ServiceLevelsAlertRule as ServiceLevelsAlertRule + from instana_client.models.service_levels_burn_rate_config import ServiceLevelsBurnRateConfig as ServiceLevelsBurnRateConfig + from instana_client.models.service_levels_burn_rate_time_windows import ServiceLevelsBurnRateTimeWindows as ServiceLevelsBurnRateTimeWindows + from instana_client.models.service_levels_static_threshold_config import ServiceLevelsStaticThresholdConfig as ServiceLevelsStaticThresholdConfig + from instana_client.models.service_levels_time_threshold import ServiceLevelsTimeThreshold as ServiceLevelsTimeThreshold + from instana_client.models.service_levelse_alert_config_with_metadata import ServiceLevelseAlertConfigWithMetadata as ServiceLevelseAlertConfigWithMetadata + from instana_client.models.service_map import ServiceMap as ServiceMap + from instana_client.models.service_map_connection import ServiceMapConnection as ServiceMapConnection + from instana_client.models.service_matching_rule import ServiceMatchingRule as ServiceMatchingRule + from instana_client.models.service_metric_result import ServiceMetricResult as ServiceMetricResult + from instana_client.models.service_node import ServiceNode as ServiceNode + from instana_client.models.service_now_enhanced_integration import ServiceNowEnhancedIntegration as ServiceNowEnhancedIntegration + from instana_client.models.service_now_integration import ServiceNowIntegration as ServiceNowIntegration + from instana_client.models.service_result import ServiceResult as ServiceResult + from instana_client.models.service_scope import ServiceScope as ServiceScope + from instana_client.models.service_scope_with_metadata import ServiceScopeWithMetadata as ServiceScopeWithMetadata + from instana_client.models.service_scoped_to import ServiceScopedTo as ServiceScopedTo + from instana_client.models.service_scoped_to_with_metadata import ServiceScopedToWithMetadata as ServiceScopedToWithMetadata + from instana_client.models.service_simple import ServiceSimple as ServiceSimple + from instana_client.models.session_replay_metadata import SessionReplayMetadata as SessionReplayMetadata + from instana_client.models.session_replay_timestamps import SessionReplayTimestamps as SessionReplayTimestamps + from instana_client.models.session_settings import SessionSettings as SessionSettings + from instana_client.models.simple_metric_configuration import SimpleMetricConfiguration as SimpleMetricConfiguration + from instana_client.models.slack_integration import SlackIntegration as SlackIntegration + from instana_client.models.sli_configuration import SliConfiguration as SliConfiguration + from instana_client.models.sli_configuration_with_last_updated import SliConfigurationWithLastUpdated as SliConfigurationWithLastUpdated + from instana_client.models.sli_entity import SliEntity as SliEntity + from instana_client.models.sli_report import SliReport as SliReport + from instana_client.models.slo_entity import SloEntity as SloEntity + from instana_client.models.slo_health_snapshot import SloHealthSnapshot as SloHealthSnapshot + from instana_client.models.slo_health_snapshot_item import SloHealthSnapshotItem as SloHealthSnapshotItem + from instana_client.models.slo_report import SloReport as SloReport + from instana_client.models.slowness_application_alert_rule import SlownessApplicationAlertRule as SlownessApplicationAlertRule + from instana_client.models.slowness_mobile_app_alert_rule import SlownessMobileAppAlertRule as SlownessMobileAppAlertRule + from instana_client.models.slowness_website_alert_rule import SlownessWebsiteAlertRule as SlownessWebsiteAlertRule + from instana_client.models.snapshot_item import SnapshotItem as SnapshotItem + from instana_client.models.snapshot_preview import SnapshotPreview as SnapshotPreview + from instana_client.models.snapshot_result import SnapshotResult as SnapshotResult + from instana_client.models.software_user import SoftwareUser as SoftwareUser + from instana_client.models.software_version import SoftwareVersion as SoftwareVersion + from instana_client.models.source_map_file_blob import SourceMapFileBlob as SourceMapFileBlob + from instana_client.models.source_map_file_meta import SourceMapFileMeta as SourceMapFileMeta + from instana_client.models.source_map_upload_config import SourceMapUploadConfig as SourceMapUploadConfig + from instana_client.models.source_map_upload_configs import SourceMapUploadConfigs as SourceMapUploadConfigs + from instana_client.models.span_excerpt import SpanExcerpt as SpanExcerpt + from instana_client.models.span_relation import SpanRelation as SpanRelation + from instana_client.models.specific_js_errors_website_alert_rule import SpecificJsErrorsWebsiteAlertRule as SpecificJsErrorsWebsiteAlertRule + from instana_client.models.splunk_integration import SplunkIntegration as SplunkIntegration + from instana_client.models.stack_trace_item import StackTraceItem as StackTraceItem + from instana_client.models.stack_trace_line import StackTraceLine as StackTraceLine + from instana_client.models.static_baseline_threshold_rule import StaticBaselineThresholdRule as StaticBaselineThresholdRule + from instana_client.models.static_string_field import StaticStringField as StaticStringField + from instana_client.models.static_threshold import StaticThreshold as StaticThreshold + from instana_client.models.static_threshold_rule import StaticThresholdRule as StaticThresholdRule + from instana_client.models.status_code_application_alert_rule import StatusCodeApplicationAlertRule as StatusCodeApplicationAlertRule + from instana_client.models.status_code_mobile_app_alert_rule import StatusCodeMobileAppAlertRule as StatusCodeMobileAppAlertRule + from instana_client.models.status_code_website_alert_rule import StatusCodeWebsiteAlertRule as StatusCodeWebsiteAlertRule + from instana_client.models.synthetic_alert_config import SyntheticAlertConfig as SyntheticAlertConfig + from instana_client.models.synthetic_alert_config_with_metadata import SyntheticAlertConfigWithMetadata as SyntheticAlertConfigWithMetadata + from instana_client.models.synthetic_alert_config_with_rbac_tag import SyntheticAlertConfigWithRBACTag as SyntheticAlertConfigWithRBACTag + from instana_client.models.synthetic_alert_rule import SyntheticAlertRule as SyntheticAlertRule + from instana_client.models.synthetic_bulk_response import SyntheticBulkResponse as SyntheticBulkResponse + from instana_client.models.synthetic_call_config import SyntheticCallConfig as SyntheticCallConfig + from instana_client.models.synthetic_call_rule import SyntheticCallRule as SyntheticCallRule + from instana_client.models.synthetic_call_with_defaults_config import SyntheticCallWithDefaultsConfig as SyntheticCallWithDefaultsConfig + from instana_client.models.synthetic_configuration import SyntheticConfiguration as SyntheticConfiguration + from instana_client.models.synthetic_configuration_update import SyntheticConfigurationUpdate as SyntheticConfigurationUpdate + from instana_client.models.synthetic_credential import SyntheticCredential as SyntheticCredential + from instana_client.models.synthetic_datacenter import SyntheticDatacenter as SyntheticDatacenter + from instana_client.models.synthetic_datacenter_configuration import SyntheticDatacenterConfiguration as SyntheticDatacenterConfiguration + from instana_client.models.synthetic_geo_point import SyntheticGeoPoint as SyntheticGeoPoint + from instana_client.models.synthetic_location import SyntheticLocation as SyntheticLocation + from instana_client.models.synthetic_location_configuration import SyntheticLocationConfiguration as SyntheticLocationConfiguration + from instana_client.models.synthetic_metric_configuration import SyntheticMetricConfiguration as SyntheticMetricConfiguration + from instana_client.models.synthetic_metric_tag_group import SyntheticMetricTagGroup as SyntheticMetricTagGroup + from instana_client.models.synthetic_playback_capabilities import SyntheticPlaybackCapabilities as SyntheticPlaybackCapabilities + from instana_client.models.synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value import SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue as SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue + from instana_client.models.synthetic_resource_update_list_icmp_validation_list_icmp_validation import SyntheticResourceUpdateListICMPValidationListICMPValidation as SyntheticResourceUpdateListICMPValidationListICMPValidation + from instana_client.models.synthetic_resource_update_list_network_profile_list_network_profile import SyntheticResourceUpdateListNetworkProfileListNetworkProfile as SyntheticResourceUpdateListNetworkProfileListNetworkProfile + from instana_client.models.synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation import SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation as SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation + from instana_client.models.synthetic_resource_update_list_string_list_string import SyntheticResourceUpdateListStringListString as SyntheticResourceUpdateListStringListString + from instana_client.models.synthetic_resource_update_map_string_string_list_string import SyntheticResourceUpdateMapStringStringListString as SyntheticResourceUpdateMapStringStringListString + from instana_client.models.synthetic_slo_entity import SyntheticSloEntity as SyntheticSloEntity + from instana_client.models.synthetic_test import SyntheticTest as SyntheticTest + from instana_client.models.synthetic_test_cicd import SyntheticTestCICD as SyntheticTestCICD + from instana_client.models.synthetic_test_cicd_customization import SyntheticTestCICDCustomization as SyntheticTestCICDCustomization + from instana_client.models.synthetic_test_cicd_item import SyntheticTestCICDItem as SyntheticTestCICDItem + from instana_client.models.synthetic_test_cicd_response import SyntheticTestCICDResponse as SyntheticTestCICDResponse + from instana_client.models.synthetic_test_deep_update import SyntheticTestDeepUpdate as SyntheticTestDeepUpdate + from instana_client.models.synthetic_test_shallow_update import SyntheticTestShallowUpdate as SyntheticTestShallowUpdate + from instana_client.models.synthetic_test_update import SyntheticTestUpdate as SyntheticTestUpdate + from instana_client.models.synthetic_time_threshold import SyntheticTimeThreshold as SyntheticTimeThreshold + from instana_client.models.synthetic_type_configuration import SyntheticTypeConfiguration as SyntheticTypeConfiguration + from instana_client.models.synthetic_type_configuration_update import SyntheticTypeConfigurationUpdate as SyntheticTypeConfigurationUpdate + from instana_client.models.synthetics_event_result import SyntheticsEventResult as SyntheticsEventResult + from instana_client.models.system_rule import SystemRule as SystemRule + from instana_client.models.system_rule_label import SystemRuleLabel as SystemRuleLabel + from instana_client.models.tag import Tag as Tag + from instana_client.models.tag_catalog import TagCatalog as TagCatalog + from instana_client.models.tag_filter import TagFilter as TagFilter + from instana_client.models.tag_filter_expression import TagFilterExpression as TagFilterExpression + from instana_client.models.tag_filter_expression_element import TagFilterExpressionElement as TagFilterExpressionElement + from instana_client.models.tag_matcher_dto import TagMatcherDTO as TagMatcherDTO + from instana_client.models.tag_tree_level import TagTreeLevel as TagTreeLevel + from instana_client.models.tag_tree_node import TagTreeNode as TagTreeNode + from instana_client.models.tag_tree_tag import TagTreeTag as TagTreeTag + from instana_client.models.test_common_properties import TestCommonProperties as TestCommonProperties + from instana_client.models.test_connection_response import TestConnectionResponse as TestConnectionResponse + from instana_client.models.test_last_error import TestLastError as TestLastError + from instana_client.models.test_result import TestResult as TestResult + from instana_client.models.test_result_common_properties import TestResultCommonProperties as TestResultCommonProperties + from instana_client.models.test_result_detail_data import TestResultDetailData as TestResultDetailData + from instana_client.models.test_result_item import TestResultItem as TestResultItem + from instana_client.models.test_result_list_item import TestResultListItem as TestResultListItem + from instana_client.models.test_result_list_result import TestResultListResult as TestResultListResult + from instana_client.models.test_result_metadata import TestResultMetadata as TestResultMetadata + from instana_client.models.test_result_subtransaction import TestResultSubtransaction as TestResultSubtransaction + from instana_client.models.threshold import Threshold as Threshold + from instana_client.models.threshold_config_rule import ThresholdConfigRule as ThresholdConfigRule + from instana_client.models.threshold_rule import ThresholdRule as ThresholdRule + from instana_client.models.throughput_application_alert_rule import ThroughputApplicationAlertRule as ThroughputApplicationAlertRule + from instana_client.models.throughput_mobile_app_alert_rule import ThroughputMobileAppAlertRule as ThroughputMobileAppAlertRule + from instana_client.models.throughput_website_alert_rule import ThroughputWebsiteAlertRule as ThroughputWebsiteAlertRule + from instana_client.models.time_config import TimeConfig as TimeConfig + from instana_client.models.time_frame import TimeFrame as TimeFrame + from instana_client.models.time_window import TimeWindow as TimeWindow + from instana_client.models.topology import Topology as Topology + from instana_client.models.trace import Trace as Trace + from instana_client.models.trace_activity_tree_node_details import TraceActivityTreeNodeDetails as TraceActivityTreeNodeDetails + from instana_client.models.trace_download_result import TraceDownloadResult as TraceDownloadResult + from instana_client.models.trace_groups_item import TraceGroupsItem as TraceGroupsItem + from instana_client.models.trace_groups_result import TraceGroupsResult as TraceGroupsResult + from instana_client.models.trace_impact_application_time_threshold import TraceImpactApplicationTimeThreshold as TraceImpactApplicationTimeThreshold + from instana_client.models.trace_item import TraceItem as TraceItem + from instana_client.models.trace_result import TraceResult as TraceResult + from instana_client.models.trace_sampling_config import TraceSamplingConfig as TraceSamplingConfig + from instana_client.models.traffic_blueprint_indicator import TrafficBlueprintIndicator as TrafficBlueprintIndicator + from instana_client.models.trigger import Trigger as Trigger + from instana_client.models.type_configuration import TypeConfiguration as TypeConfiguration + from instana_client.models.unified_beacon import UnifiedBeacon as UnifiedBeacon + from instana_client.models.unsupported_http_path_segment_matching_rule import UnsupportedHttpPathSegmentMatchingRule as UnsupportedHttpPathSegmentMatchingRule + from instana_client.models.update_evaluation_request import UpdateEvaluationRequest as UpdateEvaluationRequest + from instana_client.models.updated_business_perspective_config import UpdatedBusinessPerspectiveConfig as UpdatedBusinessPerspectiveConfig + from instana_client.models.usage_result import UsageResult as UsageResult + from instana_client.models.usage_result_items import UsageResultItems as UsageResultItems + from instana_client.models.user_basic_result import UserBasicResult as UserBasicResult + from instana_client.models.user_impact_mobile_app_time_threshold import UserImpactMobileAppTimeThreshold as UserImpactMobileAppTimeThreshold + from instana_client.models.user_impact_website_time_threshold import UserImpactWebsiteTimeThreshold as UserImpactWebsiteTimeThreshold + from instana_client.models.user_result import UserResult as UserResult + from instana_client.models.users_result import UsersResult as UsersResult + from instana_client.models.validated_alerting_channel_input_info import ValidatedAlertingChannelInputInfo as ValidatedAlertingChannelInputInfo + from instana_client.models.validated_alerting_configuration import ValidatedAlertingConfiguration as ValidatedAlertingConfiguration + from instana_client.models.validated_maintenance_config_v2_with_state_and_occurrence import ValidatedMaintenanceConfigV2WithStateAndOccurrence as ValidatedMaintenanceConfigV2WithStateAndOccurrence + from instana_client.models.validated_maintenance_config_with_status import ValidatedMaintenanceConfigWithStatus as ValidatedMaintenanceConfigWithStatus + from instana_client.models.victor_ops_integration import VictorOpsIntegration as VictorOpsIntegration + from instana_client.models.violations_in_period_application_time_threshold import ViolationsInPeriodApplicationTimeThreshold as ViolationsInPeriodApplicationTimeThreshold + from instana_client.models.violations_in_period_mobile_app_time_threshold import ViolationsInPeriodMobileAppTimeThreshold as ViolationsInPeriodMobileAppTimeThreshold + from instana_client.models.violations_in_period_website_time_threshold import ViolationsInPeriodWebsiteTimeThreshold as ViolationsInPeriodWebsiteTimeThreshold + from instana_client.models.violations_in_sequence_application_time_threshold import ViolationsInSequenceApplicationTimeThreshold as ViolationsInSequenceApplicationTimeThreshold + from instana_client.models.violations_in_sequence_infra_time_threshold import ViolationsInSequenceInfraTimeThreshold as ViolationsInSequenceInfraTimeThreshold + from instana_client.models.violations_in_sequence_log_time_threshold import ViolationsInSequenceLogTimeThreshold as ViolationsInSequenceLogTimeThreshold + from instana_client.models.violations_in_sequence_mobile_app_time_threshold import ViolationsInSequenceMobileAppTimeThreshold as ViolationsInSequenceMobileAppTimeThreshold + from instana_client.models.violations_in_sequence_synthetic_time_threshold import ViolationsInSequenceSyntheticTimeThreshold as ViolationsInSequenceSyntheticTimeThreshold + from instana_client.models.violations_in_sequence_website_time_threshold import ViolationsInSequenceWebsiteTimeThreshold as ViolationsInSequenceWebsiteTimeThreshold + from instana_client.models.watson_ai_ops_webhook_integration import WatsonAIOpsWebhookIntegration as WatsonAIOpsWebhookIntegration + from instana_client.models.webex_teams_webhook_integration import WebexTeamsWebhookIntegration as WebexTeamsWebhookIntegration + from instana_client.models.webhook_integration import WebhookIntegration as WebhookIntegration + from instana_client.models.webpage_action_configuration import WebpageActionConfiguration as WebpageActionConfiguration + from instana_client.models.webpage_action_configuration_update import WebpageActionConfigurationUpdate as WebpageActionConfigurationUpdate + from instana_client.models.webpage_script_configuration import WebpageScriptConfiguration as WebpageScriptConfiguration + from instana_client.models.webpage_script_configuration_update import WebpageScriptConfigurationUpdate as WebpageScriptConfigurationUpdate + from instana_client.models.website import Website as Website + from instana_client.models.website_alert_config import WebsiteAlertConfig as WebsiteAlertConfig + from instana_client.models.website_alert_config_with_metadata import WebsiteAlertConfigWithMetadata as WebsiteAlertConfigWithMetadata + from instana_client.models.website_alert_config_with_rbac_tag import WebsiteAlertConfigWithRBACTag as WebsiteAlertConfigWithRBACTag + from instana_client.models.website_alert_rule import WebsiteAlertRule as WebsiteAlertRule + from instana_client.models.website_apdex_entity import WebsiteApdexEntity as WebsiteApdexEntity + from instana_client.models.website_beacon_groups_item import WebsiteBeaconGroupsItem as WebsiteBeaconGroupsItem + from instana_client.models.website_beacon_groups_result import WebsiteBeaconGroupsResult as WebsiteBeaconGroupsResult + from instana_client.models.website_beacon_result import WebsiteBeaconResult as WebsiteBeaconResult + from instana_client.models.website_beacon_tag_group import WebsiteBeaconTagGroup as WebsiteBeaconTagGroup + from instana_client.models.website_beacons_item import WebsiteBeaconsItem as WebsiteBeaconsItem + from instana_client.models.website_event_based_sli_entity import WebsiteEventBasedSliEntity as WebsiteEventBasedSliEntity + from instana_client.models.website_event_result import WebsiteEventResult as WebsiteEventResult + from instana_client.models.website_metric_result import WebsiteMetricResult as WebsiteMetricResult + from instana_client.models.website_monitoring_beacon import WebsiteMonitoringBeacon as WebsiteMonitoringBeacon + from instana_client.models.website_monitoring_metric_description import WebsiteMonitoringMetricDescription as WebsiteMonitoringMetricDescription + from instana_client.models.website_monitoring_metrics_configuration import WebsiteMonitoringMetricsConfiguration as WebsiteMonitoringMetricsConfiguration + from instana_client.models.website_slo_entity import WebsiteSloEntity as WebsiteSloEntity + from instana_client.models.website_time_based_sli_entity import WebsiteTimeBasedSliEntity as WebsiteTimeBasedSliEntity + from instana_client.models.website_time_threshold import WebsiteTimeThreshold as WebsiteTimeThreshold + from instana_client.models.widget import Widget as Widget + from instana_client.models.with_meta_data import WithMetaData as WithMetaData + from instana_client.models.with_resolved_name import WithResolvedName as WithResolvedName + from instana_client.models.z_chat_ops_integration import ZChatOpsIntegration as ZChatOpsIntegration + +else: + from lazy_imports import LazyModule, as_package, load + + load( + LazyModule( + *as_package(__file__), + ("__version__", __version__), + ("__all__", __all__), + """# import apis into sdk package +from instana_client.api.ai_management_api import AIManagementApi as AIManagementApi +from instana_client.api.api_token_api import APITokenApi as APITokenApi +from instana_client.api.action_catalog_api import ActionCatalogApi as ActionCatalogApi +from instana_client.api.action_history_api import ActionHistoryApi as ActionHistoryApi +from instana_client.api.apdex_report_api import ApdexReportApi as ApdexReportApi +from instana_client.api.apdex_settings_api import ApdexSettingsApi as ApdexSettingsApi +from instana_client.api.application_alert_configuration_api import ApplicationAlertConfigurationApi as ApplicationAlertConfigurationApi +from instana_client.api.application_analyze_api import ApplicationAnalyzeApi as ApplicationAnalyzeApi +from instana_client.api.application_catalog_api import ApplicationCatalogApi as ApplicationCatalogApi +from instana_client.api.application_metrics_api import ApplicationMetricsApi as ApplicationMetricsApi +from instana_client.api.application_resources_api import ApplicationResourcesApi as ApplicationResourcesApi +from instana_client.api.application_settings_api import ApplicationSettingsApi as ApplicationSettingsApi +from instana_client.api.application_topology_api import ApplicationTopologyApi as ApplicationTopologyApi +from instana_client.api.audit_log_api import AuditLogApi as AuditLogApi +from instana_client.api.authentication_api import AuthenticationApi as AuthenticationApi +from instana_client.api.business_monitoring_api import BusinessMonitoringApi as BusinessMonitoringApi +from instana_client.api.custom_dashboards_api import CustomDashboardsApi as CustomDashboardsApi +from instana_client.api.custom_entities_api import CustomEntitiesApi as CustomEntitiesApi +from instana_client.api.end_user_monitoring_api import EndUserMonitoringApi as EndUserMonitoringApi +from instana_client.api.event_settings_api import EventSettingsApi as EventSettingsApi +from instana_client.api.events_api import EventsApi as EventsApi +from instana_client.api.global_application_alert_configuration_api import GlobalApplicationAlertConfigurationApi as GlobalApplicationAlertConfigurationApi +from instana_client.api.groups_api import GroupsApi as GroupsApi +from instana_client.api.health_api import HealthApi as HealthApi +from instana_client.api.host_agent_api import HostAgentApi as HostAgentApi +from instana_client.api.ip_filtering_api import IPFilteringApi as IPFilteringApi +from instana_client.api.infrastructure_alert_configuration_api import InfrastructureAlertConfigurationApi as InfrastructureAlertConfigurationApi +from instana_client.api.infrastructure_analyze_api import InfrastructureAnalyzeApi as InfrastructureAnalyzeApi +from instana_client.api.infrastructure_catalog_api import InfrastructureCatalogApi as InfrastructureCatalogApi +from instana_client.api.infrastructure_metrics_api import InfrastructureMetricsApi as InfrastructureMetricsApi +from instana_client.api.infrastructure_resources_api import InfrastructureResourcesApi as InfrastructureResourcesApi +from instana_client.api.infrastructure_topology_api import InfrastructureTopologyApi as InfrastructureTopologyApi +from instana_client.api.llm_evaluation_api import LLMEvaluationApi as LLMEvaluationApi +from instana_client.api.llm_price_configuration_api import LLMPriceConfigurationApi as LLMPriceConfigurationApi +from instana_client.api.log_alert_configuration_api import LogAlertConfigurationApi as LogAlertConfigurationApi +from instana_client.api.logging_analyze_api import LoggingAnalyzeApi as LoggingAnalyzeApi +from instana_client.api.maintenance_configuration_api import MaintenanceConfigurationApi as MaintenanceConfigurationApi +from instana_client.api.mobile_app_analyze_api import MobileAppAnalyzeApi as MobileAppAnalyzeApi +from instana_client.api.mobile_app_catalog_api import MobileAppCatalogApi as MobileAppCatalogApi +from instana_client.api.mobile_app_configuration_api import MobileAppConfigurationApi as MobileAppConfigurationApi +from instana_client.api.mobile_app_metrics_api import MobileAppMetricsApi as MobileAppMetricsApi +from instana_client.api.mobile_app_session_replay_api import MobileAppSessionReplayApi as MobileAppSessionReplayApi +from instana_client.api.policies_api import PoliciesApi as PoliciesApi +from instana_client.api.releases_api import ReleasesApi as ReleasesApi +from instana_client.api.roles_api import RolesApi as RolesApi +from instana_client.api.sli_report_api import SLIReportApi as SLIReportApi +from instana_client.api.sli_settings_api import SLISettingsApi as SLISettingsApi +from instana_client.api.slo_catalog_for_mobile_app_api import SLOCatalogForMobileAppApi as SLOCatalogForMobileAppApi +from instana_client.api.slo_configurations_api import SLOConfigurationsApi as SLOConfigurationsApi +from instana_client.api.slo_correction_configurations_api import SLOCorrectionConfigurationsApi as SLOCorrectionConfigurationsApi +from instana_client.api.slo_correction_windows_api import SLOCorrectionWindowsApi as SLOCorrectionWindowsApi +from instana_client.api.service_levels_alert_configuration_api import ServiceLevelsAlertConfigurationApi as ServiceLevelsAlertConfigurationApi +from instana_client.api.service_levels_objective_slo_report_api import ServiceLevelsObjectiveSLOReportApi as ServiceLevelsObjectiveSLOReportApi +from instana_client.api.session_settings_api import SessionSettingsApi as SessionSettingsApi +from instana_client.api.synthetic_alert_configuration_api import SyntheticAlertConfigurationApi as SyntheticAlertConfigurationApi +from instana_client.api.synthetic_calls_api import SyntheticCallsApi as SyntheticCallsApi +from instana_client.api.synthetic_catalog_api import SyntheticCatalogApi as SyntheticCatalogApi +from instana_client.api.synthetic_metrics_api import SyntheticMetricsApi as SyntheticMetricsApi +from instana_client.api.synthetic_settings_api import SyntheticSettingsApi as SyntheticSettingsApi +from instana_client.api.synthetic_test_playback_results_api import SyntheticTestPlaybackResultsApi as SyntheticTestPlaybackResultsApi +from instana_client.api.teams_api import TeamsApi as TeamsApi +from instana_client.api.usage_api import UsageApi as UsageApi +from instana_client.api.user_api import UserApi as UserApi +from instana_client.api.website_analyze_api import WebsiteAnalyzeApi as WebsiteAnalyzeApi +from instana_client.api.website_catalog_api import WebsiteCatalogApi as WebsiteCatalogApi +from instana_client.api.website_configuration_api import WebsiteConfigurationApi as WebsiteConfigurationApi +from instana_client.api.website_metrics_api import WebsiteMetricsApi as WebsiteMetricsApi +from instana_client.api.default_api import DefaultApi as DefaultApi # import ApiClient -from instana_client.api_response import ApiResponse -from instana_client.api_client import ApiClient -from instana_client.configuration import Configuration -from instana_client.exceptions import OpenApiException -from instana_client.exceptions import ApiTypeError -from instana_client.exceptions import ApiValueError -from instana_client.exceptions import ApiKeyError -from instana_client.exceptions import ApiAttributeError -from instana_client.exceptions import ApiException +from instana_client.api_response import ApiResponse as ApiResponse +from instana_client.api_client import ApiClient as ApiClient +from instana_client.configuration import Configuration as Configuration +from instana_client.exceptions import OpenApiException as OpenApiException +from instana_client.exceptions import ApiTypeError as ApiTypeError +from instana_client.exceptions import ApiValueError as ApiValueError +from instana_client.exceptions import ApiKeyError as ApiKeyError +from instana_client.exceptions import ApiAttributeError as ApiAttributeError +from instana_client.exceptions import ApiException as ApiException # import models into sdk package -from instana_client.models.abstract_integration import AbstractIntegration -from instana_client.models.abstract_rule import AbstractRule -from instana_client.models.access_rule import AccessRule -from instana_client.models.action import Action -from instana_client.models.action_beacon import ActionBeacon -from instana_client.models.action_configuration import ActionConfiguration -from instana_client.models.action_instance import ActionInstance -from instana_client.models.action_instance_metadata_entry import ActionInstanceMetadataEntry -from instana_client.models.action_instance_parameter import ActionInstanceParameter -from instana_client.models.action_instance_request import ActionInstanceRequest -from instana_client.models.action_instance_request_parameters import ActionInstanceRequestParameters -from instana_client.models.action_match import ActionMatch -from instana_client.models.action_search_space import ActionSearchSpace -from instana_client.models.adaptive_baseline import AdaptiveBaseline -from instana_client.models.adaptive_threshold_rule import AdaptiveThresholdRule -from instana_client.models.adjusted_timeframe import AdjustedTimeframe -from instana_client.models.advanced_custom_blueprint_indicator import AdvancedCustomBlueprintIndicator -from instana_client.models.advanced_filter import AdvancedFilter -from instana_client.models.agent_configuration_update import AgentConfigurationUpdate -from instana_client.models.agent_mode_update import AgentModeUpdate -from instana_client.models.alerting_configuration import AlertingConfiguration -from instana_client.models.alerting_configuration_with_last_updated import AlertingConfigurationWithLastUpdated -from instana_client.models.alerting_time_window import AlertingTimeWindow -from instana_client.models.apdex_alert_rule import ApdexAlertRule -from instana_client.models.apdex_config_with_rbac_tag import ApdexConfigWithRBACTag -from instana_client.models.apdex_configuration import ApdexConfiguration -from instana_client.models.apdex_configuration_input import ApdexConfigurationInput -from instana_client.models.apdex_entity import ApdexEntity -from instana_client.models.apdex_level import ApdexLevel -from instana_client.models.apdex_report import ApdexReport -from instana_client.models.api_create_group import ApiCreateGroup -from instana_client.models.api_create_role import ApiCreateRole -from instana_client.models.api_group import ApiGroup -from instana_client.models.api_log_item import ApiLogItem -from instana_client.models.api_log_tag import ApiLogTag -from instana_client.models.api_member import ApiMember -from instana_client.models.api_permission_set import ApiPermissionSet -from instana_client.models.api_restricted_application_filter import ApiRestrictedApplicationFilter -from instana_client.models.api_role import ApiRole -from instana_client.models.api_tag import ApiTag -from instana_client.models.api_team import ApiTeam -from instana_client.models.api_team_info import ApiTeamInfo -from instana_client.models.api_team_member import ApiTeamMember -from instana_client.models.api_team_role import ApiTeamRole -from instana_client.models.api_team_scope import ApiTeamScope -from instana_client.models.api_token import ApiToken -from instana_client.models.app_data_metric_configuration import AppDataMetricConfiguration -from instana_client.models.application import Application -from instana_client.models.application_alert_config import ApplicationAlertConfig -from instana_client.models.application_alert_config_with_metadata import ApplicationAlertConfigWithMetadata -from instana_client.models.application_alert_rule import ApplicationAlertRule -from instana_client.models.application_apdex_entity import ApplicationApdexEntity -from instana_client.models.application_config import ApplicationConfig -from instana_client.models.application_event_result import ApplicationEventResult -from instana_client.models.application_item import ApplicationItem -from instana_client.models.application_metric_result import ApplicationMetricResult -from instana_client.models.application_node import ApplicationNode -from instana_client.models.application_result import ApplicationResult -from instana_client.models.application_scope import ApplicationScope -from instana_client.models.application_scope_with_metadata import ApplicationScopeWithMetadata -from instana_client.models.application_sli_entity import ApplicationSliEntity -from instana_client.models.application_slo_entity import ApplicationSloEntity -from instana_client.models.application_time_threshold import ApplicationTimeThreshold -from instana_client.models.audit_log_ui_response import AuditLogUiResponse -from instana_client.models.author import Author -from instana_client.models.availability_blueprint_indicator import AvailabilityBlueprintIndicator -from instana_client.models.availability_sli_entity import AvailabilitySliEntity -from instana_client.models.available_metrics import AvailableMetrics -from instana_client.models.available_plugins import AvailablePlugins -from instana_client.models.backend_trace_reference import BackendTraceReference -from instana_client.models.bidirectional_ms_teams_app_integration import BidirectionalMsTeamsAppIntegration -from instana_client.models.bidirectional_slack_app_integration import BidirectionalSlackAppIntegration -from instana_client.models.binary_operator_dto import BinaryOperatorDTO -from instana_client.models.browser_script_configuration import BrowserScriptConfiguration -from instana_client.models.browser_script_configuration_update import BrowserScriptConfigurationUpdate -from instana_client.models.built_in_event_specification import BuiltInEventSpecification -from instana_client.models.built_in_event_specification_with_last_updated import BuiltInEventSpecificationWithLastUpdated -from instana_client.models.bulk_alert_config_request import BulkAlertConfigRequest -from instana_client.models.business_activity import BusinessActivity -from instana_client.models.business_perspective_config import BusinessPerspectiveConfig -from instana_client.models.call_groups_item import CallGroupsItem -from instana_client.models.call_groups_result import CallGroupsResult -from instana_client.models.call_relation import CallRelation -from instana_client.models.change_summary import ChangeSummary -from instana_client.models.cloudfoundry_physical_context import CloudfoundryPhysicalContext -from instana_client.models.condition import Condition -from instana_client.models.config_version import ConfigVersion -from instana_client.models.correction import Correction -from instana_client.models.correction_configuration import CorrectionConfiguration -from instana_client.models.correction_scheduling import CorrectionScheduling -from instana_client.models.correction_window import CorrectionWindow -from instana_client.models.crash_mobile_app_alert_rule import CrashMobileAppAlertRule -from instana_client.models.create_evaluation_request import CreateEvaluationRequest -from instana_client.models.create_evaluation_response import CreateEvaluationResponse -from instana_client.models.create_website_request_inner import CreateWebsiteRequestInner -from instana_client.models.cursor_paginated_business_activity_item import CursorPaginatedBusinessActivityItem -from instana_client.models.cursor_pagination import CursorPagination -from instana_client.models.cursor_pagination_with_ui_cursor_infra_explore_cursor import CursorPaginationWithUiCursorInfraExploreCursor -from instana_client.models.custom_blueprint_indicator import CustomBlueprintIndicator -from instana_client.models.custom_dashboard import CustomDashboard -from instana_client.models.custom_dashboard_preview import CustomDashboardPreview -from instana_client.models.custom_dashboard_with_user_specific_information import CustomDashboardWithUserSpecificInformation -from instana_client.models.custom_dependency import CustomDependency -from instana_client.models.custom_email_subject_prefix import CustomEmailSubjectPrefix -from instana_client.models.custom_entity_model import CustomEntityModel -from instana_client.models.custom_entity_with_metadata import CustomEntityWithMetadata -from instana_client.models.custom_event_mobile_app_alert_rule import CustomEventMobileAppAlertRule -from instana_client.models.custom_event_specification import CustomEventSpecification -from instana_client.models.custom_event_specification_with_last_updated import CustomEventSpecificationWithLastUpdated -from instana_client.models.custom_event_website_alert_rule import CustomEventWebsiteAlertRule -from instana_client.models.custom_metric import CustomMetric -from instana_client.models.custom_metric_application_alert_rule import CustomMetricApplicationAlertRule -from instana_client.models.custom_payload_configuration import CustomPayloadConfiguration -from instana_client.models.custom_payload_field import CustomPayloadField -from instana_client.models.custom_payload_with_last_updated import CustomPayloadWithLastUpdated -from instana_client.models.custom_payload_with_version import CustomPayloadWithVersion -from instana_client.models.custom_tag import CustomTag -from instana_client.models.customer_email import CustomerEmail -from instana_client.models.dns_configuration import DNSConfiguration -from instana_client.models.dns_configuration_update import DNSConfigurationUpdate -from instana_client.models.dns_filter_query_time import DNSFilterQueryTime -from instana_client.models.dns_filter_target_value import DNSFilterTargetValue -from instana_client.models.dashboard_api_token import DashboardApiToken -from instana_client.models.database_integration import DatabaseIntegration -from instana_client.models.deprecated_tag_filter import DeprecatedTagFilter -from instana_client.models.duration import Duration -from instana_client.models.dynamic_field import DynamicField -from instana_client.models.dynamic_field_value import DynamicFieldValue -from instana_client.models.dynamic_parameter import DynamicParameter -from instana_client.models.dynamic_tag import DynamicTag -from instana_client.models.edit_user import EditUser -from instana_client.models.email_integration import EmailIntegration -from instana_client.models.empty_configuration import EmptyConfiguration -from instana_client.models.endpoint import Endpoint -from instana_client.models.endpoint_config import EndpointConfig -from instana_client.models.endpoint_event_result import EndpointEventResult -from instana_client.models.endpoint_item import EndpointItem -from instana_client.models.endpoint_metric_result import EndpointMetricResult -from instana_client.models.endpoint_node import EndpointNode -from instana_client.models.endpoint_result import EndpointResult -from instana_client.models.endpoint_simple import EndpointSimple -from instana_client.models.entity_count_rule import EntityCountRule -from instana_client.models.entity_count_verification_rule import EntityCountVerificationRule -from instana_client.models.entity_health_info import EntityHealthInfo -from instana_client.models.entity_id import EntityId -from instana_client.models.entity_metric import EntityMetric -from instana_client.models.entity_metric_scope import EntityMetricScope -from instana_client.models.entity_verification_rule import EntityVerificationRule -from instana_client.models.error_budget_alert_rule import ErrorBudgetAlertRule -from instana_client.models.errors_application_alert_rule import ErrorsApplicationAlertRule -from instana_client.models.evaluation_detail_response import EvaluationDetailResponse -from instana_client.models.evaluation_list_item import EvaluationListItem -from instana_client.models.evaluation_list_response import EvaluationListResponse -from instana_client.models.evaluator import Evaluator -from instana_client.models.event import Event -from instana_client.models.event_filtering_configuration import EventFilteringConfiguration -from instana_client.models.event_result import EventResult -from instana_client.models.event_specification_info import EventSpecificationInfo -from instana_client.models.extended_service import ExtendedService -from instana_client.models.failure_synthetic_alert_rule import FailureSyntheticAlertRule -from instana_client.models.filter_interface import FilterInterface -from instana_client.models.fixed_http_path_segment_matching_rule import FixedHttpPathSegmentMatchingRule -from instana_client.models.fixed_time_window import FixedTimeWindow -from instana_client.models.gateway_status_response import GatewayStatusResponse -from instana_client.models.generic_infra_alert_rule import GenericInfraAlertRule -from instana_client.models.geo_location_configuration import GeoLocationConfiguration -from instana_client.models.geo_mapping_rule import GeoMappingRule -from instana_client.models.geo_subdivision import GeoSubdivision -from instana_client.models.get_action_beacons_result import GetActionBeaconsResult -from instana_client.models.get_activities import GetActivities -from instana_client.models.get_application_metrics import GetApplicationMetrics -from instana_client.models.get_applications import GetApplications -from instana_client.models.get_available_metrics_query import GetAvailableMetricsQuery -from instana_client.models.get_available_plugins_query import GetAvailablePluginsQuery -from instana_client.models.get_call_groups import GetCallGroups -from instana_client.models.get_combined_metrics import GetCombinedMetrics -from instana_client.models.get_dynamic_parameter_values import GetDynamicParameterValues -from instana_client.models.get_endpoints import GetEndpoints -from instana_client.models.get_infrastructure_groups_query import GetInfrastructureGroupsQuery -from instana_client.models.get_infrastructure_query import GetInfrastructureQuery -from instana_client.models.get_metrics_result import GetMetricsResult -from instana_client.models.get_mobile_app_beacon_groups import GetMobileAppBeaconGroups -from instana_client.models.get_mobile_app_beacons import GetMobileAppBeacons -from instana_client.models.get_mobile_app_metrics import GetMobileAppMetrics -from instana_client.models.get_mobile_app_metrics_v2 import GetMobileAppMetricsV2 -from instana_client.models.get_payload_keys_result import GetPayloadKeysResult -from instana_client.models.get_services import GetServices -from instana_client.models.get_session_replay_metadata_result import GetSessionReplayMetadataResult -from instana_client.models.get_snapshots_query import GetSnapshotsQuery -from instana_client.models.get_test_result import GetTestResult -from instana_client.models.get_test_result_analytic import GetTestResultAnalytic -from instana_client.models.get_test_result_base import GetTestResultBase -from instana_client.models.get_test_result_list import GetTestResultList -from instana_client.models.get_test_summary_result import GetTestSummaryResult -from instana_client.models.get_trace_download_result_item import GetTraceDownloadResultItem -from instana_client.models.get_trace_groups import GetTraceGroups -from instana_client.models.get_traces import GetTraces -from instana_client.models.get_website_beacon_groups import GetWebsiteBeaconGroups -from instana_client.models.get_website_beacons import GetWebsiteBeacons -from instana_client.models.get_website_metrics import GetWebsiteMetrics -from instana_client.models.get_website_metrics_v2 import GetWebsiteMetricsV2 -from instana_client.models.git_hub_configuration import GitHubConfiguration -from instana_client.models.global_application_alert_config_with_metadata import GlobalApplicationAlertConfigWithMetadata -from instana_client.models.global_applications_alert_config import GlobalApplicationsAlertConfig -from instana_client.models.google_chat_integration import GoogleChatIntegration -from instana_client.models.graph_edge import GraphEdge -from instana_client.models.graph_node import GraphNode -from instana_client.models.group import Group -from instana_client.models.group_by_tag import GroupByTag -from instana_client.models.group_mapping import GroupMapping -from instana_client.models.group_mapping_overview import GroupMappingOverview -from instana_client.models.health_state import HealthState -from instana_client.models.historic_baseline import HistoricBaseline -from instana_client.models.host_availability_rule import HostAvailabilityRule -from instana_client.models.http_action_configuration import HttpActionConfiguration -from instana_client.models.http_action_configuration_update import HttpActionConfigurationUpdate -from instana_client.models.http_endpoint_config import HttpEndpointConfig -from instana_client.models.http_endpoint_rule import HttpEndpointRule -from instana_client.models.http_path_segment_matching_rule import HttpPathSegmentMatchingRule -from instana_client.models.http_script_configuration import HttpScriptConfiguration -from instana_client.models.http_script_configuration_update import HttpScriptConfigurationUpdate -from instana_client.models.hyper_param import HyperParam -from instana_client.models.icmp_configuration import ICMPConfiguration -from instana_client.models.icmp_configuration_update import ICMPConfigurationUpdate -from instana_client.models.icmp_validation import ICMPValidation -from instana_client.models.ip_filtering import IPFiltering -from instana_client.models.ip_filtering_rule_dto import IPFilteringRuleDto -from instana_client.models.ip_filtering_upsert import IPFilteringUpsert -from instana_client.models.identity_provider_patch import IdentityProviderPatch -from instana_client.models.idp_status_update import IdpStatusUpdate -from instana_client.models.impacted_beacon_info import ImpactedBeaconInfo -from instana_client.models.infra_alert_config import InfraAlertConfig -from instana_client.models.infra_alert_config_with_metadata import InfraAlertConfigWithMetadata -from instana_client.models.infra_alert_rule import InfraAlertRule -from instana_client.models.infra_event_result import InfraEventResult -from instana_client.models.infra_slo_entity import InfraSloEntity -from instana_client.models.infra_time_threshold import InfraTimeThreshold -from instana_client.models.infrastructure_entities_result import InfrastructureEntitiesResult -from instana_client.models.infrastructure_group import InfrastructureGroup -from instana_client.models.infrastructure_groups_result import InfrastructureGroupsResult -from instana_client.models.infrastructure_item import InfrastructureItem -from instana_client.models.infrastructure_metric_result import InfrastructureMetricResult -from instana_client.models.instana_version_info import InstanaVersionInfo -from instana_client.models.integration_overview import IntegrationOverview -from instana_client.models.invitation import Invitation -from instana_client.models.invitation_response import InvitationResponse -from instana_client.models.invitation_result import InvitationResult -from instana_client.models.ip_masking_configuration import IpMaskingConfiguration -from instana_client.models.js_stack_trace_line import JsStackTraceLine -from instana_client.models.kubernetes_physical_context import KubernetesPhysicalContext -from instana_client.models.llm_egress_gateway import LLMEgressGateway -from instana_client.models.llm_gateway_capability import LLMGatewayCapability -from instana_client.models.llm_gateway_model import LLMGatewayModel -from instana_client.models.llm_gateway_service import LLMGatewayService -from instana_client.models.llm_gateway_test_connection_request import LLMGatewayTestConnectionRequest -from instana_client.models.latency_blueprint_indicator import LatencyBlueprintIndicator -from instana_client.models.llm_model_price import LlmModelPrice -from instana_client.models.llm_model_price_metadata import LlmModelPriceMetadata -from instana_client.models.location_status import LocationStatus -from instana_client.models.log_alert_config import LogAlertConfig -from instana_client.models.log_alert_config_with_metadata import LogAlertConfigWithMetadata -from instana_client.models.log_alert_rule import LogAlertRule -from instana_client.models.log_count_alert_rule import LogCountAlertRule -from instana_client.models.log_event_result import LogEventResult -from instana_client.models.log_time_threshold import LogTimeThreshold -from instana_client.models.log_volume_group import LogVolumeGroup -from instana_client.models.log_volume_usage_item import LogVolumeUsageItem -from instana_client.models.log_volume_usage_result import LogVolumeUsageResult -from instana_client.models.logs_api_response import LogsApiResponse -from instana_client.models.logs_application_alert_rule import LogsApplicationAlertRule -from instana_client.models.logs_query import LogsQuery -from instana_client.models.maintenance_config import MaintenanceConfig -from instana_client.models.maintenance_config_scheduling import MaintenanceConfigScheduling -from instana_client.models.maintenance_config_v2 import MaintenanceConfigV2 -from instana_client.models.maintenance_config_v2_with_state_and_occurrence import MaintenanceConfigV2WithStateAndOccurrence -from instana_client.models.maintenance_config_with_last_updated import MaintenanceConfigWithLastUpdated -from instana_client.models.maintenance_window import MaintenanceWindow -from instana_client.models.manual_alerting_channel_configuration import ManualAlertingChannelConfiguration -from instana_client.models.manual_close_info import ManualCloseInfo -from instana_client.models.manual_service_config import ManualServiceConfig -from instana_client.models.match_all_http_path_segment_matching_rule import MatchAllHttpPathSegmentMatchingRule -from instana_client.models.match_expression_dto import MatchExpressionDTO -from instana_client.models.meta_data import MetaData -from instana_client.models.metric_api_result import MetricAPIResult -from instana_client.models.metric_config import MetricConfig -from instana_client.models.metric_configuration import MetricConfiguration -from instana_client.models.metric_description import MetricDescription -from instana_client.models.metric_field import MetricField -from instana_client.models.metric_field_value import MetricFieldValue -from instana_client.models.metric_instance import MetricInstance -from instana_client.models.metric_item import MetricItem -from instana_client.models.metric_metadata import MetricMetadata -from instana_client.models.metric_pattern import MetricPattern -from instana_client.models.metrics_result import MetricsResult -from instana_client.models.metrics_result_item import MetricsResultItem -from instana_client.models.metrics_test_result_item import MetricsTestResultItem -from instana_client.models.mobile_app import MobileApp -from instana_client.models.mobile_app_alert_config import MobileAppAlertConfig -from instana_client.models.mobile_app_alert_config_with_rbac_tag import MobileAppAlertConfigWithRBACTag -from instana_client.models.mobile_app_alert_rule import MobileAppAlertRule -from instana_client.models.mobile_app_beacon_groups_item import MobileAppBeaconGroupsItem -from instana_client.models.mobile_app_beacon_groups_result import MobileAppBeaconGroupsResult -from instana_client.models.mobile_app_beacon_result import MobileAppBeaconResult -from instana_client.models.mobile_app_beacon_tag_group import MobileAppBeaconTagGroup -from instana_client.models.mobile_app_beacons_item import MobileAppBeaconsItem -from instana_client.models.mobile_app_event_result import MobileAppEventResult -from instana_client.models.mobile_app_metric_result import MobileAppMetricResult -from instana_client.models.mobile_app_monitoring_beacon import MobileAppMonitoringBeacon -from instana_client.models.mobile_app_monitoring_metric_description import MobileAppMonitoringMetricDescription -from instana_client.models.mobile_app_monitoring_metrics_configuration import MobileAppMonitoringMetricsConfiguration -from instana_client.models.mobile_app_time_threshold import MobileAppTimeThreshold -from instana_client.models.mobile_slo_entity import MobileSloEntity -from instana_client.models.model_field import ModelField -from instana_client.models.monitored_entities_stats import MonitoredEntitiesStats -from instana_client.models.monitoring_state import MonitoringState -from instana_client.models.multiple_scripts_configuration import MultipleScriptsConfiguration -from instana_client.models.ns1_integration import NS1Integration -from instana_client.models.new_application_config import NewApplicationConfig -from instana_client.models.new_business_perspective_config import NewBusinessPerspectiveConfig -from instana_client.models.new_manual_service_config import NewManualServiceConfig -from instana_client.models.notification import Notification -from instana_client.models.o_auth_config import OAuthConfig -from instana_client.models.o_auth_integration import OAuthIntegration -from instana_client.models.o_auth_token import OAuthToken -from instana_client.models.occurrence import Occurrence -from instana_client.models.office365_integration import Office365Integration -from instana_client.models.one_time_maintenance_window import OneTimeMaintenanceWindow -from instana_client.models.opsgenie_integration import OpsgenieIntegration -from instana_client.models.order import Order -from instana_client.models.pagerduty_integration import PagerdutyIntegration -from instana_client.models.paginated_result import PaginatedResult -from instana_client.models.pagination import Pagination -from instana_client.models.parameter import Parameter -from instana_client.models.parameter_value import ParameterValue -from instana_client.models.path_parameter_http_path_segment_matching_rule import PathParameterHttpPathSegmentMatchingRule -from instana_client.models.physical_context import PhysicalContext -from instana_client.models.plugin_result import PluginResult -from instana_client.models.policy import Policy -from instana_client.models.policy_runnable import PolicyRunnable -from instana_client.models.policy_scheduling import PolicyScheduling -from instana_client.models.post_mobile_app_source_map_config_request import PostMobileAppSourceMapConfigRequest -from instana_client.models.post_snapshots_result import PostSnapshotsResult -from instana_client.models.prefix_object import PrefixObject -from instana_client.models.problem import Problem -from instana_client.models.prometheus_webhook_integration import PrometheusWebhookIntegration -from instana_client.models.rbac_restrictions import RbacRestrictions -from instana_client.models.recurrent_maintenance_window import RecurrentMaintenanceWindow -from instana_client.models.release import Release -from instana_client.models.release_scope import ReleaseScope -from instana_client.models.release_with_metadata import ReleaseWithMetadata -from instana_client.models.retention_period import RetentionPeriod -from instana_client.models.role_mapping_overview import RoleMappingOverview -from instana_client.models.rolling_time_window import RollingTimeWindow -from instana_client.models.rule_input import RuleInput -from instana_client.models.rule_with_threshold_application_alert_rule import RuleWithThresholdApplicationAlertRule -from instana_client.models.rule_with_threshold_infra_alert_rule import RuleWithThresholdInfraAlertRule -from instana_client.models.rule_with_threshold_log_alert_rule import RuleWithThresholdLogAlertRule -from instana_client.models.rule_with_threshold_mobile_app_alert_rule import RuleWithThresholdMobileAppAlertRule -from instana_client.models.rule_with_threshold_website_alert_rule import RuleWithThresholdWebsiteAlertRule -from instana_client.models.run_configuration import RunConfiguration -from instana_client.models.run_evaluation_response import RunEvaluationResponse -from instana_client.models.slo_config_with_rbac_tag import SLOConfigWithRBACTag -from instana_client.models.ssl_certificate_configuration import SSLCertificateConfiguration -from instana_client.models.ssl_certificate_configuration_update import SSLCertificateConfigurationUpdate -from instana_client.models.ssl_certificate_validation import SSLCertificateValidation -from instana_client.models.salesforce_integration import SalesforceIntegration -from instana_client.models.sampling_metadata import SamplingMetadata -from instana_client.models.saturation_blueprint_indicator import SaturationBlueprintIndicator -from instana_client.models.scope_binding import ScopeBinding -from instana_client.models.search_field_result import SearchFieldResult -from instana_client.models.service import Service -from instana_client.models.service_config import ServiceConfig -from instana_client.models.service_event_result import ServiceEventResult -from instana_client.models.service_item import ServiceItem -from instana_client.models.service_level_indicator import ServiceLevelIndicator -from instana_client.models.service_level_objective_alert_rule import ServiceLevelObjectiveAlertRule -from instana_client.models.service_levels_alert_config import ServiceLevelsAlertConfig -from instana_client.models.service_levels_alert_config_with_rbac_tag import ServiceLevelsAlertConfigWithRBACTag -from instana_client.models.service_levels_alert_rule import ServiceLevelsAlertRule -from instana_client.models.service_levels_burn_rate_config import ServiceLevelsBurnRateConfig -from instana_client.models.service_levels_burn_rate_time_windows import ServiceLevelsBurnRateTimeWindows -from instana_client.models.service_levels_static_threshold_config import ServiceLevelsStaticThresholdConfig -from instana_client.models.service_levels_time_threshold import ServiceLevelsTimeThreshold -from instana_client.models.service_levelse_alert_config_with_metadata import ServiceLevelseAlertConfigWithMetadata -from instana_client.models.service_map import ServiceMap -from instana_client.models.service_map_connection import ServiceMapConnection -from instana_client.models.service_matching_rule import ServiceMatchingRule -from instana_client.models.service_metric_result import ServiceMetricResult -from instana_client.models.service_node import ServiceNode -from instana_client.models.service_now_enhanced_integration import ServiceNowEnhancedIntegration -from instana_client.models.service_now_integration import ServiceNowIntegration -from instana_client.models.service_result import ServiceResult -from instana_client.models.service_scope import ServiceScope -from instana_client.models.service_scope_with_metadata import ServiceScopeWithMetadata -from instana_client.models.service_scoped_to import ServiceScopedTo -from instana_client.models.service_scoped_to_with_metadata import ServiceScopedToWithMetadata -from instana_client.models.service_simple import ServiceSimple -from instana_client.models.session_replay_metadata import SessionReplayMetadata -from instana_client.models.session_replay_timestamps import SessionReplayTimestamps -from instana_client.models.session_settings import SessionSettings -from instana_client.models.simple_metric_configuration import SimpleMetricConfiguration -from instana_client.models.slack_integration import SlackIntegration -from instana_client.models.sli_configuration import SliConfiguration -from instana_client.models.sli_configuration_with_last_updated import SliConfigurationWithLastUpdated -from instana_client.models.sli_entity import SliEntity -from instana_client.models.sli_report import SliReport -from instana_client.models.slo_entity import SloEntity -from instana_client.models.slo_report import SloReport -from instana_client.models.slowness_application_alert_rule import SlownessApplicationAlertRule -from instana_client.models.slowness_mobile_app_alert_rule import SlownessMobileAppAlertRule -from instana_client.models.slowness_website_alert_rule import SlownessWebsiteAlertRule -from instana_client.models.snapshot_item import SnapshotItem -from instana_client.models.snapshot_preview import SnapshotPreview -from instana_client.models.snapshot_result import SnapshotResult -from instana_client.models.software_user import SoftwareUser -from instana_client.models.software_version import SoftwareVersion -from instana_client.models.source_map_file_blob import SourceMapFileBlob -from instana_client.models.source_map_file_meta import SourceMapFileMeta -from instana_client.models.source_map_upload_config import SourceMapUploadConfig -from instana_client.models.source_map_upload_configs import SourceMapUploadConfigs -from instana_client.models.span_excerpt import SpanExcerpt -from instana_client.models.span_relation import SpanRelation -from instana_client.models.specific_js_errors_website_alert_rule import SpecificJsErrorsWebsiteAlertRule -from instana_client.models.splunk_integration import SplunkIntegration -from instana_client.models.stack_trace_item import StackTraceItem -from instana_client.models.stack_trace_line import StackTraceLine -from instana_client.models.static_baseline_threshold_rule import StaticBaselineThresholdRule -from instana_client.models.static_string_field import StaticStringField -from instana_client.models.static_threshold import StaticThreshold -from instana_client.models.static_threshold_rule import StaticThresholdRule -from instana_client.models.status_code_application_alert_rule import StatusCodeApplicationAlertRule -from instana_client.models.status_code_mobile_app_alert_rule import StatusCodeMobileAppAlertRule -from instana_client.models.status_code_website_alert_rule import StatusCodeWebsiteAlertRule -from instana_client.models.synthetic_alert_config import SyntheticAlertConfig -from instana_client.models.synthetic_alert_config_with_metadata import SyntheticAlertConfigWithMetadata -from instana_client.models.synthetic_alert_config_with_rbac_tag import SyntheticAlertConfigWithRBACTag -from instana_client.models.synthetic_alert_rule import SyntheticAlertRule -from instana_client.models.synthetic_bulk_response import SyntheticBulkResponse -from instana_client.models.synthetic_call_config import SyntheticCallConfig -from instana_client.models.synthetic_call_rule import SyntheticCallRule -from instana_client.models.synthetic_call_with_defaults_config import SyntheticCallWithDefaultsConfig -from instana_client.models.synthetic_configuration import SyntheticConfiguration -from instana_client.models.synthetic_configuration_update import SyntheticConfigurationUpdate -from instana_client.models.synthetic_credential import SyntheticCredential -from instana_client.models.synthetic_datacenter import SyntheticDatacenter -from instana_client.models.synthetic_datacenter_configuration import SyntheticDatacenterConfiguration -from instana_client.models.synthetic_geo_point import SyntheticGeoPoint -from instana_client.models.synthetic_location import SyntheticLocation -from instana_client.models.synthetic_location_configuration import SyntheticLocationConfiguration -from instana_client.models.synthetic_metric_configuration import SyntheticMetricConfiguration -from instana_client.models.synthetic_metric_tag_group import SyntheticMetricTagGroup -from instana_client.models.synthetic_playback_capabilities import SyntheticPlaybackCapabilities -from instana_client.models.synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value import SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue -from instana_client.models.synthetic_resource_update_list_icmp_validation_list_icmp_validation import SyntheticResourceUpdateListICMPValidationListICMPValidation -from instana_client.models.synthetic_resource_update_list_network_profile_list_network_profile import SyntheticResourceUpdateListNetworkProfileListNetworkProfile -from instana_client.models.synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation import SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation -from instana_client.models.synthetic_resource_update_list_string_list_string import SyntheticResourceUpdateListStringListString -from instana_client.models.synthetic_resource_update_map_string_string_list_string import SyntheticResourceUpdateMapStringStringListString -from instana_client.models.synthetic_slo_entity import SyntheticSloEntity -from instana_client.models.synthetic_test import SyntheticTest -from instana_client.models.synthetic_test_cicd import SyntheticTestCICD -from instana_client.models.synthetic_test_cicd_customization import SyntheticTestCICDCustomization -from instana_client.models.synthetic_test_cicd_item import SyntheticTestCICDItem -from instana_client.models.synthetic_test_cicd_response import SyntheticTestCICDResponse -from instana_client.models.synthetic_test_deep_update import SyntheticTestDeepUpdate -from instana_client.models.synthetic_test_shallow_update import SyntheticTestShallowUpdate -from instana_client.models.synthetic_test_update import SyntheticTestUpdate -from instana_client.models.synthetic_time_threshold import SyntheticTimeThreshold -from instana_client.models.synthetic_type_configuration import SyntheticTypeConfiguration -from instana_client.models.synthetic_type_configuration_update import SyntheticTypeConfigurationUpdate -from instana_client.models.synthetics_event_result import SyntheticsEventResult -from instana_client.models.system_rule import SystemRule -from instana_client.models.system_rule_label import SystemRuleLabel -from instana_client.models.tag import Tag -from instana_client.models.tag_catalog import TagCatalog -from instana_client.models.tag_filter import TagFilter -from instana_client.models.tag_filter_expression import TagFilterExpression -from instana_client.models.tag_filter_expression_element import TagFilterExpressionElement -from instana_client.models.tag_matcher_dto import TagMatcherDTO -from instana_client.models.tag_tree_level import TagTreeLevel -from instana_client.models.tag_tree_node import TagTreeNode -from instana_client.models.tag_tree_tag import TagTreeTag -from instana_client.models.test_common_properties import TestCommonProperties -from instana_client.models.test_connection_response import TestConnectionResponse -from instana_client.models.test_last_error import TestLastError -from instana_client.models.test_result import TestResult -from instana_client.models.test_result_common_properties import TestResultCommonProperties -from instana_client.models.test_result_detail_data import TestResultDetailData -from instana_client.models.test_result_item import TestResultItem -from instana_client.models.test_result_list_item import TestResultListItem -from instana_client.models.test_result_list_result import TestResultListResult -from instana_client.models.test_result_metadata import TestResultMetadata -from instana_client.models.test_result_subtransaction import TestResultSubtransaction -from instana_client.models.threshold import Threshold -from instana_client.models.threshold_config_rule import ThresholdConfigRule -from instana_client.models.threshold_rule import ThresholdRule -from instana_client.models.throughput_application_alert_rule import ThroughputApplicationAlertRule -from instana_client.models.throughput_mobile_app_alert_rule import ThroughputMobileAppAlertRule -from instana_client.models.throughput_website_alert_rule import ThroughputWebsiteAlertRule -from instana_client.models.time_config import TimeConfig -from instana_client.models.time_frame import TimeFrame -from instana_client.models.time_window import TimeWindow -from instana_client.models.topology import Topology -from instana_client.models.trace import Trace -from instana_client.models.trace_activity_tree_node_details import TraceActivityTreeNodeDetails -from instana_client.models.trace_download_result import TraceDownloadResult -from instana_client.models.trace_groups_item import TraceGroupsItem -from instana_client.models.trace_groups_result import TraceGroupsResult -from instana_client.models.trace_impact_application_time_threshold import TraceImpactApplicationTimeThreshold -from instana_client.models.trace_item import TraceItem -from instana_client.models.trace_result import TraceResult -from instana_client.models.trace_sampling_config import TraceSamplingConfig -from instana_client.models.traffic_blueprint_indicator import TrafficBlueprintIndicator -from instana_client.models.trigger import Trigger -from instana_client.models.type_configuration import TypeConfiguration -from instana_client.models.unified_beacon import UnifiedBeacon -from instana_client.models.unsupported_http_path_segment_matching_rule import UnsupportedHttpPathSegmentMatchingRule -from instana_client.models.update_evaluation_request import UpdateEvaluationRequest -from instana_client.models.updated_business_perspective_config import UpdatedBusinessPerspectiveConfig -from instana_client.models.usage_result import UsageResult -from instana_client.models.usage_result_items import UsageResultItems -from instana_client.models.user_basic_result import UserBasicResult -from instana_client.models.user_impact_mobile_app_time_threshold import UserImpactMobileAppTimeThreshold -from instana_client.models.user_impact_website_time_threshold import UserImpactWebsiteTimeThreshold -from instana_client.models.user_result import UserResult -from instana_client.models.users_result import UsersResult -from instana_client.models.validated_alerting_channel_input_info import ValidatedAlertingChannelInputInfo -from instana_client.models.validated_alerting_configuration import ValidatedAlertingConfiguration -from instana_client.models.validated_maintenance_config_v2_with_state_and_occurrence import ValidatedMaintenanceConfigV2WithStateAndOccurrence -from instana_client.models.validated_maintenance_config_with_status import ValidatedMaintenanceConfigWithStatus -from instana_client.models.victor_ops_integration import VictorOpsIntegration -from instana_client.models.violations_in_period_application_time_threshold import ViolationsInPeriodApplicationTimeThreshold -from instana_client.models.violations_in_period_mobile_app_time_threshold import ViolationsInPeriodMobileAppTimeThreshold -from instana_client.models.violations_in_period_website_time_threshold import ViolationsInPeriodWebsiteTimeThreshold -from instana_client.models.violations_in_sequence_application_time_threshold import ViolationsInSequenceApplicationTimeThreshold -from instana_client.models.violations_in_sequence_infra_time_threshold import ViolationsInSequenceInfraTimeThreshold -from instana_client.models.violations_in_sequence_log_time_threshold import ViolationsInSequenceLogTimeThreshold -from instana_client.models.violations_in_sequence_mobile_app_time_threshold import ViolationsInSequenceMobileAppTimeThreshold -from instana_client.models.violations_in_sequence_synthetic_time_threshold import ViolationsInSequenceSyntheticTimeThreshold -from instana_client.models.violations_in_sequence_website_time_threshold import ViolationsInSequenceWebsiteTimeThreshold -from instana_client.models.watson_ai_ops_webhook_integration import WatsonAIOpsWebhookIntegration -from instana_client.models.webex_teams_webhook_integration import WebexTeamsWebhookIntegration -from instana_client.models.webhook_integration import WebhookIntegration -from instana_client.models.webpage_action_configuration import WebpageActionConfiguration -from instana_client.models.webpage_action_configuration_update import WebpageActionConfigurationUpdate -from instana_client.models.webpage_script_configuration import WebpageScriptConfiguration -from instana_client.models.webpage_script_configuration_update import WebpageScriptConfigurationUpdate -from instana_client.models.website import Website -from instana_client.models.website_alert_config import WebsiteAlertConfig -from instana_client.models.website_alert_config_with_metadata import WebsiteAlertConfigWithMetadata -from instana_client.models.website_alert_config_with_rbac_tag import WebsiteAlertConfigWithRBACTag -from instana_client.models.website_alert_rule import WebsiteAlertRule -from instana_client.models.website_apdex_entity import WebsiteApdexEntity -from instana_client.models.website_beacon_groups_item import WebsiteBeaconGroupsItem -from instana_client.models.website_beacon_groups_result import WebsiteBeaconGroupsResult -from instana_client.models.website_beacon_result import WebsiteBeaconResult -from instana_client.models.website_beacon_tag_group import WebsiteBeaconTagGroup -from instana_client.models.website_beacons_item import WebsiteBeaconsItem -from instana_client.models.website_event_based_sli_entity import WebsiteEventBasedSliEntity -from instana_client.models.website_event_result import WebsiteEventResult -from instana_client.models.website_metric_result import WebsiteMetricResult -from instana_client.models.website_monitoring_beacon import WebsiteMonitoringBeacon -from instana_client.models.website_monitoring_metric_description import WebsiteMonitoringMetricDescription -from instana_client.models.website_monitoring_metrics_configuration import WebsiteMonitoringMetricsConfiguration -from instana_client.models.website_slo_entity import WebsiteSloEntity -from instana_client.models.website_time_based_sli_entity import WebsiteTimeBasedSliEntity -from instana_client.models.website_time_threshold import WebsiteTimeThreshold -from instana_client.models.widget import Widget -from instana_client.models.with_meta_data import WithMetaData -from instana_client.models.with_resolved_name import WithResolvedName -from instana_client.models.z_chat_ops_integration import ZChatOpsIntegration +from instana_client.models.abstract_integration import AbstractIntegration as AbstractIntegration +from instana_client.models.abstract_rule import AbstractRule as AbstractRule +from instana_client.models.access_rule import AccessRule as AccessRule +from instana_client.models.action import Action as Action +from instana_client.models.action_beacon import ActionBeacon as ActionBeacon +from instana_client.models.action_configuration import ActionConfiguration as ActionConfiguration +from instana_client.models.action_instance import ActionInstance as ActionInstance +from instana_client.models.action_instance_metadata_entry import ActionInstanceMetadataEntry as ActionInstanceMetadataEntry +from instana_client.models.action_instance_parameter import ActionInstanceParameter as ActionInstanceParameter +from instana_client.models.action_instance_request import ActionInstanceRequest as ActionInstanceRequest +from instana_client.models.action_instance_request_parameters import ActionInstanceRequestParameters as ActionInstanceRequestParameters +from instana_client.models.action_match import ActionMatch as ActionMatch +from instana_client.models.action_search_space import ActionSearchSpace as ActionSearchSpace +from instana_client.models.adaptive_baseline import AdaptiveBaseline as AdaptiveBaseline +from instana_client.models.adaptive_threshold_rule import AdaptiveThresholdRule as AdaptiveThresholdRule +from instana_client.models.adjusted_timeframe import AdjustedTimeframe as AdjustedTimeframe +from instana_client.models.advanced_custom_blueprint_indicator import AdvancedCustomBlueprintIndicator as AdvancedCustomBlueprintIndicator +from instana_client.models.advanced_filter import AdvancedFilter as AdvancedFilter +from instana_client.models.agent_configuration_update import AgentConfigurationUpdate as AgentConfigurationUpdate +from instana_client.models.agent_mode_update import AgentModeUpdate as AgentModeUpdate +from instana_client.models.alerting_configuration import AlertingConfiguration as AlertingConfiguration +from instana_client.models.alerting_configuration_with_last_updated import AlertingConfigurationWithLastUpdated as AlertingConfigurationWithLastUpdated +from instana_client.models.alerting_time_window import AlertingTimeWindow as AlertingTimeWindow +from instana_client.models.apdex_alert_rule import ApdexAlertRule as ApdexAlertRule +from instana_client.models.apdex_config_with_rbac_tag import ApdexConfigWithRBACTag as ApdexConfigWithRBACTag +from instana_client.models.apdex_configuration import ApdexConfiguration as ApdexConfiguration +from instana_client.models.apdex_configuration_input import ApdexConfigurationInput as ApdexConfigurationInput +from instana_client.models.apdex_entity import ApdexEntity as ApdexEntity +from instana_client.models.apdex_level import ApdexLevel as ApdexLevel +from instana_client.models.apdex_report import ApdexReport as ApdexReport +from instana_client.models.api_create_group import ApiCreateGroup as ApiCreateGroup +from instana_client.models.api_create_role import ApiCreateRole as ApiCreateRole +from instana_client.models.api_group import ApiGroup as ApiGroup +from instana_client.models.api_group_to_team_role_migration import ApiGroupToTeamRoleMigration as ApiGroupToTeamRoleMigration +from instana_client.models.api_log_item import ApiLogItem as ApiLogItem +from instana_client.models.api_log_tag import ApiLogTag as ApiLogTag +from instana_client.models.api_member import ApiMember as ApiMember +from instana_client.models.api_permission_set import ApiPermissionSet as ApiPermissionSet +from instana_client.models.api_restricted_application_filter import ApiRestrictedApplicationFilter as ApiRestrictedApplicationFilter +from instana_client.models.api_role import ApiRole as ApiRole +from instana_client.models.api_tag import ApiTag as ApiTag +from instana_client.models.api_team import ApiTeam as ApiTeam +from instana_client.models.api_team_info import ApiTeamInfo as ApiTeamInfo +from instana_client.models.api_team_member import ApiTeamMember as ApiTeamMember +from instana_client.models.api_team_role import ApiTeamRole as ApiTeamRole +from instana_client.models.api_team_scope import ApiTeamScope as ApiTeamScope +from instana_client.models.api_token import ApiToken as ApiToken +from instana_client.models.app_data_metric_configuration import AppDataMetricConfiguration as AppDataMetricConfiguration +from instana_client.models.application import Application as Application +from instana_client.models.application_alert_config import ApplicationAlertConfig as ApplicationAlertConfig +from instana_client.models.application_alert_config_with_metadata import ApplicationAlertConfigWithMetadata as ApplicationAlertConfigWithMetadata +from instana_client.models.application_alert_rule import ApplicationAlertRule as ApplicationAlertRule +from instana_client.models.application_apdex_entity import ApplicationApdexEntity as ApplicationApdexEntity +from instana_client.models.application_batch_business_criticality_update import ApplicationBatchBusinessCriticalityUpdate as ApplicationBatchBusinessCriticalityUpdate +from instana_client.models.application_config import ApplicationConfig as ApplicationConfig +from instana_client.models.application_event_result import ApplicationEventResult as ApplicationEventResult +from instana_client.models.application_item import ApplicationItem as ApplicationItem +from instana_client.models.application_metric_result import ApplicationMetricResult as ApplicationMetricResult +from instana_client.models.application_node import ApplicationNode as ApplicationNode +from instana_client.models.application_result import ApplicationResult as ApplicationResult +from instana_client.models.application_scope import ApplicationScope as ApplicationScope +from instana_client.models.application_scope_with_metadata import ApplicationScopeWithMetadata as ApplicationScopeWithMetadata +from instana_client.models.application_sli_entity import ApplicationSliEntity as ApplicationSliEntity +from instana_client.models.application_slo_entity import ApplicationSloEntity as ApplicationSloEntity +from instana_client.models.application_time_threshold import ApplicationTimeThreshold as ApplicationTimeThreshold +from instana_client.models.audit_log_ui_response import AuditLogUiResponse as AuditLogUiResponse +from instana_client.models.author import Author as Author +from instana_client.models.availability_blueprint_indicator import AvailabilityBlueprintIndicator as AvailabilityBlueprintIndicator +from instana_client.models.availability_sli_entity import AvailabilitySliEntity as AvailabilitySliEntity +from instana_client.models.available_metrics import AvailableMetrics as AvailableMetrics +from instana_client.models.available_plugins import AvailablePlugins as AvailablePlugins +from instana_client.models.backend_trace_reference import BackendTraceReference as BackendTraceReference +from instana_client.models.bidirectional_ms_teams_app_integration import BidirectionalMsTeamsAppIntegration as BidirectionalMsTeamsAppIntegration +from instana_client.models.bidirectional_slack_app_integration import BidirectionalSlackAppIntegration as BidirectionalSlackAppIntegration +from instana_client.models.binary_operator_dto import BinaryOperatorDTO as BinaryOperatorDTO +from instana_client.models.browser_script_configuration import BrowserScriptConfiguration as BrowserScriptConfiguration +from instana_client.models.browser_script_configuration_update import BrowserScriptConfigurationUpdate as BrowserScriptConfigurationUpdate +from instana_client.models.built_in_event_specification import BuiltInEventSpecification as BuiltInEventSpecification +from instana_client.models.built_in_event_specification_with_last_updated import BuiltInEventSpecificationWithLastUpdated as BuiltInEventSpecificationWithLastUpdated +from instana_client.models.bulk_alert_config_request import BulkAlertConfigRequest as BulkAlertConfigRequest +from instana_client.models.business_activity import BusinessActivity as BusinessActivity +from instana_client.models.business_perspective_config import BusinessPerspectiveConfig as BusinessPerspectiveConfig +from instana_client.models.call_groups_item import CallGroupsItem as CallGroupsItem +from instana_client.models.call_groups_result import CallGroupsResult as CallGroupsResult +from instana_client.models.call_relation import CallRelation as CallRelation +from instana_client.models.calls_event_result import CallsEventResult as CallsEventResult +from instana_client.models.change_summary import ChangeSummary as ChangeSummary +from instana_client.models.cloudfoundry_physical_context import CloudfoundryPhysicalContext as CloudfoundryPhysicalContext +from instana_client.models.condition import Condition as Condition +from instana_client.models.config_version import ConfigVersion as ConfigVersion +from instana_client.models.correction import Correction as Correction +from instana_client.models.correction_configuration import CorrectionConfiguration as CorrectionConfiguration +from instana_client.models.correction_scheduling import CorrectionScheduling as CorrectionScheduling +from instana_client.models.correction_window import CorrectionWindow as CorrectionWindow +from instana_client.models.crash_mobile_app_alert_rule import CrashMobileAppAlertRule as CrashMobileAppAlertRule +from instana_client.models.create_evaluation_request import CreateEvaluationRequest as CreateEvaluationRequest +from instana_client.models.create_evaluation_response import CreateEvaluationResponse as CreateEvaluationResponse +from instana_client.models.create_website_request_inner import CreateWebsiteRequestInner as CreateWebsiteRequestInner +from instana_client.models.cursor_paginated_business_activity_item import CursorPaginatedBusinessActivityItem as CursorPaginatedBusinessActivityItem +from instana_client.models.cursor_pagination import CursorPagination as CursorPagination +from instana_client.models.cursor_pagination_with_ui_cursor_infra_explore_cursor import CursorPaginationWithUiCursorInfraExploreCursor as CursorPaginationWithUiCursorInfraExploreCursor +from instana_client.models.custom_blueprint_indicator import CustomBlueprintIndicator as CustomBlueprintIndicator +from instana_client.models.custom_dashboard import CustomDashboard as CustomDashboard +from instana_client.models.custom_dashboard_preview import CustomDashboardPreview as CustomDashboardPreview +from instana_client.models.custom_dashboard_with_user_specific_information import CustomDashboardWithUserSpecificInformation as CustomDashboardWithUserSpecificInformation +from instana_client.models.custom_dependency import CustomDependency as CustomDependency +from instana_client.models.custom_email_subject_prefix import CustomEmailSubjectPrefix as CustomEmailSubjectPrefix +from instana_client.models.custom_entity_model import CustomEntityModel as CustomEntityModel +from instana_client.models.custom_entity_with_metadata import CustomEntityWithMetadata as CustomEntityWithMetadata +from instana_client.models.custom_event_mobile_app_alert_rule import CustomEventMobileAppAlertRule as CustomEventMobileAppAlertRule +from instana_client.models.custom_event_specification import CustomEventSpecification as CustomEventSpecification +from instana_client.models.custom_event_specification_with_last_updated import CustomEventSpecificationWithLastUpdated as CustomEventSpecificationWithLastUpdated +from instana_client.models.custom_event_website_alert_rule import CustomEventWebsiteAlertRule as CustomEventWebsiteAlertRule +from instana_client.models.custom_metric import CustomMetric as CustomMetric +from instana_client.models.custom_metric_application_alert_rule import CustomMetricApplicationAlertRule as CustomMetricApplicationAlertRule +from instana_client.models.custom_payload_configuration import CustomPayloadConfiguration as CustomPayloadConfiguration +from instana_client.models.custom_payload_field import CustomPayloadField as CustomPayloadField +from instana_client.models.custom_payload_with_last_updated import CustomPayloadWithLastUpdated as CustomPayloadWithLastUpdated +from instana_client.models.custom_payload_with_version import CustomPayloadWithVersion as CustomPayloadWithVersion +from instana_client.models.custom_tag import CustomTag as CustomTag +from instana_client.models.customer_email import CustomerEmail as CustomerEmail +from instana_client.models.dns_configuration import DNSConfiguration as DNSConfiguration +from instana_client.models.dns_configuration_update import DNSConfigurationUpdate as DNSConfigurationUpdate +from instana_client.models.dns_filter_query_time import DNSFilterQueryTime as DNSFilterQueryTime +from instana_client.models.dns_filter_target_value import DNSFilterTargetValue as DNSFilterTargetValue +from instana_client.models.dashboard_api_token import DashboardApiToken as DashboardApiToken +from instana_client.models.database_integration import DatabaseIntegration as DatabaseIntegration +from instana_client.models.deprecated_tag_filter import DeprecatedTagFilter as DeprecatedTagFilter +from instana_client.models.duration import Duration as Duration +from instana_client.models.dynamic_field import DynamicField as DynamicField +from instana_client.models.dynamic_field_value import DynamicFieldValue as DynamicFieldValue +from instana_client.models.dynamic_parameter import DynamicParameter as DynamicParameter +from instana_client.models.dynamic_tag import DynamicTag as DynamicTag +from instana_client.models.edit_user import EditUser as EditUser +from instana_client.models.email_integration import EmailIntegration as EmailIntegration +from instana_client.models.empty_configuration import EmptyConfiguration as EmptyConfiguration +from instana_client.models.endpoint import Endpoint as Endpoint +from instana_client.models.endpoint_config import EndpointConfig as EndpointConfig +from instana_client.models.endpoint_event_result import EndpointEventResult as EndpointEventResult +from instana_client.models.endpoint_item import EndpointItem as EndpointItem +from instana_client.models.endpoint_metric_result import EndpointMetricResult as EndpointMetricResult +from instana_client.models.endpoint_node import EndpointNode as EndpointNode +from instana_client.models.endpoint_result import EndpointResult as EndpointResult +from instana_client.models.endpoint_simple import EndpointSimple as EndpointSimple +from instana_client.models.entity_count_rule import EntityCountRule as EntityCountRule +from instana_client.models.entity_count_verification_rule import EntityCountVerificationRule as EntityCountVerificationRule +from instana_client.models.entity_health_info import EntityHealthInfo as EntityHealthInfo +from instana_client.models.entity_id import EntityId as EntityId +from instana_client.models.entity_metric import EntityMetric as EntityMetric +from instana_client.models.entity_metric_scope import EntityMetricScope as EntityMetricScope +from instana_client.models.entity_verification_rule import EntityVerificationRule as EntityVerificationRule +from instana_client.models.error_budget_alert_rule import ErrorBudgetAlertRule as ErrorBudgetAlertRule +from instana_client.models.errors_application_alert_rule import ErrorsApplicationAlertRule as ErrorsApplicationAlertRule +from instana_client.models.evaluation_detail_response import EvaluationDetailResponse as EvaluationDetailResponse +from instana_client.models.evaluation_list_item import EvaluationListItem as EvaluationListItem +from instana_client.models.evaluation_list_response import EvaluationListResponse as EvaluationListResponse +from instana_client.models.evaluator import Evaluator as Evaluator +from instana_client.models.event import Event as Event +from instana_client.models.event_filtering_configuration import EventFilteringConfiguration as EventFilteringConfiguration +from instana_client.models.event_result import EventResult as EventResult +from instana_client.models.event_specification_info import EventSpecificationInfo as EventSpecificationInfo +from instana_client.models.extended_service import ExtendedService as ExtendedService +from instana_client.models.failure_synthetic_alert_rule import FailureSyntheticAlertRule as FailureSyntheticAlertRule +from instana_client.models.filter_interface import FilterInterface as FilterInterface +from instana_client.models.fixed_http_path_segment_matching_rule import FixedHttpPathSegmentMatchingRule as FixedHttpPathSegmentMatchingRule +from instana_client.models.fixed_time_window import FixedTimeWindow as FixedTimeWindow +from instana_client.models.gateway_status_response import GatewayStatusResponse as GatewayStatusResponse +from instana_client.models.generic_infra_alert_rule import GenericInfraAlertRule as GenericInfraAlertRule +from instana_client.models.geo_location_configuration import GeoLocationConfiguration as GeoLocationConfiguration +from instana_client.models.geo_mapping_rule import GeoMappingRule as GeoMappingRule +from instana_client.models.geo_subdivision import GeoSubdivision as GeoSubdivision +from instana_client.models.get_action_beacons_result import GetActionBeaconsResult as GetActionBeaconsResult +from instana_client.models.get_activities import GetActivities as GetActivities +from instana_client.models.get_application_metrics import GetApplicationMetrics as GetApplicationMetrics +from instana_client.models.get_applications import GetApplications as GetApplications +from instana_client.models.get_available_metrics_query import GetAvailableMetricsQuery as GetAvailableMetricsQuery +from instana_client.models.get_available_plugins_query import GetAvailablePluginsQuery as GetAvailablePluginsQuery +from instana_client.models.get_call_groups import GetCallGroups as GetCallGroups +from instana_client.models.get_combined_metrics import GetCombinedMetrics as GetCombinedMetrics +from instana_client.models.get_dynamic_parameter_values import GetDynamicParameterValues as GetDynamicParameterValues +from instana_client.models.get_endpoints import GetEndpoints as GetEndpoints +from instana_client.models.get_infrastructure_groups_query import GetInfrastructureGroupsQuery as GetInfrastructureGroupsQuery +from instana_client.models.get_infrastructure_query import GetInfrastructureQuery as GetInfrastructureQuery +from instana_client.models.get_metrics_result import GetMetricsResult as GetMetricsResult +from instana_client.models.get_mobile_app_beacon_groups import GetMobileAppBeaconGroups as GetMobileAppBeaconGroups +from instana_client.models.get_mobile_app_beacons import GetMobileAppBeacons as GetMobileAppBeacons +from instana_client.models.get_mobile_app_metrics import GetMobileAppMetrics as GetMobileAppMetrics +from instana_client.models.get_mobile_app_metrics_v2 import GetMobileAppMetricsV2 as GetMobileAppMetricsV2 +from instana_client.models.get_payload_keys_result import GetPayloadKeysResult as GetPayloadKeysResult +from instana_client.models.get_services import GetServices as GetServices +from instana_client.models.get_session_replay_metadata_result import GetSessionReplayMetadataResult as GetSessionReplayMetadataResult +from instana_client.models.get_snapshots_query import GetSnapshotsQuery as GetSnapshotsQuery +from instana_client.models.get_test_result import GetTestResult as GetTestResult +from instana_client.models.get_test_result_analytic import GetTestResultAnalytic as GetTestResultAnalytic +from instana_client.models.get_test_result_base import GetTestResultBase as GetTestResultBase +from instana_client.models.get_test_result_list import GetTestResultList as GetTestResultList +from instana_client.models.get_test_summary_result import GetTestSummaryResult as GetTestSummaryResult +from instana_client.models.get_trace_download_result_item import GetTraceDownloadResultItem as GetTraceDownloadResultItem +from instana_client.models.get_trace_groups import GetTraceGroups as GetTraceGroups +from instana_client.models.get_traces import GetTraces as GetTraces +from instana_client.models.get_website_beacon_groups import GetWebsiteBeaconGroups as GetWebsiteBeaconGroups +from instana_client.models.get_website_beacons import GetWebsiteBeacons as GetWebsiteBeacons +from instana_client.models.get_website_metrics import GetWebsiteMetrics as GetWebsiteMetrics +from instana_client.models.get_website_metrics_v2 import GetWebsiteMetricsV2 as GetWebsiteMetricsV2 +from instana_client.models.git_hub_configuration import GitHubConfiguration as GitHubConfiguration +from instana_client.models.global_application_alert_config_with_metadata import GlobalApplicationAlertConfigWithMetadata as GlobalApplicationAlertConfigWithMetadata +from instana_client.models.global_applications_alert_config import GlobalApplicationsAlertConfig as GlobalApplicationsAlertConfig +from instana_client.models.google_chat_integration import GoogleChatIntegration as GoogleChatIntegration +from instana_client.models.graph_edge import GraphEdge as GraphEdge +from instana_client.models.graph_node import GraphNode as GraphNode +from instana_client.models.group import Group as Group +from instana_client.models.group_by_tag import GroupByTag as GroupByTag +from instana_client.models.health_state import HealthState as HealthState +from instana_client.models.historic_baseline import HistoricBaseline as HistoricBaseline +from instana_client.models.host_availability_rule import HostAvailabilityRule as HostAvailabilityRule +from instana_client.models.http_action_configuration import HttpActionConfiguration as HttpActionConfiguration +from instana_client.models.http_action_configuration_update import HttpActionConfigurationUpdate as HttpActionConfigurationUpdate +from instana_client.models.http_endpoint_config import HttpEndpointConfig as HttpEndpointConfig +from instana_client.models.http_endpoint_rule import HttpEndpointRule as HttpEndpointRule +from instana_client.models.http_path_segment_matching_rule import HttpPathSegmentMatchingRule as HttpPathSegmentMatchingRule +from instana_client.models.http_script_configuration import HttpScriptConfiguration as HttpScriptConfiguration +from instana_client.models.http_script_configuration_update import HttpScriptConfigurationUpdate as HttpScriptConfigurationUpdate +from instana_client.models.hyper_param import HyperParam as HyperParam +from instana_client.models.icmp_configuration import ICMPConfiguration as ICMPConfiguration +from instana_client.models.icmp_configuration_update import ICMPConfigurationUpdate as ICMPConfigurationUpdate +from instana_client.models.icmp_validation import ICMPValidation as ICMPValidation +from instana_client.models.ip_filtering import IPFiltering as IPFiltering +from instana_client.models.ip_filtering_rule_dto import IPFilteringRuleDto as IPFilteringRuleDto +from instana_client.models.ip_filtering_upsert import IPFilteringUpsert as IPFilteringUpsert +from instana_client.models.identity_provider_patch import IdentityProviderPatch as IdentityProviderPatch +from instana_client.models.idp_status_update import IdpStatusUpdate as IdpStatusUpdate +from instana_client.models.impacted_beacon_info import ImpactedBeaconInfo as ImpactedBeaconInfo +from instana_client.models.infra_alert_config import InfraAlertConfig as InfraAlertConfig +from instana_client.models.infra_alert_config_with_metadata import InfraAlertConfigWithMetadata as InfraAlertConfigWithMetadata +from instana_client.models.infra_alert_rule import InfraAlertRule as InfraAlertRule +from instana_client.models.infra_event_result import InfraEventResult as InfraEventResult +from instana_client.models.infra_slo_entity import InfraSloEntity as InfraSloEntity +from instana_client.models.infra_time_threshold import InfraTimeThreshold as InfraTimeThreshold +from instana_client.models.infrastructure_entities_result import InfrastructureEntitiesResult as InfrastructureEntitiesResult +from instana_client.models.infrastructure_group import InfrastructureGroup as InfrastructureGroup +from instana_client.models.infrastructure_groups_result import InfrastructureGroupsResult as InfrastructureGroupsResult +from instana_client.models.infrastructure_item import InfrastructureItem as InfrastructureItem +from instana_client.models.infrastructure_metric_result import InfrastructureMetricResult as InfrastructureMetricResult +from instana_client.models.instana_version_info import InstanaVersionInfo as InstanaVersionInfo +from instana_client.models.integration_overview import IntegrationOverview as IntegrationOverview +from instana_client.models.invitation import Invitation as Invitation +from instana_client.models.invitation_response import InvitationResponse as InvitationResponse +from instana_client.models.invitation_result import InvitationResult as InvitationResult +from instana_client.models.ip_masking_configuration import IpMaskingConfiguration as IpMaskingConfiguration +from instana_client.models.js_stack_trace_line import JsStackTraceLine as JsStackTraceLine +from instana_client.models.kubernetes_physical_context import KubernetesPhysicalContext as KubernetesPhysicalContext +from instana_client.models.llm_egress_gateway import LLMEgressGateway as LLMEgressGateway +from instana_client.models.llm_gateway_capability import LLMGatewayCapability as LLMGatewayCapability +from instana_client.models.llm_gateway_model import LLMGatewayModel as LLMGatewayModel +from instana_client.models.llm_gateway_service import LLMGatewayService as LLMGatewayService +from instana_client.models.llm_gateway_test_connection_request import LLMGatewayTestConnectionRequest as LLMGatewayTestConnectionRequest +from instana_client.models.latency_blueprint_indicator import LatencyBlueprintIndicator as LatencyBlueprintIndicator +from instana_client.models.llm_model_price import LlmModelPrice as LlmModelPrice +from instana_client.models.llm_model_price_metadata import LlmModelPriceMetadata as LlmModelPriceMetadata +from instana_client.models.location_status import LocationStatus as LocationStatus +from instana_client.models.log_alert_config import LogAlertConfig as LogAlertConfig +from instana_client.models.log_alert_config_with_metadata import LogAlertConfigWithMetadata as LogAlertConfigWithMetadata +from instana_client.models.log_alert_rule import LogAlertRule as LogAlertRule +from instana_client.models.log_count_alert_rule import LogCountAlertRule as LogCountAlertRule +from instana_client.models.log_event_result import LogEventResult as LogEventResult +from instana_client.models.log_time_threshold import LogTimeThreshold as LogTimeThreshold +from instana_client.models.log_volume_group import LogVolumeGroup as LogVolumeGroup +from instana_client.models.log_volume_usage_item import LogVolumeUsageItem as LogVolumeUsageItem +from instana_client.models.log_volume_usage_result import LogVolumeUsageResult as LogVolumeUsageResult +from instana_client.models.logging_perspective import LoggingPerspective as LoggingPerspective +from instana_client.models.logs_api_response import LogsApiResponse as LogsApiResponse +from instana_client.models.logs_application_alert_rule import LogsApplicationAlertRule as LogsApplicationAlertRule +from instana_client.models.logs_query import LogsQuery as LogsQuery +from instana_client.models.maintenance_config import MaintenanceConfig as MaintenanceConfig +from instana_client.models.maintenance_config_scheduling import MaintenanceConfigScheduling as MaintenanceConfigScheduling +from instana_client.models.maintenance_config_v2 import MaintenanceConfigV2 as MaintenanceConfigV2 +from instana_client.models.maintenance_config_v2_with_state_and_occurrence import MaintenanceConfigV2WithStateAndOccurrence as MaintenanceConfigV2WithStateAndOccurrence +from instana_client.models.maintenance_config_with_last_updated import MaintenanceConfigWithLastUpdated as MaintenanceConfigWithLastUpdated +from instana_client.models.maintenance_window import MaintenanceWindow as MaintenanceWindow +from instana_client.models.manual_alerting_channel_configuration import ManualAlertingChannelConfiguration as ManualAlertingChannelConfiguration +from instana_client.models.manual_close_info import ManualCloseInfo as ManualCloseInfo +from instana_client.models.manual_service_config import ManualServiceConfig as ManualServiceConfig +from instana_client.models.mapping import Mapping as Mapping +from instana_client.models.mapping_overview import MappingOverview as MappingOverview +from instana_client.models.match_all_http_path_segment_matching_rule import MatchAllHttpPathSegmentMatchingRule as MatchAllHttpPathSegmentMatchingRule +from instana_client.models.match_expression_dto import MatchExpressionDTO as MatchExpressionDTO +from instana_client.models.meta_data import MetaData as MetaData +from instana_client.models.metric_api_result import MetricAPIResult as MetricAPIResult +from instana_client.models.metric_config import MetricConfig as MetricConfig +from instana_client.models.metric_configuration import MetricConfiguration as MetricConfiguration +from instana_client.models.metric_description import MetricDescription as MetricDescription +from instana_client.models.metric_field import MetricField as MetricField +from instana_client.models.metric_field_value import MetricFieldValue as MetricFieldValue +from instana_client.models.metric_instance import MetricInstance as MetricInstance +from instana_client.models.metric_item import MetricItem as MetricItem +from instana_client.models.metric_metadata import MetricMetadata as MetricMetadata +from instana_client.models.metric_pattern import MetricPattern as MetricPattern +from instana_client.models.metrics_result import MetricsResult as MetricsResult +from instana_client.models.metrics_result_item import MetricsResultItem as MetricsResultItem +from instana_client.models.metrics_test_result_item import MetricsTestResultItem as MetricsTestResultItem +from instana_client.models.mobile_app import MobileApp as MobileApp +from instana_client.models.mobile_app_alert_config import MobileAppAlertConfig as MobileAppAlertConfig +from instana_client.models.mobile_app_alert_config_with_rbac_tag import MobileAppAlertConfigWithRBACTag as MobileAppAlertConfigWithRBACTag +from instana_client.models.mobile_app_alert_rule import MobileAppAlertRule as MobileAppAlertRule +from instana_client.models.mobile_app_beacon_groups_item import MobileAppBeaconGroupsItem as MobileAppBeaconGroupsItem +from instana_client.models.mobile_app_beacon_groups_result import MobileAppBeaconGroupsResult as MobileAppBeaconGroupsResult +from instana_client.models.mobile_app_beacon_result import MobileAppBeaconResult as MobileAppBeaconResult +from instana_client.models.mobile_app_beacon_tag_group import MobileAppBeaconTagGroup as MobileAppBeaconTagGroup +from instana_client.models.mobile_app_beacons_item import MobileAppBeaconsItem as MobileAppBeaconsItem +from instana_client.models.mobile_app_event_result import MobileAppEventResult as MobileAppEventResult +from instana_client.models.mobile_app_metric_result import MobileAppMetricResult as MobileAppMetricResult +from instana_client.models.mobile_app_monitoring_beacon import MobileAppMonitoringBeacon as MobileAppMonitoringBeacon +from instana_client.models.mobile_app_monitoring_metric_description import MobileAppMonitoringMetricDescription as MobileAppMonitoringMetricDescription +from instana_client.models.mobile_app_monitoring_metrics_configuration import MobileAppMonitoringMetricsConfiguration as MobileAppMonitoringMetricsConfiguration +from instana_client.models.mobile_app_time_threshold import MobileAppTimeThreshold as MobileAppTimeThreshold +from instana_client.models.mobile_slo_entity import MobileSloEntity as MobileSloEntity +from instana_client.models.model_field import ModelField as ModelField +from instana_client.models.monitored_entities_stats import MonitoredEntitiesStats as MonitoredEntitiesStats +from instana_client.models.monitoring_state import MonitoringState as MonitoringState +from instana_client.models.multiple_scripts_configuration import MultipleScriptsConfiguration as MultipleScriptsConfiguration +from instana_client.models.ns1_integration import NS1Integration as NS1Integration +from instana_client.models.new_application_config import NewApplicationConfig as NewApplicationConfig +from instana_client.models.new_business_perspective_config import NewBusinessPerspectiveConfig as NewBusinessPerspectiveConfig +from instana_client.models.new_manual_service_config import NewManualServiceConfig as NewManualServiceConfig +from instana_client.models.notification import Notification as Notification +from instana_client.models.o_auth_config import OAuthConfig as OAuthConfig +from instana_client.models.o_auth_integration import OAuthIntegration as OAuthIntegration +from instana_client.models.o_auth_token import OAuthToken as OAuthToken +from instana_client.models.occurrence import Occurrence as Occurrence +from instana_client.models.office365_integration import Office365Integration as Office365Integration +from instana_client.models.one_time_maintenance_window import OneTimeMaintenanceWindow as OneTimeMaintenanceWindow +from instana_client.models.opsgenie_integration import OpsgenieIntegration as OpsgenieIntegration +from instana_client.models.order import Order as Order +from instana_client.models.pagerduty_integration import PagerdutyIntegration as PagerdutyIntegration +from instana_client.models.paginated_result import PaginatedResult as PaginatedResult +from instana_client.models.pagination import Pagination as Pagination +from instana_client.models.parameter import Parameter as Parameter +from instana_client.models.parameter_value import ParameterValue as ParameterValue +from instana_client.models.path_parameter_http_path_segment_matching_rule import PathParameterHttpPathSegmentMatchingRule as PathParameterHttpPathSegmentMatchingRule +from instana_client.models.physical_context import PhysicalContext as PhysicalContext +from instana_client.models.plugin_result import PluginResult as PluginResult +from instana_client.models.policy import Policy as Policy +from instana_client.models.policy_runnable import PolicyRunnable as PolicyRunnable +from instana_client.models.policy_scheduling import PolicyScheduling as PolicyScheduling +from instana_client.models.post_mobile_app_source_map_config_request import PostMobileAppSourceMapConfigRequest as PostMobileAppSourceMapConfigRequest +from instana_client.models.post_snapshots_result import PostSnapshotsResult as PostSnapshotsResult +from instana_client.models.prefix_object import PrefixObject as PrefixObject +from instana_client.models.problem import Problem as Problem +from instana_client.models.prometheus_webhook_integration import PrometheusWebhookIntegration as PrometheusWebhookIntegration +from instana_client.models.rbac_restrictions import RbacRestrictions as RbacRestrictions +from instana_client.models.recurrent_maintenance_window import RecurrentMaintenanceWindow as RecurrentMaintenanceWindow +from instana_client.models.release import Release as Release +from instana_client.models.release_scope import ReleaseScope as ReleaseScope +from instana_client.models.release_with_metadata import ReleaseWithMetadata as ReleaseWithMetadata +from instana_client.models.retention_period import RetentionPeriod as RetentionPeriod +from instana_client.models.role_mapping_overview import RoleMappingOverview as RoleMappingOverview +from instana_client.models.rolling_time_window import RollingTimeWindow as RollingTimeWindow +from instana_client.models.rule_input import RuleInput as RuleInput +from instana_client.models.rule_with_threshold_application_alert_rule import RuleWithThresholdApplicationAlertRule as RuleWithThresholdApplicationAlertRule +from instana_client.models.rule_with_threshold_infra_alert_rule import RuleWithThresholdInfraAlertRule as RuleWithThresholdInfraAlertRule +from instana_client.models.rule_with_threshold_log_alert_rule import RuleWithThresholdLogAlertRule as RuleWithThresholdLogAlertRule +from instana_client.models.rule_with_threshold_mobile_app_alert_rule import RuleWithThresholdMobileAppAlertRule as RuleWithThresholdMobileAppAlertRule +from instana_client.models.rule_with_threshold_website_alert_rule import RuleWithThresholdWebsiteAlertRule as RuleWithThresholdWebsiteAlertRule +from instana_client.models.run_configuration import RunConfiguration as RunConfiguration +from instana_client.models.run_evaluation_response import RunEvaluationResponse as RunEvaluationResponse +from instana_client.models.slo_config_with_rbac_tag import SLOConfigWithRBACTag as SLOConfigWithRBACTag +from instana_client.models.ssl_certificate_configuration import SSLCertificateConfiguration as SSLCertificateConfiguration +from instana_client.models.ssl_certificate_configuration_update import SSLCertificateConfigurationUpdate as SSLCertificateConfigurationUpdate +from instana_client.models.ssl_certificate_validation import SSLCertificateValidation as SSLCertificateValidation +from instana_client.models.salesforce_integration import SalesforceIntegration as SalesforceIntegration +from instana_client.models.sampling_metadata import SamplingMetadata as SamplingMetadata +from instana_client.models.saturation_blueprint_indicator import SaturationBlueprintIndicator as SaturationBlueprintIndicator +from instana_client.models.scope_binding import ScopeBinding as ScopeBinding +from instana_client.models.search_field_result import SearchFieldResult as SearchFieldResult +from instana_client.models.service import Service as Service +from instana_client.models.service_config import ServiceConfig as ServiceConfig +from instana_client.models.service_event_result import ServiceEventResult as ServiceEventResult +from instana_client.models.service_item import ServiceItem as ServiceItem +from instana_client.models.service_level_indicator import ServiceLevelIndicator as ServiceLevelIndicator +from instana_client.models.service_level_objective_alert_rule import ServiceLevelObjectiveAlertRule as ServiceLevelObjectiveAlertRule +from instana_client.models.service_levels_alert_config import ServiceLevelsAlertConfig as ServiceLevelsAlertConfig +from instana_client.models.service_levels_alert_config_with_rbac_tag import ServiceLevelsAlertConfigWithRBACTag as ServiceLevelsAlertConfigWithRBACTag +from instana_client.models.service_levels_alert_rule import ServiceLevelsAlertRule as ServiceLevelsAlertRule +from instana_client.models.service_levels_burn_rate_config import ServiceLevelsBurnRateConfig as ServiceLevelsBurnRateConfig +from instana_client.models.service_levels_burn_rate_time_windows import ServiceLevelsBurnRateTimeWindows as ServiceLevelsBurnRateTimeWindows +from instana_client.models.service_levels_static_threshold_config import ServiceLevelsStaticThresholdConfig as ServiceLevelsStaticThresholdConfig +from instana_client.models.service_levels_time_threshold import ServiceLevelsTimeThreshold as ServiceLevelsTimeThreshold +from instana_client.models.service_levelse_alert_config_with_metadata import ServiceLevelseAlertConfigWithMetadata as ServiceLevelseAlertConfigWithMetadata +from instana_client.models.service_map import ServiceMap as ServiceMap +from instana_client.models.service_map_connection import ServiceMapConnection as ServiceMapConnection +from instana_client.models.service_matching_rule import ServiceMatchingRule as ServiceMatchingRule +from instana_client.models.service_metric_result import ServiceMetricResult as ServiceMetricResult +from instana_client.models.service_node import ServiceNode as ServiceNode +from instana_client.models.service_now_enhanced_integration import ServiceNowEnhancedIntegration as ServiceNowEnhancedIntegration +from instana_client.models.service_now_integration import ServiceNowIntegration as ServiceNowIntegration +from instana_client.models.service_result import ServiceResult as ServiceResult +from instana_client.models.service_scope import ServiceScope as ServiceScope +from instana_client.models.service_scope_with_metadata import ServiceScopeWithMetadata as ServiceScopeWithMetadata +from instana_client.models.service_scoped_to import ServiceScopedTo as ServiceScopedTo +from instana_client.models.service_scoped_to_with_metadata import ServiceScopedToWithMetadata as ServiceScopedToWithMetadata +from instana_client.models.service_simple import ServiceSimple as ServiceSimple +from instana_client.models.session_replay_metadata import SessionReplayMetadata as SessionReplayMetadata +from instana_client.models.session_replay_timestamps import SessionReplayTimestamps as SessionReplayTimestamps +from instana_client.models.session_settings import SessionSettings as SessionSettings +from instana_client.models.simple_metric_configuration import SimpleMetricConfiguration as SimpleMetricConfiguration +from instana_client.models.slack_integration import SlackIntegration as SlackIntegration +from instana_client.models.sli_configuration import SliConfiguration as SliConfiguration +from instana_client.models.sli_configuration_with_last_updated import SliConfigurationWithLastUpdated as SliConfigurationWithLastUpdated +from instana_client.models.sli_entity import SliEntity as SliEntity +from instana_client.models.sli_report import SliReport as SliReport +from instana_client.models.slo_entity import SloEntity as SloEntity +from instana_client.models.slo_health_snapshot import SloHealthSnapshot as SloHealthSnapshot +from instana_client.models.slo_health_snapshot_item import SloHealthSnapshotItem as SloHealthSnapshotItem +from instana_client.models.slo_report import SloReport as SloReport +from instana_client.models.slowness_application_alert_rule import SlownessApplicationAlertRule as SlownessApplicationAlertRule +from instana_client.models.slowness_mobile_app_alert_rule import SlownessMobileAppAlertRule as SlownessMobileAppAlertRule +from instana_client.models.slowness_website_alert_rule import SlownessWebsiteAlertRule as SlownessWebsiteAlertRule +from instana_client.models.snapshot_item import SnapshotItem as SnapshotItem +from instana_client.models.snapshot_preview import SnapshotPreview as SnapshotPreview +from instana_client.models.snapshot_result import SnapshotResult as SnapshotResult +from instana_client.models.software_user import SoftwareUser as SoftwareUser +from instana_client.models.software_version import SoftwareVersion as SoftwareVersion +from instana_client.models.source_map_file_blob import SourceMapFileBlob as SourceMapFileBlob +from instana_client.models.source_map_file_meta import SourceMapFileMeta as SourceMapFileMeta +from instana_client.models.source_map_upload_config import SourceMapUploadConfig as SourceMapUploadConfig +from instana_client.models.source_map_upload_configs import SourceMapUploadConfigs as SourceMapUploadConfigs +from instana_client.models.span_excerpt import SpanExcerpt as SpanExcerpt +from instana_client.models.span_relation import SpanRelation as SpanRelation +from instana_client.models.specific_js_errors_website_alert_rule import SpecificJsErrorsWebsiteAlertRule as SpecificJsErrorsWebsiteAlertRule +from instana_client.models.splunk_integration import SplunkIntegration as SplunkIntegration +from instana_client.models.stack_trace_item import StackTraceItem as StackTraceItem +from instana_client.models.stack_trace_line import StackTraceLine as StackTraceLine +from instana_client.models.static_baseline_threshold_rule import StaticBaselineThresholdRule as StaticBaselineThresholdRule +from instana_client.models.static_string_field import StaticStringField as StaticStringField +from instana_client.models.static_threshold import StaticThreshold as StaticThreshold +from instana_client.models.static_threshold_rule import StaticThresholdRule as StaticThresholdRule +from instana_client.models.status_code_application_alert_rule import StatusCodeApplicationAlertRule as StatusCodeApplicationAlertRule +from instana_client.models.status_code_mobile_app_alert_rule import StatusCodeMobileAppAlertRule as StatusCodeMobileAppAlertRule +from instana_client.models.status_code_website_alert_rule import StatusCodeWebsiteAlertRule as StatusCodeWebsiteAlertRule +from instana_client.models.synthetic_alert_config import SyntheticAlertConfig as SyntheticAlertConfig +from instana_client.models.synthetic_alert_config_with_metadata import SyntheticAlertConfigWithMetadata as SyntheticAlertConfigWithMetadata +from instana_client.models.synthetic_alert_config_with_rbac_tag import SyntheticAlertConfigWithRBACTag as SyntheticAlertConfigWithRBACTag +from instana_client.models.synthetic_alert_rule import SyntheticAlertRule as SyntheticAlertRule +from instana_client.models.synthetic_bulk_response import SyntheticBulkResponse as SyntheticBulkResponse +from instana_client.models.synthetic_call_config import SyntheticCallConfig as SyntheticCallConfig +from instana_client.models.synthetic_call_rule import SyntheticCallRule as SyntheticCallRule +from instana_client.models.synthetic_call_with_defaults_config import SyntheticCallWithDefaultsConfig as SyntheticCallWithDefaultsConfig +from instana_client.models.synthetic_configuration import SyntheticConfiguration as SyntheticConfiguration +from instana_client.models.synthetic_configuration_update import SyntheticConfigurationUpdate as SyntheticConfigurationUpdate +from instana_client.models.synthetic_credential import SyntheticCredential as SyntheticCredential +from instana_client.models.synthetic_datacenter import SyntheticDatacenter as SyntheticDatacenter +from instana_client.models.synthetic_datacenter_configuration import SyntheticDatacenterConfiguration as SyntheticDatacenterConfiguration +from instana_client.models.synthetic_geo_point import SyntheticGeoPoint as SyntheticGeoPoint +from instana_client.models.synthetic_location import SyntheticLocation as SyntheticLocation +from instana_client.models.synthetic_location_configuration import SyntheticLocationConfiguration as SyntheticLocationConfiguration +from instana_client.models.synthetic_metric_configuration import SyntheticMetricConfiguration as SyntheticMetricConfiguration +from instana_client.models.synthetic_metric_tag_group import SyntheticMetricTagGroup as SyntheticMetricTagGroup +from instana_client.models.synthetic_playback_capabilities import SyntheticPlaybackCapabilities as SyntheticPlaybackCapabilities +from instana_client.models.synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value import SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue as SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue +from instana_client.models.synthetic_resource_update_list_icmp_validation_list_icmp_validation import SyntheticResourceUpdateListICMPValidationListICMPValidation as SyntheticResourceUpdateListICMPValidationListICMPValidation +from instana_client.models.synthetic_resource_update_list_network_profile_list_network_profile import SyntheticResourceUpdateListNetworkProfileListNetworkProfile as SyntheticResourceUpdateListNetworkProfileListNetworkProfile +from instana_client.models.synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation import SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation as SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation +from instana_client.models.synthetic_resource_update_list_string_list_string import SyntheticResourceUpdateListStringListString as SyntheticResourceUpdateListStringListString +from instana_client.models.synthetic_resource_update_map_string_string_list_string import SyntheticResourceUpdateMapStringStringListString as SyntheticResourceUpdateMapStringStringListString +from instana_client.models.synthetic_slo_entity import SyntheticSloEntity as SyntheticSloEntity +from instana_client.models.synthetic_test import SyntheticTest as SyntheticTest +from instana_client.models.synthetic_test_cicd import SyntheticTestCICD as SyntheticTestCICD +from instana_client.models.synthetic_test_cicd_customization import SyntheticTestCICDCustomization as SyntheticTestCICDCustomization +from instana_client.models.synthetic_test_cicd_item import SyntheticTestCICDItem as SyntheticTestCICDItem +from instana_client.models.synthetic_test_cicd_response import SyntheticTestCICDResponse as SyntheticTestCICDResponse +from instana_client.models.synthetic_test_deep_update import SyntheticTestDeepUpdate as SyntheticTestDeepUpdate +from instana_client.models.synthetic_test_shallow_update import SyntheticTestShallowUpdate as SyntheticTestShallowUpdate +from instana_client.models.synthetic_test_update import SyntheticTestUpdate as SyntheticTestUpdate +from instana_client.models.synthetic_time_threshold import SyntheticTimeThreshold as SyntheticTimeThreshold +from instana_client.models.synthetic_type_configuration import SyntheticTypeConfiguration as SyntheticTypeConfiguration +from instana_client.models.synthetic_type_configuration_update import SyntheticTypeConfigurationUpdate as SyntheticTypeConfigurationUpdate +from instana_client.models.synthetics_event_result import SyntheticsEventResult as SyntheticsEventResult +from instana_client.models.system_rule import SystemRule as SystemRule +from instana_client.models.system_rule_label import SystemRuleLabel as SystemRuleLabel +from instana_client.models.tag import Tag as Tag +from instana_client.models.tag_catalog import TagCatalog as TagCatalog +from instana_client.models.tag_filter import TagFilter as TagFilter +from instana_client.models.tag_filter_expression import TagFilterExpression as TagFilterExpression +from instana_client.models.tag_filter_expression_element import TagFilterExpressionElement as TagFilterExpressionElement +from instana_client.models.tag_matcher_dto import TagMatcherDTO as TagMatcherDTO +from instana_client.models.tag_tree_level import TagTreeLevel as TagTreeLevel +from instana_client.models.tag_tree_node import TagTreeNode as TagTreeNode +from instana_client.models.tag_tree_tag import TagTreeTag as TagTreeTag +from instana_client.models.test_common_properties import TestCommonProperties as TestCommonProperties +from instana_client.models.test_connection_response import TestConnectionResponse as TestConnectionResponse +from instana_client.models.test_last_error import TestLastError as TestLastError +from instana_client.models.test_result import TestResult as TestResult +from instana_client.models.test_result_common_properties import TestResultCommonProperties as TestResultCommonProperties +from instana_client.models.test_result_detail_data import TestResultDetailData as TestResultDetailData +from instana_client.models.test_result_item import TestResultItem as TestResultItem +from instana_client.models.test_result_list_item import TestResultListItem as TestResultListItem +from instana_client.models.test_result_list_result import TestResultListResult as TestResultListResult +from instana_client.models.test_result_metadata import TestResultMetadata as TestResultMetadata +from instana_client.models.test_result_subtransaction import TestResultSubtransaction as TestResultSubtransaction +from instana_client.models.threshold import Threshold as Threshold +from instana_client.models.threshold_config_rule import ThresholdConfigRule as ThresholdConfigRule +from instana_client.models.threshold_rule import ThresholdRule as ThresholdRule +from instana_client.models.throughput_application_alert_rule import ThroughputApplicationAlertRule as ThroughputApplicationAlertRule +from instana_client.models.throughput_mobile_app_alert_rule import ThroughputMobileAppAlertRule as ThroughputMobileAppAlertRule +from instana_client.models.throughput_website_alert_rule import ThroughputWebsiteAlertRule as ThroughputWebsiteAlertRule +from instana_client.models.time_config import TimeConfig as TimeConfig +from instana_client.models.time_frame import TimeFrame as TimeFrame +from instana_client.models.time_window import TimeWindow as TimeWindow +from instana_client.models.topology import Topology as Topology +from instana_client.models.trace import Trace as Trace +from instana_client.models.trace_activity_tree_node_details import TraceActivityTreeNodeDetails as TraceActivityTreeNodeDetails +from instana_client.models.trace_download_result import TraceDownloadResult as TraceDownloadResult +from instana_client.models.trace_groups_item import TraceGroupsItem as TraceGroupsItem +from instana_client.models.trace_groups_result import TraceGroupsResult as TraceGroupsResult +from instana_client.models.trace_impact_application_time_threshold import TraceImpactApplicationTimeThreshold as TraceImpactApplicationTimeThreshold +from instana_client.models.trace_item import TraceItem as TraceItem +from instana_client.models.trace_result import TraceResult as TraceResult +from instana_client.models.trace_sampling_config import TraceSamplingConfig as TraceSamplingConfig +from instana_client.models.traffic_blueprint_indicator import TrafficBlueprintIndicator as TrafficBlueprintIndicator +from instana_client.models.trigger import Trigger as Trigger +from instana_client.models.type_configuration import TypeConfiguration as TypeConfiguration +from instana_client.models.unified_beacon import UnifiedBeacon as UnifiedBeacon +from instana_client.models.unsupported_http_path_segment_matching_rule import UnsupportedHttpPathSegmentMatchingRule as UnsupportedHttpPathSegmentMatchingRule +from instana_client.models.update_evaluation_request import UpdateEvaluationRequest as UpdateEvaluationRequest +from instana_client.models.updated_business_perspective_config import UpdatedBusinessPerspectiveConfig as UpdatedBusinessPerspectiveConfig +from instana_client.models.usage_result import UsageResult as UsageResult +from instana_client.models.usage_result_items import UsageResultItems as UsageResultItems +from instana_client.models.user_basic_result import UserBasicResult as UserBasicResult +from instana_client.models.user_impact_mobile_app_time_threshold import UserImpactMobileAppTimeThreshold as UserImpactMobileAppTimeThreshold +from instana_client.models.user_impact_website_time_threshold import UserImpactWebsiteTimeThreshold as UserImpactWebsiteTimeThreshold +from instana_client.models.user_result import UserResult as UserResult +from instana_client.models.users_result import UsersResult as UsersResult +from instana_client.models.validated_alerting_channel_input_info import ValidatedAlertingChannelInputInfo as ValidatedAlertingChannelInputInfo +from instana_client.models.validated_alerting_configuration import ValidatedAlertingConfiguration as ValidatedAlertingConfiguration +from instana_client.models.validated_maintenance_config_v2_with_state_and_occurrence import ValidatedMaintenanceConfigV2WithStateAndOccurrence as ValidatedMaintenanceConfigV2WithStateAndOccurrence +from instana_client.models.validated_maintenance_config_with_status import ValidatedMaintenanceConfigWithStatus as ValidatedMaintenanceConfigWithStatus +from instana_client.models.victor_ops_integration import VictorOpsIntegration as VictorOpsIntegration +from instana_client.models.violations_in_period_application_time_threshold import ViolationsInPeriodApplicationTimeThreshold as ViolationsInPeriodApplicationTimeThreshold +from instana_client.models.violations_in_period_mobile_app_time_threshold import ViolationsInPeriodMobileAppTimeThreshold as ViolationsInPeriodMobileAppTimeThreshold +from instana_client.models.violations_in_period_website_time_threshold import ViolationsInPeriodWebsiteTimeThreshold as ViolationsInPeriodWebsiteTimeThreshold +from instana_client.models.violations_in_sequence_application_time_threshold import ViolationsInSequenceApplicationTimeThreshold as ViolationsInSequenceApplicationTimeThreshold +from instana_client.models.violations_in_sequence_infra_time_threshold import ViolationsInSequenceInfraTimeThreshold as ViolationsInSequenceInfraTimeThreshold +from instana_client.models.violations_in_sequence_log_time_threshold import ViolationsInSequenceLogTimeThreshold as ViolationsInSequenceLogTimeThreshold +from instana_client.models.violations_in_sequence_mobile_app_time_threshold import ViolationsInSequenceMobileAppTimeThreshold as ViolationsInSequenceMobileAppTimeThreshold +from instana_client.models.violations_in_sequence_synthetic_time_threshold import ViolationsInSequenceSyntheticTimeThreshold as ViolationsInSequenceSyntheticTimeThreshold +from instana_client.models.violations_in_sequence_website_time_threshold import ViolationsInSequenceWebsiteTimeThreshold as ViolationsInSequenceWebsiteTimeThreshold +from instana_client.models.watson_ai_ops_webhook_integration import WatsonAIOpsWebhookIntegration as WatsonAIOpsWebhookIntegration +from instana_client.models.webex_teams_webhook_integration import WebexTeamsWebhookIntegration as WebexTeamsWebhookIntegration +from instana_client.models.webhook_integration import WebhookIntegration as WebhookIntegration +from instana_client.models.webpage_action_configuration import WebpageActionConfiguration as WebpageActionConfiguration +from instana_client.models.webpage_action_configuration_update import WebpageActionConfigurationUpdate as WebpageActionConfigurationUpdate +from instana_client.models.webpage_script_configuration import WebpageScriptConfiguration as WebpageScriptConfiguration +from instana_client.models.webpage_script_configuration_update import WebpageScriptConfigurationUpdate as WebpageScriptConfigurationUpdate +from instana_client.models.website import Website as Website +from instana_client.models.website_alert_config import WebsiteAlertConfig as WebsiteAlertConfig +from instana_client.models.website_alert_config_with_metadata import WebsiteAlertConfigWithMetadata as WebsiteAlertConfigWithMetadata +from instana_client.models.website_alert_config_with_rbac_tag import WebsiteAlertConfigWithRBACTag as WebsiteAlertConfigWithRBACTag +from instana_client.models.website_alert_rule import WebsiteAlertRule as WebsiteAlertRule +from instana_client.models.website_apdex_entity import WebsiteApdexEntity as WebsiteApdexEntity +from instana_client.models.website_beacon_groups_item import WebsiteBeaconGroupsItem as WebsiteBeaconGroupsItem +from instana_client.models.website_beacon_groups_result import WebsiteBeaconGroupsResult as WebsiteBeaconGroupsResult +from instana_client.models.website_beacon_result import WebsiteBeaconResult as WebsiteBeaconResult +from instana_client.models.website_beacon_tag_group import WebsiteBeaconTagGroup as WebsiteBeaconTagGroup +from instana_client.models.website_beacons_item import WebsiteBeaconsItem as WebsiteBeaconsItem +from instana_client.models.website_event_based_sli_entity import WebsiteEventBasedSliEntity as WebsiteEventBasedSliEntity +from instana_client.models.website_event_result import WebsiteEventResult as WebsiteEventResult +from instana_client.models.website_metric_result import WebsiteMetricResult as WebsiteMetricResult +from instana_client.models.website_monitoring_beacon import WebsiteMonitoringBeacon as WebsiteMonitoringBeacon +from instana_client.models.website_monitoring_metric_description import WebsiteMonitoringMetricDescription as WebsiteMonitoringMetricDescription +from instana_client.models.website_monitoring_metrics_configuration import WebsiteMonitoringMetricsConfiguration as WebsiteMonitoringMetricsConfiguration +from instana_client.models.website_slo_entity import WebsiteSloEntity as WebsiteSloEntity +from instana_client.models.website_time_based_sli_entity import WebsiteTimeBasedSliEntity as WebsiteTimeBasedSliEntity +from instana_client.models.website_time_threshold import WebsiteTimeThreshold as WebsiteTimeThreshold +from instana_client.models.widget import Widget as Widget +from instana_client.models.with_meta_data import WithMetaData as WithMetaData +from instana_client.models.with_resolved_name import WithResolvedName as WithResolvedName +from instana_client.models.z_chat_ops_integration import ZChatOpsIntegration as ZChatOpsIntegration + +""", + name=__name__, + doc=__doc__, + ) + ) diff --git a/instana_client/api/__init__.py b/instana_client/api/__init__.py index fc155f52..2a0e25bf 100644 --- a/instana_client/api/__init__.py +++ b/instana_client/api/__init__.py @@ -1,6 +1,83 @@ # flake8: noqa -# import apis into api package +if __import__("typing").TYPE_CHECKING: + # import apis into api package + from instana_client.api.ai_management_api import AIManagementApi + from instana_client.api.api_token_api import APITokenApi + from instana_client.api.action_catalog_api import ActionCatalogApi + from instana_client.api.action_history_api import ActionHistoryApi + from instana_client.api.apdex_report_api import ApdexReportApi + from instana_client.api.apdex_settings_api import ApdexSettingsApi + from instana_client.api.application_alert_configuration_api import ApplicationAlertConfigurationApi + from instana_client.api.application_analyze_api import ApplicationAnalyzeApi + from instana_client.api.application_catalog_api import ApplicationCatalogApi + from instana_client.api.application_metrics_api import ApplicationMetricsApi + from instana_client.api.application_resources_api import ApplicationResourcesApi + from instana_client.api.application_settings_api import ApplicationSettingsApi + from instana_client.api.application_topology_api import ApplicationTopologyApi + from instana_client.api.audit_log_api import AuditLogApi + from instana_client.api.authentication_api import AuthenticationApi + from instana_client.api.business_monitoring_api import BusinessMonitoringApi + from instana_client.api.custom_dashboards_api import CustomDashboardsApi + from instana_client.api.custom_entities_api import CustomEntitiesApi + from instana_client.api.end_user_monitoring_api import EndUserMonitoringApi + from instana_client.api.event_settings_api import EventSettingsApi + from instana_client.api.events_api import EventsApi + from instana_client.api.global_application_alert_configuration_api import GlobalApplicationAlertConfigurationApi + from instana_client.api.groups_api import GroupsApi + from instana_client.api.health_api import HealthApi + from instana_client.api.host_agent_api import HostAgentApi + from instana_client.api.ip_filtering_api import IPFilteringApi + from instana_client.api.infrastructure_alert_configuration_api import InfrastructureAlertConfigurationApi + from instana_client.api.infrastructure_analyze_api import InfrastructureAnalyzeApi + from instana_client.api.infrastructure_catalog_api import InfrastructureCatalogApi + from instana_client.api.infrastructure_metrics_api import InfrastructureMetricsApi + from instana_client.api.infrastructure_resources_api import InfrastructureResourcesApi + from instana_client.api.infrastructure_topology_api import InfrastructureTopologyApi + from instana_client.api.llm_evaluation_api import LLMEvaluationApi + from instana_client.api.llm_price_configuration_api import LLMPriceConfigurationApi + from instana_client.api.log_alert_configuration_api import LogAlertConfigurationApi + from instana_client.api.logging_analyze_api import LoggingAnalyzeApi + from instana_client.api.maintenance_configuration_api import MaintenanceConfigurationApi + from instana_client.api.mobile_app_analyze_api import MobileAppAnalyzeApi + from instana_client.api.mobile_app_catalog_api import MobileAppCatalogApi + from instana_client.api.mobile_app_configuration_api import MobileAppConfigurationApi + from instana_client.api.mobile_app_metrics_api import MobileAppMetricsApi + from instana_client.api.mobile_app_session_replay_api import MobileAppSessionReplayApi + from instana_client.api.policies_api import PoliciesApi + from instana_client.api.releases_api import ReleasesApi + from instana_client.api.roles_api import RolesApi + from instana_client.api.sli_report_api import SLIReportApi + from instana_client.api.sli_settings_api import SLISettingsApi + from instana_client.api.slo_catalog_for_mobile_app_api import SLOCatalogForMobileAppApi + from instana_client.api.slo_configurations_api import SLOConfigurationsApi + from instana_client.api.slo_correction_configurations_api import SLOCorrectionConfigurationsApi + from instana_client.api.slo_correction_windows_api import SLOCorrectionWindowsApi + from instana_client.api.service_levels_alert_configuration_api import ServiceLevelsAlertConfigurationApi + from instana_client.api.service_levels_objective_slo_report_api import ServiceLevelsObjectiveSLOReportApi + from instana_client.api.session_settings_api import SessionSettingsApi + from instana_client.api.synthetic_alert_configuration_api import SyntheticAlertConfigurationApi + from instana_client.api.synthetic_calls_api import SyntheticCallsApi + from instana_client.api.synthetic_catalog_api import SyntheticCatalogApi + from instana_client.api.synthetic_metrics_api import SyntheticMetricsApi + from instana_client.api.synthetic_settings_api import SyntheticSettingsApi + from instana_client.api.synthetic_test_playback_results_api import SyntheticTestPlaybackResultsApi + from instana_client.api.teams_api import TeamsApi + from instana_client.api.usage_api import UsageApi + from instana_client.api.user_api import UserApi + from instana_client.api.website_analyze_api import WebsiteAnalyzeApi + from instana_client.api.website_catalog_api import WebsiteCatalogApi + from instana_client.api.website_configuration_api import WebsiteConfigurationApi + from instana_client.api.website_metrics_api import WebsiteMetricsApi + from instana_client.api.default_api import DefaultApi + +else: + from lazy_imports import LazyModule, as_package, load + + load( + LazyModule( + *as_package(__file__), + """# import apis into api package from instana_client.api.ai_management_api import AIManagementApi from instana_client.api.api_token_api import APITokenApi from instana_client.api.action_catalog_api import ActionCatalogApi @@ -70,3 +147,8 @@ from instana_client.api.website_metrics_api import WebsiteMetricsApi from instana_client.api.default_api import DefaultApi +""", + name=__name__, + doc=__doc__, + ) + ) diff --git a/instana_client/api/action_catalog_api.py b/instana_client/api/action_catalog_api.py index 5c43b937..f72ffe1f 100644 --- a/instana_client/api/action_catalog_api.py +++ b/instana_client/api/action_catalog_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/action_history_api.py b/instana_client/api/action_history_api.py index 606ac4e1..2b8d951e 100644 --- a/instana_client/api/action_history_api.py +++ b/instana_client/api/action_history_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/ai_management_api.py b/instana_client/api/ai_management_api.py index 720d18f0..97b5f24a 100644 --- a/instana_client/api/ai_management_api.py +++ b/instana_client/api/ai_management_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/apdex_report_api.py b/instana_client/api/apdex_report_api.py index 1543fcd2..712dc954 100644 --- a/instana_client/api/apdex_report_api.py +++ b/instana_client/api/apdex_report_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/apdex_settings_api.py b/instana_client/api/apdex_settings_api.py index c808b6e6..5f497af2 100644 --- a/instana_client/api/apdex_settings_api.py +++ b/instana_client/api/apdex_settings_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/api_token_api.py b/instana_client/api/api_token_api.py index 07e6258c..b799d4d6 100644 --- a/instana_client/api/api_token_api.py +++ b/instana_client/api/api_token_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/application_alert_configuration_api.py b/instana_client/api/application_alert_configuration_api.py index 3dfb580c..415515c9 100644 --- a/instana_client/api/application_alert_configuration_api.py +++ b/instana_client/api/application_alert_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/application_analyze_api.py b/instana_client/api/application_analyze_api.py index 53edaf13..38103089 100644 --- a/instana_client/api/application_analyze_api.py +++ b/instana_client/api/application_analyze_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/application_catalog_api.py b/instana_client/api/application_catalog_api.py index 06e61131..e367d007 100644 --- a/instana_client/api/application_catalog_api.py +++ b/instana_client/api/application_catalog_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/application_metrics_api.py b/instana_client/api/application_metrics_api.py index e6e3dd23..05c57920 100644 --- a/instana_client/api/application_metrics_api.py +++ b/instana_client/api/application_metrics_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/application_resources_api.py b/instana_client/api/application_resources_api.py index 7152c815..6461863b 100644 --- a/instana_client/api/application_resources_api.py +++ b/instana_client/api/application_resources_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/application_settings_api.py b/instana_client/api/application_settings_api.py index 1711d82c..5a0ada59 100644 --- a/instana_client/api/application_settings_api.py +++ b/instana_client/api/application_settings_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -19,6 +19,7 @@ from pydantic import StrictStr from typing import List +from instana_client.models.application_batch_business_criticality_update import ApplicationBatchBusinessCriticalityUpdate from instana_client.models.application_config import ApplicationConfig from instana_client.models.endpoint_config import EndpointConfig from instana_client.models.http_endpoint_config import HttpEndpointConfig @@ -64,7 +65,7 @@ def add_application_config( ) -> ApplicationConfig: """Add application configuration - For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + Ignores the provided business criticality of the application; business criticality can only be set with the \"Batch update application business criticality\" API, which requires different permissions. For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. :param new_application_config: (required) :type new_application_config: NewApplicationConfig @@ -131,7 +132,7 @@ def add_application_config_with_http_info( ) -> ApiResponse[ApplicationConfig]: """Add application configuration - For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + Ignores the provided business criticality of the application; business criticality can only be set with the \"Batch update application business criticality\" API, which requires different permissions. For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. :param new_application_config: (required) :type new_application_config: NewApplicationConfig @@ -198,7 +199,7 @@ def add_application_config_without_preload_content( ) -> RESTResponseType: """Add application configuration - For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + Ignores the provided business criticality of the application; business criticality can only be set with the \"Batch update application business criticality\" API, which requires different permissions. For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. :param new_application_config: (required) :type new_application_config: NewApplicationConfig @@ -867,6 +868,285 @@ def _add_service_config_serialize( + @validate_call + def batch_update_application_business_criticality( + self, + application_batch_business_criticality_update: ApplicationBatchBusinessCriticalityUpdate, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> None: + """Batch update application business criticality + + Updates the business criticality of one or more Application Perspectives to a new value. + + :param application_batch_business_criticality_update: (required) + :type application_batch_business_criticality_update: ApplicationBatchBusinessCriticalityUpdate + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._batch_update_application_business_criticality_serialize( + application_batch_business_criticality_update=application_batch_business_criticality_update, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '401': None, + '403': None, + '404': None, + '422': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def batch_update_application_business_criticality_with_http_info( + self, + application_batch_business_criticality_update: ApplicationBatchBusinessCriticalityUpdate, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[None]: + """Batch update application business criticality + + Updates the business criticality of one or more Application Perspectives to a new value. + + :param application_batch_business_criticality_update: (required) + :type application_batch_business_criticality_update: ApplicationBatchBusinessCriticalityUpdate + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._batch_update_application_business_criticality_serialize( + application_batch_business_criticality_update=application_batch_business_criticality_update, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '401': None, + '403': None, + '404': None, + '422': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def batch_update_application_business_criticality_without_preload_content( + self, + application_batch_business_criticality_update: ApplicationBatchBusinessCriticalityUpdate, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Batch update application business criticality + + Updates the business criticality of one or more Application Perspectives to a new value. + + :param application_batch_business_criticality_update: (required) + :type application_batch_business_criticality_update: ApplicationBatchBusinessCriticalityUpdate + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._batch_update_application_business_criticality_serialize( + application_batch_business_criticality_update=application_batch_business_criticality_update, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '401': None, + '403': None, + '404': None, + '422': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _batch_update_application_business_criticality_serialize( + self, + application_batch_business_criticality_update, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if application_batch_business_criticality_update is not None: + _body_params = application_batch_business_criticality_update + + + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='PATCH', + resource_path='/api/application-monitoring/settings/application/batch-business-criticality', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def create_endpoint_config( self, @@ -5313,7 +5593,7 @@ def put_application_config( ) -> ApplicationConfig: """Update application configuration - For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + Does not allow changing the business criticality of an application; this must be done with the \"Batch update application business criticality\" API, which requires different permissions. For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. :param id: (required) :type id: str @@ -5384,7 +5664,7 @@ def put_application_config_with_http_info( ) -> ApiResponse[ApplicationConfig]: """Update application configuration - For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + Does not allow changing the business criticality of an application; this must be done with the \"Batch update application business criticality\" API, which requires different permissions. For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. :param id: (required) :type id: str @@ -5455,7 +5735,7 @@ def put_application_config_without_preload_content( ) -> RESTResponseType: """Update application configuration - For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + Does not allow changing the business criticality of an application; this must be done with the \"Batch update application business criticality\" API, which requires different permissions. For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. :param id: (required) :type id: str diff --git a/instana_client/api/application_topology_api.py b/instana_client/api/application_topology_api.py index 407fc2f3..0313f3fb 100644 --- a/instana_client/api/application_topology_api.py +++ b/instana_client/api/application_topology_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/audit_log_api.py b/instana_client/api/audit_log_api.py index 93e77c01..e1a3f2cd 100644 --- a/instana_client/api/audit_log_api.py +++ b/instana_client/api/audit_log_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/authentication_api.py b/instana_client/api/authentication_api.py index ef2a10b9..97185b16 100644 --- a/instana_client/api/authentication_api.py +++ b/instana_client/api/authentication_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/business_monitoring_api.py b/instana_client/api/business_monitoring_api.py index 51ac1287..3630d3d0 100644 --- a/instana_client/api/business_monitoring_api.py +++ b/instana_client/api/business_monitoring_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/custom_dashboards_api.py b/instana_client/api/custom_dashboards_api.py index 30a8f075..603496b9 100644 --- a/instana_client/api/custom_dashboards_api.py +++ b/instana_client/api/custom_dashboards_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/custom_entities_api.py b/instana_client/api/custom_entities_api.py index 50314382..11343409 100644 --- a/instana_client/api/custom_entities_api.py +++ b/instana_client/api/custom_entities_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/default_api.py b/instana_client/api/default_api.py index 9e270314..6df44ee2 100644 --- a/instana_client/api/default_api.py +++ b/instana_client/api/default_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/end_user_monitoring_api.py b/instana_client/api/end_user_monitoring_api.py index da538ecd..3bbf9cda 100644 --- a/instana_client/api/end_user_monitoring_api.py +++ b/instana_client/api/end_user_monitoring_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/event_settings_api.py b/instana_client/api/event_settings_api.py index 8e1ad1fc..c879cfd3 100644 --- a/instana_client/api/event_settings_api.py +++ b/instana_client/api/event_settings_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/events_api.py b/instana_client/api/events_api.py index 28986407..e83ad0b8 100644 --- a/instana_client/api/events_api.py +++ b/instana_client/api/events_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/global_application_alert_configuration_api.py b/instana_client/api/global_application_alert_configuration_api.py index c4284261..b95795f0 100644 --- a/instana_client/api/global_application_alert_configuration_api.py +++ b/instana_client/api/global_application_alert_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/groups_api.py b/instana_client/api/groups_api.py index 5df2fbd7..6ec141ff 100644 --- a/instana_client/api/groups_api.py +++ b/instana_client/api/groups_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -22,9 +22,10 @@ from typing_extensions import Annotated from instana_client.models.api_create_group import ApiCreateGroup from instana_client.models.api_group import ApiGroup -from instana_client.models.group_mapping import GroupMapping -from instana_client.models.group_mapping_overview import GroupMappingOverview +from instana_client.models.api_group_to_team_role_migration import ApiGroupToTeamRoleMigration from instana_client.models.identity_provider_patch import IdentityProviderPatch +from instana_client.models.mapping import Mapping +from instana_client.models.mapping_overview import MappingOverview from instana_client.api_client import ApiClient, RequestSerialized from instana_client.api_response import ApiResponse @@ -899,9 +900,9 @@ def _create_group_serialize( @validate_call - def create_group_mapping( + def create_mapping( self, - group_mapping: GroupMapping, + mapping: Mapping, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -914,13 +915,13 @@ def create_group_mapping( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> GroupMapping: - """Create group mapping + ) -> Mapping: + """Create mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param group_mapping: (required) - :type group_mapping: GroupMapping + :param mapping: (required) + :type mapping: Mapping :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -943,8 +944,8 @@ def create_group_mapping( :return: Returns the result object. """ # noqa: E501 - _param = self._create_group_mapping_serialize( - group_mapping=group_mapping, + _param = self._create_mapping_serialize( + mapping=mapping, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -952,7 +953,9 @@ def create_group_mapping( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "GroupMapping", + '200': "Mapping", + '412': "str", + '422': None, } response_data = self.api_client.call_api( *_param, @@ -966,9 +969,9 @@ def create_group_mapping( @validate_call - def create_group_mapping_with_http_info( + def create_mapping_with_http_info( self, - group_mapping: GroupMapping, + mapping: Mapping, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -981,13 +984,13 @@ def create_group_mapping_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[GroupMapping]: - """Create group mapping + ) -> ApiResponse[Mapping]: + """Create mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param group_mapping: (required) - :type group_mapping: GroupMapping + :param mapping: (required) + :type mapping: Mapping :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1010,8 +1013,8 @@ def create_group_mapping_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._create_group_mapping_serialize( - group_mapping=group_mapping, + _param = self._create_mapping_serialize( + mapping=mapping, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1019,7 +1022,9 @@ def create_group_mapping_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "GroupMapping", + '200': "Mapping", + '412': "str", + '422': None, } response_data = self.api_client.call_api( *_param, @@ -1033,9 +1038,9 @@ def create_group_mapping_with_http_info( @validate_call - def create_group_mapping_without_preload_content( + def create_mapping_without_preload_content( self, - group_mapping: GroupMapping, + mapping: Mapping, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1049,12 +1054,12 @@ def create_group_mapping_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Create group mapping + """Create mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param group_mapping: (required) - :type group_mapping: GroupMapping + :param mapping: (required) + :type mapping: Mapping :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1077,8 +1082,8 @@ def create_group_mapping_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._create_group_mapping_serialize( - group_mapping=group_mapping, + _param = self._create_mapping_serialize( + mapping=mapping, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1086,7 +1091,9 @@ def create_group_mapping_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "GroupMapping", + '200': "Mapping", + '412': "str", + '422': None, } response_data = self.api_client.call_api( *_param, @@ -1095,9 +1102,9 @@ def create_group_mapping_without_preload_content( return response_data.response - def _create_group_mapping_serialize( + def _create_mapping_serialize( self, - group_mapping, + mapping, _request_auth, _content_type, _headers, @@ -1123,8 +1130,8 @@ def _create_group_mapping_serialize( # process the header parameters # process the form parameters # process the body parameter - if group_mapping is not None: - _body_params = group_mapping + if mapping is not None: + _body_params = mapping # set the HTTP header `Accept` @@ -1437,9 +1444,9 @@ def _delete_group_serialize( @validate_call - def delete_group_mapping( + def delete_groups( self, - id: Annotated[StrictStr, Field(description="Id of the group mapping to delete")], + request_body: List[StrictStr], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1453,12 +1460,12 @@ def delete_group_mapping( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> None: - """Delete group mapping + """Delete groups - For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + Delete multiple groups For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param id: Id of the group mapping to delete (required) - :type id: str + :param request_body: (required) + :type request_body: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1481,8 +1488,8 @@ def delete_group_mapping( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_group_mapping_serialize( - id=id, + _param = self._delete_groups_serialize( + request_body=request_body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1503,9 +1510,9 @@ def delete_group_mapping( @validate_call - def delete_group_mapping_with_http_info( + def delete_groups_with_http_info( self, - id: Annotated[StrictStr, Field(description="Id of the group mapping to delete")], + request_body: List[StrictStr], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1519,12 +1526,12 @@ def delete_group_mapping_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[None]: - """Delete group mapping + """Delete groups - For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + Delete multiple groups For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param id: Id of the group mapping to delete (required) - :type id: str + :param request_body: (required) + :type request_body: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1547,8 +1554,8 @@ def delete_group_mapping_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_group_mapping_serialize( - id=id, + _param = self._delete_groups_serialize( + request_body=request_body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1569,9 +1576,9 @@ def delete_group_mapping_with_http_info( @validate_call - def delete_group_mapping_without_preload_content( + def delete_groups_without_preload_content( self, - id: Annotated[StrictStr, Field(description="Id of the group mapping to delete")], + request_body: List[StrictStr], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1585,12 +1592,12 @@ def delete_group_mapping_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Delete group mapping + """Delete groups - For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + Delete multiple groups For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param id: Id of the group mapping to delete (required) - :type id: str + :param request_body: (required) + :type request_body: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1613,8 +1620,8 @@ def delete_group_mapping_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_group_mapping_serialize( - id=id, + _param = self._delete_groups_serialize( + request_body=request_body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1630,9 +1637,9 @@ def delete_group_mapping_without_preload_content( return response_data.response - def _delete_group_mapping_serialize( + def _delete_groups_serialize( self, - id, + request_body, _request_auth, _content_type, _headers, @@ -1642,6 +1649,7 @@ def _delete_group_mapping_serialize( _host = None _collection_formats: Dict[str, str] = { + 'request_body': '', } _path_params: Dict[str, str] = {} @@ -1654,12 +1662,12 @@ def _delete_group_mapping_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters # process the form parameters # process the body parameter + if request_body is not None: + _body_params = request_body # set the HTTP header `Accept` @@ -1670,6 +1678,19 @@ def _delete_group_mapping_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -1677,8 +1698,8 @@ def _delete_group_mapping_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/api/settings/rbac/mappings/{id}', + method='PUT', + resource_path='/api/settings/rbac/groups/delete', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1695,9 +1716,9 @@ def _delete_group_mapping_serialize( @validate_call - def delete_groups( + def delete_mapping( self, - request_body: List[StrictStr], + id: Annotated[StrictStr, Field(description="Id of the mapping to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1711,12 +1732,12 @@ def delete_groups( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> None: - """Delete groups + """Delete mapping - Delete multiple groups For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param request_body: (required) - :type request_body: List[str] + :param id: Id of the mapping to delete (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1739,8 +1760,8 @@ def delete_groups( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_groups_serialize( - request_body=request_body, + _param = self._delete_mapping_serialize( + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1761,9 +1782,9 @@ def delete_groups( @validate_call - def delete_groups_with_http_info( + def delete_mapping_with_http_info( self, - request_body: List[StrictStr], + id: Annotated[StrictStr, Field(description="Id of the mapping to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1777,12 +1798,12 @@ def delete_groups_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[None]: - """Delete groups + """Delete mapping - Delete multiple groups For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param request_body: (required) - :type request_body: List[str] + :param id: Id of the mapping to delete (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1805,8 +1826,8 @@ def delete_groups_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_groups_serialize( - request_body=request_body, + _param = self._delete_mapping_serialize( + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1827,9 +1848,9 @@ def delete_groups_with_http_info( @validate_call - def delete_groups_without_preload_content( + def delete_mapping_without_preload_content( self, - request_body: List[StrictStr], + id: Annotated[StrictStr, Field(description="Id of the mapping to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1843,12 +1864,12 @@ def delete_groups_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Delete groups + """Delete mapping - Delete multiple groups For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param request_body: (required) - :type request_body: List[str] + :param id: Id of the mapping to delete (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1871,8 +1892,8 @@ def delete_groups_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_groups_serialize( - request_body=request_body, + _param = self._delete_mapping_serialize( + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1888,9 +1909,9 @@ def delete_groups_without_preload_content( return response_data.response - def _delete_groups_serialize( + def _delete_mapping_serialize( self, - request_body, + id, _request_auth, _content_type, _headers, @@ -1900,7 +1921,6 @@ def _delete_groups_serialize( _host = None _collection_formats: Dict[str, str] = { - 'request_body': '', } _path_params: Dict[str, str] = {} @@ -1913,12 +1933,12 @@ def _delete_groups_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters # process the form parameters # process the body parameter - if request_body is not None: - _body_params = request_body # set the HTTP header `Accept` @@ -1929,19 +1949,6 @@ def _delete_groups_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -1949,8 +1956,8 @@ def _delete_groups_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/api/settings/rbac/groups/delete', + method='DELETE', + resource_path='/api/settings/rbac/mappings/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2228,9 +2235,8 @@ def _get_group_serialize( @validate_call - def get_group_mapping( + def get_groups( self, - id: StrictStr, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2243,13 +2249,11 @@ def get_group_mapping( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> GroupMapping: - """Get group mapping + ) -> List[ApiGroup]: + """Get groups For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param id: (required) - :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2272,8 +2276,260 @@ def get_group_mapping( :return: Returns the result object. """ # noqa: E501 - _param = self._get_group_mapping_serialize( - id=id, + _param = self._get_groups_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[ApiGroup]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_groups_with_http_info( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[List[ApiGroup]]: + """Get groups + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_groups_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[ApiGroup]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_groups_without_preload_content( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get groups + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_groups_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[ApiGroup]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_groups_serialize( + self, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/rbac/groups', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_groups_by_user( + self, + email: Annotated[StrictStr, Field(description="Email of the user for retrieval")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> List[ApiGroup]: + """Get groups of a single user + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param email: Email of the user for retrieval (required) + :type email: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_groups_by_user_serialize( + email=email, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2281,7 +2537,7 @@ def get_group_mapping( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "GroupMapping", + '200': "List[ApiGroup]", '404': None, } response_data = self.api_client.call_api( @@ -2296,9 +2552,9 @@ def get_group_mapping( @validate_call - def get_group_mapping_with_http_info( + def get_groups_by_user_with_http_info( self, - id: StrictStr, + email: Annotated[StrictStr, Field(description="Email of the user for retrieval")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2311,13 +2567,13 @@ def get_group_mapping_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[GroupMapping]: - """Get group mapping + ) -> ApiResponse[List[ApiGroup]]: + """Get groups of a single user For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param id: (required) - :type id: str + :param email: Email of the user for retrieval (required) + :type email: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2340,8 +2596,8 @@ def get_group_mapping_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_group_mapping_serialize( - id=id, + _param = self._get_groups_by_user_serialize( + email=email, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2349,7 +2605,7 @@ def get_group_mapping_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "GroupMapping", + '200': "List[ApiGroup]", '404': None, } response_data = self.api_client.call_api( @@ -2364,9 +2620,9 @@ def get_group_mapping_with_http_info( @validate_call - def get_group_mapping_without_preload_content( + def get_groups_by_user_without_preload_content( self, - id: StrictStr, + email: Annotated[StrictStr, Field(description="Email of the user for retrieval")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2380,12 +2636,12 @@ def get_group_mapping_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get group mapping + """Get groups of a single user For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param id: (required) - :type id: str + :param email: Email of the user for retrieval (required) + :type email: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2408,8 +2664,8 @@ def get_group_mapping_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_group_mapping_serialize( - id=id, + _param = self._get_groups_by_user_serialize( + email=email, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2417,7 +2673,7 @@ def get_group_mapping_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "GroupMapping", + '200': "List[ApiGroup]", '404': None, } response_data = self.api_client.call_api( @@ -2427,9 +2683,9 @@ def get_group_mapping_without_preload_content( return response_data.response - def _get_group_mapping_serialize( + def _get_groups_by_user_serialize( self, - id, + email, _request_auth, _content_type, _headers, @@ -2451,8 +2707,8 @@ def _get_group_mapping_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id + if email is not None: + _path_params['email'] = email # process the query parameters # process the header parameters # process the form parameters @@ -2475,7 +2731,7 @@ def _get_group_mapping_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/api/settings/rbac/mappings/{id}', + resource_path='/api/settings/rbac/groups/user/{email}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2492,7 +2748,7 @@ def _get_group_mapping_serialize( @validate_call - def get_group_mappings( + def get_identity_provider_patch( self, _request_timeout: Union[ None, @@ -2506,8 +2762,8 @@ def get_group_mappings( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> List[GroupMapping]: - """Get all group mappings + ) -> IdentityProviderPatch: + """Check user restrictions for empty Idp mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. @@ -2533,7 +2789,7 @@ def get_group_mappings( :return: Returns the result object. """ # noqa: E501 - _param = self._get_group_mappings_serialize( + _param = self._get_identity_provider_patch_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2541,7 +2797,7 @@ def get_group_mappings( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[GroupMapping]", + '200': "IdentityProviderPatch", '404': None, } response_data = self.api_client.call_api( @@ -2556,7 +2812,7 @@ def get_group_mappings( @validate_call - def get_group_mappings_with_http_info( + def get_identity_provider_patch_with_http_info( self, _request_timeout: Union[ None, @@ -2570,8 +2826,8 @@ def get_group_mappings_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[List[GroupMapping]]: - """Get all group mappings + ) -> ApiResponse[IdentityProviderPatch]: + """Check user restrictions for empty Idp mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. @@ -2597,7 +2853,7 @@ def get_group_mappings_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_group_mappings_serialize( + _param = self._get_identity_provider_patch_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2605,7 +2861,7 @@ def get_group_mappings_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[GroupMapping]", + '200': "IdentityProviderPatch", '404': None, } response_data = self.api_client.call_api( @@ -2620,7 +2876,7 @@ def get_group_mappings_with_http_info( @validate_call - def get_group_mappings_without_preload_content( + def get_identity_provider_patch_without_preload_content( self, _request_timeout: Union[ None, @@ -2635,7 +2891,7 @@ def get_group_mappings_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get all group mappings + """Check user restrictions for empty Idp mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. @@ -2661,7 +2917,7 @@ def get_group_mappings_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_group_mappings_serialize( + _param = self._get_identity_provider_patch_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2669,7 +2925,7 @@ def get_group_mappings_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[GroupMapping]", + '200': "IdentityProviderPatch", '404': None, } response_data = self.api_client.call_api( @@ -2679,7 +2935,7 @@ def get_group_mappings_without_preload_content( return response_data.response - def _get_group_mappings_serialize( + def _get_identity_provider_patch_serialize( self, _request_auth, _content_type, @@ -2724,7 +2980,7 @@ def _get_group_mappings_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/api/settings/rbac/mappings', + resource_path='/api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2741,8 +2997,9 @@ def _get_group_mappings_serialize( @validate_call - def get_group_mappings_overview( + def get_mapping( self, + id: StrictStr, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2755,11 +3012,13 @@ def get_group_mappings_overview( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> List[GroupMappingOverview]: - """Get all group mappings overview + ) -> Mapping: + """Get mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + :param id: (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2782,7 +3041,8 @@ def get_group_mappings_overview( :return: Returns the result object. """ # noqa: E501 - _param = self._get_group_mappings_overview_serialize( + _param = self._get_mapping_serialize( + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2790,7 +3050,7 @@ def get_group_mappings_overview( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[GroupMappingOverview]", + '200': "Mapping", '404': None, } response_data = self.api_client.call_api( @@ -2805,8 +3065,9 @@ def get_group_mappings_overview( @validate_call - def get_group_mappings_overview_with_http_info( + def get_mapping_with_http_info( self, + id: StrictStr, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2819,11 +3080,13 @@ def get_group_mappings_overview_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[List[GroupMappingOverview]]: - """Get all group mappings overview + ) -> ApiResponse[Mapping]: + """Get mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + :param id: (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2846,7 +3109,8 @@ def get_group_mappings_overview_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_group_mappings_overview_serialize( + _param = self._get_mapping_serialize( + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2854,7 +3118,7 @@ def get_group_mappings_overview_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[GroupMappingOverview]", + '200': "Mapping", '404': None, } response_data = self.api_client.call_api( @@ -2869,8 +3133,9 @@ def get_group_mappings_overview_with_http_info( @validate_call - def get_group_mappings_overview_without_preload_content( + def get_mapping_without_preload_content( self, + id: StrictStr, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2884,10 +3149,12 @@ def get_group_mappings_overview_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get all group mappings overview + """Get mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + :param id: (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2910,7 +3177,8 @@ def get_group_mappings_overview_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_group_mappings_overview_serialize( + _param = self._get_mapping_serialize( + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2918,7 +3186,7 @@ def get_group_mappings_overview_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[GroupMappingOverview]", + '200': "Mapping", '404': None, } response_data = self.api_client.call_api( @@ -2928,8 +3196,9 @@ def get_group_mappings_overview_without_preload_content( return response_data.response - def _get_group_mappings_overview_serialize( + def _get_mapping_serialize( self, + id, _request_auth, _content_type, _headers, @@ -2951,6 +3220,8 @@ def _get_group_mappings_overview_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters # process the form parameters @@ -2973,7 +3244,7 @@ def _get_group_mappings_overview_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/api/settings/rbac/mappings/overview', + resource_path='/api/settings/rbac/mappings/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2990,7 +3261,7 @@ def _get_group_mappings_overview_serialize( @validate_call - def get_groups( + def get_mappings( self, _request_timeout: Union[ None, @@ -3004,8 +3275,8 @@ def get_groups( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> List[ApiGroup]: - """Get groups + ) -> List[Mapping]: + """Get all mappings For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. @@ -3031,7 +3302,7 @@ def get_groups( :return: Returns the result object. """ # noqa: E501 - _param = self._get_groups_serialize( + _param = self._get_mappings_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3039,7 +3310,7 @@ def get_groups( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[ApiGroup]", + '200': "List[Mapping]", '404': None, } response_data = self.api_client.call_api( @@ -3054,7 +3325,7 @@ def get_groups( @validate_call - def get_groups_with_http_info( + def get_mappings_with_http_info( self, _request_timeout: Union[ None, @@ -3068,8 +3339,8 @@ def get_groups_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[List[ApiGroup]]: - """Get groups + ) -> ApiResponse[List[Mapping]]: + """Get all mappings For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. @@ -3095,7 +3366,7 @@ def get_groups_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_groups_serialize( + _param = self._get_mappings_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3103,7 +3374,7 @@ def get_groups_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[ApiGroup]", + '200': "List[Mapping]", '404': None, } response_data = self.api_client.call_api( @@ -3118,7 +3389,7 @@ def get_groups_with_http_info( @validate_call - def get_groups_without_preload_content( + def get_mappings_without_preload_content( self, _request_timeout: Union[ None, @@ -3133,7 +3404,7 @@ def get_groups_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get groups + """Get all mappings For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. @@ -3159,7 +3430,7 @@ def get_groups_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_groups_serialize( + _param = self._get_mappings_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3167,7 +3438,7 @@ def get_groups_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[ApiGroup]", + '200': "List[Mapping]", '404': None, } response_data = self.api_client.call_api( @@ -3177,7 +3448,7 @@ def get_groups_without_preload_content( return response_data.response - def _get_groups_serialize( + def _get_mappings_serialize( self, _request_auth, _content_type, @@ -3222,7 +3493,7 @@ def _get_groups_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/api/settings/rbac/groups', + resource_path='/api/settings/rbac/mappings', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -3239,9 +3510,8 @@ def _get_groups_serialize( @validate_call - def get_groups_by_user( + def get_mappings_overview( self, - email: Annotated[StrictStr, Field(description="Email of the user for retrieval")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3254,13 +3524,11 @@ def get_groups_by_user( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> List[ApiGroup]: - """Get groups of a single user + ) -> List[MappingOverview]: + """Get all mappings overview For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param email: Email of the user for retrieval (required) - :type email: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3283,8 +3551,7 @@ def get_groups_by_user( :return: Returns the result object. """ # noqa: E501 - _param = self._get_groups_by_user_serialize( - email=email, + _param = self._get_mappings_overview_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3292,7 +3559,7 @@ def get_groups_by_user( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[ApiGroup]", + '200': "List[MappingOverview]", '404': None, } response_data = self.api_client.call_api( @@ -3307,9 +3574,8 @@ def get_groups_by_user( @validate_call - def get_groups_by_user_with_http_info( + def get_mappings_overview_with_http_info( self, - email: Annotated[StrictStr, Field(description="Email of the user for retrieval")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3322,13 +3588,11 @@ def get_groups_by_user_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[List[ApiGroup]]: - """Get groups of a single user + ) -> ApiResponse[List[MappingOverview]]: + """Get all mappings overview For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param email: Email of the user for retrieval (required) - :type email: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3351,8 +3615,7 @@ def get_groups_by_user_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_groups_by_user_serialize( - email=email, + _param = self._get_mappings_overview_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3360,7 +3623,7 @@ def get_groups_by_user_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[ApiGroup]", + '200': "List[MappingOverview]", '404': None, } response_data = self.api_client.call_api( @@ -3375,9 +3638,8 @@ def get_groups_by_user_with_http_info( @validate_call - def get_groups_by_user_without_preload_content( + def get_mappings_overview_without_preload_content( self, - email: Annotated[StrictStr, Field(description="Email of the user for retrieval")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3391,12 +3653,10 @@ def get_groups_by_user_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get groups of a single user + """Get all mappings overview For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param email: Email of the user for retrieval (required) - :type email: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3419,8 +3679,7 @@ def get_groups_by_user_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_groups_by_user_serialize( - email=email, + _param = self._get_mappings_overview_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3428,7 +3687,7 @@ def get_groups_by_user_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[ApiGroup]", + '200': "List[MappingOverview]", '404': None, } response_data = self.api_client.call_api( @@ -3438,9 +3697,8 @@ def get_groups_by_user_without_preload_content( return response_data.response - def _get_groups_by_user_serialize( + def _get_mappings_overview_serialize( self, - email, _request_auth, _content_type, _headers, @@ -3462,8 +3720,6 @@ def _get_groups_by_user_serialize( _body_params: Optional[bytes] = None # process the path parameters - if email is not None: - _path_params['email'] = email # process the query parameters # process the header parameters # process the form parameters @@ -3486,7 +3742,7 @@ def _get_groups_by_user_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/api/settings/rbac/groups/user/{email}', + resource_path='/api/settings/rbac/mappings/overview', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -3503,8 +3759,10 @@ def _get_groups_by_user_serialize( @validate_call - def get_identity_provider_patch( + def migrate_group_to_team_and_role( self, + id: Annotated[StrictStr, Field(description="The ID of the legacy RBAC group to migrate.")], + api_group_to_team_role_migration: ApiGroupToTeamRoleMigration, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3517,11 +3775,15 @@ def get_identity_provider_patch( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> IdentityProviderPatch: - """Check user restrictions for empty Idp group mapping + ) -> None: + """Migrate a legacy RBAC group to the Team and Role model - For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + Migrates a legacy RBAC group to a team preserving the access scope, assigning all non-IdP members the specified target role. IdP group mappings are automatically converted to team mappings with the migrated team and target role. This is a tenant-wide, **irreversible** operation — the original group is permanently deleted on success. For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + :param id: The ID of the legacy RBAC group to migrate. (required) + :type id: str + :param api_group_to_team_role_migration: (required) + :type api_group_to_team_role_migration: ApiGroupToTeamRoleMigration :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3544,7 +3806,9 @@ def get_identity_provider_patch( :return: Returns the result object. """ # noqa: E501 - _param = self._get_identity_provider_patch_serialize( + _param = self._migrate_group_to_team_and_role_serialize( + id=id, + api_group_to_team_role_migration=api_group_to_team_role_migration, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3552,8 +3816,10 @@ def get_identity_provider_patch( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "IdentityProviderPatch", + '200': None, + '400': None, '404': None, + '500': None, } response_data = self.api_client.call_api( *_param, @@ -3567,8 +3833,10 @@ def get_identity_provider_patch( @validate_call - def get_identity_provider_patch_with_http_info( + def migrate_group_to_team_and_role_with_http_info( self, + id: Annotated[StrictStr, Field(description="The ID of the legacy RBAC group to migrate.")], + api_group_to_team_role_migration: ApiGroupToTeamRoleMigration, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3581,11 +3849,15 @@ def get_identity_provider_patch_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[IdentityProviderPatch]: - """Check user restrictions for empty Idp group mapping + ) -> ApiResponse[None]: + """Migrate a legacy RBAC group to the Team and Role model - For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + Migrates a legacy RBAC group to a team preserving the access scope, assigning all non-IdP members the specified target role. IdP group mappings are automatically converted to team mappings with the migrated team and target role. This is a tenant-wide, **irreversible** operation — the original group is permanently deleted on success. For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + :param id: The ID of the legacy RBAC group to migrate. (required) + :type id: str + :param api_group_to_team_role_migration: (required) + :type api_group_to_team_role_migration: ApiGroupToTeamRoleMigration :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3608,7 +3880,9 @@ def get_identity_provider_patch_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_identity_provider_patch_serialize( + _param = self._migrate_group_to_team_and_role_serialize( + id=id, + api_group_to_team_role_migration=api_group_to_team_role_migration, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3616,8 +3890,10 @@ def get_identity_provider_patch_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "IdentityProviderPatch", + '200': None, + '400': None, '404': None, + '500': None, } response_data = self.api_client.call_api( *_param, @@ -3631,8 +3907,10 @@ def get_identity_provider_patch_with_http_info( @validate_call - def get_identity_provider_patch_without_preload_content( + def migrate_group_to_team_and_role_without_preload_content( self, + id: Annotated[StrictStr, Field(description="The ID of the legacy RBAC group to migrate.")], + api_group_to_team_role_migration: ApiGroupToTeamRoleMigration, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3646,10 +3924,14 @@ def get_identity_provider_patch_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Check user restrictions for empty Idp group mapping + """Migrate a legacy RBAC group to the Team and Role model - For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + Migrates a legacy RBAC group to a team preserving the access scope, assigning all non-IdP members the specified target role. IdP group mappings are automatically converted to team mappings with the migrated team and target role. This is a tenant-wide, **irreversible** operation — the original group is permanently deleted on success. For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + :param id: The ID of the legacy RBAC group to migrate. (required) + :type id: str + :param api_group_to_team_role_migration: (required) + :type api_group_to_team_role_migration: ApiGroupToTeamRoleMigration :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3672,7 +3954,9 @@ def get_identity_provider_patch_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_identity_provider_patch_serialize( + _param = self._migrate_group_to_team_and_role_serialize( + id=id, + api_group_to_team_role_migration=api_group_to_team_role_migration, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3680,8 +3964,10 @@ def get_identity_provider_patch_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "IdentityProviderPatch", + '200': None, + '400': None, '404': None, + '500': None, } response_data = self.api_client.call_api( *_param, @@ -3690,8 +3976,10 @@ def get_identity_provider_patch_without_preload_content( return response_data.response - def _get_identity_provider_patch_serialize( + def _migrate_group_to_team_and_role_serialize( self, + id, + api_group_to_team_role_migration, _request_auth, _content_type, _headers, @@ -3713,20 +4001,30 @@ def _get_identity_provider_patch_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters # process the form parameters # process the body parameter + if api_group_to_team_role_migration is not None: + _body_params = api_group_to_team_role_migration - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -3734,8 +4032,8 @@ def _get_identity_provider_patch_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups', + method='PUT', + resource_path='/api/settings/rbac/groups/{id}/migrateToTeams', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -4320,10 +4618,9 @@ def _update_group_serialize( @validate_call - def update_group_mapping( + def update_identity_provider( self, - id: Annotated[StrictStr, Field(description="Id of the group mapping to update")], - group_mapping: GroupMapping, + identity_provider_patch: IdentityProviderPatch, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4336,15 +4633,13 @@ def update_group_mapping( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> GroupMapping: - """Update group mapping + ) -> None: + """Allow/Restrict users with empty Idp group mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param id: Id of the group mapping to update (required) - :type id: str - :param group_mapping: (required) - :type group_mapping: GroupMapping + :param identity_provider_patch: (required) + :type identity_provider_patch: IdentityProviderPatch :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4367,9 +4662,8 @@ def update_group_mapping( :return: Returns the result object. """ # noqa: E501 - _param = self._update_group_mapping_serialize( - id=id, - group_mapping=group_mapping, + _param = self._update_identity_provider_serialize( + identity_provider_patch=identity_provider_patch, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4377,7 +4671,8 @@ def update_group_mapping( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "GroupMapping", + '412': None, + '422': None, } response_data = self.api_client.call_api( *_param, @@ -4391,10 +4686,9 @@ def update_group_mapping( @validate_call - def update_group_mapping_with_http_info( + def update_identity_provider_with_http_info( self, - id: Annotated[StrictStr, Field(description="Id of the group mapping to update")], - group_mapping: GroupMapping, + identity_provider_patch: IdentityProviderPatch, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4407,15 +4701,13 @@ def update_group_mapping_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[GroupMapping]: - """Update group mapping + ) -> ApiResponse[None]: + """Allow/Restrict users with empty Idp group mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param id: Id of the group mapping to update (required) - :type id: str - :param group_mapping: (required) - :type group_mapping: GroupMapping + :param identity_provider_patch: (required) + :type identity_provider_patch: IdentityProviderPatch :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4438,9 +4730,8 @@ def update_group_mapping_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._update_group_mapping_serialize( - id=id, - group_mapping=group_mapping, + _param = self._update_identity_provider_serialize( + identity_provider_patch=identity_provider_patch, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4448,7 +4739,8 @@ def update_group_mapping_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "GroupMapping", + '412': None, + '422': None, } response_data = self.api_client.call_api( *_param, @@ -4462,10 +4754,9 @@ def update_group_mapping_with_http_info( @validate_call - def update_group_mapping_without_preload_content( + def update_identity_provider_without_preload_content( self, - id: Annotated[StrictStr, Field(description="Id of the group mapping to update")], - group_mapping: GroupMapping, + identity_provider_patch: IdentityProviderPatch, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4479,14 +4770,12 @@ def update_group_mapping_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Update group mapping + """Allow/Restrict users with empty Idp group mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param id: Id of the group mapping to update (required) - :type id: str - :param group_mapping: (required) - :type group_mapping: GroupMapping + :param identity_provider_patch: (required) + :type identity_provider_patch: IdentityProviderPatch :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4509,9 +4798,8 @@ def update_group_mapping_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._update_group_mapping_serialize( - id=id, - group_mapping=group_mapping, + _param = self._update_identity_provider_serialize( + identity_provider_patch=identity_provider_patch, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4519,7 +4807,8 @@ def update_group_mapping_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "GroupMapping", + '412': None, + '422': None, } response_data = self.api_client.call_api( *_param, @@ -4528,10 +4817,9 @@ def update_group_mapping_without_preload_content( return response_data.response - def _update_group_mapping_serialize( + def _update_identity_provider_serialize( self, - id, - group_mapping, + identity_provider_patch, _request_auth, _content_type, _headers, @@ -4553,23 +4841,14 @@ def _update_group_mapping_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters # process the form parameters # process the body parameter - if group_mapping is not None: - _body_params = group_mapping + if identity_provider_patch is not None: + _body_params = identity_provider_patch - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -4592,7 +4871,7 @@ def _update_group_mapping_serialize( return self.api_client.param_serialize( method='PUT', - resource_path='/api/settings/rbac/mappings/{id}', + resource_path='/api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -4609,9 +4888,10 @@ def _update_group_mapping_serialize( @validate_call - def update_identity_provider( + def update_mapping( self, - identity_provider_patch: IdentityProviderPatch, + id: Annotated[StrictStr, Field(description="Id of the mapping to update")], + mapping: Mapping, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4624,13 +4904,15 @@ def update_identity_provider( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """Allow/Restrict users with empty Idp group mapping + ) -> Mapping: + """Update mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param identity_provider_patch: (required) - :type identity_provider_patch: IdentityProviderPatch + :param id: Id of the mapping to update (required) + :type id: str + :param mapping: (required) + :type mapping: Mapping :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4653,8 +4935,9 @@ def update_identity_provider( :return: Returns the result object. """ # noqa: E501 - _param = self._update_identity_provider_serialize( - identity_provider_patch=identity_provider_patch, + _param = self._update_mapping_serialize( + id=id, + mapping=mapping, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4662,6 +4945,9 @@ def update_identity_provider( ) _response_types_map: Dict[str, Optional[str]] = { + '200': "Mapping", + '412': "str", + '422': None, } response_data = self.api_client.call_api( *_param, @@ -4675,9 +4961,10 @@ def update_identity_provider( @validate_call - def update_identity_provider_with_http_info( + def update_mapping_with_http_info( self, - identity_provider_patch: IdentityProviderPatch, + id: Annotated[StrictStr, Field(description="Id of the mapping to update")], + mapping: Mapping, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4690,13 +4977,15 @@ def update_identity_provider_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """Allow/Restrict users with empty Idp group mapping + ) -> ApiResponse[Mapping]: + """Update mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param identity_provider_patch: (required) - :type identity_provider_patch: IdentityProviderPatch + :param id: Id of the mapping to update (required) + :type id: str + :param mapping: (required) + :type mapping: Mapping :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4719,8 +5008,9 @@ def update_identity_provider_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._update_identity_provider_serialize( - identity_provider_patch=identity_provider_patch, + _param = self._update_mapping_serialize( + id=id, + mapping=mapping, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4728,6 +5018,9 @@ def update_identity_provider_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { + '200': "Mapping", + '412': "str", + '422': None, } response_data = self.api_client.call_api( *_param, @@ -4741,9 +5034,10 @@ def update_identity_provider_with_http_info( @validate_call - def update_identity_provider_without_preload_content( + def update_mapping_without_preload_content( self, - identity_provider_patch: IdentityProviderPatch, + id: Annotated[StrictStr, Field(description="Id of the mapping to update")], + mapping: Mapping, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4757,12 +5051,14 @@ def update_identity_provider_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Allow/Restrict users with empty Idp group mapping + """Update mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param identity_provider_patch: (required) - :type identity_provider_patch: IdentityProviderPatch + :param id: Id of the mapping to update (required) + :type id: str + :param mapping: (required) + :type mapping: Mapping :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4785,8 +5081,9 @@ def update_identity_provider_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._update_identity_provider_serialize( - identity_provider_patch=identity_provider_patch, + _param = self._update_mapping_serialize( + id=id, + mapping=mapping, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4794,6 +5091,9 @@ def update_identity_provider_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { + '200': "Mapping", + '412': "str", + '422': None, } response_data = self.api_client.call_api( *_param, @@ -4802,9 +5102,10 @@ def update_identity_provider_without_preload_content( return response_data.response - def _update_identity_provider_serialize( + def _update_mapping_serialize( self, - identity_provider_patch, + id, + mapping, _request_auth, _content_type, _headers, @@ -4826,12 +5127,14 @@ def _update_identity_provider_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters # process the form parameters # process the body parameter - if identity_provider_patch is not None: - _body_params = identity_provider_patch + if mapping is not None: + _body_params = mapping # set the HTTP header `Accept` @@ -4863,7 +5166,7 @@ def _update_identity_provider_serialize( return self.api_client.param_serialize( method='PUT', - resource_path='/api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups', + resource_path='/api/settings/rbac/mappings/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, diff --git a/instana_client/api/health_api.py b/instana_client/api/health_api.py index 60b39ec9..d83451f5 100644 --- a/instana_client/api/health_api.py +++ b/instana_client/api/health_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/host_agent_api.py b/instana_client/api/host_agent_api.py index 02cdb68e..ae3a2c62 100644 --- a/instana_client/api/host_agent_api.py +++ b/instana_client/api/host_agent_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/infrastructure_alert_configuration_api.py b/instana_client/api/infrastructure_alert_configuration_api.py index db423965..7521c260 100644 --- a/instana_client/api/infrastructure_alert_configuration_api.py +++ b/instana_client/api/infrastructure_alert_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/infrastructure_analyze_api.py b/instana_client/api/infrastructure_analyze_api.py index cae2df8e..33f2bcd8 100644 --- a/instana_client/api/infrastructure_analyze_api.py +++ b/instana_client/api/infrastructure_analyze_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/infrastructure_catalog_api.py b/instana_client/api/infrastructure_catalog_api.py index fab53fa3..0d1ba4fe 100644 --- a/instana_client/api/infrastructure_catalog_api.py +++ b/instana_client/api/infrastructure_catalog_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/infrastructure_metrics_api.py b/instana_client/api/infrastructure_metrics_api.py index 1699052a..4dde8116 100644 --- a/instana_client/api/infrastructure_metrics_api.py +++ b/instana_client/api/infrastructure_metrics_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/infrastructure_resources_api.py b/instana_client/api/infrastructure_resources_api.py index cb31468d..cd284f8a 100644 --- a/instana_client/api/infrastructure_resources_api.py +++ b/instana_client/api/infrastructure_resources_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/infrastructure_topology_api.py b/instana_client/api/infrastructure_topology_api.py index b59755b0..eca5cdaf 100644 --- a/instana_client/api/infrastructure_topology_api.py +++ b/instana_client/api/infrastructure_topology_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/ip_filtering_api.py b/instana_client/api/ip_filtering_api.py index d51ec64f..4c360c97 100644 --- a/instana_client/api/ip_filtering_api.py +++ b/instana_client/api/ip_filtering_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -17,6 +17,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated +from typing import Any, Dict from instana_client.models.ip_filtering import IPFiltering from instana_client.models.ip_filtering_upsert import IPFilteringUpsert @@ -293,6 +294,7 @@ def _delete_ip_filtering_serialize( @validate_call def disable_ip_filtering( self, + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -308,8 +310,10 @@ def disable_ip_filtering( ) -> IPFiltering: """Disable the current ip-filtering - Disable and retrieve the currently configured ip-filtering for the current tenant unit. + Disable and retrieve the currently configured ip-filtering for the current tenant unit. Request body is ignored, but required by some clients. + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -333,6 +337,7 @@ def disable_ip_filtering( """ # noqa: E501 _param = self._disable_ip_filtering_serialize( + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -358,6 +363,7 @@ def disable_ip_filtering( @validate_call def disable_ip_filtering_with_http_info( self, + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -373,8 +379,10 @@ def disable_ip_filtering_with_http_info( ) -> ApiResponse[IPFiltering]: """Disable the current ip-filtering - Disable and retrieve the currently configured ip-filtering for the current tenant unit. + Disable and retrieve the currently configured ip-filtering for the current tenant unit. Request body is ignored, but required by some clients. + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -398,6 +406,7 @@ def disable_ip_filtering_with_http_info( """ # noqa: E501 _param = self._disable_ip_filtering_serialize( + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -423,6 +432,7 @@ def disable_ip_filtering_with_http_info( @validate_call def disable_ip_filtering_without_preload_content( self, + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -438,8 +448,10 @@ def disable_ip_filtering_without_preload_content( ) -> RESTResponseType: """Disable the current ip-filtering - Disable and retrieve the currently configured ip-filtering for the current tenant unit. + Disable and retrieve the currently configured ip-filtering for the current tenant unit. Request body is ignored, but required by some clients. + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -463,6 +475,7 @@ def disable_ip_filtering_without_preload_content( """ # noqa: E501 _param = self._disable_ip_filtering_serialize( + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -483,6 +496,7 @@ def disable_ip_filtering_without_preload_content( def _disable_ip_filtering_serialize( self, + body, _request_auth, _content_type, _headers, @@ -508,6 +522,8 @@ def _disable_ip_filtering_serialize( # process the header parameters # process the form parameters # process the body parameter + if body is not None: + _body_params = body # set the HTTP header `Accept` @@ -518,6 +534,19 @@ def _disable_ip_filtering_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -1080,6 +1109,7 @@ def _upsert_ip_filtering_serialize( @validate_call def verify_ip_filtering( self, + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1095,8 +1125,10 @@ def verify_ip_filtering( ) -> IPFiltering: """Verify current ip-filtering - Verify and retrieve the currently configured ip-filtering for the current tenant unit. This action is required to promote a configuration from temporary active to permanently active. This action can only be performed whilst the configuration is temporary active. + Verify and retrieve the currently configured ip-filtering for the current tenant unit. This action is required to promote a configuration from temporary active to permanently active. This action can only be performed whilst the configuration is temporary active. Request body is ignored, but required by some clients. + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1120,6 +1152,7 @@ def verify_ip_filtering( """ # noqa: E501 _param = self._verify_ip_filtering_serialize( + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1145,6 +1178,7 @@ def verify_ip_filtering( @validate_call def verify_ip_filtering_with_http_info( self, + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1160,8 +1194,10 @@ def verify_ip_filtering_with_http_info( ) -> ApiResponse[IPFiltering]: """Verify current ip-filtering - Verify and retrieve the currently configured ip-filtering for the current tenant unit. This action is required to promote a configuration from temporary active to permanently active. This action can only be performed whilst the configuration is temporary active. + Verify and retrieve the currently configured ip-filtering for the current tenant unit. This action is required to promote a configuration from temporary active to permanently active. This action can only be performed whilst the configuration is temporary active. Request body is ignored, but required by some clients. + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1185,6 +1221,7 @@ def verify_ip_filtering_with_http_info( """ # noqa: E501 _param = self._verify_ip_filtering_serialize( + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1210,6 +1247,7 @@ def verify_ip_filtering_with_http_info( @validate_call def verify_ip_filtering_without_preload_content( self, + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1225,8 +1263,10 @@ def verify_ip_filtering_without_preload_content( ) -> RESTResponseType: """Verify current ip-filtering - Verify and retrieve the currently configured ip-filtering for the current tenant unit. This action is required to promote a configuration from temporary active to permanently active. This action can only be performed whilst the configuration is temporary active. + Verify and retrieve the currently configured ip-filtering for the current tenant unit. This action is required to promote a configuration from temporary active to permanently active. This action can only be performed whilst the configuration is temporary active. Request body is ignored, but required by some clients. + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1250,6 +1290,7 @@ def verify_ip_filtering_without_preload_content( """ # noqa: E501 _param = self._verify_ip_filtering_serialize( + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1270,6 +1311,7 @@ def verify_ip_filtering_without_preload_content( def _verify_ip_filtering_serialize( self, + body, _request_auth, _content_type, _headers, @@ -1295,6 +1337,8 @@ def _verify_ip_filtering_serialize( # process the header parameters # process the form parameters # process the body parameter + if body is not None: + _body_params = body # set the HTTP header `Accept` @@ -1305,6 +1349,19 @@ def _verify_ip_filtering_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ diff --git a/instana_client/api/llm_evaluation_api.py b/instana_client/api/llm_evaluation_api.py index b5afe96e..4083c692 100644 --- a/instana_client/api/llm_evaluation_api.py +++ b/instana_client/api/llm_evaluation_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/llm_price_configuration_api.py b/instana_client/api/llm_price_configuration_api.py index 4db36354..c6aa4766 100644 --- a/instana_client/api/llm_price_configuration_api.py +++ b/instana_client/api/llm_price_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/log_alert_configuration_api.py b/instana_client/api/log_alert_configuration_api.py index 84e9c66e..4cb9fe05 100644 --- a/instana_client/api/log_alert_configuration_api.py +++ b/instana_client/api/log_alert_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/logging_analyze_api.py b/instana_client/api/logging_analyze_api.py index 95464269..0f663b11 100644 --- a/instana_client/api/logging_analyze_api.py +++ b/instana_client/api/logging_analyze_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -18,9 +18,10 @@ from typing_extensions import Annotated from pydantic import Field, StrictInt, StrictStr -from typing import Optional +from typing import List, Optional from typing_extensions import Annotated from instana_client.models.log_volume_usage_result import LogVolumeUsageResult +from instana_client.models.logging_perspective import LoggingPerspective from instana_client.models.logs_api_response import LogsApiResponse from instana_client.models.logs_query import LogsQuery @@ -42,12 +43,1390 @@ def __init__(self, api_client=None) -> None: self.api_client = api_client + @validate_call + def create_logging_perspective( + self, + logging_perspective: Annotated[LoggingPerspective, Field(description="The log perspective to create.")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> LoggingPerspective: + """Create Log Perspective + + Creates a new log perspective for the caller's tenant unit. - `perspectiveId` is **not** required — the server assigns it automatically. - `perspectiveName` must be unique. - `filter` accepts at least 1 and at most 10 elements. The `REGEX_MATCH` operator is not supported. + + :param logging_perspective: The log perspective to create. (required) + :type logging_perspective: LoggingPerspective + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._create_logging_perspective_serialize( + logging_perspective=logging_perspective, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "LoggingPerspective", + '400': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def create_logging_perspective_with_http_info( + self, + logging_perspective: Annotated[LoggingPerspective, Field(description="The log perspective to create.")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[LoggingPerspective]: + """Create Log Perspective + + Creates a new log perspective for the caller's tenant unit. - `perspectiveId` is **not** required — the server assigns it automatically. - `perspectiveName` must be unique. - `filter` accepts at least 1 and at most 10 elements. The `REGEX_MATCH` operator is not supported. + + :param logging_perspective: The log perspective to create. (required) + :type logging_perspective: LoggingPerspective + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._create_logging_perspective_serialize( + logging_perspective=logging_perspective, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "LoggingPerspective", + '400': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def create_logging_perspective_without_preload_content( + self, + logging_perspective: Annotated[LoggingPerspective, Field(description="The log perspective to create.")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Create Log Perspective + + Creates a new log perspective for the caller's tenant unit. - `perspectiveId` is **not** required — the server assigns it automatically. - `perspectiveName` must be unique. - `filter` accepts at least 1 and at most 10 elements. The `REGEX_MATCH` operator is not supported. + + :param logging_perspective: The log perspective to create. (required) + :type logging_perspective: LoggingPerspective + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._create_logging_perspective_serialize( + logging_perspective=logging_perspective, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "LoggingPerspective", + '400': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _create_logging_perspective_serialize( + self, + logging_perspective, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if logging_perspective is not None: + _body_params = logging_perspective + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/api/logging/perspective/v1', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def delete_logging_perspective( + self, + perspective_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> None: + """Delete Log Perspective + + Deletes an existing log perspective by its ID. The reserved **\"All logs\"** perspective (id=`\"0\"`) cannot be deleted. + + :param perspective_id: (required) + :type perspective_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._delete_logging_perspective_serialize( + perspective_id=perspective_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '400': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def delete_logging_perspective_with_http_info( + self, + perspective_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[None]: + """Delete Log Perspective + + Deletes an existing log perspective by its ID. The reserved **\"All logs\"** perspective (id=`\"0\"`) cannot be deleted. + + :param perspective_id: (required) + :type perspective_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._delete_logging_perspective_serialize( + perspective_id=perspective_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '400': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def delete_logging_perspective_without_preload_content( + self, + perspective_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Delete Log Perspective + + Deletes an existing log perspective by its ID. The reserved **\"All logs\"** perspective (id=`\"0\"`) cannot be deleted. + + :param perspective_id: (required) + :type perspective_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._delete_logging_perspective_serialize( + perspective_id=perspective_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '400': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _delete_logging_perspective_serialize( + self, + perspective_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if perspective_id is not None: + _path_params['perspectiveId'] = perspective_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='DELETE', + resource_path='/api/logging/perspective/v1/{perspectiveId}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_all_logging_perspectives( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> List[LoggingPerspective]: + """Get All Log Perspectives + + Returns all log perspectives that belong to the authenticated caller's tenant unit. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_all_logging_perspectives_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[LoggingPerspective]", + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_all_logging_perspectives_with_http_info( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[List[LoggingPerspective]]: + """Get All Log Perspectives + + Returns all log perspectives that belong to the authenticated caller's tenant unit. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_all_logging_perspectives_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[LoggingPerspective]", + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_all_logging_perspectives_without_preload_content( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get All Log Perspectives + + Returns all log perspectives that belong to the authenticated caller's tenant unit. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_all_logging_perspectives_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[LoggingPerspective]", + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_all_logging_perspectives_serialize( + self, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/logging/perspective/v1', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def get_log_volume_usage( self, - from_ts: Annotated[StrictInt, Field(description="Start timestamp in seconds. Must be <= `toTs`.")], - to_ts: Annotated[StrictInt, Field(description="End timestamp in seconds. Must be >= `fromTs`.")], - grouping_tag: Annotated[Optional[StrictStr], Field(description="Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`. ")] = None, + from_ts: Annotated[StrictInt, Field(description="Start timestamp in seconds. Must be <= `toTs`.")], + to_ts: Annotated[StrictInt, Field(description="End timestamp in seconds. Must be >= `fromTs`.")], + grouping_tag: Annotated[Optional[StrictStr], Field(description="Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`, `perspective_id`. ")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> LogVolumeUsageResult: + """Get Log Volume Usage + + Returns aggregated log volume usage data for a specified time range and optional grouping tag. `fromTs` and `toTs` are required and must define a valid time range (i.e., `fromTs` <= `toTs`). Refer to the query parameter description for valid `groupingTag` values. + + :param from_ts: Start timestamp in seconds. Must be <= `toTs`. (required) + :type from_ts: int + :param to_ts: End timestamp in seconds. Must be >= `fromTs`. (required) + :type to_ts: int + :param grouping_tag: Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`, `perspective_id`. + :type grouping_tag: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_log_volume_usage_serialize( + from_ts=from_ts, + to_ts=to_ts, + grouping_tag=grouping_tag, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "LogVolumeUsageResult", + '400': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_log_volume_usage_with_http_info( + self, + from_ts: Annotated[StrictInt, Field(description="Start timestamp in seconds. Must be <= `toTs`.")], + to_ts: Annotated[StrictInt, Field(description="End timestamp in seconds. Must be >= `fromTs`.")], + grouping_tag: Annotated[Optional[StrictStr], Field(description="Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`, `perspective_id`. ")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[LogVolumeUsageResult]: + """Get Log Volume Usage + + Returns aggregated log volume usage data for a specified time range and optional grouping tag. `fromTs` and `toTs` are required and must define a valid time range (i.e., `fromTs` <= `toTs`). Refer to the query parameter description for valid `groupingTag` values. + + :param from_ts: Start timestamp in seconds. Must be <= `toTs`. (required) + :type from_ts: int + :param to_ts: End timestamp in seconds. Must be >= `fromTs`. (required) + :type to_ts: int + :param grouping_tag: Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`, `perspective_id`. + :type grouping_tag: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_log_volume_usage_serialize( + from_ts=from_ts, + to_ts=to_ts, + grouping_tag=grouping_tag, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "LogVolumeUsageResult", + '400': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_log_volume_usage_without_preload_content( + self, + from_ts: Annotated[StrictInt, Field(description="Start timestamp in seconds. Must be <= `toTs`.")], + to_ts: Annotated[StrictInt, Field(description="End timestamp in seconds. Must be >= `fromTs`.")], + grouping_tag: Annotated[Optional[StrictStr], Field(description="Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`, `perspective_id`. ")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get Log Volume Usage + + Returns aggregated log volume usage data for a specified time range and optional grouping tag. `fromTs` and `toTs` are required and must define a valid time range (i.e., `fromTs` <= `toTs`). Refer to the query parameter description for valid `groupingTag` values. + + :param from_ts: Start timestamp in seconds. Must be <= `toTs`. (required) + :type from_ts: int + :param to_ts: End timestamp in seconds. Must be >= `fromTs`. (required) + :type to_ts: int + :param grouping_tag: Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`, `perspective_id`. + :type grouping_tag: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_log_volume_usage_serialize( + from_ts=from_ts, + to_ts=to_ts, + grouping_tag=grouping_tag, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "LogVolumeUsageResult", + '400': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_log_volume_usage_serialize( + self, + from_ts, + to_ts, + grouping_tag, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + if from_ts is not None: + + _query_params.append(('fromTs', from_ts)) + + if to_ts is not None: + + _query_params.append(('toTs', to_ts)) + + if grouping_tag is not None: + + _query_params.append(('groupingTag', grouping_tag)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/logging/logs/getLogVolumeUsage', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_logging_perspective( + self, + perspective_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> LoggingPerspective: + """Get Log Perspective + + Retrieves a single log perspective by its ID. + + :param perspective_id: (required) + :type perspective_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_logging_perspective_serialize( + perspective_id=perspective_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "LoggingPerspective", + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_logging_perspective_with_http_info( + self, + perspective_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[LoggingPerspective]: + """Get Log Perspective + + Retrieves a single log perspective by its ID. + + :param perspective_id: (required) + :type perspective_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_logging_perspective_serialize( + perspective_id=perspective_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "LoggingPerspective", + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_logging_perspective_without_preload_content( + self, + perspective_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get Log Perspective + + Retrieves a single log perspective by its ID. + + :param perspective_id: (required) + :type perspective_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_logging_perspective_serialize( + perspective_id=perspective_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "LoggingPerspective", + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_logging_perspective_serialize( + self, + perspective_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if perspective_id is not None: + _path_params['perspectiveId'] = perspective_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/logging/perspective/v1/{perspectiveId}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_logs( + self, + logs_query: LogsQuery, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -60,17 +1439,13 @@ def get_log_volume_usage( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> LogVolumeUsageResult: - """Get Log Volume Usage + ) -> LogsApiResponse: + """Retrieve logs via REST API - Returns aggregated log volume usage data for a specified time range and optional grouping tag. `fromTs` and `toTs` are required and must define a valid time range (i.e., `fromTs` <= `toTs`). Refer to the query parameter description for valid `groupingTag` values. + Returns logs (up to the specified retrievalSize) for a given time range with optional filters to help users efficiently troubleshoot and resolve issues. **The JSON payload must include:** - `timeConfig`: Time range configuration with `to` (Unix timestamp in milliseconds) and `windowSize` (duration in ms). - `retrievalSize`: Maximum number of logs to return per request (required, range: `1`-`200`). * If you specify a value > `200`, it will be automatically reduced to `200`. * Returns `HTTP 500 Internal Server Error` for values < `0`, non-integer types, or if missing. - `orderDirection`: Sort order - \"ASC\" (oldest first) or \"DESC\" (newest first). - `offset`: (Optional) Pagination offset specifies the number of log entries to skip before returning results. * Defaults to `0`, with permitted value range: [`0`,`2000`]. * This field controls pagination by skipping a specified number of logs from the beginning of the result set. * Example: With retrievalSize=`200` and offset=`0`, you get logs `1`-`200`. To get the next page, set offset=`200` to skip the first `200` logs and retrieve logs `201`-`400`. * Example: Setting offset=10 skips the first `10` log entries and starts returning results from the 11th entry onwards * Returns `HTTP 500 Internal Server Error` response if value is negative or non-integer. - `tagFilterExpression`: (Optional) Filter criteria for log attributes. - `requestedTags`: Array of tag names to include in the response. * You can select up to 10 tags from the available list: ``` aws.ecs.containerId aws.ecs.containerName containerd.containerId crio.containerId docker.containerId docker.containerName expiration.ts.seconds garden.containerId host.name kubernetes.cluster.name kubernetes.container.name kubernetes.deployment.name kubernetes.namespace.name kubernetes.node.name kubernetes.pod.name log.applications log.custom log.exception.message log.exception.stackTrace log.exception.type log.file.path log.hostId log.level log.message log.streamName log.timestamp log.traceId process.id ``` **Response Payload Fields:** - `items`: Array of log entries matching the query criteria. - `totalHits`: Total number of log entries matching the query across all pages (not just the current page). * Use this value to calculate total pages or display result counts to users. * Example: If totalHits=`450` and retrievalSize=`200`, you have 3 pages total (200 + 200 + 50). - `canLoadMore`: Boolean indicating whether more log entries are available beyond the current page. * When true, increment the offset parameter to retrieve the next page. * Example: If retrievalSize=`200`, offset=`0`, and canLoadMore=`true`, set offset=`200` for the next request. * When false, you have reached the end of the result set. - `adjustedTimeFrame`: Reserved for future use (currently always null). * This field may be used in the future to indicate if the requested time range was automatically adjusted. Refer to the RequestBody section for the complete LogsQuery schema. When using the UI to construct the curl request, select the desired filters and time window, then click the \"API Query\" button to automatically generate a curl request with current UI selections. By default, 4 tags are always included in requests generated by the \"API Query\" button, but may be changed as needed. ```\"log.timestamp\", \"log.level\", \"log.message\", \"log.custom\"``` Example curl request (can be auto-generated via the \"API Query\" button in the Instana UI): ``` curl -X POST /api/logging/logs/getLogs/v1 \\ -H \"Authorization: apiToken YOUR_API_TOKEN\" \\ -H \"Content-Type: application/json\" \\ -d '{ \"timeConfig\": { \"to\": 1711800000000, \"focusedMoment\": 1711800000000, \"autoRefresh\": false, \"windowSize\": 3600000 }, \"requestedTags\": [ \"log.traceId\", \"log.applications\", \"process.id\", \"host.name\", \"docker.containerName\", \"kubernetes.pod.name\" ], \"tagFilterExpression\": { \"type\": \"EXPRESSION\", \"logicalOperator\": \"AND\", \"elements\": [ { \"type\": \"TAG_FILTER\", \"name\": \"log.streamName\", \"operator\": \"EQUALS\", \"entity\": \"NOT_APPLICABLE\", \"value\": \"log.go\" }, { \"type\": \"TAG_FILTER\", \"name\": \"service.name\", \"operator\": \"EQUALS\", \"entity\": \"DESTINATION\", \"value\": \"dispatch\" } ] }, \"retrievalSize\": 200, \"offset\": 0, \"orderDirection\": \"DESC\" }' ``` - :param from_ts: Start timestamp in seconds. Must be <= `toTs`. (required) - :type from_ts: int - :param to_ts: End timestamp in seconds. Must be >= `fromTs`. (required) - :type to_ts: int - :param grouping_tag: Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`. - :type grouping_tag: str + :param logs_query: (required) + :type logs_query: LogsQuery :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -93,10 +1468,8 @@ def get_log_volume_usage( :return: Returns the result object. """ # noqa: E501 - _param = self._get_log_volume_usage_serialize( - from_ts=from_ts, - to_ts=to_ts, - grouping_tag=grouping_tag, + _param = self._get_logs_serialize( + logs_query=logs_query, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -104,9 +1477,9 @@ def get_log_volume_usage( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "LogVolumeUsageResult", - '400': None, + '200': "LogsApiResponse", '500': None, + '503': None, } response_data = self.api_client.call_api( *_param, @@ -120,11 +1493,9 @@ def get_log_volume_usage( @validate_call - def get_log_volume_usage_with_http_info( + def get_logs_with_http_info( self, - from_ts: Annotated[StrictInt, Field(description="Start timestamp in seconds. Must be <= `toTs`.")], - to_ts: Annotated[StrictInt, Field(description="End timestamp in seconds. Must be >= `fromTs`.")], - grouping_tag: Annotated[Optional[StrictStr], Field(description="Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`. ")] = None, + logs_query: LogsQuery, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -137,17 +1508,13 @@ def get_log_volume_usage_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[LogVolumeUsageResult]: - """Get Log Volume Usage + ) -> ApiResponse[LogsApiResponse]: + """Retrieve logs via REST API - Returns aggregated log volume usage data for a specified time range and optional grouping tag. `fromTs` and `toTs` are required and must define a valid time range (i.e., `fromTs` <= `toTs`). Refer to the query parameter description for valid `groupingTag` values. + Returns logs (up to the specified retrievalSize) for a given time range with optional filters to help users efficiently troubleshoot and resolve issues. **The JSON payload must include:** - `timeConfig`: Time range configuration with `to` (Unix timestamp in milliseconds) and `windowSize` (duration in ms). - `retrievalSize`: Maximum number of logs to return per request (required, range: `1`-`200`). * If you specify a value > `200`, it will be automatically reduced to `200`. * Returns `HTTP 500 Internal Server Error` for values < `0`, non-integer types, or if missing. - `orderDirection`: Sort order - \"ASC\" (oldest first) or \"DESC\" (newest first). - `offset`: (Optional) Pagination offset specifies the number of log entries to skip before returning results. * Defaults to `0`, with permitted value range: [`0`,`2000`]. * This field controls pagination by skipping a specified number of logs from the beginning of the result set. * Example: With retrievalSize=`200` and offset=`0`, you get logs `1`-`200`. To get the next page, set offset=`200` to skip the first `200` logs and retrieve logs `201`-`400`. * Example: Setting offset=10 skips the first `10` log entries and starts returning results from the 11th entry onwards * Returns `HTTP 500 Internal Server Error` response if value is negative or non-integer. - `tagFilterExpression`: (Optional) Filter criteria for log attributes. - `requestedTags`: Array of tag names to include in the response. * You can select up to 10 tags from the available list: ``` aws.ecs.containerId aws.ecs.containerName containerd.containerId crio.containerId docker.containerId docker.containerName expiration.ts.seconds garden.containerId host.name kubernetes.cluster.name kubernetes.container.name kubernetes.deployment.name kubernetes.namespace.name kubernetes.node.name kubernetes.pod.name log.applications log.custom log.exception.message log.exception.stackTrace log.exception.type log.file.path log.hostId log.level log.message log.streamName log.timestamp log.traceId process.id ``` **Response Payload Fields:** - `items`: Array of log entries matching the query criteria. - `totalHits`: Total number of log entries matching the query across all pages (not just the current page). * Use this value to calculate total pages or display result counts to users. * Example: If totalHits=`450` and retrievalSize=`200`, you have 3 pages total (200 + 200 + 50). - `canLoadMore`: Boolean indicating whether more log entries are available beyond the current page. * When true, increment the offset parameter to retrieve the next page. * Example: If retrievalSize=`200`, offset=`0`, and canLoadMore=`true`, set offset=`200` for the next request. * When false, you have reached the end of the result set. - `adjustedTimeFrame`: Reserved for future use (currently always null). * This field may be used in the future to indicate if the requested time range was automatically adjusted. Refer to the RequestBody section for the complete LogsQuery schema. When using the UI to construct the curl request, select the desired filters and time window, then click the \"API Query\" button to automatically generate a curl request with current UI selections. By default, 4 tags are always included in requests generated by the \"API Query\" button, but may be changed as needed. ```\"log.timestamp\", \"log.level\", \"log.message\", \"log.custom\"``` Example curl request (can be auto-generated via the \"API Query\" button in the Instana UI): ``` curl -X POST /api/logging/logs/getLogs/v1 \\ -H \"Authorization: apiToken YOUR_API_TOKEN\" \\ -H \"Content-Type: application/json\" \\ -d '{ \"timeConfig\": { \"to\": 1711800000000, \"focusedMoment\": 1711800000000, \"autoRefresh\": false, \"windowSize\": 3600000 }, \"requestedTags\": [ \"log.traceId\", \"log.applications\", \"process.id\", \"host.name\", \"docker.containerName\", \"kubernetes.pod.name\" ], \"tagFilterExpression\": { \"type\": \"EXPRESSION\", \"logicalOperator\": \"AND\", \"elements\": [ { \"type\": \"TAG_FILTER\", \"name\": \"log.streamName\", \"operator\": \"EQUALS\", \"entity\": \"NOT_APPLICABLE\", \"value\": \"log.go\" }, { \"type\": \"TAG_FILTER\", \"name\": \"service.name\", \"operator\": \"EQUALS\", \"entity\": \"DESTINATION\", \"value\": \"dispatch\" } ] }, \"retrievalSize\": 200, \"offset\": 0, \"orderDirection\": \"DESC\" }' ``` - :param from_ts: Start timestamp in seconds. Must be <= `toTs`. (required) - :type from_ts: int - :param to_ts: End timestamp in seconds. Must be >= `fromTs`. (required) - :type to_ts: int - :param grouping_tag: Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`. - :type grouping_tag: str + :param logs_query: (required) + :type logs_query: LogsQuery :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -170,10 +1537,8 @@ def get_log_volume_usage_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_log_volume_usage_serialize( - from_ts=from_ts, - to_ts=to_ts, - grouping_tag=grouping_tag, + _param = self._get_logs_serialize( + logs_query=logs_query, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -181,9 +1546,9 @@ def get_log_volume_usage_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "LogVolumeUsageResult", - '400': None, + '200': "LogsApiResponse", '500': None, + '503': None, } response_data = self.api_client.call_api( *_param, @@ -197,11 +1562,9 @@ def get_log_volume_usage_with_http_info( @validate_call - def get_log_volume_usage_without_preload_content( + def get_logs_without_preload_content( self, - from_ts: Annotated[StrictInt, Field(description="Start timestamp in seconds. Must be <= `toTs`.")], - to_ts: Annotated[StrictInt, Field(description="End timestamp in seconds. Must be >= `fromTs`.")], - grouping_tag: Annotated[Optional[StrictStr], Field(description="Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`. ")] = None, + logs_query: LogsQuery, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -215,16 +1578,12 @@ def get_log_volume_usage_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get Log Volume Usage + """Retrieve logs via REST API - Returns aggregated log volume usage data for a specified time range and optional grouping tag. `fromTs` and `toTs` are required and must define a valid time range (i.e., `fromTs` <= `toTs`). Refer to the query parameter description for valid `groupingTag` values. + Returns logs (up to the specified retrievalSize) for a given time range with optional filters to help users efficiently troubleshoot and resolve issues. **The JSON payload must include:** - `timeConfig`: Time range configuration with `to` (Unix timestamp in milliseconds) and `windowSize` (duration in ms). - `retrievalSize`: Maximum number of logs to return per request (required, range: `1`-`200`). * If you specify a value > `200`, it will be automatically reduced to `200`. * Returns `HTTP 500 Internal Server Error` for values < `0`, non-integer types, or if missing. - `orderDirection`: Sort order - \"ASC\" (oldest first) or \"DESC\" (newest first). - `offset`: (Optional) Pagination offset specifies the number of log entries to skip before returning results. * Defaults to `0`, with permitted value range: [`0`,`2000`]. * This field controls pagination by skipping a specified number of logs from the beginning of the result set. * Example: With retrievalSize=`200` and offset=`0`, you get logs `1`-`200`. To get the next page, set offset=`200` to skip the first `200` logs and retrieve logs `201`-`400`. * Example: Setting offset=10 skips the first `10` log entries and starts returning results from the 11th entry onwards * Returns `HTTP 500 Internal Server Error` response if value is negative or non-integer. - `tagFilterExpression`: (Optional) Filter criteria for log attributes. - `requestedTags`: Array of tag names to include in the response. * You can select up to 10 tags from the available list: ``` aws.ecs.containerId aws.ecs.containerName containerd.containerId crio.containerId docker.containerId docker.containerName expiration.ts.seconds garden.containerId host.name kubernetes.cluster.name kubernetes.container.name kubernetes.deployment.name kubernetes.namespace.name kubernetes.node.name kubernetes.pod.name log.applications log.custom log.exception.message log.exception.stackTrace log.exception.type log.file.path log.hostId log.level log.message log.streamName log.timestamp log.traceId process.id ``` **Response Payload Fields:** - `items`: Array of log entries matching the query criteria. - `totalHits`: Total number of log entries matching the query across all pages (not just the current page). * Use this value to calculate total pages or display result counts to users. * Example: If totalHits=`450` and retrievalSize=`200`, you have 3 pages total (200 + 200 + 50). - `canLoadMore`: Boolean indicating whether more log entries are available beyond the current page. * When true, increment the offset parameter to retrieve the next page. * Example: If retrievalSize=`200`, offset=`0`, and canLoadMore=`true`, set offset=`200` for the next request. * When false, you have reached the end of the result set. - `adjustedTimeFrame`: Reserved for future use (currently always null). * This field may be used in the future to indicate if the requested time range was automatically adjusted. Refer to the RequestBody section for the complete LogsQuery schema. When using the UI to construct the curl request, select the desired filters and time window, then click the \"API Query\" button to automatically generate a curl request with current UI selections. By default, 4 tags are always included in requests generated by the \"API Query\" button, but may be changed as needed. ```\"log.timestamp\", \"log.level\", \"log.message\", \"log.custom\"``` Example curl request (can be auto-generated via the \"API Query\" button in the Instana UI): ``` curl -X POST /api/logging/logs/getLogs/v1 \\ -H \"Authorization: apiToken YOUR_API_TOKEN\" \\ -H \"Content-Type: application/json\" \\ -d '{ \"timeConfig\": { \"to\": 1711800000000, \"focusedMoment\": 1711800000000, \"autoRefresh\": false, \"windowSize\": 3600000 }, \"requestedTags\": [ \"log.traceId\", \"log.applications\", \"process.id\", \"host.name\", \"docker.containerName\", \"kubernetes.pod.name\" ], \"tagFilterExpression\": { \"type\": \"EXPRESSION\", \"logicalOperator\": \"AND\", \"elements\": [ { \"type\": \"TAG_FILTER\", \"name\": \"log.streamName\", \"operator\": \"EQUALS\", \"entity\": \"NOT_APPLICABLE\", \"value\": \"log.go\" }, { \"type\": \"TAG_FILTER\", \"name\": \"service.name\", \"operator\": \"EQUALS\", \"entity\": \"DESTINATION\", \"value\": \"dispatch\" } ] }, \"retrievalSize\": 200, \"offset\": 0, \"orderDirection\": \"DESC\" }' ``` - :param from_ts: Start timestamp in seconds. Must be <= `toTs`. (required) - :type from_ts: int - :param to_ts: End timestamp in seconds. Must be >= `fromTs`. (required) - :type to_ts: int - :param grouping_tag: Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`. - :type grouping_tag: str + :param logs_query: (required) + :type logs_query: LogsQuery :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -247,10 +1606,8 @@ def get_log_volume_usage_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_log_volume_usage_serialize( - from_ts=from_ts, - to_ts=to_ts, - grouping_tag=grouping_tag, + _param = self._get_logs_serialize( + logs_query=logs_query, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -258,9 +1615,9 @@ def get_log_volume_usage_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "LogVolumeUsageResult", - '400': None, + '200': "LogsApiResponse", '500': None, + '503': None, } response_data = self.api_client.call_api( *_param, @@ -269,11 +1626,9 @@ def get_log_volume_usage_without_preload_content( return response_data.response - def _get_log_volume_usage_serialize( + def _get_logs_serialize( self, - from_ts, - to_ts, - grouping_tag, + logs_query, _request_auth, _content_type, _headers, @@ -296,21 +1651,11 @@ def _get_log_volume_usage_serialize( # process the path parameters # process the query parameters - if from_ts is not None: - - _query_params.append(('fromTs', from_ts)) - - if to_ts is not None: - - _query_params.append(('toTs', to_ts)) - - if grouping_tag is not None: - - _query_params.append(('groupingTag', grouping_tag)) - # process the header parameters # process the form parameters # process the body parameter + if logs_query is not None: + _body_params = logs_query # set the HTTP header `Accept` @@ -321,6 +1666,19 @@ def _get_log_volume_usage_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -328,8 +1686,8 @@ def _get_log_volume_usage_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/api/logging/logs/getLogVolumeUsage', + method='POST', + resource_path='/api/logging/logs/getLogs/v1', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -346,9 +1704,10 @@ def _get_log_volume_usage_serialize( @validate_call - def get_logs( + def update_logging_perspective( self, - logs_query: LogsQuery, + perspective_id: StrictStr, + logging_perspective: Annotated[LoggingPerspective, Field(description="Full log perspective object. `perspectiveId` must be present and match the path parameter.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -361,13 +1720,15 @@ def get_logs( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> LogsApiResponse: - """Retrieve logs via REST API + ) -> LoggingPerspective: + """Update Log Perspective - Returns logs (up to the specified retrievalSize) for a given time range with optional filters to help users efficiently troubleshoot and resolve issues. **The JSON payload must include:** - `timeConfig`: Time range configuration with `to` (Unix timestamp in milliseconds) and `windowSize` (duration in ms). - `retrievalSize`: Maximum number of logs to return per request (required, range: `1`-`200`). * If you specify a value > `200`, it will be automatically reduced to `200`. * Returns `HTTP 500 Internal Server Error` for values < `0`, non-integer types, or if missing. - `orderDirection`: Sort order - \"ASC\" (oldest first) or \"DESC\" (newest first). - `offset`: (Optional) Pagination offset specifies the number of log entries to skip before returning results. * Defaults to `0`, with permitted value range: [`0`,`2000`]. * This field controls pagination by skipping a specified number of logs from the beginning of the result set. * Example: With retrievalSize=`200` and offset=`0`, you get logs `1`-`200`. To get the next page, set offset=`200` to skip the first `200` logs and retrieve logs `201`-`400`. * Example: Setting offset=10 skips the first `10` log entries and starts returning results from the 11th entry onwards * Returns `HTTP 500 Internal Server Error` response if value is negative or non-integer. - `tagFilterExpression`: (Optional) Filter criteria for log attributes. - `requestedTags`: Array of tag names to include in the response. * You can select up to 10 tags from the available list: ``` aws.ecs.containerId aws.ecs.containerName containerd.containerId crio.containerId docker.containerId docker.containerName expiration.ts.seconds garden.containerId host.name kubernetes.cluster.name kubernetes.container.name kubernetes.deployment.name kubernetes.namespace.name kubernetes.node.name kubernetes.pod.name log.applications log.custom log.exception.message log.exception.stackTrace log.exception.type log.file.path log.hostId log.level log.message log.streamName log.timestamp log.traceId process.id ``` **Response Payload Fields:** - `items`: Array of log entries matching the query criteria. - `totalHits`: Total number of log entries matching the query across all pages (not just the current page). * Use this value to calculate total pages or display result counts to users. * Example: If totalHits=`450` and retrievalSize=`200`, you have 3 pages total (200 + 200 + 50). - `canLoadMore`: Boolean indicating whether more log entries are available beyond the current page. * When true, increment the offset parameter to retrieve the next page. * Example: If retrievalSize=`200`, offset=`0`, and canLoadMore=`true`, set offset=`200` for the next request. * When false, you have reached the end of the result set. - `adjustedTimeFrame`: Reserved for future use (currently always null). * This field may be used in the future to indicate if the requested time range was automatically adjusted. Refer to the RequestBody section for the complete LogsQuery schema. When using the UI to construct the curl request, select the desired filters and time window, then click the \"API Query\" button to automatically generate a curl request with current UI selections. By default, 4 tags are always included in requests generated by the \"API Query\" button, but may be changed as needed. ```\"log.timestamp\", \"log.level\", \"log.message\", \"log.custom\"``` Example curl request (can be auto-generated via the \"API Query\" button in the Instana UI): ``` curl -X POST /api/logging/logs/getLogs/v1 \\ -H \"Authorization: apiToken YOUR_API_TOKEN\" \\ -H \"Content-Type: application/json\" \\ -d '{ \"timeConfig\": { \"to\": 1711800000000, \"focusedMoment\": 1711800000000, \"autoRefresh\": false, \"windowSize\": 3600000 }, \"requestedTags\": [ \"log.traceId\", \"log.applications\", \"process.id\", \"host.name\", \"docker.containerName\", \"kubernetes.pod.name\" ], \"tagFilterExpression\": { \"type\": \"EXPRESSION\", \"logicalOperator\": \"AND\", \"elements\": [ { \"type\": \"TAG_FILTER\", \"name\": \"log.streamName\", \"operator\": \"EQUALS\", \"entity\": \"NOT_APPLICABLE\", \"value\": \"log.go\" }, { \"type\": \"TAG_FILTER\", \"name\": \"service.name\", \"operator\": \"EQUALS\", \"entity\": \"DESTINATION\", \"value\": \"dispatch\" } ] }, \"retrievalSize\": 200, \"offset\": 0, \"orderDirection\": \"DESC\" }' ``` + Replaces an existing log perspective with the provided values. **Updatable fields:** - `perspectiveName` — new display name; must be unique within the tenant unit. - `description` — free-text description shown in the UI. Set to `null` to clear. - `filter` — accepts at most 10 elements; the `REGEX_MATCH` operator is not supported. **Rules:** - `perspectiveId` in the request body must match the `{perspectiveId}` path parameter. - The reserved perspective `\"0\"` (\"All logs\") cannot be updated. - :param logs_query: (required) - :type logs_query: LogsQuery + :param perspective_id: (required) + :type perspective_id: str + :param logging_perspective: Full log perspective object. `perspectiveId` must be present and match the path parameter. (required) + :type logging_perspective: LoggingPerspective :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -390,8 +1751,9 @@ def get_logs( :return: Returns the result object. """ # noqa: E501 - _param = self._get_logs_serialize( - logs_query=logs_query, + _param = self._update_logging_perspective_serialize( + perspective_id=perspective_id, + logging_perspective=logging_perspective, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -399,9 +1761,11 @@ def get_logs( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "LogsApiResponse", + '200': "LoggingPerspective", + '400': None, + '403': None, + '404': None, '500': None, - '503': None, } response_data = self.api_client.call_api( *_param, @@ -415,9 +1779,10 @@ def get_logs( @validate_call - def get_logs_with_http_info( + def update_logging_perspective_with_http_info( self, - logs_query: LogsQuery, + perspective_id: StrictStr, + logging_perspective: Annotated[LoggingPerspective, Field(description="Full log perspective object. `perspectiveId` must be present and match the path parameter.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -430,13 +1795,15 @@ def get_logs_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[LogsApiResponse]: - """Retrieve logs via REST API + ) -> ApiResponse[LoggingPerspective]: + """Update Log Perspective - Returns logs (up to the specified retrievalSize) for a given time range with optional filters to help users efficiently troubleshoot and resolve issues. **The JSON payload must include:** - `timeConfig`: Time range configuration with `to` (Unix timestamp in milliseconds) and `windowSize` (duration in ms). - `retrievalSize`: Maximum number of logs to return per request (required, range: `1`-`200`). * If you specify a value > `200`, it will be automatically reduced to `200`. * Returns `HTTP 500 Internal Server Error` for values < `0`, non-integer types, or if missing. - `orderDirection`: Sort order - \"ASC\" (oldest first) or \"DESC\" (newest first). - `offset`: (Optional) Pagination offset specifies the number of log entries to skip before returning results. * Defaults to `0`, with permitted value range: [`0`,`2000`]. * This field controls pagination by skipping a specified number of logs from the beginning of the result set. * Example: With retrievalSize=`200` and offset=`0`, you get logs `1`-`200`. To get the next page, set offset=`200` to skip the first `200` logs and retrieve logs `201`-`400`. * Example: Setting offset=10 skips the first `10` log entries and starts returning results from the 11th entry onwards * Returns `HTTP 500 Internal Server Error` response if value is negative or non-integer. - `tagFilterExpression`: (Optional) Filter criteria for log attributes. - `requestedTags`: Array of tag names to include in the response. * You can select up to 10 tags from the available list: ``` aws.ecs.containerId aws.ecs.containerName containerd.containerId crio.containerId docker.containerId docker.containerName expiration.ts.seconds garden.containerId host.name kubernetes.cluster.name kubernetes.container.name kubernetes.deployment.name kubernetes.namespace.name kubernetes.node.name kubernetes.pod.name log.applications log.custom log.exception.message log.exception.stackTrace log.exception.type log.file.path log.hostId log.level log.message log.streamName log.timestamp log.traceId process.id ``` **Response Payload Fields:** - `items`: Array of log entries matching the query criteria. - `totalHits`: Total number of log entries matching the query across all pages (not just the current page). * Use this value to calculate total pages or display result counts to users. * Example: If totalHits=`450` and retrievalSize=`200`, you have 3 pages total (200 + 200 + 50). - `canLoadMore`: Boolean indicating whether more log entries are available beyond the current page. * When true, increment the offset parameter to retrieve the next page. * Example: If retrievalSize=`200`, offset=`0`, and canLoadMore=`true`, set offset=`200` for the next request. * When false, you have reached the end of the result set. - `adjustedTimeFrame`: Reserved for future use (currently always null). * This field may be used in the future to indicate if the requested time range was automatically adjusted. Refer to the RequestBody section for the complete LogsQuery schema. When using the UI to construct the curl request, select the desired filters and time window, then click the \"API Query\" button to automatically generate a curl request with current UI selections. By default, 4 tags are always included in requests generated by the \"API Query\" button, but may be changed as needed. ```\"log.timestamp\", \"log.level\", \"log.message\", \"log.custom\"``` Example curl request (can be auto-generated via the \"API Query\" button in the Instana UI): ``` curl -X POST /api/logging/logs/getLogs/v1 \\ -H \"Authorization: apiToken YOUR_API_TOKEN\" \\ -H \"Content-Type: application/json\" \\ -d '{ \"timeConfig\": { \"to\": 1711800000000, \"focusedMoment\": 1711800000000, \"autoRefresh\": false, \"windowSize\": 3600000 }, \"requestedTags\": [ \"log.traceId\", \"log.applications\", \"process.id\", \"host.name\", \"docker.containerName\", \"kubernetes.pod.name\" ], \"tagFilterExpression\": { \"type\": \"EXPRESSION\", \"logicalOperator\": \"AND\", \"elements\": [ { \"type\": \"TAG_FILTER\", \"name\": \"log.streamName\", \"operator\": \"EQUALS\", \"entity\": \"NOT_APPLICABLE\", \"value\": \"log.go\" }, { \"type\": \"TAG_FILTER\", \"name\": \"service.name\", \"operator\": \"EQUALS\", \"entity\": \"DESTINATION\", \"value\": \"dispatch\" } ] }, \"retrievalSize\": 200, \"offset\": 0, \"orderDirection\": \"DESC\" }' ``` + Replaces an existing log perspective with the provided values. **Updatable fields:** - `perspectiveName` — new display name; must be unique within the tenant unit. - `description` — free-text description shown in the UI. Set to `null` to clear. - `filter` — accepts at most 10 elements; the `REGEX_MATCH` operator is not supported. **Rules:** - `perspectiveId` in the request body must match the `{perspectiveId}` path parameter. - The reserved perspective `\"0\"` (\"All logs\") cannot be updated. - :param logs_query: (required) - :type logs_query: LogsQuery + :param perspective_id: (required) + :type perspective_id: str + :param logging_perspective: Full log perspective object. `perspectiveId` must be present and match the path parameter. (required) + :type logging_perspective: LoggingPerspective :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -459,8 +1826,9 @@ def get_logs_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_logs_serialize( - logs_query=logs_query, + _param = self._update_logging_perspective_serialize( + perspective_id=perspective_id, + logging_perspective=logging_perspective, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -468,9 +1836,11 @@ def get_logs_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "LogsApiResponse", + '200': "LoggingPerspective", + '400': None, + '403': None, + '404': None, '500': None, - '503': None, } response_data = self.api_client.call_api( *_param, @@ -484,9 +1854,10 @@ def get_logs_with_http_info( @validate_call - def get_logs_without_preload_content( + def update_logging_perspective_without_preload_content( self, - logs_query: LogsQuery, + perspective_id: StrictStr, + logging_perspective: Annotated[LoggingPerspective, Field(description="Full log perspective object. `perspectiveId` must be present and match the path parameter.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -500,12 +1871,14 @@ def get_logs_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve logs via REST API + """Update Log Perspective - Returns logs (up to the specified retrievalSize) for a given time range with optional filters to help users efficiently troubleshoot and resolve issues. **The JSON payload must include:** - `timeConfig`: Time range configuration with `to` (Unix timestamp in milliseconds) and `windowSize` (duration in ms). - `retrievalSize`: Maximum number of logs to return per request (required, range: `1`-`200`). * If you specify a value > `200`, it will be automatically reduced to `200`. * Returns `HTTP 500 Internal Server Error` for values < `0`, non-integer types, or if missing. - `orderDirection`: Sort order - \"ASC\" (oldest first) or \"DESC\" (newest first). - `offset`: (Optional) Pagination offset specifies the number of log entries to skip before returning results. * Defaults to `0`, with permitted value range: [`0`,`2000`]. * This field controls pagination by skipping a specified number of logs from the beginning of the result set. * Example: With retrievalSize=`200` and offset=`0`, you get logs `1`-`200`. To get the next page, set offset=`200` to skip the first `200` logs and retrieve logs `201`-`400`. * Example: Setting offset=10 skips the first `10` log entries and starts returning results from the 11th entry onwards * Returns `HTTP 500 Internal Server Error` response if value is negative or non-integer. - `tagFilterExpression`: (Optional) Filter criteria for log attributes. - `requestedTags`: Array of tag names to include in the response. * You can select up to 10 tags from the available list: ``` aws.ecs.containerId aws.ecs.containerName containerd.containerId crio.containerId docker.containerId docker.containerName expiration.ts.seconds garden.containerId host.name kubernetes.cluster.name kubernetes.container.name kubernetes.deployment.name kubernetes.namespace.name kubernetes.node.name kubernetes.pod.name log.applications log.custom log.exception.message log.exception.stackTrace log.exception.type log.file.path log.hostId log.level log.message log.streamName log.timestamp log.traceId process.id ``` **Response Payload Fields:** - `items`: Array of log entries matching the query criteria. - `totalHits`: Total number of log entries matching the query across all pages (not just the current page). * Use this value to calculate total pages or display result counts to users. * Example: If totalHits=`450` and retrievalSize=`200`, you have 3 pages total (200 + 200 + 50). - `canLoadMore`: Boolean indicating whether more log entries are available beyond the current page. * When true, increment the offset parameter to retrieve the next page. * Example: If retrievalSize=`200`, offset=`0`, and canLoadMore=`true`, set offset=`200` for the next request. * When false, you have reached the end of the result set. - `adjustedTimeFrame`: Reserved for future use (currently always null). * This field may be used in the future to indicate if the requested time range was automatically adjusted. Refer to the RequestBody section for the complete LogsQuery schema. When using the UI to construct the curl request, select the desired filters and time window, then click the \"API Query\" button to automatically generate a curl request with current UI selections. By default, 4 tags are always included in requests generated by the \"API Query\" button, but may be changed as needed. ```\"log.timestamp\", \"log.level\", \"log.message\", \"log.custom\"``` Example curl request (can be auto-generated via the \"API Query\" button in the Instana UI): ``` curl -X POST /api/logging/logs/getLogs/v1 \\ -H \"Authorization: apiToken YOUR_API_TOKEN\" \\ -H \"Content-Type: application/json\" \\ -d '{ \"timeConfig\": { \"to\": 1711800000000, \"focusedMoment\": 1711800000000, \"autoRefresh\": false, \"windowSize\": 3600000 }, \"requestedTags\": [ \"log.traceId\", \"log.applications\", \"process.id\", \"host.name\", \"docker.containerName\", \"kubernetes.pod.name\" ], \"tagFilterExpression\": { \"type\": \"EXPRESSION\", \"logicalOperator\": \"AND\", \"elements\": [ { \"type\": \"TAG_FILTER\", \"name\": \"log.streamName\", \"operator\": \"EQUALS\", \"entity\": \"NOT_APPLICABLE\", \"value\": \"log.go\" }, { \"type\": \"TAG_FILTER\", \"name\": \"service.name\", \"operator\": \"EQUALS\", \"entity\": \"DESTINATION\", \"value\": \"dispatch\" } ] }, \"retrievalSize\": 200, \"offset\": 0, \"orderDirection\": \"DESC\" }' ``` + Replaces an existing log perspective with the provided values. **Updatable fields:** - `perspectiveName` — new display name; must be unique within the tenant unit. - `description` — free-text description shown in the UI. Set to `null` to clear. - `filter` — accepts at most 10 elements; the `REGEX_MATCH` operator is not supported. **Rules:** - `perspectiveId` in the request body must match the `{perspectiveId}` path parameter. - The reserved perspective `\"0\"` (\"All logs\") cannot be updated. - :param logs_query: (required) - :type logs_query: LogsQuery + :param perspective_id: (required) + :type perspective_id: str + :param logging_perspective: Full log perspective object. `perspectiveId` must be present and match the path parameter. (required) + :type logging_perspective: LoggingPerspective :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -528,8 +1901,9 @@ def get_logs_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_logs_serialize( - logs_query=logs_query, + _param = self._update_logging_perspective_serialize( + perspective_id=perspective_id, + logging_perspective=logging_perspective, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -537,9 +1911,11 @@ def get_logs_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "LogsApiResponse", + '200': "LoggingPerspective", + '400': None, + '403': None, + '404': None, '500': None, - '503': None, } response_data = self.api_client.call_api( *_param, @@ -548,9 +1924,10 @@ def get_logs_without_preload_content( return response_data.response - def _get_logs_serialize( + def _update_logging_perspective_serialize( self, - logs_query, + perspective_id, + logging_perspective, _request_auth, _content_type, _headers, @@ -572,12 +1949,14 @@ def _get_logs_serialize( _body_params: Optional[bytes] = None # process the path parameters + if perspective_id is not None: + _path_params['perspectiveId'] = perspective_id # process the query parameters # process the header parameters # process the form parameters # process the body parameter - if logs_query is not None: - _body_params = logs_query + if logging_perspective is not None: + _body_params = logging_perspective # set the HTTP header `Accept` @@ -608,8 +1987,8 @@ def _get_logs_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/api/logging/logs/getLogs/v1', + method='PUT', + resource_path='/api/logging/perspective/v1/{perspectiveId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, diff --git a/instana_client/api/maintenance_configuration_api.py b/instana_client/api/maintenance_configuration_api.py index fc2c71cd..4eed72a2 100644 --- a/instana_client/api/maintenance_configuration_api.py +++ b/instana_client/api/maintenance_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/mobile_app_analyze_api.py b/instana_client/api/mobile_app_analyze_api.py index 92901b8c..cbd8237d 100644 --- a/instana_client/api/mobile_app_analyze_api.py +++ b/instana_client/api/mobile_app_analyze_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/mobile_app_catalog_api.py b/instana_client/api/mobile_app_catalog_api.py index 5e65b766..7dea571a 100644 --- a/instana_client/api/mobile_app_catalog_api.py +++ b/instana_client/api/mobile_app_catalog_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/mobile_app_configuration_api.py b/instana_client/api/mobile_app_configuration_api.py index 9a98917b..1c899c78 100644 --- a/instana_client/api/mobile_app_configuration_api.py +++ b/instana_client/api/mobile_app_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/mobile_app_metrics_api.py b/instana_client/api/mobile_app_metrics_api.py index 60fff6fe..d1b2608c 100644 --- a/instana_client/api/mobile_app_metrics_api.py +++ b/instana_client/api/mobile_app_metrics_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/mobile_app_session_replay_api.py b/instana_client/api/mobile_app_session_replay_api.py index b80b82dc..325adbba 100644 --- a/instana_client/api/mobile_app_session_replay_api.py +++ b/instana_client/api/mobile_app_session_replay_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/policies_api.py b/instana_client/api/policies_api.py index d1e38f80..933ad1b6 100644 --- a/instana_client/api/policies_api.py +++ b/instana_client/api/policies_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/releases_api.py b/instana_client/api/releases_api.py index b9aceed1..515cc332 100644 --- a/instana_client/api/releases_api.py +++ b/instana_client/api/releases_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/roles_api.py b/instana_client/api/roles_api.py index 09e3b9ff..92a8c7a9 100644 --- a/instana_client/api/roles_api.py +++ b/instana_client/api/roles_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -22,6 +22,9 @@ from typing_extensions import Annotated from instana_client.models.api_create_role import ApiCreateRole from instana_client.models.api_role import ApiRole +from instana_client.models.identity_provider_patch import IdentityProviderPatch +from instana_client.models.mapping import Mapping +from instana_client.models.mapping_overview import MappingOverview from instana_client.models.role_mapping_overview import RoleMappingOverview from instana_client.api_client import ApiClient, RequestSerialized @@ -43,9 +46,9 @@ def __init__(self, api_client=None) -> None: @validate_call - def create_role( + def create_mapping( self, - api_create_role: Annotated[ApiCreateRole, Field(description="Role to create")], + mapping: Mapping, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -58,13 +61,13 @@ def create_role( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiRole: - """Create role + ) -> Mapping: + """Create mapping - Create a new role. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param api_create_role: Role to create (required) - :type api_create_role: ApiCreateRole + :param mapping: (required) + :type mapping: Mapping :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -87,8 +90,8 @@ def create_role( :return: Returns the result object. """ # noqa: E501 - _param = self._create_role_serialize( - api_create_role=api_create_role, + _param = self._create_mapping_serialize( + mapping=mapping, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -96,7 +99,8 @@ def create_role( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ApiRole", + '200': "Mapping", + '412': "str", '422': None, } response_data = self.api_client.call_api( @@ -111,9 +115,9 @@ def create_role( @validate_call - def create_role_with_http_info( + def create_mapping_with_http_info( self, - api_create_role: Annotated[ApiCreateRole, Field(description="Role to create")], + mapping: Mapping, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -126,13 +130,13 @@ def create_role_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ApiRole]: - """Create role + ) -> ApiResponse[Mapping]: + """Create mapping - Create a new role. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param api_create_role: Role to create (required) - :type api_create_role: ApiCreateRole + :param mapping: (required) + :type mapping: Mapping :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -155,8 +159,8 @@ def create_role_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._create_role_serialize( - api_create_role=api_create_role, + _param = self._create_mapping_serialize( + mapping=mapping, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -164,7 +168,8 @@ def create_role_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ApiRole", + '200': "Mapping", + '412': "str", '422': None, } response_data = self.api_client.call_api( @@ -179,9 +184,9 @@ def create_role_with_http_info( @validate_call - def create_role_without_preload_content( + def create_mapping_without_preload_content( self, - api_create_role: Annotated[ApiCreateRole, Field(description="Role to create")], + mapping: Mapping, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -195,12 +200,12 @@ def create_role_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Create role + """Create mapping - Create a new role. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param api_create_role: Role to create (required) - :type api_create_role: ApiCreateRole + :param mapping: (required) + :type mapping: Mapping :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -223,8 +228,8 @@ def create_role_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._create_role_serialize( - api_create_role=api_create_role, + _param = self._create_mapping_serialize( + mapping=mapping, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -232,7 +237,8 @@ def create_role_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ApiRole", + '200': "Mapping", + '412': "str", '422': None, } response_data = self.api_client.call_api( @@ -242,9 +248,9 @@ def create_role_without_preload_content( return response_data.response - def _create_role_serialize( + def _create_mapping_serialize( self, - api_create_role, + mapping, _request_auth, _content_type, _headers, @@ -270,8 +276,8 @@ def _create_role_serialize( # process the header parameters # process the form parameters # process the body parameter - if api_create_role is not None: - _body_params = api_create_role + if mapping is not None: + _body_params = mapping # set the HTTP header `Accept` @@ -303,7 +309,7 @@ def _create_role_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/api/settings/rbac/roles', + resource_path='/api/settings/rbac/mappings', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -320,9 +326,9 @@ def _create_role_serialize( @validate_call - def delete_role( + def create_role( self, - id: Annotated[StrictStr, Field(description="Id of the role to delete")], + api_create_role: Annotated[ApiCreateRole, Field(description="Role to create")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -335,13 +341,13 @@ def delete_role( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """Delete role + ) -> ApiRole: + """Create role - Delete a role by ID. + Create a new role. - :param id: Id of the role to delete (required) - :type id: str + :param api_create_role: Role to create (required) + :type api_create_role: ApiCreateRole :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -364,8 +370,8 @@ def delete_role( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_role_serialize( - id=id, + _param = self._create_role_serialize( + api_create_role=api_create_role, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -373,9 +379,8 @@ def delete_role( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, - '404': None, - '412': "str", + '200': "ApiRole", + '422': None, } response_data = self.api_client.call_api( *_param, @@ -389,9 +394,9 @@ def delete_role( @validate_call - def delete_role_with_http_info( + def create_role_with_http_info( self, - id: Annotated[StrictStr, Field(description="Id of the role to delete")], + api_create_role: Annotated[ApiCreateRole, Field(description="Role to create")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -404,13 +409,13 @@ def delete_role_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """Delete role + ) -> ApiResponse[ApiRole]: + """Create role - Delete a role by ID. + Create a new role. - :param id: Id of the role to delete (required) - :type id: str + :param api_create_role: Role to create (required) + :type api_create_role: ApiCreateRole :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -433,8 +438,8 @@ def delete_role_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_role_serialize( - id=id, + _param = self._create_role_serialize( + api_create_role=api_create_role, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -442,9 +447,8 @@ def delete_role_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, - '404': None, - '412': "str", + '200': "ApiRole", + '422': None, } response_data = self.api_client.call_api( *_param, @@ -458,9 +462,9 @@ def delete_role_with_http_info( @validate_call - def delete_role_without_preload_content( + def create_role_without_preload_content( self, - id: Annotated[StrictStr, Field(description="Id of the role to delete")], + api_create_role: Annotated[ApiCreateRole, Field(description="Role to create")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -474,12 +478,12 @@ def delete_role_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Delete role + """Create role - Delete a role by ID. + Create a new role. - :param id: Id of the role to delete (required) - :type id: str + :param api_create_role: Role to create (required) + :type api_create_role: ApiCreateRole :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -502,8 +506,8 @@ def delete_role_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_role_serialize( - id=id, + _param = self._create_role_serialize( + api_create_role=api_create_role, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -511,9 +515,8 @@ def delete_role_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, - '404': None, - '412': "str", + '200': "ApiRole", + '422': None, } response_data = self.api_client.call_api( *_param, @@ -522,9 +525,9 @@ def delete_role_without_preload_content( return response_data.response - def _delete_role_serialize( + def _create_role_serialize( self, - id, + api_create_role, _request_auth, _content_type, _headers, @@ -546,12 +549,12 @@ def _delete_role_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters # process the form parameters # process the body parameter + if api_create_role is not None: + _body_params = api_create_role # set the HTTP header `Accept` @@ -562,6 +565,19 @@ def _delete_role_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -569,8 +585,8 @@ def _delete_role_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/api/settings/rbac/roles/{id}', + method='POST', + resource_path='/api/settings/rbac/roles', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -587,10 +603,9 @@ def _delete_role_serialize( @validate_call - def get_role( + def delete_mapping( self, - id: Annotated[StrictStr, Field(description="Id of the role for retrieval")], - include_team_usage: Optional[StrictBool] = None, + id: Annotated[StrictStr, Field(description="Id of the mapping to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -603,15 +618,13 @@ def get_role( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiRole: - """Get role by ID + ) -> None: + """Delete mapping - Retrieve a specific role by its ID. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param id: Id of the role for retrieval (required) + :param id: Id of the mapping to delete (required) :type id: str - :param include_team_usage: - :type include_team_usage: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -634,9 +647,8 @@ def get_role( :return: Returns the result object. """ # noqa: E501 - _param = self._get_role_serialize( + _param = self._delete_mapping_serialize( id=id, - include_team_usage=include_team_usage, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -644,8 +656,6 @@ def get_role( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ApiRole", - '404': None, } response_data = self.api_client.call_api( *_param, @@ -659,10 +669,9 @@ def get_role( @validate_call - def get_role_with_http_info( + def delete_mapping_with_http_info( self, - id: Annotated[StrictStr, Field(description="Id of the role for retrieval")], - include_team_usage: Optional[StrictBool] = None, + id: Annotated[StrictStr, Field(description="Id of the mapping to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -675,15 +684,13 @@ def get_role_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ApiRole]: - """Get role by ID + ) -> ApiResponse[None]: + """Delete mapping - Retrieve a specific role by its ID. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param id: Id of the role for retrieval (required) + :param id: Id of the mapping to delete (required) :type id: str - :param include_team_usage: - :type include_team_usage: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -706,9 +713,8 @@ def get_role_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_role_serialize( + _param = self._delete_mapping_serialize( id=id, - include_team_usage=include_team_usage, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -716,8 +722,6 @@ def get_role_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ApiRole", - '404': None, } response_data = self.api_client.call_api( *_param, @@ -731,10 +735,9 @@ def get_role_with_http_info( @validate_call - def get_role_without_preload_content( + def delete_mapping_without_preload_content( self, - id: Annotated[StrictStr, Field(description="Id of the role for retrieval")], - include_team_usage: Optional[StrictBool] = None, + id: Annotated[StrictStr, Field(description="Id of the mapping to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -748,14 +751,12 @@ def get_role_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get role by ID + """Delete mapping - Retrieve a specific role by its ID. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param id: Id of the role for retrieval (required) + :param id: Id of the mapping to delete (required) :type id: str - :param include_team_usage: - :type include_team_usage: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -778,9 +779,8 @@ def get_role_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_role_serialize( + _param = self._delete_mapping_serialize( id=id, - include_team_usage=include_team_usage, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -788,8 +788,6 @@ def get_role_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ApiRole", - '404': None, } response_data = self.api_client.call_api( *_param, @@ -798,10 +796,9 @@ def get_role_without_preload_content( return response_data.response - def _get_role_serialize( + def _delete_mapping_serialize( self, id, - include_team_usage, _request_auth, _content_type, _headers, @@ -826,10 +823,6 @@ def _get_role_serialize( if id is not None: _path_params['id'] = id # process the query parameters - if include_team_usage is not None: - - _query_params.append(('includeTeamUsage', include_team_usage)) - # process the header parameters # process the form parameters # process the body parameter @@ -850,8 +843,8 @@ def _get_role_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/api/settings/rbac/roles/{id}', + method='DELETE', + resource_path='/api/settings/rbac/mappings/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -868,9 +861,9 @@ def _get_role_serialize( @validate_call - def get_role_mappings( + def delete_role( self, - role_id: StrictStr, + id: Annotated[StrictStr, Field(description="Id of the role to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -883,13 +876,13 @@ def get_role_mappings( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> List[RoleMappingOverview]: - """Get role mappings + ) -> None: + """Delete role - Retrieve IdP role mappings applicable to a specific role + Delete a role by ID. - :param role_id: (required) - :type role_id: str + :param id: Id of the role to delete (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -912,8 +905,8 @@ def get_role_mappings( :return: Returns the result object. """ # noqa: E501 - _param = self._get_role_mappings_serialize( - role_id=role_id, + _param = self._delete_role_serialize( + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -921,8 +914,9 @@ def get_role_mappings( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[RoleMappingOverview]", + '204': None, '404': None, + '412': "str", } response_data = self.api_client.call_api( *_param, @@ -936,9 +930,9 @@ def get_role_mappings( @validate_call - def get_role_mappings_with_http_info( + def delete_role_with_http_info( self, - role_id: StrictStr, + id: Annotated[StrictStr, Field(description="Id of the role to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -951,13 +945,13 @@ def get_role_mappings_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[List[RoleMappingOverview]]: - """Get role mappings + ) -> ApiResponse[None]: + """Delete role - Retrieve IdP role mappings applicable to a specific role + Delete a role by ID. - :param role_id: (required) - :type role_id: str + :param id: Id of the role to delete (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -980,8 +974,8 @@ def get_role_mappings_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_role_mappings_serialize( - role_id=role_id, + _param = self._delete_role_serialize( + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -989,8 +983,9 @@ def get_role_mappings_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[RoleMappingOverview]", + '204': None, '404': None, + '412': "str", } response_data = self.api_client.call_api( *_param, @@ -1004,9 +999,9 @@ def get_role_mappings_with_http_info( @validate_call - def get_role_mappings_without_preload_content( + def delete_role_without_preload_content( self, - role_id: StrictStr, + id: Annotated[StrictStr, Field(description="Id of the role to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1020,12 +1015,12 @@ def get_role_mappings_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get role mappings + """Delete role - Retrieve IdP role mappings applicable to a specific role + Delete a role by ID. - :param role_id: (required) - :type role_id: str + :param id: Id of the role to delete (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1048,8 +1043,8 @@ def get_role_mappings_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_role_mappings_serialize( - role_id=role_id, + _param = self._delete_role_serialize( + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1057,8 +1052,9 @@ def get_role_mappings_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[RoleMappingOverview]", + '204': None, '404': None, + '412': "str", } response_data = self.api_client.call_api( *_param, @@ -1067,9 +1063,9 @@ def get_role_mappings_without_preload_content( return response_data.response - def _get_role_mappings_serialize( + def _delete_role_serialize( self, - role_id, + id, _request_auth, _content_type, _headers, @@ -1091,8 +1087,8 @@ def _get_role_mappings_serialize( _body_params: Optional[bytes] = None # process the path parameters - if role_id is not None: - _path_params['roleId'] = role_id + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters # process the form parameters @@ -1114,8 +1110,8 @@ def _get_role_mappings_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/api/settings/rbac/roles/{roleId}/mappings', + method='DELETE', + resource_path='/api/settings/rbac/roles/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1132,7 +1128,7 @@ def _get_role_mappings_serialize( @validate_call - def get_roles( + def get_identity_provider_patch( self, _request_timeout: Union[ None, @@ -1146,10 +1142,10 @@ def get_roles( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> List[ApiRole]: - """Get all roles + ) -> IdentityProviderPatch: + """Check user restrictions for empty Idp mapping - Retrieve all roles for the current tenant unit. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -1173,7 +1169,1563 @@ def get_roles( :return: Returns the result object. """ # noqa: E501 - _param = self._get_roles_serialize( + _param = self._get_identity_provider_patch_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "IdentityProviderPatch", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_identity_provider_patch_with_http_info( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[IdentityProviderPatch]: + """Check user restrictions for empty Idp mapping + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_identity_provider_patch_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "IdentityProviderPatch", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_identity_provider_patch_without_preload_content( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Check user restrictions for empty Idp mapping + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_identity_provider_patch_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "IdentityProviderPatch", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_identity_provider_patch_serialize( + self, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_mapping( + self, + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Mapping: + """Get mapping + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param id: (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mapping_serialize( + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Mapping", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_mapping_with_http_info( + self, + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[Mapping]: + """Get mapping + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param id: (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mapping_serialize( + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Mapping", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_mapping_without_preload_content( + self, + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get mapping + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param id: (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mapping_serialize( + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Mapping", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_mapping_serialize( + self, + id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if id is not None: + _path_params['id'] = id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/rbac/mappings/{id}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_mappings( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> List[Mapping]: + """Get all mappings + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mappings_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[Mapping]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_mappings_with_http_info( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[List[Mapping]]: + """Get all mappings + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mappings_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[Mapping]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_mappings_without_preload_content( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get all mappings + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mappings_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[Mapping]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_mappings_serialize( + self, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/rbac/mappings', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_mappings_overview( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> List[MappingOverview]: + """Get all mappings overview + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mappings_overview_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[MappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_mappings_overview_with_http_info( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[List[MappingOverview]]: + """Get all mappings overview + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mappings_overview_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[MappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_mappings_overview_without_preload_content( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get all mappings overview + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mappings_overview_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[MappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_mappings_overview_serialize( + self, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/rbac/mappings/overview', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_role( + self, + id: Annotated[StrictStr, Field(description="Id of the role for retrieval")], + include_team_usage: Optional[StrictBool] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiRole: + """Get role by ID + + Retrieve a specific role by its ID. + + :param id: Id of the role for retrieval (required) + :type id: str + :param include_team_usage: + :type include_team_usage: bool + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_role_serialize( + id=id, + include_team_usage=include_team_usage, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ApiRole", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_role_with_http_info( + self, + id: Annotated[StrictStr, Field(description="Id of the role for retrieval")], + include_team_usage: Optional[StrictBool] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[ApiRole]: + """Get role by ID + + Retrieve a specific role by its ID. + + :param id: Id of the role for retrieval (required) + :type id: str + :param include_team_usage: + :type include_team_usage: bool + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_role_serialize( + id=id, + include_team_usage=include_team_usage, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ApiRole", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_role_without_preload_content( + self, + id: Annotated[StrictStr, Field(description="Id of the role for retrieval")], + include_team_usage: Optional[StrictBool] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get role by ID + + Retrieve a specific role by its ID. + + :param id: Id of the role for retrieval (required) + :type id: str + :param include_team_usage: + :type include_team_usage: bool + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_role_serialize( + id=id, + include_team_usage=include_team_usage, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ApiRole", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_role_serialize( + self, + id, + include_team_usage, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if id is not None: + _path_params['id'] = id + # process the query parameters + if include_team_usage is not None: + + _query_params.append(('includeTeamUsage', include_team_usage)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/rbac/roles/{id}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_role_mappings( + self, + role_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> List[RoleMappingOverview]: + """Get role mappings + + Retrieve IdP role mappings applicable to a specific role + + :param role_id: (required) + :type role_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_role_mappings_serialize( + role_id=role_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[RoleMappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_role_mappings_with_http_info( + self, + role_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[List[RoleMappingOverview]]: + """Get role mappings + + Retrieve IdP role mappings applicable to a specific role + + :param role_id: (required) + :type role_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_role_mappings_serialize( + role_id=role_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[RoleMappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_role_mappings_without_preload_content( + self, + role_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get role mappings + + Retrieve IdP role mappings applicable to a specific role + + :param role_id: (required) + :type role_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_role_mappings_serialize( + role_id=role_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[RoleMappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_role_mappings_serialize( + self, + role_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if role_id is not None: + _path_params['roleId'] = role_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/rbac/roles/{roleId}/mappings', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_roles( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> List[ApiRole]: + """Get all roles + + Retrieve all roles for the current tenant unit. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_roles_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1380,6 +2932,301 @@ def _get_roles_serialize( + @validate_call + def update_mapping( + self, + id: Annotated[StrictStr, Field(description="Id of the mapping to update")], + mapping: Mapping, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Mapping: + """Update mapping + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param id: Id of the mapping to update (required) + :type id: str + :param mapping: (required) + :type mapping: Mapping + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._update_mapping_serialize( + id=id, + mapping=mapping, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Mapping", + '412': "str", + '422': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def update_mapping_with_http_info( + self, + id: Annotated[StrictStr, Field(description="Id of the mapping to update")], + mapping: Mapping, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[Mapping]: + """Update mapping + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param id: Id of the mapping to update (required) + :type id: str + :param mapping: (required) + :type mapping: Mapping + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._update_mapping_serialize( + id=id, + mapping=mapping, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Mapping", + '412': "str", + '422': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def update_mapping_without_preload_content( + self, + id: Annotated[StrictStr, Field(description="Id of the mapping to update")], + mapping: Mapping, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Update mapping + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param id: Id of the mapping to update (required) + :type id: str + :param mapping: (required) + :type mapping: Mapping + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._update_mapping_serialize( + id=id, + mapping=mapping, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Mapping", + '412': "str", + '422': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _update_mapping_serialize( + self, + id, + mapping, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if id is not None: + _path_params['id'] = id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if mapping is not None: + _body_params = mapping + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='PUT', + resource_path='/api/settings/rbac/mappings/{id}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def update_role( self, diff --git a/instana_client/api/service_levels_alert_configuration_api.py b/instana_client/api/service_levels_alert_configuration_api.py index 96cb6ee3..8d3eb4ea 100644 --- a/instana_client/api/service_levels_alert_configuration_api.py +++ b/instana_client/api/service_levels_alert_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/service_levels_objective_slo_report_api.py b/instana_client/api/service_levels_objective_slo_report_api.py index 653fe412..34ea180a 100644 --- a/instana_client/api/service_levels_objective_slo_report_api.py +++ b/instana_client/api/service_levels_objective_slo_report_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/session_settings_api.py b/instana_client/api/session_settings_api.py index 07471322..aca3467c 100644 --- a/instana_client/api/session_settings_api.py +++ b/instana_client/api/session_settings_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/sli_report_api.py b/instana_client/api/sli_report_api.py index c9ad5842..cea84b9b 100644 --- a/instana_client/api/sli_report_api.py +++ b/instana_client/api/sli_report_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/sli_settings_api.py b/instana_client/api/sli_settings_api.py index 8ae17095..1c3f8452 100644 --- a/instana_client/api/sli_settings_api.py +++ b/instana_client/api/sli_settings_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/slo_catalog_for_mobile_app_api.py b/instana_client/api/slo_catalog_for_mobile_app_api.py index 86a06b97..d0cd76a9 100644 --- a/instana_client/api/slo_catalog_for_mobile_app_api.py +++ b/instana_client/api/slo_catalog_for_mobile_app_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/slo_configurations_api.py b/instana_client/api/slo_configurations_api.py index 7454388c..754005b4 100644 --- a/instana_client/api/slo_configurations_api.py +++ b/instana_client/api/slo_configurations_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -21,6 +21,7 @@ from typing import List, Optional from instana_client.models.paginated_result import PaginatedResult from instana_client.models.slo_config_with_rbac_tag import SLOConfigWithRBACTag +from instana_client.models.slo_health_snapshot import SloHealthSnapshot from instana_client.api_client import ApiClient, RequestSerialized from instana_client.api_response import ApiResponse @@ -875,6 +876,7 @@ def get_all_slo_configs( blueprint: Optional[List[StrictStr]] = None, slo_ids: Optional[List[StrictStr]] = None, slo_status: Optional[StrictStr] = None, + slo_health_state: Optional[StrictStr] = None, entity_ids: Optional[List[StrictStr]] = None, grouped: Optional[StrictBool] = None, refresh: Optional[StrictBool] = None, @@ -919,6 +921,8 @@ def get_all_slo_configs( :type slo_ids: List[str] :param slo_status: :type slo_status: str + :param slo_health_state: + :type slo_health_state: str :param entity_ids: :type entity_ids: List[str] :param grouped: @@ -962,6 +966,7 @@ def get_all_slo_configs( blueprint=blueprint, slo_ids=slo_ids, slo_status=slo_status, + slo_health_state=slo_health_state, entity_ids=entity_ids, grouped=grouped, refresh=refresh, @@ -1001,6 +1006,7 @@ def get_all_slo_configs_with_http_info( blueprint: Optional[List[StrictStr]] = None, slo_ids: Optional[List[StrictStr]] = None, slo_status: Optional[StrictStr] = None, + slo_health_state: Optional[StrictStr] = None, entity_ids: Optional[List[StrictStr]] = None, grouped: Optional[StrictBool] = None, refresh: Optional[StrictBool] = None, @@ -1045,6 +1051,8 @@ def get_all_slo_configs_with_http_info( :type slo_ids: List[str] :param slo_status: :type slo_status: str + :param slo_health_state: + :type slo_health_state: str :param entity_ids: :type entity_ids: List[str] :param grouped: @@ -1088,6 +1096,7 @@ def get_all_slo_configs_with_http_info( blueprint=blueprint, slo_ids=slo_ids, slo_status=slo_status, + slo_health_state=slo_health_state, entity_ids=entity_ids, grouped=grouped, refresh=refresh, @@ -1127,6 +1136,7 @@ def get_all_slo_configs_without_preload_content( blueprint: Optional[List[StrictStr]] = None, slo_ids: Optional[List[StrictStr]] = None, slo_status: Optional[StrictStr] = None, + slo_health_state: Optional[StrictStr] = None, entity_ids: Optional[List[StrictStr]] = None, grouped: Optional[StrictBool] = None, refresh: Optional[StrictBool] = None, @@ -1171,6 +1181,8 @@ def get_all_slo_configs_without_preload_content( :type slo_ids: List[str] :param slo_status: :type slo_status: str + :param slo_health_state: + :type slo_health_state: str :param entity_ids: :type entity_ids: List[str] :param grouped: @@ -1214,6 +1226,7 @@ def get_all_slo_configs_without_preload_content( blueprint=blueprint, slo_ids=slo_ids, slo_status=slo_status, + slo_health_state=slo_health_state, entity_ids=entity_ids, grouped=grouped, refresh=refresh, @@ -1248,6 +1261,7 @@ def _get_all_slo_configs_serialize( blueprint, slo_ids, slo_status, + slo_health_state, entity_ids, grouped, refresh, @@ -1329,6 +1343,10 @@ def _get_all_slo_configs_serialize( _query_params.append(('sloStatus', slo_status)) + if slo_health_state is not None: + + _query_params.append(('sloHealthState', slo_health_state)) + if entity_ids is not None: _query_params.append(('entityIds', entity_ids)) @@ -1660,6 +1678,376 @@ def _get_slo_config_by_id_serialize( + @validate_call + def get_slo_health_snapshot( + self, + query: Optional[StrictStr] = None, + tag: Optional[List[StrictStr]] = None, + entity_type: Optional[List[StrictStr]] = None, + blueprint: Optional[List[StrictStr]] = None, + slo_health_state: Optional[StrictStr] = None, + slo_ids: Optional[List[StrictStr]] = None, + rbac_tags: Optional[List[StrictStr]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> SloHealthSnapshot: + """Get SLO Health Snapshot + + + :param query: + :type query: str + :param tag: + :type tag: List[str] + :param entity_type: + :type entity_type: List[str] + :param blueprint: + :type blueprint: List[str] + :param slo_health_state: + :type slo_health_state: str + :param slo_ids: + :type slo_ids: List[str] + :param rbac_tags: + :type rbac_tags: List[str] + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_slo_health_snapshot_serialize( + query=query, + tag=tag, + entity_type=entity_type, + blueprint=blueprint, + slo_health_state=slo_health_state, + slo_ids=slo_ids, + rbac_tags=rbac_tags, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SloHealthSnapshot", + '503': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_slo_health_snapshot_with_http_info( + self, + query: Optional[StrictStr] = None, + tag: Optional[List[StrictStr]] = None, + entity_type: Optional[List[StrictStr]] = None, + blueprint: Optional[List[StrictStr]] = None, + slo_health_state: Optional[StrictStr] = None, + slo_ids: Optional[List[StrictStr]] = None, + rbac_tags: Optional[List[StrictStr]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[SloHealthSnapshot]: + """Get SLO Health Snapshot + + + :param query: + :type query: str + :param tag: + :type tag: List[str] + :param entity_type: + :type entity_type: List[str] + :param blueprint: + :type blueprint: List[str] + :param slo_health_state: + :type slo_health_state: str + :param slo_ids: + :type slo_ids: List[str] + :param rbac_tags: + :type rbac_tags: List[str] + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_slo_health_snapshot_serialize( + query=query, + tag=tag, + entity_type=entity_type, + blueprint=blueprint, + slo_health_state=slo_health_state, + slo_ids=slo_ids, + rbac_tags=rbac_tags, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SloHealthSnapshot", + '503': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_slo_health_snapshot_without_preload_content( + self, + query: Optional[StrictStr] = None, + tag: Optional[List[StrictStr]] = None, + entity_type: Optional[List[StrictStr]] = None, + blueprint: Optional[List[StrictStr]] = None, + slo_health_state: Optional[StrictStr] = None, + slo_ids: Optional[List[StrictStr]] = None, + rbac_tags: Optional[List[StrictStr]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get SLO Health Snapshot + + + :param query: + :type query: str + :param tag: + :type tag: List[str] + :param entity_type: + :type entity_type: List[str] + :param blueprint: + :type blueprint: List[str] + :param slo_health_state: + :type slo_health_state: str + :param slo_ids: + :type slo_ids: List[str] + :param rbac_tags: + :type rbac_tags: List[str] + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_slo_health_snapshot_serialize( + query=query, + tag=tag, + entity_type=entity_type, + blueprint=blueprint, + slo_health_state=slo_health_state, + slo_ids=slo_ids, + rbac_tags=rbac_tags, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SloHealthSnapshot", + '503': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_slo_health_snapshot_serialize( + self, + query, + tag, + entity_type, + blueprint, + slo_health_state, + slo_ids, + rbac_tags, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + 'tag': 'multi', + 'entityType': 'multi', + 'blueprint': 'multi', + 'sloIds': 'multi', + 'rbacTags': 'multi', + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + if query is not None: + + _query_params.append(('query', query)) + + if tag is not None: + + _query_params.append(('tag', tag)) + + if entity_type is not None: + + _query_params.append(('entityType', entity_type)) + + if blueprint is not None: + + _query_params.append(('blueprint', blueprint)) + + if slo_health_state is not None: + + _query_params.append(('sloHealthState', slo_health_state)) + + if slo_ids is not None: + + _query_params.append(('sloIds', slo_ids)) + + if rbac_tags is not None: + + _query_params.append(('rbacTags', rbac_tags)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/slo/health-snapshot', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def update_slo_config( self, diff --git a/instana_client/api/slo_correction_configurations_api.py b/instana_client/api/slo_correction_configurations_api.py index 78cc412a..b5e9a174 100644 --- a/instana_client/api/slo_correction_configurations_api.py +++ b/instana_client/api/slo_correction_configurations_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/slo_correction_windows_api.py b/instana_client/api/slo_correction_windows_api.py index 87ab6bf2..b166a347 100644 --- a/instana_client/api/slo_correction_windows_api.py +++ b/instana_client/api/slo_correction_windows_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/synthetic_alert_configuration_api.py b/instana_client/api/synthetic_alert_configuration_api.py index 17660c20..69fcb3e1 100644 --- a/instana_client/api/synthetic_alert_configuration_api.py +++ b/instana_client/api/synthetic_alert_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/synthetic_calls_api.py b/instana_client/api/synthetic_calls_api.py index 12bd2ca8..0c070e63 100644 --- a/instana_client/api/synthetic_calls_api.py +++ b/instana_client/api/synthetic_calls_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/synthetic_catalog_api.py b/instana_client/api/synthetic_catalog_api.py index 3b9ee6e9..c1884010 100644 --- a/instana_client/api/synthetic_catalog_api.py +++ b/instana_client/api/synthetic_catalog_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/synthetic_metrics_api.py b/instana_client/api/synthetic_metrics_api.py index 23a2f232..dbf54c5f 100644 --- a/instana_client/api/synthetic_metrics_api.py +++ b/instana_client/api/synthetic_metrics_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/synthetic_settings_api.py b/instana_client/api/synthetic_settings_api.py index 9649dade..223128b3 100644 --- a/instana_client/api/synthetic_settings_api.py +++ b/instana_client/api/synthetic_settings_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/synthetic_test_playback_results_api.py b/instana_client/api/synthetic_test_playback_results_api.py index 3b6dbf8a..ff2effc0 100644 --- a/instana_client/api/synthetic_test_playback_results_api.py +++ b/instana_client/api/synthetic_test_playback_results_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/teams_api.py b/instana_client/api/teams_api.py index 655bc841..080d52d4 100644 --- a/instana_client/api/teams_api.py +++ b/instana_client/api/teams_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -21,6 +21,9 @@ from typing import List, Optional from typing_extensions import Annotated from instana_client.models.api_team import ApiTeam +from instana_client.models.identity_provider_patch import IdentityProviderPatch +from instana_client.models.mapping import Mapping +from instana_client.models.mapping_overview import MappingOverview from instana_client.models.role_mapping_overview import RoleMappingOverview from instana_client.api_client import ApiClient, RequestSerialized @@ -42,9 +45,9 @@ def __init__(self, api_client=None) -> None: @validate_call - def create_team( + def create_mapping( self, - api_team: Annotated[ApiTeam, Field(description="Team to create")], + mapping: Mapping, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -57,13 +60,13 @@ def create_team( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """Create team + ) -> Mapping: + """Create mapping - Create a new team. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param api_team: Team to create (required) - :type api_team: ApiTeam + :param mapping: (required) + :type mapping: Mapping :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -86,8 +89,8 @@ def create_team( :return: Returns the result object. """ # noqa: E501 - _param = self._create_team_serialize( - api_team=api_team, + _param = self._create_mapping_serialize( + mapping=mapping, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -95,7 +98,9 @@ def create_team( ) _response_types_map: Dict[str, Optional[str]] = { - '200': None, + '200': "Mapping", + '412': "str", + '422': None, } response_data = self.api_client.call_api( *_param, @@ -109,9 +114,9 @@ def create_team( @validate_call - def create_team_with_http_info( + def create_mapping_with_http_info( self, - api_team: Annotated[ApiTeam, Field(description="Team to create")], + mapping: Mapping, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -124,13 +129,13 @@ def create_team_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """Create team + ) -> ApiResponse[Mapping]: + """Create mapping - Create a new team. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param api_team: Team to create (required) - :type api_team: ApiTeam + :param mapping: (required) + :type mapping: Mapping :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -153,8 +158,8 @@ def create_team_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._create_team_serialize( - api_team=api_team, + _param = self._create_mapping_serialize( + mapping=mapping, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -162,7 +167,9 @@ def create_team_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': None, + '200': "Mapping", + '412': "str", + '422': None, } response_data = self.api_client.call_api( *_param, @@ -176,9 +183,9 @@ def create_team_with_http_info( @validate_call - def create_team_without_preload_content( + def create_mapping_without_preload_content( self, - api_team: Annotated[ApiTeam, Field(description="Team to create")], + mapping: Mapping, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -192,12 +199,12 @@ def create_team_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Create team + """Create mapping - Create a new team. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param api_team: Team to create (required) - :type api_team: ApiTeam + :param mapping: (required) + :type mapping: Mapping :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -220,8 +227,8 @@ def create_team_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._create_team_serialize( - api_team=api_team, + _param = self._create_mapping_serialize( + mapping=mapping, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -229,7 +236,9 @@ def create_team_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': None, + '200': "Mapping", + '412': "str", + '422': None, } response_data = self.api_client.call_api( *_param, @@ -238,9 +247,9 @@ def create_team_without_preload_content( return response_data.response - def _create_team_serialize( + def _create_mapping_serialize( self, - api_team, + mapping, _request_auth, _content_type, _headers, @@ -266,10 +275,17 @@ def _create_team_serialize( # process the header parameters # process the form parameters # process the body parameter - if api_team is not None: - _body_params = api_team + if mapping is not None: + _body_params = mapping + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -292,7 +308,7 @@ def _create_team_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/api/settings/rbac/teams', + resource_path='/api/settings/rbac/mappings', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -309,9 +325,9 @@ def _create_team_serialize( @validate_call - def delete_team( + def create_team( self, - id: Annotated[StrictStr, Field(description="Id of the team to delete")], + api_team: Annotated[ApiTeam, Field(description="Team to create")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -325,12 +341,12 @@ def delete_team( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> None: - """Delete team + """Create team - Delete the team data. + Create a new team. - :param id: Id of the team to delete (required) - :type id: str + :param api_team: Team to create (required) + :type api_team: ApiTeam :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -353,8 +369,8 @@ def delete_team( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_team_serialize( - id=id, + _param = self._create_team_serialize( + api_team=api_team, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -362,6 +378,7 @@ def delete_team( ) _response_types_map: Dict[str, Optional[str]] = { + '200': None, } response_data = self.api_client.call_api( *_param, @@ -375,9 +392,9 @@ def delete_team( @validate_call - def delete_team_with_http_info( + def create_team_with_http_info( self, - id: Annotated[StrictStr, Field(description="Id of the team to delete")], + api_team: Annotated[ApiTeam, Field(description="Team to create")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -391,12 +408,12 @@ def delete_team_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[None]: - """Delete team + """Create team - Delete the team data. + Create a new team. - :param id: Id of the team to delete (required) - :type id: str + :param api_team: Team to create (required) + :type api_team: ApiTeam :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -419,8 +436,8 @@ def delete_team_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_team_serialize( - id=id, + _param = self._create_team_serialize( + api_team=api_team, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -428,6 +445,7 @@ def delete_team_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { + '200': None, } response_data = self.api_client.call_api( *_param, @@ -441,9 +459,9 @@ def delete_team_with_http_info( @validate_call - def delete_team_without_preload_content( + def create_team_without_preload_content( self, - id: Annotated[StrictStr, Field(description="Id of the team to delete")], + api_team: Annotated[ApiTeam, Field(description="Team to create")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -457,12 +475,12 @@ def delete_team_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Delete team + """Create team - Delete the team data. + Create a new team. - :param id: Id of the team to delete (required) - :type id: str + :param api_team: Team to create (required) + :type api_team: ApiTeam :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -485,8 +503,8 @@ def delete_team_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_team_serialize( - id=id, + _param = self._create_team_serialize( + api_team=api_team, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -494,6 +512,7 @@ def delete_team_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { + '200': None, } response_data = self.api_client.call_api( *_param, @@ -502,9 +521,9 @@ def delete_team_without_preload_content( return response_data.response - def _delete_team_serialize( + def _create_team_serialize( self, - id, + api_team, _request_auth, _content_type, _headers, @@ -526,22 +545,28 @@ def _delete_team_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters # process the form parameters # process the body parameter + if api_team is not None: + _body_params = api_team - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -549,8 +574,8 @@ def _delete_team_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/api/settings/rbac/teams/{id}', + method='POST', + resource_path='/api/settings/rbac/teams', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -567,10 +592,9 @@ def _delete_team_serialize( @validate_call - def get_team( + def delete_mapping( self, - id: Annotated[StrictStr, Field(description="Id of the team for retrieval")], - include_team_usage: Optional[StrictBool] = None, + id: Annotated[StrictStr, Field(description="Id of the mapping to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -583,15 +607,13 @@ def get_team( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiTeam: - """Get team by ID + ) -> None: + """Delete mapping - Retrieve a specific team by its ID. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param id: Id of the team for retrieval (required) + :param id: Id of the mapping to delete (required) :type id: str - :param include_team_usage: - :type include_team_usage: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -614,9 +636,8 @@ def get_team( :return: Returns the result object. """ # noqa: E501 - _param = self._get_team_serialize( + _param = self._delete_mapping_serialize( id=id, - include_team_usage=include_team_usage, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -624,8 +645,6 @@ def get_team( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ApiTeam", - '404': None, } response_data = self.api_client.call_api( *_param, @@ -639,10 +658,9 @@ def get_team( @validate_call - def get_team_with_http_info( + def delete_mapping_with_http_info( self, - id: Annotated[StrictStr, Field(description="Id of the team for retrieval")], - include_team_usage: Optional[StrictBool] = None, + id: Annotated[StrictStr, Field(description="Id of the mapping to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -655,15 +673,13 @@ def get_team_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ApiTeam]: - """Get team by ID + ) -> ApiResponse[None]: + """Delete mapping - Retrieve a specific team by its ID. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param id: Id of the team for retrieval (required) + :param id: Id of the mapping to delete (required) :type id: str - :param include_team_usage: - :type include_team_usage: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -686,9 +702,8 @@ def get_team_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_team_serialize( + _param = self._delete_mapping_serialize( id=id, - include_team_usage=include_team_usage, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -696,8 +711,6 @@ def get_team_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ApiTeam", - '404': None, } response_data = self.api_client.call_api( *_param, @@ -711,10 +724,9 @@ def get_team_with_http_info( @validate_call - def get_team_without_preload_content( + def delete_mapping_without_preload_content( self, - id: Annotated[StrictStr, Field(description="Id of the team for retrieval")], - include_team_usage: Optional[StrictBool] = None, + id: Annotated[StrictStr, Field(description="Id of the mapping to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -728,14 +740,12 @@ def get_team_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get team by ID + """Delete mapping - Retrieve a specific team by its ID. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param id: Id of the team for retrieval (required) + :param id: Id of the mapping to delete (required) :type id: str - :param include_team_usage: - :type include_team_usage: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -758,9 +768,8 @@ def get_team_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_team_serialize( + _param = self._delete_mapping_serialize( id=id, - include_team_usage=include_team_usage, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -768,8 +777,6 @@ def get_team_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ApiTeam", - '404': None, } response_data = self.api_client.call_api( *_param, @@ -778,10 +785,9 @@ def get_team_without_preload_content( return response_data.response - def _get_team_serialize( + def _delete_mapping_serialize( self, id, - include_team_usage, _request_auth, _content_type, _headers, @@ -806,10 +812,6 @@ def _get_team_serialize( if id is not None: _path_params['id'] = id # process the query parameters - if include_team_usage is not None: - - _query_params.append(('includeTeamUsage', include_team_usage)) - # process the header parameters # process the form parameters # process the body parameter @@ -830,8 +832,8 @@ def _get_team_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/api/settings/rbac/teams/{id}', + method='DELETE', + resource_path='/api/settings/rbac/mappings/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -848,9 +850,9 @@ def _get_team_serialize( @validate_call - def get_team_role_mappings( + def delete_team( self, - team_id: StrictStr, + id: Annotated[StrictStr, Field(description="Id of the team to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -863,13 +865,13 @@ def get_team_role_mappings( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> List[RoleMappingOverview]: - """Get team role mappings + ) -> None: + """Delete team - Retrieve IdP role mappings applicable to a specific team + Delete the team data. - :param team_id: (required) - :type team_id: str + :param id: Id of the team to delete (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -892,8 +894,8 @@ def get_team_role_mappings( :return: Returns the result object. """ # noqa: E501 - _param = self._get_team_role_mappings_serialize( - team_id=team_id, + _param = self._delete_team_serialize( + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -901,8 +903,6 @@ def get_team_role_mappings( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[RoleMappingOverview]", - '404': None, } response_data = self.api_client.call_api( *_param, @@ -916,9 +916,9 @@ def get_team_role_mappings( @validate_call - def get_team_role_mappings_with_http_info( + def delete_team_with_http_info( self, - team_id: StrictStr, + id: Annotated[StrictStr, Field(description="Id of the team to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -931,13 +931,13 @@ def get_team_role_mappings_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[List[RoleMappingOverview]]: - """Get team role mappings + ) -> ApiResponse[None]: + """Delete team - Retrieve IdP role mappings applicable to a specific team + Delete the team data. - :param team_id: (required) - :type team_id: str + :param id: Id of the team to delete (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -960,8 +960,8 @@ def get_team_role_mappings_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_team_role_mappings_serialize( - team_id=team_id, + _param = self._delete_team_serialize( + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -969,8 +969,6 @@ def get_team_role_mappings_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[RoleMappingOverview]", - '404': None, } response_data = self.api_client.call_api( *_param, @@ -984,9 +982,9 @@ def get_team_role_mappings_with_http_info( @validate_call - def get_team_role_mappings_without_preload_content( + def delete_team_without_preload_content( self, - team_id: StrictStr, + id: Annotated[StrictStr, Field(description="Id of the team to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1000,12 +998,12 @@ def get_team_role_mappings_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get team role mappings + """Delete team - Retrieve IdP role mappings applicable to a specific team + Delete the team data. - :param team_id: (required) - :type team_id: str + :param id: Id of the team to delete (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1028,8 +1026,8 @@ def get_team_role_mappings_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_team_role_mappings_serialize( - team_id=team_id, + _param = self._delete_team_serialize( + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1037,8 +1035,6 @@ def get_team_role_mappings_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[RoleMappingOverview]", - '404': None, } response_data = self.api_client.call_api( *_param, @@ -1047,9 +1043,9 @@ def get_team_role_mappings_without_preload_content( return response_data.response - def _get_team_role_mappings_serialize( + def _delete_team_serialize( self, - team_id, + id, _request_auth, _content_type, _headers, @@ -1071,8 +1067,8 @@ def _get_team_role_mappings_serialize( _body_params: Optional[bytes] = None # process the path parameters - if team_id is not None: - _path_params['teamId'] = team_id + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters # process the form parameters @@ -1094,8 +1090,8 @@ def _get_team_role_mappings_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/api/settings/rbac/teams/{teamId}/mappings', + method='DELETE', + resource_path='/api/settings/rbac/teams/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1112,7 +1108,7 @@ def _get_team_role_mappings_serialize( @validate_call - def get_teams( + def get_identity_provider_patch( self, _request_timeout: Union[ None, @@ -1126,10 +1122,10 @@ def get_teams( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> List[ApiTeam]: - """Get all teams + ) -> IdentityProviderPatch: + """Check user restrictions for empty Idp mapping - Retrieve all user teams for the current tenant unit. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -1153,7 +1149,7 @@ def get_teams( :return: Returns the result object. """ # noqa: E501 - _param = self._get_teams_serialize( + _param = self._get_identity_provider_patch_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1161,7 +1157,7 @@ def get_teams( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[ApiTeam]", + '200': "IdentityProviderPatch", '404': None, } response_data = self.api_client.call_api( @@ -1176,7 +1172,7 @@ def get_teams( @validate_call - def get_teams_with_http_info( + def get_identity_provider_patch_with_http_info( self, _request_timeout: Union[ None, @@ -1190,10 +1186,10 @@ def get_teams_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[List[ApiTeam]]: - """Get all teams + ) -> ApiResponse[IdentityProviderPatch]: + """Check user restrictions for empty Idp mapping - Retrieve all user teams for the current tenant unit. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -1217,7 +1213,7 @@ def get_teams_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_teams_serialize( + _param = self._get_identity_provider_patch_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1225,7 +1221,7 @@ def get_teams_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[ApiTeam]", + '200': "IdentityProviderPatch", '404': None, } response_data = self.api_client.call_api( @@ -1240,7 +1236,1563 @@ def get_teams_with_http_info( @validate_call - def get_teams_without_preload_content( + def get_identity_provider_patch_without_preload_content( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Check user restrictions for empty Idp mapping + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_identity_provider_patch_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "IdentityProviderPatch", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_identity_provider_patch_serialize( + self, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_mapping( + self, + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Mapping: + """Get mapping + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param id: (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mapping_serialize( + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Mapping", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_mapping_with_http_info( + self, + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[Mapping]: + """Get mapping + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param id: (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mapping_serialize( + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Mapping", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_mapping_without_preload_content( + self, + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get mapping + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param id: (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mapping_serialize( + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Mapping", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_mapping_serialize( + self, + id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if id is not None: + _path_params['id'] = id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/rbac/mappings/{id}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_mappings( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> List[Mapping]: + """Get all mappings + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mappings_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[Mapping]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_mappings_with_http_info( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[List[Mapping]]: + """Get all mappings + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mappings_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[Mapping]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_mappings_without_preload_content( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get all mappings + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mappings_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[Mapping]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_mappings_serialize( + self, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/rbac/mappings', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_mappings_overview( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> List[MappingOverview]: + """Get all mappings overview + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mappings_overview_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[MappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_mappings_overview_with_http_info( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[List[MappingOverview]]: + """Get all mappings overview + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mappings_overview_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[MappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_mappings_overview_without_preload_content( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get all mappings overview + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mappings_overview_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[MappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_mappings_overview_serialize( + self, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/rbac/mappings/overview', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_team( + self, + id: Annotated[StrictStr, Field(description="Id of the team for retrieval")], + include_team_usage: Optional[StrictBool] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiTeam: + """Get team by ID + + Retrieve a specific team by its ID. + + :param id: Id of the team for retrieval (required) + :type id: str + :param include_team_usage: + :type include_team_usage: bool + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_team_serialize( + id=id, + include_team_usage=include_team_usage, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ApiTeam", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_team_with_http_info( + self, + id: Annotated[StrictStr, Field(description="Id of the team for retrieval")], + include_team_usage: Optional[StrictBool] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[ApiTeam]: + """Get team by ID + + Retrieve a specific team by its ID. + + :param id: Id of the team for retrieval (required) + :type id: str + :param include_team_usage: + :type include_team_usage: bool + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_team_serialize( + id=id, + include_team_usage=include_team_usage, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ApiTeam", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_team_without_preload_content( + self, + id: Annotated[StrictStr, Field(description="Id of the team for retrieval")], + include_team_usage: Optional[StrictBool] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get team by ID + + Retrieve a specific team by its ID. + + :param id: Id of the team for retrieval (required) + :type id: str + :param include_team_usage: + :type include_team_usage: bool + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_team_serialize( + id=id, + include_team_usage=include_team_usage, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ApiTeam", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_team_serialize( + self, + id, + include_team_usage, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if id is not None: + _path_params['id'] = id + # process the query parameters + if include_team_usage is not None: + + _query_params.append(('includeTeamUsage', include_team_usage)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/rbac/teams/{id}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_team_role_mappings( + self, + team_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> List[RoleMappingOverview]: + """Get team role mappings + + Retrieve IdP role mappings applicable to a specific team + + :param team_id: (required) + :type team_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_team_role_mappings_serialize( + team_id=team_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[RoleMappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_team_role_mappings_with_http_info( + self, + team_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[List[RoleMappingOverview]]: + """Get team role mappings + + Retrieve IdP role mappings applicable to a specific team + + :param team_id: (required) + :type team_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_team_role_mappings_serialize( + team_id=team_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[RoleMappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_team_role_mappings_without_preload_content( + self, + team_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get team role mappings + + Retrieve IdP role mappings applicable to a specific team + + :param team_id: (required) + :type team_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_team_role_mappings_serialize( + team_id=team_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[RoleMappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_team_role_mappings_serialize( + self, + team_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if team_id is not None: + _path_params['teamId'] = team_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/rbac/teams/{teamId}/mappings', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_teams( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> List[ApiTeam]: + """Get all teams + + Retrieve all user teams for the current tenant unit. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_teams_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[ApiTeam]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_teams_with_http_info( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[List[ApiTeam]]: + """Get all teams + + Retrieve all user teams for the current tenant unit. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_teams_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[ApiTeam]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_teams_without_preload_content( self, _request_timeout: Union[ None, @@ -1360,6 +2912,301 @@ def _get_teams_serialize( + @validate_call + def update_mapping( + self, + id: Annotated[StrictStr, Field(description="Id of the mapping to update")], + mapping: Mapping, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Mapping: + """Update mapping + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param id: Id of the mapping to update (required) + :type id: str + :param mapping: (required) + :type mapping: Mapping + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._update_mapping_serialize( + id=id, + mapping=mapping, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Mapping", + '412': "str", + '422': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def update_mapping_with_http_info( + self, + id: Annotated[StrictStr, Field(description="Id of the mapping to update")], + mapping: Mapping, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[Mapping]: + """Update mapping + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param id: Id of the mapping to update (required) + :type id: str + :param mapping: (required) + :type mapping: Mapping + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._update_mapping_serialize( + id=id, + mapping=mapping, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Mapping", + '412': "str", + '422': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def update_mapping_without_preload_content( + self, + id: Annotated[StrictStr, Field(description="Id of the mapping to update")], + mapping: Mapping, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Update mapping + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param id: Id of the mapping to update (required) + :type id: str + :param mapping: (required) + :type mapping: Mapping + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._update_mapping_serialize( + id=id, + mapping=mapping, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Mapping", + '412': "str", + '422': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _update_mapping_serialize( + self, + id, + mapping, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if id is not None: + _path_params['id'] = id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if mapping is not None: + _body_params = mapping + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='PUT', + resource_path='/api/settings/rbac/mappings/{id}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def update_team( self, diff --git a/instana_client/api/usage_api.py b/instana_client/api/usage_api.py index dc90cdec..f380e39d 100644 --- a/instana_client/api/usage_api.py +++ b/instana_client/api/usage_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/user_api.py b/instana_client/api/user_api.py index f10d4523..4bc999ba 100644 --- a/instana_client/api/user_api.py +++ b/instana_client/api/user_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/website_analyze_api.py b/instana_client/api/website_analyze_api.py index 1365997c..ee9b2687 100644 --- a/instana_client/api/website_analyze_api.py +++ b/instana_client/api/website_analyze_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/website_catalog_api.py b/instana_client/api/website_catalog_api.py index 17ad2e7f..f21e5da6 100644 --- a/instana_client/api/website_catalog_api.py +++ b/instana_client/api/website_catalog_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/website_configuration_api.py b/instana_client/api/website_configuration_api.py index 9c00bdd1..eb6d50f5 100644 --- a/instana_client/api/website_configuration_api.py +++ b/instana_client/api/website_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/website_metrics_api.py b/instana_client/api/website_metrics_api.py index 4a68380b..9e6477ad 100644 --- a/instana_client/api/website_metrics_api.py +++ b/instana_client/api/website_metrics_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api_client.py b/instana_client/api_client.py index 20fccf6c..168f2f81 100644 --- a/instana_client/api_client.py +++ b/instana_client/api_client.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -22,6 +22,7 @@ import os import re import tempfile +import uuid from urllib.parse import quote from typing import Tuple, Optional, List, Dict, Union @@ -357,6 +358,8 @@ def sanitize_for_serialization(self, obj): return obj.get_secret_value() elif isinstance(obj, self.PRIMITIVE_TYPES): return obj + elif isinstance(obj, uuid.UUID): + return str(obj) elif isinstance(obj, list): return [ self.sanitize_for_serialization(sub_obj) for sub_obj in obj @@ -383,6 +386,10 @@ def sanitize_for_serialization(self, obj): else: obj_dict = obj.__dict__ + if isinstance(obj_dict, list): + # here we handle instances that can either be a list or something else, and only became a real list by calling to_dict() + return self.sanitize_for_serialization(obj_dict) + return { key: self.sanitize_for_serialization(val) for key, val in obj_dict.items() @@ -405,7 +412,7 @@ def deserialize(self, response_text: str, response_type: str, content_type: Opti data = json.loads(response_text) except ValueError: data = response_text - elif re.match(r'^application/(json|[\w!#$&.+-^_]+\+json)\s*(;|$)', content_type, re.IGNORECASE): + elif re.match(r'^application/(json|[\w!#$&.+\-^_]+\+json)\s*(;|$)', content_type, re.IGNORECASE): if response_text == "": data = "" else: diff --git a/instana_client/configuration.py b/instana_client/configuration.py index dfeb23a0..16f9c855 100644 --- a/instana_client/configuration.py +++ b/instana_client/configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -531,7 +531,7 @@ def to_debug_report(self) -> str: return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.326.1571\n"\ + "Version of the API: 1.328.1128\n"\ "SDK Package Version: 1.1.3".\ format(env=sys.platform, pyversion=sys.version) diff --git a/instana_client/exceptions.py b/instana_client/exceptions.py index e8ed44d2..b3458d32 100644 --- a/instana_client/exceptions.py +++ b/instana_client/exceptions.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/__init__.py b/instana_client/models/__init__.py index 9df80975..6fcece5c 100644 --- a/instana_client/models/__init__.py +++ b/instana_client/models/__init__.py @@ -6,7 +6,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -14,7 +14,593 @@ """ # noqa: E501 -# import models into model package +if __import__("typing").TYPE_CHECKING: + # import models into model package + from instana_client.models.abstract_integration import AbstractIntegration + from instana_client.models.abstract_rule import AbstractRule + from instana_client.models.access_rule import AccessRule + from instana_client.models.action import Action + from instana_client.models.action_beacon import ActionBeacon + from instana_client.models.action_configuration import ActionConfiguration + from instana_client.models.action_instance import ActionInstance + from instana_client.models.action_instance_metadata_entry import ActionInstanceMetadataEntry + from instana_client.models.action_instance_parameter import ActionInstanceParameter + from instana_client.models.action_instance_request import ActionInstanceRequest + from instana_client.models.action_instance_request_parameters import ActionInstanceRequestParameters + from instana_client.models.action_match import ActionMatch + from instana_client.models.action_search_space import ActionSearchSpace + from instana_client.models.adaptive_baseline import AdaptiveBaseline + from instana_client.models.adaptive_threshold_rule import AdaptiveThresholdRule + from instana_client.models.adjusted_timeframe import AdjustedTimeframe + from instana_client.models.advanced_custom_blueprint_indicator import AdvancedCustomBlueprintIndicator + from instana_client.models.advanced_filter import AdvancedFilter + from instana_client.models.agent_configuration_update import AgentConfigurationUpdate + from instana_client.models.agent_mode_update import AgentModeUpdate + from instana_client.models.alerting_configuration import AlertingConfiguration + from instana_client.models.alerting_configuration_with_last_updated import AlertingConfigurationWithLastUpdated + from instana_client.models.alerting_time_window import AlertingTimeWindow + from instana_client.models.apdex_alert_rule import ApdexAlertRule + from instana_client.models.apdex_config_with_rbac_tag import ApdexConfigWithRBACTag + from instana_client.models.apdex_configuration import ApdexConfiguration + from instana_client.models.apdex_configuration_input import ApdexConfigurationInput + from instana_client.models.apdex_entity import ApdexEntity + from instana_client.models.apdex_level import ApdexLevel + from instana_client.models.apdex_report import ApdexReport + from instana_client.models.api_create_group import ApiCreateGroup + from instana_client.models.api_create_role import ApiCreateRole + from instana_client.models.api_group import ApiGroup + from instana_client.models.api_group_to_team_role_migration import ApiGroupToTeamRoleMigration + from instana_client.models.api_log_item import ApiLogItem + from instana_client.models.api_log_tag import ApiLogTag + from instana_client.models.api_member import ApiMember + from instana_client.models.api_permission_set import ApiPermissionSet + from instana_client.models.api_restricted_application_filter import ApiRestrictedApplicationFilter + from instana_client.models.api_role import ApiRole + from instana_client.models.api_tag import ApiTag + from instana_client.models.api_team import ApiTeam + from instana_client.models.api_team_info import ApiTeamInfo + from instana_client.models.api_team_member import ApiTeamMember + from instana_client.models.api_team_role import ApiTeamRole + from instana_client.models.api_team_scope import ApiTeamScope + from instana_client.models.api_token import ApiToken + from instana_client.models.app_data_metric_configuration import AppDataMetricConfiguration + from instana_client.models.application import Application + from instana_client.models.application_alert_config import ApplicationAlertConfig + from instana_client.models.application_alert_config_with_metadata import ApplicationAlertConfigWithMetadata + from instana_client.models.application_alert_rule import ApplicationAlertRule + from instana_client.models.application_apdex_entity import ApplicationApdexEntity + from instana_client.models.application_batch_business_criticality_update import ApplicationBatchBusinessCriticalityUpdate + from instana_client.models.application_config import ApplicationConfig + from instana_client.models.application_event_result import ApplicationEventResult + from instana_client.models.application_item import ApplicationItem + from instana_client.models.application_metric_result import ApplicationMetricResult + from instana_client.models.application_node import ApplicationNode + from instana_client.models.application_result import ApplicationResult + from instana_client.models.application_scope import ApplicationScope + from instana_client.models.application_scope_with_metadata import ApplicationScopeWithMetadata + from instana_client.models.application_sli_entity import ApplicationSliEntity + from instana_client.models.application_slo_entity import ApplicationSloEntity + from instana_client.models.application_time_threshold import ApplicationTimeThreshold + from instana_client.models.audit_log_ui_response import AuditLogUiResponse + from instana_client.models.author import Author + from instana_client.models.availability_blueprint_indicator import AvailabilityBlueprintIndicator + from instana_client.models.availability_sli_entity import AvailabilitySliEntity + from instana_client.models.available_metrics import AvailableMetrics + from instana_client.models.available_plugins import AvailablePlugins + from instana_client.models.backend_trace_reference import BackendTraceReference + from instana_client.models.bidirectional_ms_teams_app_integration import BidirectionalMsTeamsAppIntegration + from instana_client.models.bidirectional_slack_app_integration import BidirectionalSlackAppIntegration + from instana_client.models.binary_operator_dto import BinaryOperatorDTO + from instana_client.models.browser_script_configuration import BrowserScriptConfiguration + from instana_client.models.browser_script_configuration_update import BrowserScriptConfigurationUpdate + from instana_client.models.built_in_event_specification import BuiltInEventSpecification + from instana_client.models.built_in_event_specification_with_last_updated import BuiltInEventSpecificationWithLastUpdated + from instana_client.models.bulk_alert_config_request import BulkAlertConfigRequest + from instana_client.models.business_activity import BusinessActivity + from instana_client.models.business_perspective_config import BusinessPerspectiveConfig + from instana_client.models.call_groups_item import CallGroupsItem + from instana_client.models.call_groups_result import CallGroupsResult + from instana_client.models.call_relation import CallRelation + from instana_client.models.calls_event_result import CallsEventResult + from instana_client.models.change_summary import ChangeSummary + from instana_client.models.cloudfoundry_physical_context import CloudfoundryPhysicalContext + from instana_client.models.condition import Condition + from instana_client.models.config_version import ConfigVersion + from instana_client.models.correction import Correction + from instana_client.models.correction_configuration import CorrectionConfiguration + from instana_client.models.correction_scheduling import CorrectionScheduling + from instana_client.models.correction_window import CorrectionWindow + from instana_client.models.crash_mobile_app_alert_rule import CrashMobileAppAlertRule + from instana_client.models.create_evaluation_request import CreateEvaluationRequest + from instana_client.models.create_evaluation_response import CreateEvaluationResponse + from instana_client.models.create_website_request_inner import CreateWebsiteRequestInner + from instana_client.models.cursor_paginated_business_activity_item import CursorPaginatedBusinessActivityItem + from instana_client.models.cursor_pagination import CursorPagination + from instana_client.models.cursor_pagination_with_ui_cursor_infra_explore_cursor import CursorPaginationWithUiCursorInfraExploreCursor + from instana_client.models.custom_blueprint_indicator import CustomBlueprintIndicator + from instana_client.models.custom_dashboard import CustomDashboard + from instana_client.models.custom_dashboard_preview import CustomDashboardPreview + from instana_client.models.custom_dashboard_with_user_specific_information import CustomDashboardWithUserSpecificInformation + from instana_client.models.custom_dependency import CustomDependency + from instana_client.models.custom_email_subject_prefix import CustomEmailSubjectPrefix + from instana_client.models.custom_entity_model import CustomEntityModel + from instana_client.models.custom_entity_with_metadata import CustomEntityWithMetadata + from instana_client.models.custom_event_mobile_app_alert_rule import CustomEventMobileAppAlertRule + from instana_client.models.custom_event_specification import CustomEventSpecification + from instana_client.models.custom_event_specification_with_last_updated import CustomEventSpecificationWithLastUpdated + from instana_client.models.custom_event_website_alert_rule import CustomEventWebsiteAlertRule + from instana_client.models.custom_metric import CustomMetric + from instana_client.models.custom_metric_application_alert_rule import CustomMetricApplicationAlertRule + from instana_client.models.custom_payload_configuration import CustomPayloadConfiguration + from instana_client.models.custom_payload_field import CustomPayloadField + from instana_client.models.custom_payload_with_last_updated import CustomPayloadWithLastUpdated + from instana_client.models.custom_payload_with_version import CustomPayloadWithVersion + from instana_client.models.custom_tag import CustomTag + from instana_client.models.customer_email import CustomerEmail + from instana_client.models.dns_configuration import DNSConfiguration + from instana_client.models.dns_configuration_update import DNSConfigurationUpdate + from instana_client.models.dns_filter_query_time import DNSFilterQueryTime + from instana_client.models.dns_filter_target_value import DNSFilterTargetValue + from instana_client.models.dashboard_api_token import DashboardApiToken + from instana_client.models.database_integration import DatabaseIntegration + from instana_client.models.deprecated_tag_filter import DeprecatedTagFilter + from instana_client.models.duration import Duration + from instana_client.models.dynamic_field import DynamicField + from instana_client.models.dynamic_field_value import DynamicFieldValue + from instana_client.models.dynamic_parameter import DynamicParameter + from instana_client.models.dynamic_tag import DynamicTag + from instana_client.models.edit_user import EditUser + from instana_client.models.email_integration import EmailIntegration + from instana_client.models.empty_configuration import EmptyConfiguration + from instana_client.models.endpoint import Endpoint + from instana_client.models.endpoint_config import EndpointConfig + from instana_client.models.endpoint_event_result import EndpointEventResult + from instana_client.models.endpoint_item import EndpointItem + from instana_client.models.endpoint_metric_result import EndpointMetricResult + from instana_client.models.endpoint_node import EndpointNode + from instana_client.models.endpoint_result import EndpointResult + from instana_client.models.endpoint_simple import EndpointSimple + from instana_client.models.entity_count_rule import EntityCountRule + from instana_client.models.entity_count_verification_rule import EntityCountVerificationRule + from instana_client.models.entity_health_info import EntityHealthInfo + from instana_client.models.entity_id import EntityId + from instana_client.models.entity_metric import EntityMetric + from instana_client.models.entity_metric_scope import EntityMetricScope + from instana_client.models.entity_verification_rule import EntityVerificationRule + from instana_client.models.error_budget_alert_rule import ErrorBudgetAlertRule + from instana_client.models.errors_application_alert_rule import ErrorsApplicationAlertRule + from instana_client.models.evaluation_detail_response import EvaluationDetailResponse + from instana_client.models.evaluation_list_item import EvaluationListItem + from instana_client.models.evaluation_list_response import EvaluationListResponse + from instana_client.models.evaluator import Evaluator + from instana_client.models.event import Event + from instana_client.models.event_filtering_configuration import EventFilteringConfiguration + from instana_client.models.event_result import EventResult + from instana_client.models.event_specification_info import EventSpecificationInfo + from instana_client.models.extended_service import ExtendedService + from instana_client.models.failure_synthetic_alert_rule import FailureSyntheticAlertRule + from instana_client.models.filter_interface import FilterInterface + from instana_client.models.fixed_http_path_segment_matching_rule import FixedHttpPathSegmentMatchingRule + from instana_client.models.fixed_time_window import FixedTimeWindow + from instana_client.models.gateway_status_response import GatewayStatusResponse + from instana_client.models.generic_infra_alert_rule import GenericInfraAlertRule + from instana_client.models.geo_location_configuration import GeoLocationConfiguration + from instana_client.models.geo_mapping_rule import GeoMappingRule + from instana_client.models.geo_subdivision import GeoSubdivision + from instana_client.models.get_action_beacons_result import GetActionBeaconsResult + from instana_client.models.get_activities import GetActivities + from instana_client.models.get_application_metrics import GetApplicationMetrics + from instana_client.models.get_applications import GetApplications + from instana_client.models.get_available_metrics_query import GetAvailableMetricsQuery + from instana_client.models.get_available_plugins_query import GetAvailablePluginsQuery + from instana_client.models.get_call_groups import GetCallGroups + from instana_client.models.get_combined_metrics import GetCombinedMetrics + from instana_client.models.get_dynamic_parameter_values import GetDynamicParameterValues + from instana_client.models.get_endpoints import GetEndpoints + from instana_client.models.get_infrastructure_groups_query import GetInfrastructureGroupsQuery + from instana_client.models.get_infrastructure_query import GetInfrastructureQuery + from instana_client.models.get_metrics_result import GetMetricsResult + from instana_client.models.get_mobile_app_beacon_groups import GetMobileAppBeaconGroups + from instana_client.models.get_mobile_app_beacons import GetMobileAppBeacons + from instana_client.models.get_mobile_app_metrics import GetMobileAppMetrics + from instana_client.models.get_mobile_app_metrics_v2 import GetMobileAppMetricsV2 + from instana_client.models.get_payload_keys_result import GetPayloadKeysResult + from instana_client.models.get_services import GetServices + from instana_client.models.get_session_replay_metadata_result import GetSessionReplayMetadataResult + from instana_client.models.get_snapshots_query import GetSnapshotsQuery + from instana_client.models.get_test_result import GetTestResult + from instana_client.models.get_test_result_analytic import GetTestResultAnalytic + from instana_client.models.get_test_result_base import GetTestResultBase + from instana_client.models.get_test_result_list import GetTestResultList + from instana_client.models.get_test_summary_result import GetTestSummaryResult + from instana_client.models.get_trace_download_result_item import GetTraceDownloadResultItem + from instana_client.models.get_trace_groups import GetTraceGroups + from instana_client.models.get_traces import GetTraces + from instana_client.models.get_website_beacon_groups import GetWebsiteBeaconGroups + from instana_client.models.get_website_beacons import GetWebsiteBeacons + from instana_client.models.get_website_metrics import GetWebsiteMetrics + from instana_client.models.get_website_metrics_v2 import GetWebsiteMetricsV2 + from instana_client.models.git_hub_configuration import GitHubConfiguration + from instana_client.models.global_application_alert_config_with_metadata import GlobalApplicationAlertConfigWithMetadata + from instana_client.models.global_applications_alert_config import GlobalApplicationsAlertConfig + from instana_client.models.google_chat_integration import GoogleChatIntegration + from instana_client.models.graph_edge import GraphEdge + from instana_client.models.graph_node import GraphNode + from instana_client.models.group import Group + from instana_client.models.group_by_tag import GroupByTag + from instana_client.models.health_state import HealthState + from instana_client.models.historic_baseline import HistoricBaseline + from instana_client.models.host_availability_rule import HostAvailabilityRule + from instana_client.models.http_action_configuration import HttpActionConfiguration + from instana_client.models.http_action_configuration_update import HttpActionConfigurationUpdate + from instana_client.models.http_endpoint_config import HttpEndpointConfig + from instana_client.models.http_endpoint_rule import HttpEndpointRule + from instana_client.models.http_path_segment_matching_rule import HttpPathSegmentMatchingRule + from instana_client.models.http_script_configuration import HttpScriptConfiguration + from instana_client.models.http_script_configuration_update import HttpScriptConfigurationUpdate + from instana_client.models.hyper_param import HyperParam + from instana_client.models.icmp_configuration import ICMPConfiguration + from instana_client.models.icmp_configuration_update import ICMPConfigurationUpdate + from instana_client.models.icmp_validation import ICMPValidation + from instana_client.models.ip_filtering import IPFiltering + from instana_client.models.ip_filtering_rule_dto import IPFilteringRuleDto + from instana_client.models.ip_filtering_upsert import IPFilteringUpsert + from instana_client.models.identity_provider_patch import IdentityProviderPatch + from instana_client.models.idp_status_update import IdpStatusUpdate + from instana_client.models.impacted_beacon_info import ImpactedBeaconInfo + from instana_client.models.infra_alert_config import InfraAlertConfig + from instana_client.models.infra_alert_config_with_metadata import InfraAlertConfigWithMetadata + from instana_client.models.infra_alert_rule import InfraAlertRule + from instana_client.models.infra_event_result import InfraEventResult + from instana_client.models.infra_slo_entity import InfraSloEntity + from instana_client.models.infra_time_threshold import InfraTimeThreshold + from instana_client.models.infrastructure_entities_result import InfrastructureEntitiesResult + from instana_client.models.infrastructure_group import InfrastructureGroup + from instana_client.models.infrastructure_groups_result import InfrastructureGroupsResult + from instana_client.models.infrastructure_item import InfrastructureItem + from instana_client.models.infrastructure_metric_result import InfrastructureMetricResult + from instana_client.models.instana_version_info import InstanaVersionInfo + from instana_client.models.integration_overview import IntegrationOverview + from instana_client.models.invitation import Invitation + from instana_client.models.invitation_response import InvitationResponse + from instana_client.models.invitation_result import InvitationResult + from instana_client.models.ip_masking_configuration import IpMaskingConfiguration + from instana_client.models.js_stack_trace_line import JsStackTraceLine + from instana_client.models.kubernetes_physical_context import KubernetesPhysicalContext + from instana_client.models.llm_egress_gateway import LLMEgressGateway + from instana_client.models.llm_gateway_capability import LLMGatewayCapability + from instana_client.models.llm_gateway_model import LLMGatewayModel + from instana_client.models.llm_gateway_service import LLMGatewayService + from instana_client.models.llm_gateway_test_connection_request import LLMGatewayTestConnectionRequest + from instana_client.models.latency_blueprint_indicator import LatencyBlueprintIndicator + from instana_client.models.llm_model_price import LlmModelPrice + from instana_client.models.llm_model_price_metadata import LlmModelPriceMetadata + from instana_client.models.location_status import LocationStatus + from instana_client.models.log_alert_config import LogAlertConfig + from instana_client.models.log_alert_config_with_metadata import LogAlertConfigWithMetadata + from instana_client.models.log_alert_rule import LogAlertRule + from instana_client.models.log_count_alert_rule import LogCountAlertRule + from instana_client.models.log_event_result import LogEventResult + from instana_client.models.log_time_threshold import LogTimeThreshold + from instana_client.models.log_volume_group import LogVolumeGroup + from instana_client.models.log_volume_usage_item import LogVolumeUsageItem + from instana_client.models.log_volume_usage_result import LogVolumeUsageResult + from instana_client.models.logging_perspective import LoggingPerspective + from instana_client.models.logs_api_response import LogsApiResponse + from instana_client.models.logs_application_alert_rule import LogsApplicationAlertRule + from instana_client.models.logs_query import LogsQuery + from instana_client.models.maintenance_config import MaintenanceConfig + from instana_client.models.maintenance_config_scheduling import MaintenanceConfigScheduling + from instana_client.models.maintenance_config_v2 import MaintenanceConfigV2 + from instana_client.models.maintenance_config_v2_with_state_and_occurrence import MaintenanceConfigV2WithStateAndOccurrence + from instana_client.models.maintenance_config_with_last_updated import MaintenanceConfigWithLastUpdated + from instana_client.models.maintenance_window import MaintenanceWindow + from instana_client.models.manual_alerting_channel_configuration import ManualAlertingChannelConfiguration + from instana_client.models.manual_close_info import ManualCloseInfo + from instana_client.models.manual_service_config import ManualServiceConfig + from instana_client.models.mapping import Mapping + from instana_client.models.mapping_overview import MappingOverview + from instana_client.models.match_all_http_path_segment_matching_rule import MatchAllHttpPathSegmentMatchingRule + from instana_client.models.match_expression_dto import MatchExpressionDTO + from instana_client.models.meta_data import MetaData + from instana_client.models.metric_api_result import MetricAPIResult + from instana_client.models.metric_config import MetricConfig + from instana_client.models.metric_configuration import MetricConfiguration + from instana_client.models.metric_description import MetricDescription + from instana_client.models.metric_field import MetricField + from instana_client.models.metric_field_value import MetricFieldValue + from instana_client.models.metric_instance import MetricInstance + from instana_client.models.metric_item import MetricItem + from instana_client.models.metric_metadata import MetricMetadata + from instana_client.models.metric_pattern import MetricPattern + from instana_client.models.metrics_result import MetricsResult + from instana_client.models.metrics_result_item import MetricsResultItem + from instana_client.models.metrics_test_result_item import MetricsTestResultItem + from instana_client.models.mobile_app import MobileApp + from instana_client.models.mobile_app_alert_config import MobileAppAlertConfig + from instana_client.models.mobile_app_alert_config_with_rbac_tag import MobileAppAlertConfigWithRBACTag + from instana_client.models.mobile_app_alert_rule import MobileAppAlertRule + from instana_client.models.mobile_app_beacon_groups_item import MobileAppBeaconGroupsItem + from instana_client.models.mobile_app_beacon_groups_result import MobileAppBeaconGroupsResult + from instana_client.models.mobile_app_beacon_result import MobileAppBeaconResult + from instana_client.models.mobile_app_beacon_tag_group import MobileAppBeaconTagGroup + from instana_client.models.mobile_app_beacons_item import MobileAppBeaconsItem + from instana_client.models.mobile_app_event_result import MobileAppEventResult + from instana_client.models.mobile_app_metric_result import MobileAppMetricResult + from instana_client.models.mobile_app_monitoring_beacon import MobileAppMonitoringBeacon + from instana_client.models.mobile_app_monitoring_metric_description import MobileAppMonitoringMetricDescription + from instana_client.models.mobile_app_monitoring_metrics_configuration import MobileAppMonitoringMetricsConfiguration + from instana_client.models.mobile_app_time_threshold import MobileAppTimeThreshold + from instana_client.models.mobile_slo_entity import MobileSloEntity + from instana_client.models.model_field import ModelField + from instana_client.models.monitored_entities_stats import MonitoredEntitiesStats + from instana_client.models.monitoring_state import MonitoringState + from instana_client.models.multiple_scripts_configuration import MultipleScriptsConfiguration + from instana_client.models.ns1_integration import NS1Integration + from instana_client.models.new_application_config import NewApplicationConfig + from instana_client.models.new_business_perspective_config import NewBusinessPerspectiveConfig + from instana_client.models.new_manual_service_config import NewManualServiceConfig + from instana_client.models.notification import Notification + from instana_client.models.o_auth_config import OAuthConfig + from instana_client.models.o_auth_integration import OAuthIntegration + from instana_client.models.o_auth_token import OAuthToken + from instana_client.models.occurrence import Occurrence + from instana_client.models.office365_integration import Office365Integration + from instana_client.models.one_time_maintenance_window import OneTimeMaintenanceWindow + from instana_client.models.opsgenie_integration import OpsgenieIntegration + from instana_client.models.order import Order + from instana_client.models.pagerduty_integration import PagerdutyIntegration + from instana_client.models.paginated_result import PaginatedResult + from instana_client.models.pagination import Pagination + from instana_client.models.parameter import Parameter + from instana_client.models.parameter_value import ParameterValue + from instana_client.models.path_parameter_http_path_segment_matching_rule import PathParameterHttpPathSegmentMatchingRule + from instana_client.models.physical_context import PhysicalContext + from instana_client.models.plugin_result import PluginResult + from instana_client.models.policy import Policy + from instana_client.models.policy_runnable import PolicyRunnable + from instana_client.models.policy_scheduling import PolicyScheduling + from instana_client.models.post_mobile_app_source_map_config_request import PostMobileAppSourceMapConfigRequest + from instana_client.models.post_snapshots_result import PostSnapshotsResult + from instana_client.models.prefix_object import PrefixObject + from instana_client.models.problem import Problem + from instana_client.models.prometheus_webhook_integration import PrometheusWebhookIntegration + from instana_client.models.rbac_restrictions import RbacRestrictions + from instana_client.models.recurrent_maintenance_window import RecurrentMaintenanceWindow + from instana_client.models.release import Release + from instana_client.models.release_scope import ReleaseScope + from instana_client.models.release_with_metadata import ReleaseWithMetadata + from instana_client.models.retention_period import RetentionPeriod + from instana_client.models.role_mapping_overview import RoleMappingOverview + from instana_client.models.rolling_time_window import RollingTimeWindow + from instana_client.models.rule_input import RuleInput + from instana_client.models.rule_with_threshold_application_alert_rule import RuleWithThresholdApplicationAlertRule + from instana_client.models.rule_with_threshold_infra_alert_rule import RuleWithThresholdInfraAlertRule + from instana_client.models.rule_with_threshold_log_alert_rule import RuleWithThresholdLogAlertRule + from instana_client.models.rule_with_threshold_mobile_app_alert_rule import RuleWithThresholdMobileAppAlertRule + from instana_client.models.rule_with_threshold_website_alert_rule import RuleWithThresholdWebsiteAlertRule + from instana_client.models.run_configuration import RunConfiguration + from instana_client.models.run_evaluation_response import RunEvaluationResponse + from instana_client.models.slo_config_with_rbac_tag import SLOConfigWithRBACTag + from instana_client.models.ssl_certificate_configuration import SSLCertificateConfiguration + from instana_client.models.ssl_certificate_configuration_update import SSLCertificateConfigurationUpdate + from instana_client.models.ssl_certificate_validation import SSLCertificateValidation + from instana_client.models.salesforce_integration import SalesforceIntegration + from instana_client.models.sampling_metadata import SamplingMetadata + from instana_client.models.saturation_blueprint_indicator import SaturationBlueprintIndicator + from instana_client.models.scope_binding import ScopeBinding + from instana_client.models.search_field_result import SearchFieldResult + from instana_client.models.service import Service + from instana_client.models.service_config import ServiceConfig + from instana_client.models.service_event_result import ServiceEventResult + from instana_client.models.service_item import ServiceItem + from instana_client.models.service_level_indicator import ServiceLevelIndicator + from instana_client.models.service_level_objective_alert_rule import ServiceLevelObjectiveAlertRule + from instana_client.models.service_levels_alert_config import ServiceLevelsAlertConfig + from instana_client.models.service_levels_alert_config_with_rbac_tag import ServiceLevelsAlertConfigWithRBACTag + from instana_client.models.service_levels_alert_rule import ServiceLevelsAlertRule + from instana_client.models.service_levels_burn_rate_config import ServiceLevelsBurnRateConfig + from instana_client.models.service_levels_burn_rate_time_windows import ServiceLevelsBurnRateTimeWindows + from instana_client.models.service_levels_static_threshold_config import ServiceLevelsStaticThresholdConfig + from instana_client.models.service_levels_time_threshold import ServiceLevelsTimeThreshold + from instana_client.models.service_levelse_alert_config_with_metadata import ServiceLevelseAlertConfigWithMetadata + from instana_client.models.service_map import ServiceMap + from instana_client.models.service_map_connection import ServiceMapConnection + from instana_client.models.service_matching_rule import ServiceMatchingRule + from instana_client.models.service_metric_result import ServiceMetricResult + from instana_client.models.service_node import ServiceNode + from instana_client.models.service_now_enhanced_integration import ServiceNowEnhancedIntegration + from instana_client.models.service_now_integration import ServiceNowIntegration + from instana_client.models.service_result import ServiceResult + from instana_client.models.service_scope import ServiceScope + from instana_client.models.service_scope_with_metadata import ServiceScopeWithMetadata + from instana_client.models.service_scoped_to import ServiceScopedTo + from instana_client.models.service_scoped_to_with_metadata import ServiceScopedToWithMetadata + from instana_client.models.service_simple import ServiceSimple + from instana_client.models.session_replay_metadata import SessionReplayMetadata + from instana_client.models.session_replay_timestamps import SessionReplayTimestamps + from instana_client.models.session_settings import SessionSettings + from instana_client.models.simple_metric_configuration import SimpleMetricConfiguration + from instana_client.models.slack_integration import SlackIntegration + from instana_client.models.sli_configuration import SliConfiguration + from instana_client.models.sli_configuration_with_last_updated import SliConfigurationWithLastUpdated + from instana_client.models.sli_entity import SliEntity + from instana_client.models.sli_report import SliReport + from instana_client.models.slo_entity import SloEntity + from instana_client.models.slo_health_snapshot import SloHealthSnapshot + from instana_client.models.slo_health_snapshot_item import SloHealthSnapshotItem + from instana_client.models.slo_report import SloReport + from instana_client.models.slowness_application_alert_rule import SlownessApplicationAlertRule + from instana_client.models.slowness_mobile_app_alert_rule import SlownessMobileAppAlertRule + from instana_client.models.slowness_website_alert_rule import SlownessWebsiteAlertRule + from instana_client.models.snapshot_item import SnapshotItem + from instana_client.models.snapshot_preview import SnapshotPreview + from instana_client.models.snapshot_result import SnapshotResult + from instana_client.models.software_user import SoftwareUser + from instana_client.models.software_version import SoftwareVersion + from instana_client.models.source_map_file_blob import SourceMapFileBlob + from instana_client.models.source_map_file_meta import SourceMapFileMeta + from instana_client.models.source_map_upload_config import SourceMapUploadConfig + from instana_client.models.source_map_upload_configs import SourceMapUploadConfigs + from instana_client.models.span_excerpt import SpanExcerpt + from instana_client.models.span_relation import SpanRelation + from instana_client.models.specific_js_errors_website_alert_rule import SpecificJsErrorsWebsiteAlertRule + from instana_client.models.splunk_integration import SplunkIntegration + from instana_client.models.stack_trace_item import StackTraceItem + from instana_client.models.stack_trace_line import StackTraceLine + from instana_client.models.static_baseline_threshold_rule import StaticBaselineThresholdRule + from instana_client.models.static_string_field import StaticStringField + from instana_client.models.static_threshold import StaticThreshold + from instana_client.models.static_threshold_rule import StaticThresholdRule + from instana_client.models.status_code_application_alert_rule import StatusCodeApplicationAlertRule + from instana_client.models.status_code_mobile_app_alert_rule import StatusCodeMobileAppAlertRule + from instana_client.models.status_code_website_alert_rule import StatusCodeWebsiteAlertRule + from instana_client.models.synthetic_alert_config import SyntheticAlertConfig + from instana_client.models.synthetic_alert_config_with_metadata import SyntheticAlertConfigWithMetadata + from instana_client.models.synthetic_alert_config_with_rbac_tag import SyntheticAlertConfigWithRBACTag + from instana_client.models.synthetic_alert_rule import SyntheticAlertRule + from instana_client.models.synthetic_bulk_response import SyntheticBulkResponse + from instana_client.models.synthetic_call_config import SyntheticCallConfig + from instana_client.models.synthetic_call_rule import SyntheticCallRule + from instana_client.models.synthetic_call_with_defaults_config import SyntheticCallWithDefaultsConfig + from instana_client.models.synthetic_configuration import SyntheticConfiguration + from instana_client.models.synthetic_configuration_update import SyntheticConfigurationUpdate + from instana_client.models.synthetic_credential import SyntheticCredential + from instana_client.models.synthetic_datacenter import SyntheticDatacenter + from instana_client.models.synthetic_datacenter_configuration import SyntheticDatacenterConfiguration + from instana_client.models.synthetic_geo_point import SyntheticGeoPoint + from instana_client.models.synthetic_location import SyntheticLocation + from instana_client.models.synthetic_location_configuration import SyntheticLocationConfiguration + from instana_client.models.synthetic_metric_configuration import SyntheticMetricConfiguration + from instana_client.models.synthetic_metric_tag_group import SyntheticMetricTagGroup + from instana_client.models.synthetic_playback_capabilities import SyntheticPlaybackCapabilities + from instana_client.models.synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value import SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue + from instana_client.models.synthetic_resource_update_list_icmp_validation_list_icmp_validation import SyntheticResourceUpdateListICMPValidationListICMPValidation + from instana_client.models.synthetic_resource_update_list_network_profile_list_network_profile import SyntheticResourceUpdateListNetworkProfileListNetworkProfile + from instana_client.models.synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation import SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation + from instana_client.models.synthetic_resource_update_list_string_list_string import SyntheticResourceUpdateListStringListString + from instana_client.models.synthetic_resource_update_map_string_string_list_string import SyntheticResourceUpdateMapStringStringListString + from instana_client.models.synthetic_slo_entity import SyntheticSloEntity + from instana_client.models.synthetic_test import SyntheticTest + from instana_client.models.synthetic_test_cicd import SyntheticTestCICD + from instana_client.models.synthetic_test_cicd_customization import SyntheticTestCICDCustomization + from instana_client.models.synthetic_test_cicd_item import SyntheticTestCICDItem + from instana_client.models.synthetic_test_cicd_response import SyntheticTestCICDResponse + from instana_client.models.synthetic_test_deep_update import SyntheticTestDeepUpdate + from instana_client.models.synthetic_test_shallow_update import SyntheticTestShallowUpdate + from instana_client.models.synthetic_test_update import SyntheticTestUpdate + from instana_client.models.synthetic_time_threshold import SyntheticTimeThreshold + from instana_client.models.synthetic_type_configuration import SyntheticTypeConfiguration + from instana_client.models.synthetic_type_configuration_update import SyntheticTypeConfigurationUpdate + from instana_client.models.synthetics_event_result import SyntheticsEventResult + from instana_client.models.system_rule import SystemRule + from instana_client.models.system_rule_label import SystemRuleLabel + from instana_client.models.tag import Tag + from instana_client.models.tag_catalog import TagCatalog + from instana_client.models.tag_filter import TagFilter + from instana_client.models.tag_filter_expression import TagFilterExpression + from instana_client.models.tag_filter_expression_element import TagFilterExpressionElement + from instana_client.models.tag_matcher_dto import TagMatcherDTO + from instana_client.models.tag_tree_level import TagTreeLevel + from instana_client.models.tag_tree_node import TagTreeNode + from instana_client.models.tag_tree_tag import TagTreeTag + from instana_client.models.test_common_properties import TestCommonProperties + from instana_client.models.test_connection_response import TestConnectionResponse + from instana_client.models.test_last_error import TestLastError + from instana_client.models.test_result import TestResult + from instana_client.models.test_result_common_properties import TestResultCommonProperties + from instana_client.models.test_result_detail_data import TestResultDetailData + from instana_client.models.test_result_item import TestResultItem + from instana_client.models.test_result_list_item import TestResultListItem + from instana_client.models.test_result_list_result import TestResultListResult + from instana_client.models.test_result_metadata import TestResultMetadata + from instana_client.models.test_result_subtransaction import TestResultSubtransaction + from instana_client.models.threshold import Threshold + from instana_client.models.threshold_config_rule import ThresholdConfigRule + from instana_client.models.threshold_rule import ThresholdRule + from instana_client.models.throughput_application_alert_rule import ThroughputApplicationAlertRule + from instana_client.models.throughput_mobile_app_alert_rule import ThroughputMobileAppAlertRule + from instana_client.models.throughput_website_alert_rule import ThroughputWebsiteAlertRule + from instana_client.models.time_config import TimeConfig + from instana_client.models.time_frame import TimeFrame + from instana_client.models.time_window import TimeWindow + from instana_client.models.topology import Topology + from instana_client.models.trace import Trace + from instana_client.models.trace_activity_tree_node_details import TraceActivityTreeNodeDetails + from instana_client.models.trace_download_result import TraceDownloadResult + from instana_client.models.trace_groups_item import TraceGroupsItem + from instana_client.models.trace_groups_result import TraceGroupsResult + from instana_client.models.trace_impact_application_time_threshold import TraceImpactApplicationTimeThreshold + from instana_client.models.trace_item import TraceItem + from instana_client.models.trace_result import TraceResult + from instana_client.models.trace_sampling_config import TraceSamplingConfig + from instana_client.models.traffic_blueprint_indicator import TrafficBlueprintIndicator + from instana_client.models.trigger import Trigger + from instana_client.models.type_configuration import TypeConfiguration + from instana_client.models.unified_beacon import UnifiedBeacon + from instana_client.models.unsupported_http_path_segment_matching_rule import UnsupportedHttpPathSegmentMatchingRule + from instana_client.models.update_evaluation_request import UpdateEvaluationRequest + from instana_client.models.updated_business_perspective_config import UpdatedBusinessPerspectiveConfig + from instana_client.models.usage_result import UsageResult + from instana_client.models.usage_result_items import UsageResultItems + from instana_client.models.user_basic_result import UserBasicResult + from instana_client.models.user_impact_mobile_app_time_threshold import UserImpactMobileAppTimeThreshold + from instana_client.models.user_impact_website_time_threshold import UserImpactWebsiteTimeThreshold + from instana_client.models.user_result import UserResult + from instana_client.models.users_result import UsersResult + from instana_client.models.validated_alerting_channel_input_info import ValidatedAlertingChannelInputInfo + from instana_client.models.validated_alerting_configuration import ValidatedAlertingConfiguration + from instana_client.models.validated_maintenance_config_v2_with_state_and_occurrence import ValidatedMaintenanceConfigV2WithStateAndOccurrence + from instana_client.models.validated_maintenance_config_with_status import ValidatedMaintenanceConfigWithStatus + from instana_client.models.victor_ops_integration import VictorOpsIntegration + from instana_client.models.violations_in_period_application_time_threshold import ViolationsInPeriodApplicationTimeThreshold + from instana_client.models.violations_in_period_mobile_app_time_threshold import ViolationsInPeriodMobileAppTimeThreshold + from instana_client.models.violations_in_period_website_time_threshold import ViolationsInPeriodWebsiteTimeThreshold + from instana_client.models.violations_in_sequence_application_time_threshold import ViolationsInSequenceApplicationTimeThreshold + from instana_client.models.violations_in_sequence_infra_time_threshold import ViolationsInSequenceInfraTimeThreshold + from instana_client.models.violations_in_sequence_log_time_threshold import ViolationsInSequenceLogTimeThreshold + from instana_client.models.violations_in_sequence_mobile_app_time_threshold import ViolationsInSequenceMobileAppTimeThreshold + from instana_client.models.violations_in_sequence_synthetic_time_threshold import ViolationsInSequenceSyntheticTimeThreshold + from instana_client.models.violations_in_sequence_website_time_threshold import ViolationsInSequenceWebsiteTimeThreshold + from instana_client.models.watson_ai_ops_webhook_integration import WatsonAIOpsWebhookIntegration + from instana_client.models.webex_teams_webhook_integration import WebexTeamsWebhookIntegration + from instana_client.models.webhook_integration import WebhookIntegration + from instana_client.models.webpage_action_configuration import WebpageActionConfiguration + from instana_client.models.webpage_action_configuration_update import WebpageActionConfigurationUpdate + from instana_client.models.webpage_script_configuration import WebpageScriptConfiguration + from instana_client.models.webpage_script_configuration_update import WebpageScriptConfigurationUpdate + from instana_client.models.website import Website + from instana_client.models.website_alert_config import WebsiteAlertConfig + from instana_client.models.website_alert_config_with_metadata import WebsiteAlertConfigWithMetadata + from instana_client.models.website_alert_config_with_rbac_tag import WebsiteAlertConfigWithRBACTag + from instana_client.models.website_alert_rule import WebsiteAlertRule + from instana_client.models.website_apdex_entity import WebsiteApdexEntity + from instana_client.models.website_beacon_groups_item import WebsiteBeaconGroupsItem + from instana_client.models.website_beacon_groups_result import WebsiteBeaconGroupsResult + from instana_client.models.website_beacon_result import WebsiteBeaconResult + from instana_client.models.website_beacon_tag_group import WebsiteBeaconTagGroup + from instana_client.models.website_beacons_item import WebsiteBeaconsItem + from instana_client.models.website_event_based_sli_entity import WebsiteEventBasedSliEntity + from instana_client.models.website_event_result import WebsiteEventResult + from instana_client.models.website_metric_result import WebsiteMetricResult + from instana_client.models.website_monitoring_beacon import WebsiteMonitoringBeacon + from instana_client.models.website_monitoring_metric_description import WebsiteMonitoringMetricDescription + from instana_client.models.website_monitoring_metrics_configuration import WebsiteMonitoringMetricsConfiguration + from instana_client.models.website_slo_entity import WebsiteSloEntity + from instana_client.models.website_time_based_sli_entity import WebsiteTimeBasedSliEntity + from instana_client.models.website_time_threshold import WebsiteTimeThreshold + from instana_client.models.widget import Widget + from instana_client.models.with_meta_data import WithMetaData + from instana_client.models.with_resolved_name import WithResolvedName + from instana_client.models.z_chat_ops_integration import ZChatOpsIntegration + +else: + from lazy_imports import LazyModule, as_package, load + + load( + LazyModule( + *as_package(__file__), + """# import models into model package from instana_client.models.abstract_integration import AbstractIntegration from instana_client.models.abstract_rule import AbstractRule from instana_client.models.access_rule import AccessRule @@ -48,6 +634,7 @@ from instana_client.models.api_create_group import ApiCreateGroup from instana_client.models.api_create_role import ApiCreateRole from instana_client.models.api_group import ApiGroup +from instana_client.models.api_group_to_team_role_migration import ApiGroupToTeamRoleMigration from instana_client.models.api_log_item import ApiLogItem from instana_client.models.api_log_tag import ApiLogTag from instana_client.models.api_member import ApiMember @@ -67,6 +654,7 @@ from instana_client.models.application_alert_config_with_metadata import ApplicationAlertConfigWithMetadata from instana_client.models.application_alert_rule import ApplicationAlertRule from instana_client.models.application_apdex_entity import ApplicationApdexEntity +from instana_client.models.application_batch_business_criticality_update import ApplicationBatchBusinessCriticalityUpdate from instana_client.models.application_config import ApplicationConfig from instana_client.models.application_event_result import ApplicationEventResult from instana_client.models.application_item import ApplicationItem @@ -98,6 +686,7 @@ from instana_client.models.call_groups_item import CallGroupsItem from instana_client.models.call_groups_result import CallGroupsResult from instana_client.models.call_relation import CallRelation +from instana_client.models.calls_event_result import CallsEventResult from instana_client.models.change_summary import ChangeSummary from instana_client.models.cloudfoundry_physical_context import CloudfoundryPhysicalContext from instana_client.models.condition import Condition @@ -224,8 +813,6 @@ from instana_client.models.graph_node import GraphNode from instana_client.models.group import Group from instana_client.models.group_by_tag import GroupByTag -from instana_client.models.group_mapping import GroupMapping -from instana_client.models.group_mapping_overview import GroupMappingOverview from instana_client.models.health_state import HealthState from instana_client.models.historic_baseline import HistoricBaseline from instana_client.models.host_availability_rule import HostAvailabilityRule @@ -283,6 +870,7 @@ from instana_client.models.log_volume_group import LogVolumeGroup from instana_client.models.log_volume_usage_item import LogVolumeUsageItem from instana_client.models.log_volume_usage_result import LogVolumeUsageResult +from instana_client.models.logging_perspective import LoggingPerspective from instana_client.models.logs_api_response import LogsApiResponse from instana_client.models.logs_application_alert_rule import LogsApplicationAlertRule from instana_client.models.logs_query import LogsQuery @@ -295,6 +883,8 @@ from instana_client.models.manual_alerting_channel_configuration import ManualAlertingChannelConfiguration from instana_client.models.manual_close_info import ManualCloseInfo from instana_client.models.manual_service_config import ManualServiceConfig +from instana_client.models.mapping import Mapping +from instana_client.models.mapping_overview import MappingOverview from instana_client.models.match_all_http_path_segment_matching_rule import MatchAllHttpPathSegmentMatchingRule from instana_client.models.match_expression_dto import MatchExpressionDTO from instana_client.models.meta_data import MetaData @@ -422,6 +1012,8 @@ from instana_client.models.sli_entity import SliEntity from instana_client.models.sli_report import SliReport from instana_client.models.slo_entity import SloEntity +from instana_client.models.slo_health_snapshot import SloHealthSnapshot +from instana_client.models.slo_health_snapshot_item import SloHealthSnapshotItem from instana_client.models.slo_report import SloReport from instana_client.models.slowness_application_alert_rule import SlownessApplicationAlertRule from instana_client.models.slowness_mobile_app_alert_rule import SlownessMobileAppAlertRule @@ -586,3 +1178,9 @@ from instana_client.models.with_meta_data import WithMetaData from instana_client.models.with_resolved_name import WithResolvedName from instana_client.models.z_chat_ops_integration import ZChatOpsIntegration + +""", + name=__name__, + doc=__doc__, + ) + ) diff --git a/instana_client/models/abstract_integration.py b/instana_client/models/abstract_integration.py index e3038743..5ddd285d 100644 --- a/instana_client/models/abstract_integration.py +++ b/instana_client/models/abstract_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -19,7 +19,7 @@ import json from importlib import import_module -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional, Union from typing_extensions import Annotated from typing import Optional, Set @@ -54,41 +54,8 @@ class AbstractIntegration(BaseModel): id: Annotated[str, Field(min_length=1, strict=True)] = Field(description="Unique ID of the returned Alert Channel") kind: StrictStr = Field(description="The type of the Alerting Channel.") name: StrictStr = Field(description="The name of the Alerting Channel.") - test_event_type: Optional[StrictStr] = Field(default=None, alias="testEventType") - test_severity: Optional[StrictStr] = Field(default=None, alias="testSeverity") - test_state: Optional[StrictStr] = Field(default=None, alias="testState") timezone: Optional[StrictStr] = Field(default=None, description="The timezone to be used for DateTime") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone"] - - @field_validator('test_event_type') - def test_event_type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['INFRA_SMART_ALERT', 'LOG_SMART_ALERT', 'APPLICATION_SMART_ALERT', 'BUILT_IN_EVENT', 'CUSTOM_EVENT']): - raise ValueError("must be one of enum values ('INFRA_SMART_ALERT', 'LOG_SMART_ALERT', 'APPLICATION_SMART_ALERT', 'BUILT_IN_EVENT', 'CUSTOM_EVENT')") - return value - - @field_validator('test_severity') - def test_severity_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['WARNING', 'CRITICAL']): - raise ValueError("must be one of enum values ('WARNING', 'CRITICAL')") - return value - - @field_validator('test_state') - def test_state_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['OPEN', 'CLOSE']): - raise ValueError("must be one of enum values ('OPEN', 'CLOSE')") - return value + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone"] model_config = ConfigDict( populate_by_name=True, diff --git a/instana_client/models/abstract_rule.py b/instana_client/models/abstract_rule.py index 6916f5a9..fa7cc72c 100644 --- a/instana_client/models/abstract_rule.py +++ b/instana_client/models/abstract_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/access_rule.py b/instana_client/models/access_rule.py index 69d9ee76..bac1dc08 100644 --- a/instana_client/models/access_rule.py +++ b/instana_client/models/access_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action.py b/instana_client/models/action.py index 02d524e4..048ba524 100644 --- a/instana_client/models/action.py +++ b/instana_client/models/action.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_beacon.py b/instana_client/models/action_beacon.py index 567ad34d..75ac40fb 100644 --- a/instana_client/models/action_beacon.py +++ b/instana_client/models/action_beacon.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_configuration.py b/instana_client/models/action_configuration.py index afdcc16f..396b5501 100644 --- a/instana_client/models/action_configuration.py +++ b/instana_client/models/action_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_instance.py b/instana_client/models/action_instance.py index 5d3a30b9..bee9f8fa 100644 --- a/instana_client/models/action_instance.py +++ b/instana_client/models/action_instance.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_instance_metadata_entry.py b/instana_client/models/action_instance_metadata_entry.py index 7f9dbf6a..d6be2b4e 100644 --- a/instana_client/models/action_instance_metadata_entry.py +++ b/instana_client/models/action_instance_metadata_entry.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_instance_parameter.py b/instana_client/models/action_instance_parameter.py index c58febf1..858e8bd4 100644 --- a/instana_client/models/action_instance_parameter.py +++ b/instana_client/models/action_instance_parameter.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_instance_request.py b/instana_client/models/action_instance_request.py index 2d5cf5cf..49c10370 100644 --- a/instana_client/models/action_instance_request.py +++ b/instana_client/models/action_instance_request.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_instance_request_parameters.py b/instana_client/models/action_instance_request_parameters.py index c0b07e33..bc4505a0 100644 --- a/instana_client/models/action_instance_request_parameters.py +++ b/instana_client/models/action_instance_request_parameters.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_match.py b/instana_client/models/action_match.py index 25b695be..138caf88 100644 --- a/instana_client/models/action_match.py +++ b/instana_client/models/action_match.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_search_space.py b/instana_client/models/action_search_space.py index ab8c2e9c..53dcf69d 100644 --- a/instana_client/models/action_search_space.py +++ b/instana_client/models/action_search_space.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/adaptive_baseline.py b/instana_client/models/adaptive_baseline.py index 6aa7e055..a407eaff 100644 --- a/instana_client/models/adaptive_baseline.py +++ b/instana_client/models/adaptive_baseline.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/adaptive_threshold_rule.py b/instana_client/models/adaptive_threshold_rule.py index fa01110f..438213f2 100644 --- a/instana_client/models/adaptive_threshold_rule.py +++ b/instana_client/models/adaptive_threshold_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/adjusted_timeframe.py b/instana_client/models/adjusted_timeframe.py index 4846a4b5..9d0ce18f 100644 --- a/instana_client/models/adjusted_timeframe.py +++ b/instana_client/models/adjusted_timeframe.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/advanced_custom_blueprint_indicator.py b/instana_client/models/advanced_custom_blueprint_indicator.py index 20a13351..0a7a1e1a 100644 --- a/instana_client/models/advanced_custom_blueprint_indicator.py +++ b/instana_client/models/advanced_custom_blueprint_indicator.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/advanced_filter.py b/instana_client/models/advanced_filter.py index a93cb88b..5c158ffc 100644 --- a/instana_client/models/advanced_filter.py +++ b/instana_client/models/advanced_filter.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/agent_configuration_update.py b/instana_client/models/agent_configuration_update.py index 8f129fce..de82c2b1 100644 --- a/instana_client/models/agent_configuration_update.py +++ b/instana_client/models/agent_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/agent_mode_update.py b/instana_client/models/agent_mode_update.py index 1ecbbe5d..b8f0b9e0 100644 --- a/instana_client/models/agent_mode_update.py +++ b/instana_client/models/agent_mode_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/alerting_configuration.py b/instana_client/models/alerting_configuration.py index 5abbb6b5..a3828b83 100644 --- a/instana_client/models/alerting_configuration.py +++ b/instana_client/models/alerting_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/alerting_configuration_with_last_updated.py b/instana_client/models/alerting_configuration_with_last_updated.py index 4e46941e..b4926ce9 100644 --- a/instana_client/models/alerting_configuration_with_last_updated.py +++ b/instana_client/models/alerting_configuration_with_last_updated.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/alerting_time_window.py b/instana_client/models/alerting_time_window.py index 965341f1..af8b5fd0 100644 --- a/instana_client/models/alerting_time_window.py +++ b/instana_client/models/alerting_time_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/apdex_alert_rule.py b/instana_client/models/apdex_alert_rule.py index 271fcb6c..5dc57df2 100644 --- a/instana_client/models/apdex_alert_rule.py +++ b/instana_client/models/apdex_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/apdex_config_with_rbac_tag.py b/instana_client/models/apdex_config_with_rbac_tag.py index c071a75b..563ac365 100644 --- a/instana_client/models/apdex_config_with_rbac_tag.py +++ b/instana_client/models/apdex_config_with_rbac_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/apdex_configuration.py b/instana_client/models/apdex_configuration.py index 0ff4c4d1..a3a3f056 100644 --- a/instana_client/models/apdex_configuration.py +++ b/instana_client/models/apdex_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/apdex_configuration_input.py b/instana_client/models/apdex_configuration_input.py index b8ba7446..280d1aeb 100644 --- a/instana_client/models/apdex_configuration_input.py +++ b/instana_client/models/apdex_configuration_input.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/apdex_entity.py b/instana_client/models/apdex_entity.py index 4715a33b..06919ddd 100644 --- a/instana_client/models/apdex_entity.py +++ b/instana_client/models/apdex_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/apdex_level.py b/instana_client/models/apdex_level.py index 6ffaeed5..e7a15c27 100644 --- a/instana_client/models/apdex_level.py +++ b/instana_client/models/apdex_level.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/apdex_report.py b/instana_client/models/apdex_report.py index b32b9c49..9d5c8f16 100644 --- a/instana_client/models/apdex_report.py +++ b/instana_client/models/apdex_report.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_create_group.py b/instana_client/models/api_create_group.py index a018cca6..01fbe417 100644 --- a/instana_client/models/api_create_group.py +++ b/instana_client/models/api_create_group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_create_role.py b/instana_client/models/api_create_role.py index 9ad7ad7a..6322223c 100644 --- a/instana_client/models/api_create_role.py +++ b/instana_client/models/api_create_role.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_group.py b/instana_client/models/api_group.py index 86887bfd..448ff306 100644 --- a/instana_client/models/api_group.py +++ b/instana_client/models/api_group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_group_to_team_role_migration.py b/instana_client/models/api_group_to_team_role_migration.py new file mode 100644 index 00000000..ad00a1b3 --- /dev/null +++ b/instana_client/models/api_group_to_team_role_migration.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class ApiGroupToTeamRoleMigration(BaseModel): + """ + ApiGroupToTeamRoleMigration + """ # noqa: E501 + target_role_id: Annotated[str, Field(min_length=1, strict=True)] = Field(description="The ID of the pre-existing role to assign to all migrated team members", alias="targetRoleId") + __properties: ClassVar[List[str]] = ["targetRoleId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ApiGroupToTeamRoleMigration from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ApiGroupToTeamRoleMigration from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "targetRoleId": obj.get("targetRoleId") + }) + return _obj + + diff --git a/instana_client/models/api_log_item.py b/instana_client/models/api_log_item.py index 70363f78..64f1ad48 100644 --- a/instana_client/models/api_log_item.py +++ b/instana_client/models/api_log_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_log_tag.py b/instana_client/models/api_log_tag.py index 13f9ab11..d40ecc34 100644 --- a/instana_client/models/api_log_tag.py +++ b/instana_client/models/api_log_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_member.py b/instana_client/models/api_member.py index 03dd9156..35536bbf 100644 --- a/instana_client/models/api_member.py +++ b/instana_client/models/api_member.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_permission_set.py b/instana_client/models/api_permission_set.py index 3a308c5a..973ce52f 100644 --- a/instana_client/models/api_permission_set.py +++ b/instana_client/models/api_permission_set.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_restricted_application_filter.py b/instana_client/models/api_restricted_application_filter.py index de976ebf..d32cd3c0 100644 --- a/instana_client/models/api_restricted_application_filter.py +++ b/instana_client/models/api_restricted_application_filter.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_role.py b/instana_client/models/api_role.py index aefdd46c..6425b794 100644 --- a/instana_client/models/api_role.py +++ b/instana_client/models/api_role.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_tag.py b/instana_client/models/api_tag.py index 5df9528f..b09d9ce6 100644 --- a/instana_client/models/api_tag.py +++ b/instana_client/models/api_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_team.py b/instana_client/models/api_team.py index 7107a22f..8c6eac65 100644 --- a/instana_client/models/api_team.py +++ b/instana_client/models/api_team.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_team_info.py b/instana_client/models/api_team_info.py index 1e1d828f..610c707f 100644 --- a/instana_client/models/api_team_info.py +++ b/instana_client/models/api_team_info.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_team_member.py b/instana_client/models/api_team_member.py index 8e21fbbe..8b31cc00 100644 --- a/instana_client/models/api_team_member.py +++ b/instana_client/models/api_team_member.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_team_role.py b/instana_client/models/api_team_role.py index c536193d..415544b7 100644 --- a/instana_client/models/api_team_role.py +++ b/instana_client/models/api_team_role.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_team_scope.py b/instana_client/models/api_team_scope.py index e70091f3..f9f25019 100644 --- a/instana_client/models/api_team_scope.py +++ b/instana_client/models/api_team_scope.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_token.py b/instana_client/models/api_token.py index 4f090251..93fbd185 100644 --- a/instana_client/models/api_token.py +++ b/instana_client/models/api_token.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/app_data_metric_configuration.py b/instana_client/models/app_data_metric_configuration.py index e5615acc..f1608990 100644 --- a/instana_client/models/app_data_metric_configuration.py +++ b/instana_client/models/app_data_metric_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application.py b/instana_client/models/application.py index a5e1d42c..847980be 100644 --- a/instana_client/models/application.py +++ b/instana_client/models/application.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_alert_config.py b/instana_client/models/application_alert_config.py index 1090156b..0506a26b 100644 --- a/instana_client/models/application_alert_config.py +++ b/instana_client/models/application_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_alert_config_with_metadata.py b/instana_client/models/application_alert_config_with_metadata.py index 6d74dcb3..0b9136c1 100644 --- a/instana_client/models/application_alert_config_with_metadata.py +++ b/instana_client/models/application_alert_config_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_alert_rule.py b/instana_client/models/application_alert_rule.py index 6ff51e64..67afa9b9 100644 --- a/instana_client/models/application_alert_rule.py +++ b/instana_client/models/application_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_apdex_entity.py b/instana_client/models/application_apdex_entity.py index 6385bd1d..2b255d86 100644 --- a/instana_client/models/application_apdex_entity.py +++ b/instana_client/models/application_apdex_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_batch_business_criticality_update.py b/instana_client/models/application_batch_business_criticality_update.py new file mode 100644 index 00000000..cb3825c8 --- /dev/null +++ b/instana_client/models/application_batch_business_criticality_update.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class ApplicationBatchBusinessCriticalityUpdate(BaseModel): + """ + ApplicationBatchBusinessCriticalityUpdate + """ # noqa: E501 + business_criticality: Annotated[int, Field(le=5, strict=True, ge=0)] = Field(alias="businessCriticality") + ids: Annotated[List[Annotated[str, Field(min_length=1, strict=True)]], Field(min_length=0, max_length=100)] + ids_unique: Optional[StrictBool] = Field(default=None, alias="idsUnique") + __properties: ClassVar[List[str]] = ["businessCriticality", "ids", "idsUnique"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ApplicationBatchBusinessCriticalityUpdate from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ApplicationBatchBusinessCriticalityUpdate from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "businessCriticality": obj.get("businessCriticality"), + "ids": obj.get("ids"), + "idsUnique": obj.get("idsUnique") + }) + return _obj + + diff --git a/instana_client/models/application_config.py b/instana_client/models/application_config.py index d962fd69..b7341c2f 100644 --- a/instana_client/models/application_config.py +++ b/instana_client/models/application_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -111,6 +111,11 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of tag_filter_expression if self.tag_filter_expression: _dict['tagFilterExpression'] = self.tag_filter_expression.to_dict() + # set to None if business_criticality (nullable) is None + # and model_fields_set contains the field + if self.business_criticality is None and "business_criticality" in self.model_fields_set: + _dict['businessCriticality'] = None + # set to None if tag_filter_expression (nullable) is None # and model_fields_set contains the field if self.tag_filter_expression is None and "tag_filter_expression" in self.model_fields_set: diff --git a/instana_client/models/application_event_result.py b/instana_client/models/application_event_result.py index a21cee16..b49287b5 100644 --- a/instana_client/models/application_event_result.py +++ b/instana_client/models/application_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_item.py b/instana_client/models/application_item.py index 1f53f5f5..f44c175b 100644 --- a/instana_client/models/application_item.py +++ b/instana_client/models/application_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_metric_result.py b/instana_client/models/application_metric_result.py index a945defc..2085f991 100644 --- a/instana_client/models/application_metric_result.py +++ b/instana_client/models/application_metric_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_node.py b/instana_client/models/application_node.py index 79fae0e0..2b5f251e 100644 --- a/instana_client/models/application_node.py +++ b/instana_client/models/application_node.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_result.py b/instana_client/models/application_result.py index a09b681c..ef3010d1 100644 --- a/instana_client/models/application_result.py +++ b/instana_client/models/application_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_scope.py b/instana_client/models/application_scope.py index 2359be19..9763481b 100644 --- a/instana_client/models/application_scope.py +++ b/instana_client/models/application_scope.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_scope_with_metadata.py b/instana_client/models/application_scope_with_metadata.py index b331d2e5..fed061d4 100644 --- a/instana_client/models/application_scope_with_metadata.py +++ b/instana_client/models/application_scope_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_sli_entity.py b/instana_client/models/application_sli_entity.py index ee8e1ca6..00b39011 100644 --- a/instana_client/models/application_sli_entity.py +++ b/instana_client/models/application_sli_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_slo_entity.py b/instana_client/models/application_slo_entity.py index 9c12c020..b7332730 100644 --- a/instana_client/models/application_slo_entity.py +++ b/instana_client/models/application_slo_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_time_threshold.py b/instana_client/models/application_time_threshold.py index ce34ea1f..39dc7f81 100644 --- a/instana_client/models/application_time_threshold.py +++ b/instana_client/models/application_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/audit_log_ui_response.py b/instana_client/models/audit_log_ui_response.py index a666c306..4051f801 100644 --- a/instana_client/models/audit_log_ui_response.py +++ b/instana_client/models/audit_log_ui_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/author.py b/instana_client/models/author.py index 05258f48..13ac0786 100644 --- a/instana_client/models/author.py +++ b/instana_client/models/author.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/availability_blueprint_indicator.py b/instana_client/models/availability_blueprint_indicator.py index 99f0b226..dae52ffd 100644 --- a/instana_client/models/availability_blueprint_indicator.py +++ b/instana_client/models/availability_blueprint_indicator.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/availability_sli_entity.py b/instana_client/models/availability_sli_entity.py index 3197b0f9..ea711372 100644 --- a/instana_client/models/availability_sli_entity.py +++ b/instana_client/models/availability_sli_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/available_metrics.py b/instana_client/models/available_metrics.py index bb624226..051a69eb 100644 --- a/instana_client/models/available_metrics.py +++ b/instana_client/models/available_metrics.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/available_plugins.py b/instana_client/models/available_plugins.py index 270133d6..b0484c8b 100644 --- a/instana_client/models/available_plugins.py +++ b/instana_client/models/available_plugins.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/backend_trace_reference.py b/instana_client/models/backend_trace_reference.py index 410a3e87..23f51816 100644 --- a/instana_client/models/backend_trace_reference.py +++ b/instana_client/models/backend_trace_reference.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/bidirectional_ms_teams_app_integration.py b/instana_client/models/bidirectional_ms_teams_app_integration.py index b4cea713..9c0e43d0 100644 --- a/instana_client/models/bidirectional_ms_teams_app_integration.py +++ b/instana_client/models/bidirectional_ms_teams_app_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -38,7 +38,7 @@ class BidirectionalMsTeamsAppIntegration(AbstractIntegration): team_name: Optional[StrictStr] = Field(default=None, alias="teamName") tenant_id: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="tenantId") tenant_name: Optional[StrictStr] = Field(default=None, alias="tenantName") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "apiTokenId", "channelId", "channelName", "instanaUrl", "serviceUrl", "teamId", "teamName", "tenantId", "tenantName"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "apiTokenId", "channelId", "channelName", "instanaUrl", "serviceUrl", "teamId", "teamName", "tenantId", "tenantName"] model_config = ConfigDict( populate_by_name=True, @@ -94,9 +94,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "apiTokenId": obj.get("apiTokenId"), "channelId": obj.get("channelId"), diff --git a/instana_client/models/bidirectional_slack_app_integration.py b/instana_client/models/bidirectional_slack_app_integration.py index 46c3fa4a..03e887a8 100644 --- a/instana_client/models/bidirectional_slack_app_integration.py +++ b/instana_client/models/bidirectional_slack_app_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -35,7 +35,7 @@ class BidirectionalSlackAppIntegration(AbstractIntegration): status: Optional[StrictStr] = None team_id: Optional[StrictStr] = Field(default=None, alias="teamId") team_name: Optional[StrictStr] = Field(default=None, alias="teamName") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "appId", "channelId", "channelName", "emojiRendering", "status", "teamId", "teamName"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "appId", "channelId", "channelName", "emojiRendering", "status", "teamId", "teamName"] model_config = ConfigDict( populate_by_name=True, @@ -91,9 +91,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "appId": obj.get("appId"), "channelId": obj.get("channelId"), diff --git a/instana_client/models/binary_operator_dto.py b/instana_client/models/binary_operator_dto.py index 92347928..005dfb8e 100644 --- a/instana_client/models/binary_operator_dto.py +++ b/instana_client/models/binary_operator_dto.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/browser_script_configuration.py b/instana_client/models/browser_script_configuration.py index 22a8d88d..b52af017 100644 --- a/instana_client/models/browser_script_configuration.py +++ b/instana_client/models/browser_script_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/browser_script_configuration_update.py b/instana_client/models/browser_script_configuration_update.py index 7d1a101d..a180fbf3 100644 --- a/instana_client/models/browser_script_configuration_update.py +++ b/instana_client/models/browser_script_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/built_in_event_specification.py b/instana_client/models/built_in_event_specification.py index f9766f3b..066292d0 100644 --- a/instana_client/models/built_in_event_specification.py +++ b/instana_client/models/built_in_event_specification.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/built_in_event_specification_with_last_updated.py b/instana_client/models/built_in_event_specification_with_last_updated.py index 026ab632..b7f8e68d 100644 --- a/instana_client/models/built_in_event_specification_with_last_updated.py +++ b/instana_client/models/built_in_event_specification_with_last_updated.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/bulk_alert_config_request.py b/instana_client/models/bulk_alert_config_request.py index 4e31e0d9..f28fdfc0 100644 --- a/instana_client/models/bulk_alert_config_request.py +++ b/instana_client/models/bulk_alert_config_request.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/business_activity.py b/instana_client/models/business_activity.py index 882e6f97..9ebeec9a 100644 --- a/instana_client/models/business_activity.py +++ b/instana_client/models/business_activity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/business_perspective_config.py b/instana_client/models/business_perspective_config.py index ef34646a..4a2c53a9 100644 --- a/instana_client/models/business_perspective_config.py +++ b/instana_client/models/business_perspective_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/call_groups_item.py b/instana_client/models/call_groups_item.py index d679d763..bb268c7f 100644 --- a/instana_client/models/call_groups_item.py +++ b/instana_client/models/call_groups_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/call_groups_result.py b/instana_client/models/call_groups_result.py index da638ab5..c8277229 100644 --- a/instana_client/models/call_groups_result.py +++ b/instana_client/models/call_groups_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/call_relation.py b/instana_client/models/call_relation.py index ccf494ec..c86e2c61 100644 --- a/instana_client/models/call_relation.py +++ b/instana_client/models/call_relation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/calls_event_result.py b/instana_client/models/calls_event_result.py new file mode 100644 index 00000000..7be59664 --- /dev/null +++ b/instana_client/models/calls_event_result.py @@ -0,0 +1,108 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from instana_client.models.event_result import EventResult +from typing import Optional, Set +from typing_extensions import Self + +class CallsEventResult(EventResult): + """ + CallsEventResult + """ # noqa: E501 + __properties: ClassVar[List[str]] = ["aggregated", "detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metadata", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "triggeringEventId", "type"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CallsEventResult from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CallsEventResult from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "aggregated": obj.get("aggregated"), + "detail": obj.get("detail"), + "end": obj.get("end"), + "entityLabel": obj.get("entityLabel"), + "entityName": obj.get("entityName"), + "entityType": obj.get("entityType"), + "eventId": obj.get("eventId"), + "eventSpecificationId": obj.get("eventSpecificationId"), + "fixSuggestion": obj.get("fixSuggestion"), + "metadata": obj.get("metadata"), + "metrics": obj.get("metrics"), + "probableCause": obj.get("probableCause"), + "problem": obj.get("problem"), + "recentEvents": obj.get("recentEvents"), + "severity": obj.get("severity"), + "shortCode": obj.get("shortCode"), + "snapshotId": obj.get("snapshotId"), + "start": obj.get("start"), + "state": obj.get("state"), + "triggeringEventId": obj.get("triggeringEventId"), + "type": obj.get("type") + }) + return _obj + + diff --git a/instana_client/models/change_summary.py b/instana_client/models/change_summary.py index e0f8efe0..224e2aa7 100644 --- a/instana_client/models/change_summary.py +++ b/instana_client/models/change_summary.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/cloudfoundry_physical_context.py b/instana_client/models/cloudfoundry_physical_context.py index 852be18d..4a4a2ee8 100644 --- a/instana_client/models/cloudfoundry_physical_context.py +++ b/instana_client/models/cloudfoundry_physical_context.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/condition.py b/instana_client/models/condition.py index bbb5fda2..1e67a216 100644 --- a/instana_client/models/condition.py +++ b/instana_client/models/condition.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/config_version.py b/instana_client/models/config_version.py index 2d8d8a89..e7beba78 100644 --- a/instana_client/models/config_version.py +++ b/instana_client/models/config_version.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/correction.py b/instana_client/models/correction.py index be2a90da..7aca8f47 100644 --- a/instana_client/models/correction.py +++ b/instana_client/models/correction.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/correction_configuration.py b/instana_client/models/correction_configuration.py index c2f7d78d..6316429a 100644 --- a/instana_client/models/correction_configuration.py +++ b/instana_client/models/correction_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/correction_scheduling.py b/instana_client/models/correction_scheduling.py index 50da9184..52db375c 100644 --- a/instana_client/models/correction_scheduling.py +++ b/instana_client/models/correction_scheduling.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/correction_window.py b/instana_client/models/correction_window.py index e30dfcc5..5f9bb8d9 100644 --- a/instana_client/models/correction_window.py +++ b/instana_client/models/correction_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/crash_mobile_app_alert_rule.py b/instana_client/models/crash_mobile_app_alert_rule.py index 8593576d..74a70293 100644 --- a/instana_client/models/crash_mobile_app_alert_rule.py +++ b/instana_client/models/crash_mobile_app_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/create_evaluation_request.py b/instana_client/models/create_evaluation_request.py index 1bf69000..aa79d0ee 100644 --- a/instana_client/models/create_evaluation_request.py +++ b/instana_client/models/create_evaluation_request.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/create_evaluation_response.py b/instana_client/models/create_evaluation_response.py index be55db4b..18d67c42 100644 --- a/instana_client/models/create_evaluation_response.py +++ b/instana_client/models/create_evaluation_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/create_website_request_inner.py b/instana_client/models/create_website_request_inner.py index 57d5d73a..175aa82e 100644 --- a/instana_client/models/create_website_request_inner.py +++ b/instana_client/models/create_website_request_inner.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/cursor_paginated_business_activity_item.py b/instana_client/models/cursor_paginated_business_activity_item.py index 6dcf5a57..6e8abe24 100644 --- a/instana_client/models/cursor_paginated_business_activity_item.py +++ b/instana_client/models/cursor_paginated_business_activity_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/cursor_pagination.py b/instana_client/models/cursor_pagination.py index b7e20835..332a0d14 100644 --- a/instana_client/models/cursor_pagination.py +++ b/instana_client/models/cursor_pagination.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/cursor_pagination_with_ui_cursor_infra_explore_cursor.py b/instana_client/models/cursor_pagination_with_ui_cursor_infra_explore_cursor.py index 1c4d9023..609782a0 100644 --- a/instana_client/models/cursor_pagination_with_ui_cursor_infra_explore_cursor.py +++ b/instana_client/models/cursor_pagination_with_ui_cursor_infra_explore_cursor.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_blueprint_indicator.py b/instana_client/models/custom_blueprint_indicator.py index 74446a49..76c424af 100644 --- a/instana_client/models/custom_blueprint_indicator.py +++ b/instana_client/models/custom_blueprint_indicator.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_dashboard.py b/instana_client/models/custom_dashboard.py index 088126ae..7177c39c 100644 --- a/instana_client/models/custom_dashboard.py +++ b/instana_client/models/custom_dashboard.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_dashboard_preview.py b/instana_client/models/custom_dashboard_preview.py index 2e8eca03..3d8253a7 100644 --- a/instana_client/models/custom_dashboard_preview.py +++ b/instana_client/models/custom_dashboard_preview.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_dashboard_with_user_specific_information.py b/instana_client/models/custom_dashboard_with_user_specific_information.py index 9ba50e00..4da58a8d 100644 --- a/instana_client/models/custom_dashboard_with_user_specific_information.py +++ b/instana_client/models/custom_dashboard_with_user_specific_information.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_dependency.py b/instana_client/models/custom_dependency.py index e491ce16..ae1b99d5 100644 --- a/instana_client/models/custom_dependency.py +++ b/instana_client/models/custom_dependency.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_email_subject_prefix.py b/instana_client/models/custom_email_subject_prefix.py index 463ea647..a52f09f3 100644 --- a/instana_client/models/custom_email_subject_prefix.py +++ b/instana_client/models/custom_email_subject_prefix.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_entity_model.py b/instana_client/models/custom_entity_model.py index bc1710e4..151bb8b0 100644 --- a/instana_client/models/custom_entity_model.py +++ b/instana_client/models/custom_entity_model.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_entity_with_metadata.py b/instana_client/models/custom_entity_with_metadata.py index 83fcdb5d..a80b7470 100644 --- a/instana_client/models/custom_entity_with_metadata.py +++ b/instana_client/models/custom_entity_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_event_mobile_app_alert_rule.py b/instana_client/models/custom_event_mobile_app_alert_rule.py index 22877e0c..84a49ae6 100644 --- a/instana_client/models/custom_event_mobile_app_alert_rule.py +++ b/instana_client/models/custom_event_mobile_app_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_event_specification.py b/instana_client/models/custom_event_specification.py index d389e38e..5ccd0572 100644 --- a/instana_client/models/custom_event_specification.py +++ b/instana_client/models/custom_event_specification.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_event_specification_with_last_updated.py b/instana_client/models/custom_event_specification_with_last_updated.py index a7853028..fe1f9ef8 100644 --- a/instana_client/models/custom_event_specification_with_last_updated.py +++ b/instana_client/models/custom_event_specification_with_last_updated.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_event_website_alert_rule.py b/instana_client/models/custom_event_website_alert_rule.py index 73ce36ba..811f2458 100644 --- a/instana_client/models/custom_event_website_alert_rule.py +++ b/instana_client/models/custom_event_website_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_metric.py b/instana_client/models/custom_metric.py index 78d30195..2af54564 100644 --- a/instana_client/models/custom_metric.py +++ b/instana_client/models/custom_metric.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -61,8 +61,8 @@ def section_validate_enum(cls, value): if value is None: return value - if value not in set(['ACE', 'ALICLOUD', 'AWS', 'AZURE', 'CASSANDRA', 'CLOUD_FOUNDRY', 'CLR', 'COCKROACH', 'CONSUL', 'CONTAINER', 'COUCHBASE', 'DFQ', 'ELASTICSEARCH', 'GCP', 'HADOOP_YARN', 'HAZELCAST', 'IBM_CLOUD', 'IBM_DATAPOWER', 'IBM_I_SERIES', 'IBM_MQ', 'IBM_MQMFT', 'IBM_OPENSTACK', 'KAFKA_CONNECT', 'KUBERNETES', 'MONGO_DB', 'MSSQL', 'ORACLE_DB', 'OTHERS', 'POSTGRESQL', 'REDIS', 'SAP', 'SELF_MONITORING', 'SOLR', 'SPARK', 'TIBCOBW', 'TUXEDO', 'VSHPERE', 'WEBSPHERE', 'CUSTOM_ENTITY']): - raise ValueError("must be one of enum values ('ACE', 'ALICLOUD', 'AWS', 'AZURE', 'CASSANDRA', 'CLOUD_FOUNDRY', 'CLR', 'COCKROACH', 'CONSUL', 'CONTAINER', 'COUCHBASE', 'DFQ', 'ELASTICSEARCH', 'GCP', 'HADOOP_YARN', 'HAZELCAST', 'IBM_CLOUD', 'IBM_DATAPOWER', 'IBM_I_SERIES', 'IBM_MQ', 'IBM_MQMFT', 'IBM_OPENSTACK', 'KAFKA_CONNECT', 'KUBERNETES', 'MONGO_DB', 'MSSQL', 'ORACLE_DB', 'OTHERS', 'POSTGRESQL', 'REDIS', 'SAP', 'SELF_MONITORING', 'SOLR', 'SPARK', 'TIBCOBW', 'TUXEDO', 'VSHPERE', 'WEBSPHERE', 'CUSTOM_ENTITY')") + if value not in set(['ACE', 'AI', 'ALICLOUD', 'AWS', 'AZURE', 'CASSANDRA', 'CLOUD_FOUNDRY', 'CLR', 'COCKROACH', 'CONSUL', 'CONTAINER', 'COUCHBASE', 'DFQ', 'DIRECTORY', 'ELASTICSEARCH', 'GCP', 'HADOOP_YARN', 'HOST', 'HAZELCAST', 'IBM_CLOUD', 'IBM_DATAPOWER', 'IBM_I_SERIES', 'IBM_MQMFT', 'IBM_OPENSTACK', 'IBM_Z', 'MESSAGING', 'OPENTELEMETRY', 'WEB_SERVER', 'APP_SERVER', 'RUNTIME', 'DATABASE', 'KUBERNETES', 'MONGO_DB', 'MSSQL', 'ORACLE_DB', 'OTHERS', 'POSTGRESQL', 'SAP', 'SELF_MONITORING', 'SOLR', 'SPARK', 'TIBCOBW', 'TUXEDO', 'WEBSPHERE', 'IBM_POWER', 'MAPR', 'VIRTUALIZATION', 'APPLICATION', 'API_GATEWAY', 'LOAD_BALANCER', 'IBM_API_CONNECT', 'IBM_INFOSPHERE', 'CUSTOM_ENTITY']): + raise ValueError("must be one of enum values ('ACE', 'AI', 'ALICLOUD', 'AWS', 'AZURE', 'CASSANDRA', 'CLOUD_FOUNDRY', 'CLR', 'COCKROACH', 'CONSUL', 'CONTAINER', 'COUCHBASE', 'DFQ', 'DIRECTORY', 'ELASTICSEARCH', 'GCP', 'HADOOP_YARN', 'HOST', 'HAZELCAST', 'IBM_CLOUD', 'IBM_DATAPOWER', 'IBM_I_SERIES', 'IBM_MQMFT', 'IBM_OPENSTACK', 'IBM_Z', 'MESSAGING', 'OPENTELEMETRY', 'WEB_SERVER', 'APP_SERVER', 'RUNTIME', 'DATABASE', 'KUBERNETES', 'MONGO_DB', 'MSSQL', 'ORACLE_DB', 'OTHERS', 'POSTGRESQL', 'SAP', 'SELF_MONITORING', 'SOLR', 'SPARK', 'TIBCOBW', 'TUXEDO', 'WEBSPHERE', 'IBM_POWER', 'MAPR', 'VIRTUALIZATION', 'APPLICATION', 'API_GATEWAY', 'LOAD_BALANCER', 'IBM_API_CONNECT', 'IBM_INFOSPHERE', 'CUSTOM_ENTITY')") return value model_config = ConfigDict( diff --git a/instana_client/models/custom_metric_application_alert_rule.py b/instana_client/models/custom_metric_application_alert_rule.py index 82f69724..cd396f1e 100644 --- a/instana_client/models/custom_metric_application_alert_rule.py +++ b/instana_client/models/custom_metric_application_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_payload_configuration.py b/instana_client/models/custom_payload_configuration.py index 023ce868..9148bac9 100644 --- a/instana_client/models/custom_payload_configuration.py +++ b/instana_client/models/custom_payload_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_payload_field.py b/instana_client/models/custom_payload_field.py index 08a77b65..7f24b925 100644 --- a/instana_client/models/custom_payload_field.py +++ b/instana_client/models/custom_payload_field.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_payload_with_last_updated.py b/instana_client/models/custom_payload_with_last_updated.py index 19de0c9f..2cac5c1e 100644 --- a/instana_client/models/custom_payload_with_last_updated.py +++ b/instana_client/models/custom_payload_with_last_updated.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_payload_with_version.py b/instana_client/models/custom_payload_with_version.py index 5f07b74d..77bdce63 100644 --- a/instana_client/models/custom_payload_with_version.py +++ b/instana_client/models/custom_payload_with_version.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_tag.py b/instana_client/models/custom_tag.py index cd3b4161..905bfc71 100644 --- a/instana_client/models/custom_tag.py +++ b/instana_client/models/custom_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -53,8 +53,8 @@ def section_validate_enum(cls, value): if value is None: return value - if value not in set(['ACE', 'ALICLOUD', 'AWS', 'AZURE', 'CASSANDRA', 'CLOUD_FOUNDRY', 'CLR', 'COCKROACH', 'CONSUL', 'CONTAINER', 'COUCHBASE', 'DFQ', 'ELASTICSEARCH', 'GCP', 'HADOOP_YARN', 'HAZELCAST', 'IBM_CLOUD', 'IBM_DATAPOWER', 'IBM_I_SERIES', 'IBM_MQ', 'IBM_MQMFT', 'IBM_OPENSTACK', 'KAFKA_CONNECT', 'KUBERNETES', 'MONGO_DB', 'MSSQL', 'ORACLE_DB', 'OTHERS', 'POSTGRESQL', 'REDIS', 'SAP', 'SELF_MONITORING', 'SOLR', 'SPARK', 'TIBCOBW', 'TUXEDO', 'VSHPERE', 'WEBSPHERE', 'CUSTOM_ENTITY']): - raise ValueError("must be one of enum values ('ACE', 'ALICLOUD', 'AWS', 'AZURE', 'CASSANDRA', 'CLOUD_FOUNDRY', 'CLR', 'COCKROACH', 'CONSUL', 'CONTAINER', 'COUCHBASE', 'DFQ', 'ELASTICSEARCH', 'GCP', 'HADOOP_YARN', 'HAZELCAST', 'IBM_CLOUD', 'IBM_DATAPOWER', 'IBM_I_SERIES', 'IBM_MQ', 'IBM_MQMFT', 'IBM_OPENSTACK', 'KAFKA_CONNECT', 'KUBERNETES', 'MONGO_DB', 'MSSQL', 'ORACLE_DB', 'OTHERS', 'POSTGRESQL', 'REDIS', 'SAP', 'SELF_MONITORING', 'SOLR', 'SPARK', 'TIBCOBW', 'TUXEDO', 'VSHPERE', 'WEBSPHERE', 'CUSTOM_ENTITY')") + if value not in set(['ACE', 'AI', 'ALICLOUD', 'AWS', 'AZURE', 'CASSANDRA', 'CLOUD_FOUNDRY', 'CLR', 'COCKROACH', 'CONSUL', 'CONTAINER', 'COUCHBASE', 'DFQ', 'DIRECTORY', 'ELASTICSEARCH', 'GCP', 'HADOOP_YARN', 'HOST', 'HAZELCAST', 'IBM_CLOUD', 'IBM_DATAPOWER', 'IBM_I_SERIES', 'IBM_MQMFT', 'IBM_OPENSTACK', 'IBM_Z', 'MESSAGING', 'OPENTELEMETRY', 'WEB_SERVER', 'APP_SERVER', 'RUNTIME', 'DATABASE', 'KUBERNETES', 'MONGO_DB', 'MSSQL', 'ORACLE_DB', 'OTHERS', 'POSTGRESQL', 'SAP', 'SELF_MONITORING', 'SOLR', 'SPARK', 'TIBCOBW', 'TUXEDO', 'WEBSPHERE', 'IBM_POWER', 'MAPR', 'VIRTUALIZATION', 'APPLICATION', 'API_GATEWAY', 'LOAD_BALANCER', 'IBM_API_CONNECT', 'IBM_INFOSPHERE', 'CUSTOM_ENTITY']): + raise ValueError("must be one of enum values ('ACE', 'AI', 'ALICLOUD', 'AWS', 'AZURE', 'CASSANDRA', 'CLOUD_FOUNDRY', 'CLR', 'COCKROACH', 'CONSUL', 'CONTAINER', 'COUCHBASE', 'DFQ', 'DIRECTORY', 'ELASTICSEARCH', 'GCP', 'HADOOP_YARN', 'HOST', 'HAZELCAST', 'IBM_CLOUD', 'IBM_DATAPOWER', 'IBM_I_SERIES', 'IBM_MQMFT', 'IBM_OPENSTACK', 'IBM_Z', 'MESSAGING', 'OPENTELEMETRY', 'WEB_SERVER', 'APP_SERVER', 'RUNTIME', 'DATABASE', 'KUBERNETES', 'MONGO_DB', 'MSSQL', 'ORACLE_DB', 'OTHERS', 'POSTGRESQL', 'SAP', 'SELF_MONITORING', 'SOLR', 'SPARK', 'TIBCOBW', 'TUXEDO', 'WEBSPHERE', 'IBM_POWER', 'MAPR', 'VIRTUALIZATION', 'APPLICATION', 'API_GATEWAY', 'LOAD_BALANCER', 'IBM_API_CONNECT', 'IBM_INFOSPHERE', 'CUSTOM_ENTITY')") return value model_config = ConfigDict( diff --git a/instana_client/models/customer_email.py b/instana_client/models/customer_email.py index 1bd5f614..9579cb76 100644 --- a/instana_client/models/customer_email.py +++ b/instana_client/models/customer_email.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dashboard_api_token.py b/instana_client/models/dashboard_api_token.py index a6510e45..7cbb2db7 100644 --- a/instana_client/models/dashboard_api_token.py +++ b/instana_client/models/dashboard_api_token.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/database_integration.py b/instana_client/models/database_integration.py index 9ceb8e2f..d324fece 100644 --- a/instana_client/models/database_integration.py +++ b/instana_client/models/database_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/deprecated_tag_filter.py b/instana_client/models/deprecated_tag_filter.py index ab34bb4b..14646867 100644 --- a/instana_client/models/deprecated_tag_filter.py +++ b/instana_client/models/deprecated_tag_filter.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dns_configuration.py b/instana_client/models/dns_configuration.py index 1d3f2a07..32edd1eb 100644 --- a/instana_client/models/dns_configuration.py +++ b/instana_client/models/dns_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dns_configuration_update.py b/instana_client/models/dns_configuration_update.py index 409babce..abf28721 100644 --- a/instana_client/models/dns_configuration_update.py +++ b/instana_client/models/dns_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dns_filter_query_time.py b/instana_client/models/dns_filter_query_time.py index 08111524..51c14a41 100644 --- a/instana_client/models/dns_filter_query_time.py +++ b/instana_client/models/dns_filter_query_time.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dns_filter_target_value.py b/instana_client/models/dns_filter_target_value.py index 3e26fbe0..982549ab 100644 --- a/instana_client/models/dns_filter_target_value.py +++ b/instana_client/models/dns_filter_target_value.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/duration.py b/instana_client/models/duration.py index 1627a006..fcb1f18e 100644 --- a/instana_client/models/duration.py +++ b/instana_client/models/duration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dynamic_field.py b/instana_client/models/dynamic_field.py index 39c8704e..dd5358d6 100644 --- a/instana_client/models/dynamic_field.py +++ b/instana_client/models/dynamic_field.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dynamic_field_value.py b/instana_client/models/dynamic_field_value.py index 38b33a2e..71f2900f 100644 --- a/instana_client/models/dynamic_field_value.py +++ b/instana_client/models/dynamic_field_value.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dynamic_parameter.py b/instana_client/models/dynamic_parameter.py index a52c730e..c2a61a20 100644 --- a/instana_client/models/dynamic_parameter.py +++ b/instana_client/models/dynamic_parameter.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dynamic_tag.py b/instana_client/models/dynamic_tag.py index aa39222d..249bb654 100644 --- a/instana_client/models/dynamic_tag.py +++ b/instana_client/models/dynamic_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/edit_user.py b/instana_client/models/edit_user.py index 4a81166f..0ce79afe 100644 --- a/instana_client/models/edit_user.py +++ b/instana_client/models/edit_user.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/email_integration.py b/instana_client/models/email_integration.py index 6f40b8bc..39f50c58 100644 --- a/instana_client/models/email_integration.py +++ b/instana_client/models/email_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -33,7 +33,7 @@ class EmailIntegration(AbstractIntegration): custom_email_subject_prefix: Optional[CustomEmailSubjectPrefix] = Field(default=None, alias="customEmailSubjectPrefix") emails: Annotated[List[Annotated[str, Field(min_length=1, strict=True)]], Field(min_length=1)] transformation_expression: Optional[StrictStr] = Field(default=None, alias="transformationExpression") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "customEmailSubjectPrefix", "emails", "transformationExpression"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "customEmailSubjectPrefix", "emails", "transformationExpression"] model_config = ConfigDict( populate_by_name=True, @@ -92,9 +92,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "customEmailSubjectPrefix": CustomEmailSubjectPrefix.from_dict(obj["customEmailSubjectPrefix"]) if obj.get("customEmailSubjectPrefix") is not None else None, "emails": obj.get("emails"), diff --git a/instana_client/models/empty_configuration.py b/instana_client/models/empty_configuration.py index 78bc7d90..c79b8112 100644 --- a/instana_client/models/empty_configuration.py +++ b/instana_client/models/empty_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/endpoint.py b/instana_client/models/endpoint.py index 978c244a..8bbc3411 100644 --- a/instana_client/models/endpoint.py +++ b/instana_client/models/endpoint.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/endpoint_config.py b/instana_client/models/endpoint_config.py index 161b8174..60050799 100644 --- a/instana_client/models/endpoint_config.py +++ b/instana_client/models/endpoint_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/endpoint_event_result.py b/instana_client/models/endpoint_event_result.py index 17856138..63d68895 100644 --- a/instana_client/models/endpoint_event_result.py +++ b/instana_client/models/endpoint_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/endpoint_item.py b/instana_client/models/endpoint_item.py index 97df52bc..b780750b 100644 --- a/instana_client/models/endpoint_item.py +++ b/instana_client/models/endpoint_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/endpoint_metric_result.py b/instana_client/models/endpoint_metric_result.py index f323b7e5..c69c5280 100644 --- a/instana_client/models/endpoint_metric_result.py +++ b/instana_client/models/endpoint_metric_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/endpoint_node.py b/instana_client/models/endpoint_node.py index f5145ee5..cb5f638d 100644 --- a/instana_client/models/endpoint_node.py +++ b/instana_client/models/endpoint_node.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/endpoint_result.py b/instana_client/models/endpoint_result.py index c5d9a2f0..3f3551a3 100644 --- a/instana_client/models/endpoint_result.py +++ b/instana_client/models/endpoint_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/endpoint_simple.py b/instana_client/models/endpoint_simple.py index 0d3f8dd8..39a3e89f 100644 --- a/instana_client/models/endpoint_simple.py +++ b/instana_client/models/endpoint_simple.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/entity_count_rule.py b/instana_client/models/entity_count_rule.py index f00ab192..9847f553 100644 --- a/instana_client/models/entity_count_rule.py +++ b/instana_client/models/entity_count_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/entity_count_verification_rule.py b/instana_client/models/entity_count_verification_rule.py index 21e22613..488ed26e 100644 --- a/instana_client/models/entity_count_verification_rule.py +++ b/instana_client/models/entity_count_verification_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/entity_health_info.py b/instana_client/models/entity_health_info.py index 6633eda2..303f05eb 100644 --- a/instana_client/models/entity_health_info.py +++ b/instana_client/models/entity_health_info.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/entity_id.py b/instana_client/models/entity_id.py index 9975b09f..bd8b7ea7 100644 --- a/instana_client/models/entity_id.py +++ b/instana_client/models/entity_id.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/entity_metric.py b/instana_client/models/entity_metric.py index 52b38957..a7706573 100644 --- a/instana_client/models/entity_metric.py +++ b/instana_client/models/entity_metric.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/entity_metric_scope.py b/instana_client/models/entity_metric_scope.py index e7c25049..527f920d 100644 --- a/instana_client/models/entity_metric_scope.py +++ b/instana_client/models/entity_metric_scope.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/entity_verification_rule.py b/instana_client/models/entity_verification_rule.py index c8760df7..75eee424 100644 --- a/instana_client/models/entity_verification_rule.py +++ b/instana_client/models/entity_verification_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/error_budget_alert_rule.py b/instana_client/models/error_budget_alert_rule.py index 5ed4cf43..d4511543 100644 --- a/instana_client/models/error_budget_alert_rule.py +++ b/instana_client/models/error_budget_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/errors_application_alert_rule.py b/instana_client/models/errors_application_alert_rule.py index 918f9788..8c98b38a 100644 --- a/instana_client/models/errors_application_alert_rule.py +++ b/instana_client/models/errors_application_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/evaluation_detail_response.py b/instana_client/models/evaluation_detail_response.py index 5e33fda2..09df2699 100644 --- a/instana_client/models/evaluation_detail_response.py +++ b/instana_client/models/evaluation_detail_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/evaluation_list_item.py b/instana_client/models/evaluation_list_item.py index 83beeff6..7b073453 100644 --- a/instana_client/models/evaluation_list_item.py +++ b/instana_client/models/evaluation_list_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/evaluation_list_response.py b/instana_client/models/evaluation_list_response.py index b107a789..7246a344 100644 --- a/instana_client/models/evaluation_list_response.py +++ b/instana_client/models/evaluation_list_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/evaluator.py b/instana_client/models/evaluator.py index ff2f1684..486eb8fe 100644 --- a/instana_client/models/evaluator.py +++ b/instana_client/models/evaluator.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/event.py b/instana_client/models/event.py index 22e3c764..0d8c8522 100644 --- a/instana_client/models/event.py +++ b/instana_client/models/event.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -56,8 +56,8 @@ def entity_type_validate_enum(cls, value): if value is None: return value - if value not in set(['Entity10', 'App20', 'Service20', 'Endpoint20', 'Website', 'Synthetic', 'MobileApp', 'Log']): - raise ValueError("must be one of enum values ('Entity10', 'App20', 'Service20', 'Endpoint20', 'Website', 'Synthetic', 'MobileApp', 'Log')") + if value not in set(['Entity10', 'App20', 'Service20', 'Endpoint20', 'Website', 'Synthetic', 'MobileApp', 'Log', 'Calls']): + raise ValueError("must be one of enum values ('Entity10', 'App20', 'Service20', 'Endpoint20', 'Website', 'Synthetic', 'MobileApp', 'Log', 'Calls')") return value model_config = ConfigDict( diff --git a/instana_client/models/event_filtering_configuration.py b/instana_client/models/event_filtering_configuration.py index 25284956..44688d42 100644 --- a/instana_client/models/event_filtering_configuration.py +++ b/instana_client/models/event_filtering_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/event_result.py b/instana_client/models/event_result.py index 93e4fcd8..8b81509a 100644 --- a/instana_client/models/event_result.py +++ b/instana_client/models/event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -27,6 +27,7 @@ from typing import TYPE_CHECKING if TYPE_CHECKING: from instana_client.models.application_event_result import ApplicationEventResult + from instana_client.models.calls_event_result import CallsEventResult from instana_client.models.endpoint_event_result import EndpointEventResult from instana_client.models.infra_event_result import InfraEventResult from instana_client.models.log_event_result import LogEventResult @@ -74,7 +75,7 @@ class EventResult(BaseModel): # discriminator mappings __discriminator_value_class_map: ClassVar[Dict[str, str]] = { - 'APPLICATION': 'ApplicationEventResult','ENDPOINT': 'EndpointEventResult','INFRASTRUCTURE': 'InfraEventResult','LOG': 'LogEventResult','MOBILE_APP': 'MobileAppEventResult','SERVICE': 'ServiceEventResult','SYNTHETICS': 'SyntheticsEventResult','WEBSITE': 'WebsiteEventResult' + 'APPLICATION': 'ApplicationEventResult','CALLS': 'CallsEventResult','ENDPOINT': 'EndpointEventResult','INFRASTRUCTURE': 'InfraEventResult','LOG': 'LogEventResult','MOBILE_APP': 'MobileAppEventResult','SERVICE': 'ServiceEventResult','SYNTHETICS': 'SyntheticsEventResult','WEBSITE': 'WebsiteEventResult' } @classmethod @@ -96,7 +97,7 @@ def to_json(self) -> str: return json.dumps(self.to_dict()) @classmethod - def from_json(cls, json_str: str) -> Optional[Union[ApplicationEventResult, EndpointEventResult, InfraEventResult, LogEventResult, MobileAppEventResult, ServiceEventResult, SyntheticsEventResult, WebsiteEventResult]]: + def from_json(cls, json_str: str) -> Optional[Union[ApplicationEventResult, CallsEventResult, EndpointEventResult, InfraEventResult, LogEventResult, MobileAppEventResult, ServiceEventResult, SyntheticsEventResult, WebsiteEventResult]]: """Create an instance of EventResult from a JSON string""" return cls.from_dict(json.loads(json_str)) @@ -121,12 +122,14 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Union[ApplicationEventResult, EndpointEventResult, InfraEventResult, LogEventResult, MobileAppEventResult, ServiceEventResult, SyntheticsEventResult, WebsiteEventResult]]: + def from_dict(cls, obj: Dict[str, Any]) -> Optional[Union[ApplicationEventResult, CallsEventResult, EndpointEventResult, InfraEventResult, LogEventResult, MobileAppEventResult, ServiceEventResult, SyntheticsEventResult, WebsiteEventResult]]: """Create an instance of EventResult from a dict""" # look up the object type based on discriminator mapping object_type = cls.get_discriminator_value(obj) if object_type == 'ApplicationEventResult': return import_module("instana_client.models.application_event_result").ApplicationEventResult.from_dict(obj) + if object_type == 'CallsEventResult': + return import_module("instana_client.models.calls_event_result").CallsEventResult.from_dict(obj) if object_type == 'EndpointEventResult': return import_module("instana_client.models.endpoint_event_result").EndpointEventResult.from_dict(obj) if object_type == 'InfraEventResult': diff --git a/instana_client/models/event_specification_info.py b/instana_client/models/event_specification_info.py index 38ef306d..467ba307 100644 --- a/instana_client/models/event_specification_info.py +++ b/instana_client/models/event_specification_info.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/extended_service.py b/instana_client/models/extended_service.py index 0b37316c..e0f584f0 100644 --- a/instana_client/models/extended_service.py +++ b/instana_client/models/extended_service.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/failure_synthetic_alert_rule.py b/instana_client/models/failure_synthetic_alert_rule.py index d54dca63..b2dccf0f 100644 --- a/instana_client/models/failure_synthetic_alert_rule.py +++ b/instana_client/models/failure_synthetic_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/filter_interface.py b/instana_client/models/filter_interface.py index 1df4f609..e7b02fab 100644 --- a/instana_client/models/filter_interface.py +++ b/instana_client/models/filter_interface.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/fixed_http_path_segment_matching_rule.py b/instana_client/models/fixed_http_path_segment_matching_rule.py index f8e4b1a0..6018c0ef 100644 --- a/instana_client/models/fixed_http_path_segment_matching_rule.py +++ b/instana_client/models/fixed_http_path_segment_matching_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/fixed_time_window.py b/instana_client/models/fixed_time_window.py index 42d00720..b8b114e1 100644 --- a/instana_client/models/fixed_time_window.py +++ b/instana_client/models/fixed_time_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/gateway_status_response.py b/instana_client/models/gateway_status_response.py index 403f6175..6bdb9c88 100644 --- a/instana_client/models/gateway_status_response.py +++ b/instana_client/models/gateway_status_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/generic_infra_alert_rule.py b/instana_client/models/generic_infra_alert_rule.py index 9823e131..7e3315a2 100644 --- a/instana_client/models/generic_infra_alert_rule.py +++ b/instana_client/models/generic_infra_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/geo_location_configuration.py b/instana_client/models/geo_location_configuration.py index 20e82382..5e086c57 100644 --- a/instana_client/models/geo_location_configuration.py +++ b/instana_client/models/geo_location_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/geo_mapping_rule.py b/instana_client/models/geo_mapping_rule.py index a232f8a1..773d9d60 100644 --- a/instana_client/models/geo_mapping_rule.py +++ b/instana_client/models/geo_mapping_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/geo_subdivision.py b/instana_client/models/geo_subdivision.py index 4c8a9180..012a8eac 100644 --- a/instana_client/models/geo_subdivision.py +++ b/instana_client/models/geo_subdivision.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_action_beacons_result.py b/instana_client/models/get_action_beacons_result.py index cf283420..1824e76a 100644 --- a/instana_client/models/get_action_beacons_result.py +++ b/instana_client/models/get_action_beacons_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_activities.py b/instana_client/models/get_activities.py index efadff16..29607f67 100644 --- a/instana_client/models/get_activities.py +++ b/instana_client/models/get_activities.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_application_metrics.py b/instana_client/models/get_application_metrics.py index 15ba66d0..2d39370e 100644 --- a/instana_client/models/get_application_metrics.py +++ b/instana_client/models/get_application_metrics.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_applications.py b/instana_client/models/get_applications.py index bb828ecb..6b386635 100644 --- a/instana_client/models/get_applications.py +++ b/instana_client/models/get_applications.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_available_metrics_query.py b/instana_client/models/get_available_metrics_query.py index 6b973866..61953583 100644 --- a/instana_client/models/get_available_metrics_query.py +++ b/instana_client/models/get_available_metrics_query.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_available_plugins_query.py b/instana_client/models/get_available_plugins_query.py index 63286090..f4d73f86 100644 --- a/instana_client/models/get_available_plugins_query.py +++ b/instana_client/models/get_available_plugins_query.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_call_groups.py b/instana_client/models/get_call_groups.py index 763b811e..c040392a 100644 --- a/instana_client/models/get_call_groups.py +++ b/instana_client/models/get_call_groups.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_combined_metrics.py b/instana_client/models/get_combined_metrics.py index 7e27f7df..518c003d 100644 --- a/instana_client/models/get_combined_metrics.py +++ b/instana_client/models/get_combined_metrics.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_dynamic_parameter_values.py b/instana_client/models/get_dynamic_parameter_values.py index c063f07f..6254a26a 100644 --- a/instana_client/models/get_dynamic_parameter_values.py +++ b/instana_client/models/get_dynamic_parameter_values.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_endpoints.py b/instana_client/models/get_endpoints.py index 7665e3a7..7ef642b2 100644 --- a/instana_client/models/get_endpoints.py +++ b/instana_client/models/get_endpoints.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_infrastructure_groups_query.py b/instana_client/models/get_infrastructure_groups_query.py index f25e2db5..5b35a542 100644 --- a/instana_client/models/get_infrastructure_groups_query.py +++ b/instana_client/models/get_infrastructure_groups_query.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_infrastructure_query.py b/instana_client/models/get_infrastructure_query.py index 8c6a29e3..b262cf44 100644 --- a/instana_client/models/get_infrastructure_query.py +++ b/instana_client/models/get_infrastructure_query.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_metrics_result.py b/instana_client/models/get_metrics_result.py index e357f237..d5c21f51 100644 --- a/instana_client/models/get_metrics_result.py +++ b/instana_client/models/get_metrics_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_mobile_app_beacon_groups.py b/instana_client/models/get_mobile_app_beacon_groups.py index f3a5dbe9..c2862ceb 100644 --- a/instana_client/models/get_mobile_app_beacon_groups.py +++ b/instana_client/models/get_mobile_app_beacon_groups.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_mobile_app_beacons.py b/instana_client/models/get_mobile_app_beacons.py index d7c3ea6b..7448f049 100644 --- a/instana_client/models/get_mobile_app_beacons.py +++ b/instana_client/models/get_mobile_app_beacons.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_mobile_app_metrics.py b/instana_client/models/get_mobile_app_metrics.py index 6081a947..fb34d61a 100644 --- a/instana_client/models/get_mobile_app_metrics.py +++ b/instana_client/models/get_mobile_app_metrics.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_mobile_app_metrics_v2.py b/instana_client/models/get_mobile_app_metrics_v2.py index ff62a53b..7e4aaeb4 100644 --- a/instana_client/models/get_mobile_app_metrics_v2.py +++ b/instana_client/models/get_mobile_app_metrics_v2.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_payload_keys_result.py b/instana_client/models/get_payload_keys_result.py index c7f3d54f..105a1d24 100644 --- a/instana_client/models/get_payload_keys_result.py +++ b/instana_client/models/get_payload_keys_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_services.py b/instana_client/models/get_services.py index 51f3b4cc..4a1ef761 100644 --- a/instana_client/models/get_services.py +++ b/instana_client/models/get_services.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_session_replay_metadata_result.py b/instana_client/models/get_session_replay_metadata_result.py index e6ecdad8..999d5e32 100644 --- a/instana_client/models/get_session_replay_metadata_result.py +++ b/instana_client/models/get_session_replay_metadata_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_snapshots_query.py b/instana_client/models/get_snapshots_query.py index 8652c3d9..39af5fd2 100644 --- a/instana_client/models/get_snapshots_query.py +++ b/instana_client/models/get_snapshots_query.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_test_result.py b/instana_client/models/get_test_result.py index d0d371ae..d9a6678b 100644 --- a/instana_client/models/get_test_result.py +++ b/instana_client/models/get_test_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_test_result_analytic.py b/instana_client/models/get_test_result_analytic.py index ecb4505d..f68605ea 100644 --- a/instana_client/models/get_test_result_analytic.py +++ b/instana_client/models/get_test_result_analytic.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_test_result_base.py b/instana_client/models/get_test_result_base.py index 6a6fcbad..ded38cf5 100644 --- a/instana_client/models/get_test_result_base.py +++ b/instana_client/models/get_test_result_base.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_test_result_list.py b/instana_client/models/get_test_result_list.py index 02ba1c34..fc781828 100644 --- a/instana_client/models/get_test_result_list.py +++ b/instana_client/models/get_test_result_list.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_test_summary_result.py b/instana_client/models/get_test_summary_result.py index 2c0fc3e6..0e68e3a6 100644 --- a/instana_client/models/get_test_summary_result.py +++ b/instana_client/models/get_test_summary_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_trace_download_result_item.py b/instana_client/models/get_trace_download_result_item.py index 735a4aac..b441ec01 100644 --- a/instana_client/models/get_trace_download_result_item.py +++ b/instana_client/models/get_trace_download_result_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_trace_groups.py b/instana_client/models/get_trace_groups.py index ae85b2ca..b3a67de5 100644 --- a/instana_client/models/get_trace_groups.py +++ b/instana_client/models/get_trace_groups.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_traces.py b/instana_client/models/get_traces.py index 01807e8e..3f9ae591 100644 --- a/instana_client/models/get_traces.py +++ b/instana_client/models/get_traces.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_website_beacon_groups.py b/instana_client/models/get_website_beacon_groups.py index d8718381..a6931e82 100644 --- a/instana_client/models/get_website_beacon_groups.py +++ b/instana_client/models/get_website_beacon_groups.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_website_beacons.py b/instana_client/models/get_website_beacons.py index 8e24ce53..eac55204 100644 --- a/instana_client/models/get_website_beacons.py +++ b/instana_client/models/get_website_beacons.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_website_metrics.py b/instana_client/models/get_website_metrics.py index bfba25a6..2b643b15 100644 --- a/instana_client/models/get_website_metrics.py +++ b/instana_client/models/get_website_metrics.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_website_metrics_v2.py b/instana_client/models/get_website_metrics_v2.py index 2b8bbe1c..a876f599 100644 --- a/instana_client/models/get_website_metrics_v2.py +++ b/instana_client/models/get_website_metrics_v2.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/git_hub_configuration.py b/instana_client/models/git_hub_configuration.py index b14f3f8c..b6c4a36b 100644 --- a/instana_client/models/git_hub_configuration.py +++ b/instana_client/models/git_hub_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/global_application_alert_config_with_metadata.py b/instana_client/models/global_application_alert_config_with_metadata.py index 0b92049d..985fb7ac 100644 --- a/instana_client/models/global_application_alert_config_with_metadata.py +++ b/instana_client/models/global_application_alert_config_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/global_applications_alert_config.py b/instana_client/models/global_applications_alert_config.py index 9c744ba2..54a02a15 100644 --- a/instana_client/models/global_applications_alert_config.py +++ b/instana_client/models/global_applications_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/google_chat_integration.py b/instana_client/models/google_chat_integration.py index 51d9bdde..b09845a0 100644 --- a/instana_client/models/google_chat_integration.py +++ b/instana_client/models/google_chat_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -30,7 +30,7 @@ class GoogleChatIntegration(AbstractIntegration): GoogleChatIntegration """ # noqa: E501 webhook_url: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="webhookUrl") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "webhookUrl"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "webhookUrl"] model_config = ConfigDict( populate_by_name=True, @@ -86,9 +86,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "webhookUrl": obj.get("webhookUrl") }) diff --git a/instana_client/models/graph_edge.py b/instana_client/models/graph_edge.py index 7e7e16be..38f49980 100644 --- a/instana_client/models/graph_edge.py +++ b/instana_client/models/graph_edge.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/graph_node.py b/instana_client/models/graph_node.py index 93513af1..be154456 100644 --- a/instana_client/models/graph_node.py +++ b/instana_client/models/graph_node.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/group.py b/instana_client/models/group.py index 9f914e15..7482667f 100644 --- a/instana_client/models/group.py +++ b/instana_client/models/group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/group_by_tag.py b/instana_client/models/group_by_tag.py index c5890fdd..00ea1777 100644 --- a/instana_client/models/group_by_tag.py +++ b/instana_client/models/group_by_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/health_state.py b/instana_client/models/health_state.py index f84d9eff..d222ec06 100644 --- a/instana_client/models/health_state.py +++ b/instana_client/models/health_state.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/historic_baseline.py b/instana_client/models/historic_baseline.py index 380fc0ca..43e56a23 100644 --- a/instana_client/models/historic_baseline.py +++ b/instana_client/models/historic_baseline.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/host_availability_rule.py b/instana_client/models/host_availability_rule.py index 54d2dc2b..a161dab3 100644 --- a/instana_client/models/host_availability_rule.py +++ b/instana_client/models/host_availability_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/http_action_configuration.py b/instana_client/models/http_action_configuration.py index cc46d793..0f3029c0 100644 --- a/instana_client/models/http_action_configuration.py +++ b/instana_client/models/http_action_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/http_action_configuration_update.py b/instana_client/models/http_action_configuration_update.py index 6efbb590..14d01fb9 100644 --- a/instana_client/models/http_action_configuration_update.py +++ b/instana_client/models/http_action_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/http_endpoint_config.py b/instana_client/models/http_endpoint_config.py index c2985385..e87774bf 100644 --- a/instana_client/models/http_endpoint_config.py +++ b/instana_client/models/http_endpoint_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/http_endpoint_rule.py b/instana_client/models/http_endpoint_rule.py index cf315bc8..8c16ca19 100644 --- a/instana_client/models/http_endpoint_rule.py +++ b/instana_client/models/http_endpoint_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/http_path_segment_matching_rule.py b/instana_client/models/http_path_segment_matching_rule.py index e3ddb379..773697d4 100644 --- a/instana_client/models/http_path_segment_matching_rule.py +++ b/instana_client/models/http_path_segment_matching_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/http_script_configuration.py b/instana_client/models/http_script_configuration.py index 50405bc2..b66d312e 100644 --- a/instana_client/models/http_script_configuration.py +++ b/instana_client/models/http_script_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/http_script_configuration_update.py b/instana_client/models/http_script_configuration_update.py index 543a50cb..99179a8d 100644 --- a/instana_client/models/http_script_configuration_update.py +++ b/instana_client/models/http_script_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/hyper_param.py b/instana_client/models/hyper_param.py index 16dd838c..bbb4e865 100644 --- a/instana_client/models/hyper_param.py +++ b/instana_client/models/hyper_param.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/icmp_configuration.py b/instana_client/models/icmp_configuration.py index c76c5c1e..98ea3047 100644 --- a/instana_client/models/icmp_configuration.py +++ b/instana_client/models/icmp_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/icmp_configuration_update.py b/instana_client/models/icmp_configuration_update.py index b1c56f13..4be4fb38 100644 --- a/instana_client/models/icmp_configuration_update.py +++ b/instana_client/models/icmp_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/icmp_validation.py b/instana_client/models/icmp_validation.py index 8b72e18c..ac61bc9a 100644 --- a/instana_client/models/icmp_validation.py +++ b/instana_client/models/icmp_validation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/identity_provider_patch.py b/instana_client/models/identity_provider_patch.py index 94ee9424..256b8ecb 100644 --- a/instana_client/models/identity_provider_patch.py +++ b/instana_client/models/identity_provider_patch.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -27,7 +27,7 @@ class IdentityProviderPatch(BaseModel): """ IdentityProviderPatch """ # noqa: E501 - restrict_empty_idp_groups: Optional[StrictBool] = Field(default=None, alias="restrictEmptyIdpGroups") + restrict_empty_idp_groups: Optional[StrictBool] = Field(default=None, description="If IdP users need to be mapped to at least one group before being allowed to access Instana.", alias="restrictEmptyIdpGroups") __properties: ClassVar[List[str]] = ["restrictEmptyIdpGroups"] model_config = ConfigDict( diff --git a/instana_client/models/idp_status_update.py b/instana_client/models/idp_status_update.py index 74f3d6bd..2ddbada0 100644 --- a/instana_client/models/idp_status_update.py +++ b/instana_client/models/idp_status_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/impacted_beacon_info.py b/instana_client/models/impacted_beacon_info.py index 889f20dc..206362e5 100644 --- a/instana_client/models/impacted_beacon_info.py +++ b/instana_client/models/impacted_beacon_info.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infra_alert_config.py b/instana_client/models/infra_alert_config.py index da77c673..29fc05c3 100644 --- a/instana_client/models/infra_alert_config.py +++ b/instana_client/models/infra_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infra_alert_config_with_metadata.py b/instana_client/models/infra_alert_config_with_metadata.py index cb23717b..dc2d7b12 100644 --- a/instana_client/models/infra_alert_config_with_metadata.py +++ b/instana_client/models/infra_alert_config_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infra_alert_rule.py b/instana_client/models/infra_alert_rule.py index 33aa11ef..54d04823 100644 --- a/instana_client/models/infra_alert_rule.py +++ b/instana_client/models/infra_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infra_event_result.py b/instana_client/models/infra_event_result.py index 60107a0f..6aae3a01 100644 --- a/instana_client/models/infra_event_result.py +++ b/instana_client/models/infra_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infra_slo_entity.py b/instana_client/models/infra_slo_entity.py index 548ff64e..7f2fa944 100644 --- a/instana_client/models/infra_slo_entity.py +++ b/instana_client/models/infra_slo_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infra_time_threshold.py b/instana_client/models/infra_time_threshold.py index 7e74c69e..7e61ad0b 100644 --- a/instana_client/models/infra_time_threshold.py +++ b/instana_client/models/infra_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infrastructure_entities_result.py b/instana_client/models/infrastructure_entities_result.py index 03b58e87..eece941e 100644 --- a/instana_client/models/infrastructure_entities_result.py +++ b/instana_client/models/infrastructure_entities_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infrastructure_group.py b/instana_client/models/infrastructure_group.py index e2f72a33..9aaa7c34 100644 --- a/instana_client/models/infrastructure_group.py +++ b/instana_client/models/infrastructure_group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infrastructure_groups_result.py b/instana_client/models/infrastructure_groups_result.py index 08789e1b..07bafc10 100644 --- a/instana_client/models/infrastructure_groups_result.py +++ b/instana_client/models/infrastructure_groups_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infrastructure_item.py b/instana_client/models/infrastructure_item.py index 3cb3f51c..fff9317d 100644 --- a/instana_client/models/infrastructure_item.py +++ b/instana_client/models/infrastructure_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infrastructure_metric_result.py b/instana_client/models/infrastructure_metric_result.py index 622d9ebf..c3c0d6e7 100644 --- a/instana_client/models/infrastructure_metric_result.py +++ b/instana_client/models/infrastructure_metric_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/instana_version_info.py b/instana_client/models/instana_version_info.py index 0bc29c93..d024b8d3 100644 --- a/instana_client/models/instana_version_info.py +++ b/instana_client/models/instana_version_info.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/integration_overview.py b/instana_client/models/integration_overview.py index 28303fbd..a54b2a87 100644 --- a/instana_client/models/integration_overview.py +++ b/instana_client/models/integration_overview.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/invitation.py b/instana_client/models/invitation.py index 3adb2e20..702056cf 100644 --- a/instana_client/models/invitation.py +++ b/instana_client/models/invitation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/invitation_response.py b/instana_client/models/invitation_response.py index 451765a7..44d16198 100644 --- a/instana_client/models/invitation_response.py +++ b/instana_client/models/invitation_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/invitation_result.py b/instana_client/models/invitation_result.py index 3effa98d..e566a265 100644 --- a/instana_client/models/invitation_result.py +++ b/instana_client/models/invitation_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ip_filtering.py b/instana_client/models/ip_filtering.py index b4c2ad0e..368d2a39 100644 --- a/instana_client/models/ip_filtering.py +++ b/instana_client/models/ip_filtering.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ip_filtering_rule_dto.py b/instana_client/models/ip_filtering_rule_dto.py index 8e0137b4..32613d8f 100644 --- a/instana_client/models/ip_filtering_rule_dto.py +++ b/instana_client/models/ip_filtering_rule_dto.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ip_filtering_upsert.py b/instana_client/models/ip_filtering_upsert.py index cf344cd5..49b500a9 100644 --- a/instana_client/models/ip_filtering_upsert.py +++ b/instana_client/models/ip_filtering_upsert.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ip_masking_configuration.py b/instana_client/models/ip_masking_configuration.py index 09d05388..ea6240ca 100644 --- a/instana_client/models/ip_masking_configuration.py +++ b/instana_client/models/ip_masking_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/js_stack_trace_line.py b/instana_client/models/js_stack_trace_line.py index 88607b45..85219b34 100644 --- a/instana_client/models/js_stack_trace_line.py +++ b/instana_client/models/js_stack_trace_line.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/kubernetes_physical_context.py b/instana_client/models/kubernetes_physical_context.py index 99338652..848ff264 100644 --- a/instana_client/models/kubernetes_physical_context.py +++ b/instana_client/models/kubernetes_physical_context.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/latency_blueprint_indicator.py b/instana_client/models/latency_blueprint_indicator.py index f6ee1ac9..1c4c7355 100644 --- a/instana_client/models/latency_blueprint_indicator.py +++ b/instana_client/models/latency_blueprint_indicator.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/llm_egress_gateway.py b/instana_client/models/llm_egress_gateway.py index f7a8abb9..fae529f4 100644 --- a/instana_client/models/llm_egress_gateway.py +++ b/instana_client/models/llm_egress_gateway.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -21,6 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from uuid import UUID from instana_client.models.llm_gateway_capability import LLMGatewayCapability from instana_client.models.llm_gateway_model import LLMGatewayModel from instana_client.models.llm_gateway_service import LLMGatewayService @@ -35,7 +36,7 @@ class LLMEgressGateway(BaseModel): created_at: Optional[StrictStr] = Field(default=None, alias="createdAt") description: Optional[StrictStr] = None enabled: Optional[StrictBool] = None - id: StrictStr + id: UUID instana_agents: Optional[Dict[str, Any]] = Field(default=None, alias="instanaAgents") metadata: Optional[Dict[str, Any]] = None model: LLMGatewayModel diff --git a/instana_client/models/llm_gateway_capability.py b/instana_client/models/llm_gateway_capability.py index e9241bb8..4bd19236 100644 --- a/instana_client/models/llm_gateway_capability.py +++ b/instana_client/models/llm_gateway_capability.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/llm_gateway_model.py b/instana_client/models/llm_gateway_model.py index 3c4a43e6..4802a9a5 100644 --- a/instana_client/models/llm_gateway_model.py +++ b/instana_client/models/llm_gateway_model.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/llm_gateway_service.py b/instana_client/models/llm_gateway_service.py index 3cfa9564..dd18cc4c 100644 --- a/instana_client/models/llm_gateway_service.py +++ b/instana_client/models/llm_gateway_service.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/llm_gateway_test_connection_request.py b/instana_client/models/llm_gateway_test_connection_request.py index 8ddb9d79..eeabde8e 100644 --- a/instana_client/models/llm_gateway_test_connection_request.py +++ b/instana_client/models/llm_gateway_test_connection_request.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/llm_model_price.py b/instana_client/models/llm_model_price.py index c09bab45..3c4214f8 100644 --- a/instana_client/models/llm_model_price.py +++ b/instana_client/models/llm_model_price.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/llm_model_price_metadata.py b/instana_client/models/llm_model_price_metadata.py index 5312a3f2..09305590 100644 --- a/instana_client/models/llm_model_price_metadata.py +++ b/instana_client/models/llm_model_price_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/location_status.py b/instana_client/models/location_status.py index bebd68da..11381510 100644 --- a/instana_client/models/location_status.py +++ b/instana_client/models/location_status.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_alert_config.py b/instana_client/models/log_alert_config.py index e17161d9..24d86799 100644 --- a/instana_client/models/log_alert_config.py +++ b/instana_client/models/log_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_alert_config_with_metadata.py b/instana_client/models/log_alert_config_with_metadata.py index b7458c07..2d3ac211 100644 --- a/instana_client/models/log_alert_config_with_metadata.py +++ b/instana_client/models/log_alert_config_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_alert_rule.py b/instana_client/models/log_alert_rule.py index e9071e60..e2953f83 100644 --- a/instana_client/models/log_alert_rule.py +++ b/instana_client/models/log_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_count_alert_rule.py b/instana_client/models/log_count_alert_rule.py index 93930d2d..0aa7de5b 100644 --- a/instana_client/models/log_count_alert_rule.py +++ b/instana_client/models/log_count_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_event_result.py b/instana_client/models/log_event_result.py index edf132c5..bedefa9e 100644 --- a/instana_client/models/log_event_result.py +++ b/instana_client/models/log_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_time_threshold.py b/instana_client/models/log_time_threshold.py index 354a5078..d35aa68d 100644 --- a/instana_client/models/log_time_threshold.py +++ b/instana_client/models/log_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_volume_group.py b/instana_client/models/log_volume_group.py index 08dacf7a..e88930c3 100644 --- a/instana_client/models/log_volume_group.py +++ b/instana_client/models/log_volume_group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_volume_usage_item.py b/instana_client/models/log_volume_usage_item.py index f0ef3e7f..18616e41 100644 --- a/instana_client/models/log_volume_usage_item.py +++ b/instana_client/models/log_volume_usage_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_volume_usage_result.py b/instana_client/models/log_volume_usage_result.py index 7748ce97..002d665f 100644 --- a/instana_client/models/log_volume_usage_result.py +++ b/instana_client/models/log_volume_usage_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/logging_perspective.py b/instana_client/models/logging_perspective.py new file mode 100644 index 00000000..a68380c1 --- /dev/null +++ b/instana_client/models/logging_perspective.py @@ -0,0 +1,109 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from instana_client.models.tag_filter_expression_element import TagFilterExpressionElement +from typing import Optional, Set +from typing_extensions import Self + +class LoggingPerspective(BaseModel): + """ + A filtered view of logs defined by a tag filter expression. Referred to as a Log Perspective in the UI. + """ # noqa: E501 + description: Optional[StrictStr] = Field(default=None, description="Optional free-text description shown in the UI. Set to null to clear.") + filter: Optional[TagFilterExpressionElement] + perspective_id: Optional[StrictStr] = Field(default=None, description="Server-assigned unique identifier. Omit on create (POST). Must match the path parameter on update (PUT).", alias="perspectiveId") + perspective_name: Annotated[str, Field(min_length=1, strict=True)] = Field(description="Display name of the perspective. Must be unique. `Required`.", alias="perspectiveName") + __properties: ClassVar[List[str]] = ["description", "filter", "perspectiveId", "perspectiveName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of LoggingPerspective from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of filter + if self.filter: + _dict['filter'] = self.filter.to_dict() + # set to None if description (nullable) is None + # and model_fields_set contains the field + if self.description is None and "description" in self.model_fields_set: + _dict['description'] = None + + # set to None if filter (nullable) is None + # and model_fields_set contains the field + if self.filter is None and "filter" in self.model_fields_set: + _dict['filter'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of LoggingPerspective from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "description": obj.get("description"), + "filter": TagFilterExpressionElement.from_dict(obj["filter"]) if obj.get("filter") is not None else None, + "perspectiveId": obj.get("perspectiveId"), + "perspectiveName": obj.get("perspectiveName") + }) + return _obj + + diff --git a/instana_client/models/logs_api_response.py b/instana_client/models/logs_api_response.py index a6dc987b..c3534edf 100644 --- a/instana_client/models/logs_api_response.py +++ b/instana_client/models/logs_api_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/logs_application_alert_rule.py b/instana_client/models/logs_application_alert_rule.py index 554b5d41..25257652 100644 --- a/instana_client/models/logs_application_alert_rule.py +++ b/instana_client/models/logs_application_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/logs_query.py b/instana_client/models/logs_query.py index b4b71a17..aa6ed953 100644 --- a/instana_client/models/logs_query.py +++ b/instana_client/models/logs_query.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -35,7 +35,7 @@ class LogsQuery(BaseModel): offset: Optional[Annotated[int, Field(le=2000, strict=True, ge=0)]] = None order_direction: Optional[StrictStr] = Field(default=None, alias="orderDirection") requested_tags: Optional[Annotated[List[StrictStr], Field(min_length=0, max_length=30)]] = Field(default=None, alias="requestedTags") - retrieval_size: Optional[Annotated[int, Field(le=200, strict=True, ge=1)]] = Field(default=None, alias="retrievalSize") + retrieval_size: Optional[Annotated[int, Field(le=2000, strict=True, ge=1)]] = Field(default=None, alias="retrievalSize") tag_filter_expression: Optional[TagFilterExpressionElement] = Field(default=None, alias="tagFilterExpression") time_config: Optional[TimeConfig] = Field(default=None, alias="timeConfig") __properties: ClassVar[List[str]] = ["filter", "offset", "orderDirection", "requestedTags", "retrievalSize", "tagFilterExpression", "timeConfig"] diff --git a/instana_client/models/maintenance_config.py b/instana_client/models/maintenance_config.py index d1f11b47..fa676826 100644 --- a/instana_client/models/maintenance_config.py +++ b/instana_client/models/maintenance_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/maintenance_config_scheduling.py b/instana_client/models/maintenance_config_scheduling.py index dd178fd2..4ec422a7 100644 --- a/instana_client/models/maintenance_config_scheduling.py +++ b/instana_client/models/maintenance_config_scheduling.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/maintenance_config_v2.py b/instana_client/models/maintenance_config_v2.py index aaef26a2..78cea405 100644 --- a/instana_client/models/maintenance_config_v2.py +++ b/instana_client/models/maintenance_config_v2.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/maintenance_config_v2_with_state_and_occurrence.py b/instana_client/models/maintenance_config_v2_with_state_and_occurrence.py index 2fe703d6..fc18fc51 100644 --- a/instana_client/models/maintenance_config_v2_with_state_and_occurrence.py +++ b/instana_client/models/maintenance_config_v2_with_state_and_occurrence.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/maintenance_config_with_last_updated.py b/instana_client/models/maintenance_config_with_last_updated.py index 0c77843a..dfb8c917 100644 --- a/instana_client/models/maintenance_config_with_last_updated.py +++ b/instana_client/models/maintenance_config_with_last_updated.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/maintenance_window.py b/instana_client/models/maintenance_window.py index f8cc5b7b..e30707da 100644 --- a/instana_client/models/maintenance_window.py +++ b/instana_client/models/maintenance_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/manual_alerting_channel_configuration.py b/instana_client/models/manual_alerting_channel_configuration.py index 94c4ddb7..de46d9ae 100644 --- a/instana_client/models/manual_alerting_channel_configuration.py +++ b/instana_client/models/manual_alerting_channel_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/manual_close_info.py b/instana_client/models/manual_close_info.py index 2acb0241..0031418d 100644 --- a/instana_client/models/manual_close_info.py +++ b/instana_client/models/manual_close_info.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/manual_service_config.py b/instana_client/models/manual_service_config.py index 6f536687..f0f0cd9b 100644 --- a/instana_client/models/manual_service_config.py +++ b/instana_client/models/manual_service_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mapping.py b/instana_client/models/mapping.py new file mode 100644 index 00000000..f3a0e8fd --- /dev/null +++ b/instana_client/models/mapping.py @@ -0,0 +1,107 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class Mapping(BaseModel): + """ + Mapping + """ # noqa: E501 + group_id: Annotated[str, Field(min_length=1, strict=True)] = Field(description="ID of role or group to be assigned if the mapping is matched.", alias="groupId") + id: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=64)]] = Field(default=None, description="ID of the current mapping.") + key: Annotated[str, Field(min_length=0, strict=True, max_length=65536)] = Field(description="Key (in the IdPs \"user-profile\" to be checked for mapping.") + team_id: Optional[Annotated[str, Field(min_length=5, strict=True, max_length=64)]] = Field(default=None, description="Optional, ID of team, to which the role assignment is scoped. If absent mapping is unit scoped.", alias="teamId") + value: Annotated[str, Field(min_length=0, strict=True, max_length=65536)] = Field(description="Value (of the key in the IdPs \"user-profile\" to be compared for mapping.") + __properties: ClassVar[List[str]] = ["groupId", "id", "key", "teamId", "value"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of Mapping from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if id (nullable) is None + # and model_fields_set contains the field + if self.id is None and "id" in self.model_fields_set: + _dict['id'] = None + + # set to None if team_id (nullable) is None + # and model_fields_set contains the field + if self.team_id is None and "team_id" in self.model_fields_set: + _dict['teamId'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of Mapping from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "groupId": obj.get("groupId"), + "id": obj.get("id"), + "key": obj.get("key"), + "teamId": obj.get("teamId"), + "value": obj.get("value") + }) + return _obj + + diff --git a/instana_client/models/mapping_overview.py b/instana_client/models/mapping_overview.py new file mode 100644 index 00000000..d8b15d9b --- /dev/null +++ b/instana_client/models/mapping_overview.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class MappingOverview(BaseModel): + """ + MappingOverview + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="ID of the current mapping.") + key: Optional[StrictStr] = Field(default=None, description="Key (in the IdPs \"user-profile\" to be checked for mapping.") + role: Optional[StrictStr] = Field(default=None, description="Name of role or group to be assigned if the mapping is matched.") + team: Optional[StrictStr] = Field(default=None, description="Optional, Name of team, to which the role assignment is scoped. If absent mapping is unit scoped.") + value: Optional[StrictStr] = Field(default=None, description="Value (of the key in the IdPs \"user-profile\" to be compared for mapping.") + __properties: ClassVar[List[str]] = ["id", "key", "role", "team", "value"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of MappingOverview from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of MappingOverview from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "key": obj.get("key"), + "role": obj.get("role"), + "team": obj.get("team"), + "value": obj.get("value") + }) + return _obj + + diff --git a/instana_client/models/match_all_http_path_segment_matching_rule.py b/instana_client/models/match_all_http_path_segment_matching_rule.py index d88a1d6b..54e4ffb0 100644 --- a/instana_client/models/match_all_http_path_segment_matching_rule.py +++ b/instana_client/models/match_all_http_path_segment_matching_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/match_expression_dto.py b/instana_client/models/match_expression_dto.py index d88b0cc8..7fc81c6e 100644 --- a/instana_client/models/match_expression_dto.py +++ b/instana_client/models/match_expression_dto.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/meta_data.py b/instana_client/models/meta_data.py index c1c0f182..c03d4f0b 100644 --- a/instana_client/models/meta_data.py +++ b/instana_client/models/meta_data.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_api_result.py b/instana_client/models/metric_api_result.py index 83912115..868cbf82 100644 --- a/instana_client/models/metric_api_result.py +++ b/instana_client/models/metric_api_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_config.py b/instana_client/models/metric_config.py index 3c94a8da..13cc3332 100644 --- a/instana_client/models/metric_config.py +++ b/instana_client/models/metric_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_configuration.py b/instana_client/models/metric_configuration.py index 66f2009b..1fddcad4 100644 --- a/instana_client/models/metric_configuration.py +++ b/instana_client/models/metric_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_description.py b/instana_client/models/metric_description.py index adc88544..d0d16946 100644 --- a/instana_client/models/metric_description.py +++ b/instana_client/models/metric_description.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_field.py b/instana_client/models/metric_field.py index a88bfeef..36247bb2 100644 --- a/instana_client/models/metric_field.py +++ b/instana_client/models/metric_field.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_field_value.py b/instana_client/models/metric_field_value.py index 67dd086e..9302c1d2 100644 --- a/instana_client/models/metric_field_value.py +++ b/instana_client/models/metric_field_value.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_instance.py b/instana_client/models/metric_instance.py index e30063c1..75613bad 100644 --- a/instana_client/models/metric_instance.py +++ b/instana_client/models/metric_instance.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_item.py b/instana_client/models/metric_item.py index ddb25f18..5b866ad7 100644 --- a/instana_client/models/metric_item.py +++ b/instana_client/models/metric_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_metadata.py b/instana_client/models/metric_metadata.py index c133b626..7420ff0e 100644 --- a/instana_client/models/metric_metadata.py +++ b/instana_client/models/metric_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -62,8 +62,8 @@ def format_validate_enum(cls, value): @field_validator('infra_tag_category') def infra_tag_category_validate_enum(cls, value): """Validates the enum""" - if value not in set(['ACE', 'ALICLOUD', 'AWS', 'AZURE', 'CASSANDRA', 'CLOUD_FOUNDRY', 'CLR', 'COCKROACH', 'CONSUL', 'CONTAINER', 'COUCHBASE', 'DFQ', 'ELASTICSEARCH', 'GCP', 'HADOOP_YARN', 'HAZELCAST', 'IBM_CLOUD', 'IBM_DATAPOWER', 'IBM_I_SERIES', 'IBM_MQ', 'IBM_MQMFT', 'IBM_OPENSTACK', 'KAFKA_CONNECT', 'KUBERNETES', 'MONGO_DB', 'MSSQL', 'ORACLE_DB', 'OTHERS', 'POSTGRESQL', 'REDIS', 'SAP', 'SELF_MONITORING', 'SOLR', 'SPARK', 'TIBCOBW', 'TUXEDO', 'VSHPERE', 'WEBSPHERE', 'CUSTOM_ENTITY']): - raise ValueError("must be one of enum values ('ACE', 'ALICLOUD', 'AWS', 'AZURE', 'CASSANDRA', 'CLOUD_FOUNDRY', 'CLR', 'COCKROACH', 'CONSUL', 'CONTAINER', 'COUCHBASE', 'DFQ', 'ELASTICSEARCH', 'GCP', 'HADOOP_YARN', 'HAZELCAST', 'IBM_CLOUD', 'IBM_DATAPOWER', 'IBM_I_SERIES', 'IBM_MQ', 'IBM_MQMFT', 'IBM_OPENSTACK', 'KAFKA_CONNECT', 'KUBERNETES', 'MONGO_DB', 'MSSQL', 'ORACLE_DB', 'OTHERS', 'POSTGRESQL', 'REDIS', 'SAP', 'SELF_MONITORING', 'SOLR', 'SPARK', 'TIBCOBW', 'TUXEDO', 'VSHPERE', 'WEBSPHERE', 'CUSTOM_ENTITY')") + if value not in set(['ACE', 'AI', 'ALICLOUD', 'AWS', 'AZURE', 'CASSANDRA', 'CLOUD_FOUNDRY', 'CLR', 'COCKROACH', 'CONSUL', 'CONTAINER', 'COUCHBASE', 'DFQ', 'DIRECTORY', 'ELASTICSEARCH', 'GCP', 'HADOOP_YARN', 'HOST', 'HAZELCAST', 'IBM_CLOUD', 'IBM_DATAPOWER', 'IBM_I_SERIES', 'IBM_MQMFT', 'IBM_OPENSTACK', 'IBM_Z', 'MESSAGING', 'OPENTELEMETRY', 'WEB_SERVER', 'APP_SERVER', 'RUNTIME', 'DATABASE', 'KUBERNETES', 'MONGO_DB', 'MSSQL', 'ORACLE_DB', 'OTHERS', 'POSTGRESQL', 'SAP', 'SELF_MONITORING', 'SOLR', 'SPARK', 'TIBCOBW', 'TUXEDO', 'WEBSPHERE', 'IBM_POWER', 'MAPR', 'VIRTUALIZATION', 'APPLICATION', 'API_GATEWAY', 'LOAD_BALANCER', 'IBM_API_CONNECT', 'IBM_INFOSPHERE', 'CUSTOM_ENTITY']): + raise ValueError("must be one of enum values ('ACE', 'AI', 'ALICLOUD', 'AWS', 'AZURE', 'CASSANDRA', 'CLOUD_FOUNDRY', 'CLR', 'COCKROACH', 'CONSUL', 'CONTAINER', 'COUCHBASE', 'DFQ', 'DIRECTORY', 'ELASTICSEARCH', 'GCP', 'HADOOP_YARN', 'HOST', 'HAZELCAST', 'IBM_CLOUD', 'IBM_DATAPOWER', 'IBM_I_SERIES', 'IBM_MQMFT', 'IBM_OPENSTACK', 'IBM_Z', 'MESSAGING', 'OPENTELEMETRY', 'WEB_SERVER', 'APP_SERVER', 'RUNTIME', 'DATABASE', 'KUBERNETES', 'MONGO_DB', 'MSSQL', 'ORACLE_DB', 'OTHERS', 'POSTGRESQL', 'SAP', 'SELF_MONITORING', 'SOLR', 'SPARK', 'TIBCOBW', 'TUXEDO', 'WEBSPHERE', 'IBM_POWER', 'MAPR', 'VIRTUALIZATION', 'APPLICATION', 'API_GATEWAY', 'LOAD_BALANCER', 'IBM_API_CONNECT', 'IBM_INFOSPHERE', 'CUSTOM_ENTITY')") return value model_config = ConfigDict( diff --git a/instana_client/models/metric_pattern.py b/instana_client/models/metric_pattern.py index fd0e8f09..0d5a8e01 100644 --- a/instana_client/models/metric_pattern.py +++ b/instana_client/models/metric_pattern.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metrics_result.py b/instana_client/models/metrics_result.py index 5482bd18..97eca07a 100644 --- a/instana_client/models/metrics_result.py +++ b/instana_client/models/metrics_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metrics_result_item.py b/instana_client/models/metrics_result_item.py index 266c8d49..e431a1fe 100644 --- a/instana_client/models/metrics_result_item.py +++ b/instana_client/models/metrics_result_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metrics_test_result_item.py b/instana_client/models/metrics_test_result_item.py index ab72163e..d53aca9e 100644 --- a/instana_client/models/metrics_test_result_item.py +++ b/instana_client/models/metrics_test_result_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app.py b/instana_client/models/mobile_app.py index 82ce0b3d..b9f6fdfa 100644 --- a/instana_client/models/mobile_app.py +++ b/instana_client/models/mobile_app.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_alert_config.py b/instana_client/models/mobile_app_alert_config.py index 0fbd4571..bc706c9c 100644 --- a/instana_client/models/mobile_app_alert_config.py +++ b/instana_client/models/mobile_app_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_alert_config_with_rbac_tag.py b/instana_client/models/mobile_app_alert_config_with_rbac_tag.py index 3cc8a203..10d5bc05 100644 --- a/instana_client/models/mobile_app_alert_config_with_rbac_tag.py +++ b/instana_client/models/mobile_app_alert_config_with_rbac_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_alert_rule.py b/instana_client/models/mobile_app_alert_rule.py index 31cc5e27..015627aa 100644 --- a/instana_client/models/mobile_app_alert_rule.py +++ b/instana_client/models/mobile_app_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_beacon_groups_item.py b/instana_client/models/mobile_app_beacon_groups_item.py index db703da7..23dfff92 100644 --- a/instana_client/models/mobile_app_beacon_groups_item.py +++ b/instana_client/models/mobile_app_beacon_groups_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_beacon_groups_result.py b/instana_client/models/mobile_app_beacon_groups_result.py index 6714c23c..622b9ad0 100644 --- a/instana_client/models/mobile_app_beacon_groups_result.py +++ b/instana_client/models/mobile_app_beacon_groups_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_beacon_result.py b/instana_client/models/mobile_app_beacon_result.py index c437e22d..92674a37 100644 --- a/instana_client/models/mobile_app_beacon_result.py +++ b/instana_client/models/mobile_app_beacon_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_beacon_tag_group.py b/instana_client/models/mobile_app_beacon_tag_group.py index 7defa371..14266b78 100644 --- a/instana_client/models/mobile_app_beacon_tag_group.py +++ b/instana_client/models/mobile_app_beacon_tag_group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_beacons_item.py b/instana_client/models/mobile_app_beacons_item.py index df465c22..c16d19a7 100644 --- a/instana_client/models/mobile_app_beacons_item.py +++ b/instana_client/models/mobile_app_beacons_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_event_result.py b/instana_client/models/mobile_app_event_result.py index bc67ab80..8fc42343 100644 --- a/instana_client/models/mobile_app_event_result.py +++ b/instana_client/models/mobile_app_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_metric_result.py b/instana_client/models/mobile_app_metric_result.py index 795b66f4..79bc8b09 100644 --- a/instana_client/models/mobile_app_metric_result.py +++ b/instana_client/models/mobile_app_metric_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_monitoring_beacon.py b/instana_client/models/mobile_app_monitoring_beacon.py index 2b4d1a91..74895ced 100644 --- a/instana_client/models/mobile_app_monitoring_beacon.py +++ b/instana_client/models/mobile_app_monitoring_beacon.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_monitoring_metric_description.py b/instana_client/models/mobile_app_monitoring_metric_description.py index 1a714576..16e7ddc1 100644 --- a/instana_client/models/mobile_app_monitoring_metric_description.py +++ b/instana_client/models/mobile_app_monitoring_metric_description.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_monitoring_metrics_configuration.py b/instana_client/models/mobile_app_monitoring_metrics_configuration.py index c2671e71..9d0f0af5 100644 --- a/instana_client/models/mobile_app_monitoring_metrics_configuration.py +++ b/instana_client/models/mobile_app_monitoring_metrics_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_time_threshold.py b/instana_client/models/mobile_app_time_threshold.py index 38092a36..fae13ffa 100644 --- a/instana_client/models/mobile_app_time_threshold.py +++ b/instana_client/models/mobile_app_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_slo_entity.py b/instana_client/models/mobile_slo_entity.py index 85ec371a..7eef0dfc 100644 --- a/instana_client/models/mobile_slo_entity.py +++ b/instana_client/models/mobile_slo_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/model_field.py b/instana_client/models/model_field.py index 515205c0..5e1630d9 100644 --- a/instana_client/models/model_field.py +++ b/instana_client/models/model_field.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/monitored_entities_stats.py b/instana_client/models/monitored_entities_stats.py index ca8d6b35..873ad3b4 100644 --- a/instana_client/models/monitored_entities_stats.py +++ b/instana_client/models/monitored_entities_stats.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/monitoring_state.py b/instana_client/models/monitoring_state.py index 96472aff..696b7f40 100644 --- a/instana_client/models/monitoring_state.py +++ b/instana_client/models/monitoring_state.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/multiple_scripts_configuration.py b/instana_client/models/multiple_scripts_configuration.py index 235c7f69..835b8424 100644 --- a/instana_client/models/multiple_scripts_configuration.py +++ b/instana_client/models/multiple_scripts_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/new_application_config.py b/instana_client/models/new_application_config.py index 54fd880c..9e8d82b3 100644 --- a/instana_client/models/new_application_config.py +++ b/instana_client/models/new_application_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -106,6 +106,11 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of tag_filter_expression if self.tag_filter_expression: _dict['tagFilterExpression'] = self.tag_filter_expression.to_dict() + # set to None if business_criticality (nullable) is None + # and model_fields_set contains the field + if self.business_criticality is None and "business_criticality" in self.model_fields_set: + _dict['businessCriticality'] = None + # set to None if tag_filter_expression (nullable) is None # and model_fields_set contains the field if self.tag_filter_expression is None and "tag_filter_expression" in self.model_fields_set: diff --git a/instana_client/models/new_business_perspective_config.py b/instana_client/models/new_business_perspective_config.py index d1c27177..9178ed8b 100644 --- a/instana_client/models/new_business_perspective_config.py +++ b/instana_client/models/new_business_perspective_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/new_manual_service_config.py b/instana_client/models/new_manual_service_config.py index 43effb24..c359dc9a 100644 --- a/instana_client/models/new_manual_service_config.py +++ b/instana_client/models/new_manual_service_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/notification.py b/instana_client/models/notification.py index e5b8bda7..99d25a10 100644 --- a/instana_client/models/notification.py +++ b/instana_client/models/notification.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ns1_integration.py b/instana_client/models/ns1_integration.py index b281506d..f79fb9f8 100644 --- a/instana_client/models/ns1_integration.py +++ b/instana_client/models/ns1_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -32,7 +32,7 @@ class NS1Integration(AbstractIntegration): feed_label: Optional[StrictStr] = Field(default=None, alias="feedLabel") headers: Optional[List[Annotated[str, Field(min_length=1, strict=True)]]] = None webhook_urls: Annotated[List[Annotated[str, Field(min_length=1, strict=True)]], Field(min_length=1)] = Field(alias="webhookUrls") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "feedLabel", "headers", "webhookUrls"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "feedLabel", "headers", "webhookUrls"] model_config = ConfigDict( populate_by_name=True, @@ -88,9 +88,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "feedLabel": obj.get("feedLabel"), "headers": obj.get("headers"), diff --git a/instana_client/models/o_auth_config.py b/instana_client/models/o_auth_config.py index 948922bd..5460263e 100644 --- a/instana_client/models/o_auth_config.py +++ b/instana_client/models/o_auth_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/o_auth_integration.py b/instana_client/models/o_auth_integration.py index 3f5a5ce1..4ff9b57f 100644 --- a/instana_client/models/o_auth_integration.py +++ b/instana_client/models/o_auth_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/o_auth_token.py b/instana_client/models/o_auth_token.py index 40968fa3..5672ddd0 100644 --- a/instana_client/models/o_auth_token.py +++ b/instana_client/models/o_auth_token.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/occurrence.py b/instana_client/models/occurrence.py index f2bbf0e8..68d07f91 100644 --- a/instana_client/models/occurrence.py +++ b/instana_client/models/occurrence.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/office365_integration.py b/instana_client/models/office365_integration.py index 2dfd82b1..458eefc0 100644 --- a/instana_client/models/office365_integration.py +++ b/instana_client/models/office365_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -30,7 +30,7 @@ class Office365Integration(AbstractIntegration): Office365Integration """ # noqa: E501 webhook_url: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="webhookUrl") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "webhookUrl"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "webhookUrl"] model_config = ConfigDict( populate_by_name=True, @@ -86,9 +86,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "webhookUrl": obj.get("webhookUrl") }) diff --git a/instana_client/models/one_time_maintenance_window.py b/instana_client/models/one_time_maintenance_window.py index d7891d56..3d18ede9 100644 --- a/instana_client/models/one_time_maintenance_window.py +++ b/instana_client/models/one_time_maintenance_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/opsgenie_integration.py b/instana_client/models/opsgenie_integration.py index 73a48dd5..0d85fadd 100644 --- a/instana_client/models/opsgenie_integration.py +++ b/instana_client/models/opsgenie_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -33,7 +33,7 @@ class OpsgenieIntegration(AbstractIntegration): api_key: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="apiKey") region: StrictStr tags: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "alias", "apiKey", "region", "tags"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "alias", "apiKey", "region", "tags"] @field_validator('region') def region_validate_enum(cls, value): @@ -106,9 +106,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "alias": obj.get("alias"), "apiKey": obj.get("apiKey"), diff --git a/instana_client/models/order.py b/instana_client/models/order.py index 8e57383e..20eca8a4 100644 --- a/instana_client/models/order.py +++ b/instana_client/models/order.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/pagerduty_integration.py b/instana_client/models/pagerduty_integration.py index 0765e103..8ce20a31 100644 --- a/instana_client/models/pagerduty_integration.py +++ b/instana_client/models/pagerduty_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -30,7 +30,7 @@ class PagerdutyIntegration(AbstractIntegration): PagerdutyIntegration """ # noqa: E501 service_integration_key: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="serviceIntegrationKey") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "serviceIntegrationKey"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "serviceIntegrationKey"] model_config = ConfigDict( populate_by_name=True, @@ -86,9 +86,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "serviceIntegrationKey": obj.get("serviceIntegrationKey") }) diff --git a/instana_client/models/paginated_result.py b/instana_client/models/paginated_result.py index e48b15e2..a53505d2 100644 --- a/instana_client/models/paginated_result.py +++ b/instana_client/models/paginated_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/pagination.py b/instana_client/models/pagination.py index 90d40560..2fe60ede 100644 --- a/instana_client/models/pagination.py +++ b/instana_client/models/pagination.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/parameter.py b/instana_client/models/parameter.py index 8e0367ab..c4d5b94d 100644 --- a/instana_client/models/parameter.py +++ b/instana_client/models/parameter.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/parameter_value.py b/instana_client/models/parameter_value.py index 5c784ff7..27d5e85f 100644 --- a/instana_client/models/parameter_value.py +++ b/instana_client/models/parameter_value.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/path_parameter_http_path_segment_matching_rule.py b/instana_client/models/path_parameter_http_path_segment_matching_rule.py index b9a4b9b5..88118afa 100644 --- a/instana_client/models/path_parameter_http_path_segment_matching_rule.py +++ b/instana_client/models/path_parameter_http_path_segment_matching_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/physical_context.py b/instana_client/models/physical_context.py index e13a7e55..ea66f608 100644 --- a/instana_client/models/physical_context.py +++ b/instana_client/models/physical_context.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/plugin_result.py b/instana_client/models/plugin_result.py index 4464972a..3b0b72be 100644 --- a/instana_client/models/plugin_result.py +++ b/instana_client/models/plugin_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/policy.py b/instana_client/models/policy.py index 6eb6cd4a..e75e68c8 100644 --- a/instana_client/models/policy.py +++ b/instana_client/models/policy.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/policy_runnable.py b/instana_client/models/policy_runnable.py index 350d61c1..984b016c 100644 --- a/instana_client/models/policy_runnable.py +++ b/instana_client/models/policy_runnable.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/policy_scheduling.py b/instana_client/models/policy_scheduling.py index 76258ea7..5a5f4520 100644 --- a/instana_client/models/policy_scheduling.py +++ b/instana_client/models/policy_scheduling.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/post_mobile_app_source_map_config_request.py b/instana_client/models/post_mobile_app_source_map_config_request.py index ffa4b6de..e1c5719f 100644 --- a/instana_client/models/post_mobile_app_source_map_config_request.py +++ b/instana_client/models/post_mobile_app_source_map_config_request.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/post_snapshots_result.py b/instana_client/models/post_snapshots_result.py index 7b46720f..cf402cde 100644 --- a/instana_client/models/post_snapshots_result.py +++ b/instana_client/models/post_snapshots_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/prefix_object.py b/instana_client/models/prefix_object.py index b99701c1..dbe2d1b0 100644 --- a/instana_client/models/prefix_object.py +++ b/instana_client/models/prefix_object.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/problem.py b/instana_client/models/problem.py index 39805301..cdc9c304 100644 --- a/instana_client/models/problem.py +++ b/instana_client/models/problem.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/prometheus_webhook_integration.py b/instana_client/models/prometheus_webhook_integration.py index 399db6e2..12bb64f3 100644 --- a/instana_client/models/prometheus_webhook_integration.py +++ b/instana_client/models/prometheus_webhook_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -31,7 +31,7 @@ class PrometheusWebhookIntegration(AbstractIntegration): """ # noqa: E501 receiver: Optional[StrictStr] = None webhook_url: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="webhookUrl") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "receiver", "webhookUrl"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "receiver", "webhookUrl"] model_config = ConfigDict( populate_by_name=True, @@ -92,9 +92,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "receiver": obj.get("receiver"), "webhookUrl": obj.get("webhookUrl") diff --git a/instana_client/models/rbac_restrictions.py b/instana_client/models/rbac_restrictions.py index de67b60b..db3ac09a 100644 --- a/instana_client/models/rbac_restrictions.py +++ b/instana_client/models/rbac_restrictions.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/recurrent_maintenance_window.py b/instana_client/models/recurrent_maintenance_window.py index c98acc41..12f82ad8 100644 --- a/instana_client/models/recurrent_maintenance_window.py +++ b/instana_client/models/recurrent_maintenance_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/release.py b/instana_client/models/release.py index 0a08c984..51b46f53 100644 --- a/instana_client/models/release.py +++ b/instana_client/models/release.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/release_scope.py b/instana_client/models/release_scope.py index 69113a92..39ca33f1 100644 --- a/instana_client/models/release_scope.py +++ b/instana_client/models/release_scope.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/release_with_metadata.py b/instana_client/models/release_with_metadata.py index 1c6da034..6e27db09 100644 --- a/instana_client/models/release_with_metadata.py +++ b/instana_client/models/release_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/retention_period.py b/instana_client/models/retention_period.py index 9c797a6d..6a64c91c 100644 --- a/instana_client/models/retention_period.py +++ b/instana_client/models/retention_period.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/role_mapping_overview.py b/instana_client/models/role_mapping_overview.py index 87969068..ef58b91c 100644 --- a/instana_client/models/role_mapping_overview.py +++ b/instana_client/models/role_mapping_overview.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/rolling_time_window.py b/instana_client/models/rolling_time_window.py index 83ed6bb5..4a0942b7 100644 --- a/instana_client/models/rolling_time_window.py +++ b/instana_client/models/rolling_time_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/rule_input.py b/instana_client/models/rule_input.py index b9159102..76c138dc 100644 --- a/instana_client/models/rule_input.py +++ b/instana_client/models/rule_input.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/rule_with_threshold_application_alert_rule.py b/instana_client/models/rule_with_threshold_application_alert_rule.py index 0a97817b..4f650a53 100644 --- a/instana_client/models/rule_with_threshold_application_alert_rule.py +++ b/instana_client/models/rule_with_threshold_application_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/rule_with_threshold_infra_alert_rule.py b/instana_client/models/rule_with_threshold_infra_alert_rule.py index b93e645b..7127f130 100644 --- a/instana_client/models/rule_with_threshold_infra_alert_rule.py +++ b/instana_client/models/rule_with_threshold_infra_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/rule_with_threshold_log_alert_rule.py b/instana_client/models/rule_with_threshold_log_alert_rule.py index 9b87e860..dd75afb8 100644 --- a/instana_client/models/rule_with_threshold_log_alert_rule.py +++ b/instana_client/models/rule_with_threshold_log_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/rule_with_threshold_mobile_app_alert_rule.py b/instana_client/models/rule_with_threshold_mobile_app_alert_rule.py index 797ef833..045e5547 100644 --- a/instana_client/models/rule_with_threshold_mobile_app_alert_rule.py +++ b/instana_client/models/rule_with_threshold_mobile_app_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/rule_with_threshold_website_alert_rule.py b/instana_client/models/rule_with_threshold_website_alert_rule.py index d310092e..29644028 100644 --- a/instana_client/models/rule_with_threshold_website_alert_rule.py +++ b/instana_client/models/rule_with_threshold_website_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/run_configuration.py b/instana_client/models/run_configuration.py index 3b4b5d74..770e0cfb 100644 --- a/instana_client/models/run_configuration.py +++ b/instana_client/models/run_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/run_evaluation_response.py b/instana_client/models/run_evaluation_response.py index dd62c888..6ccfe182 100644 --- a/instana_client/models/run_evaluation_response.py +++ b/instana_client/models/run_evaluation_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/salesforce_integration.py b/instana_client/models/salesforce_integration.py index d38db19b..a523b422 100644 --- a/instana_client/models/salesforce_integration.py +++ b/instana_client/models/salesforce_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -33,7 +33,7 @@ class SalesforceIntegration(AbstractIntegration): client_id: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(alias="clientId") client_secret: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(alias="clientSecret") salesforce_url: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="salesforceUrl") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "bearerToken", "clientId", "clientSecret", "salesforceUrl"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "bearerToken", "clientId", "clientSecret", "salesforceUrl"] model_config = ConfigDict( populate_by_name=True, @@ -104,9 +104,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "bearerToken": obj.get("bearerToken"), "clientId": obj.get("clientId"), diff --git a/instana_client/models/sampling_metadata.py b/instana_client/models/sampling_metadata.py index edaf5a42..a86b4494 100644 --- a/instana_client/models/sampling_metadata.py +++ b/instana_client/models/sampling_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/saturation_blueprint_indicator.py b/instana_client/models/saturation_blueprint_indicator.py index d95a9686..fb2bcf3b 100644 --- a/instana_client/models/saturation_blueprint_indicator.py +++ b/instana_client/models/saturation_blueprint_indicator.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/scope_binding.py b/instana_client/models/scope_binding.py index 4d521792..3bce23af 100644 --- a/instana_client/models/scope_binding.py +++ b/instana_client/models/scope_binding.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/search_field_result.py b/instana_client/models/search_field_result.py index 01ecba14..e3096ff2 100644 --- a/instana_client/models/search_field_result.py +++ b/instana_client/models/search_field_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service.py b/instana_client/models/service.py index 92cc3d4a..12f3145d 100644 --- a/instana_client/models/service.py +++ b/instana_client/models/service.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_config.py b/instana_client/models/service_config.py index b3b2fe7a..c346d1f6 100644 --- a/instana_client/models/service_config.py +++ b/instana_client/models/service_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_event_result.py b/instana_client/models/service_event_result.py index 22e6f9e6..f02de718 100644 --- a/instana_client/models/service_event_result.py +++ b/instana_client/models/service_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_item.py b/instana_client/models/service_item.py index 03598528..385f0e80 100644 --- a/instana_client/models/service_item.py +++ b/instana_client/models/service_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_level_indicator.py b/instana_client/models/service_level_indicator.py index 524c81d4..8c467ffc 100644 --- a/instana_client/models/service_level_indicator.py +++ b/instana_client/models/service_level_indicator.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_level_objective_alert_rule.py b/instana_client/models/service_level_objective_alert_rule.py index 13825d87..49cb4463 100644 --- a/instana_client/models/service_level_objective_alert_rule.py +++ b/instana_client/models/service_level_objective_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_levels_alert_config.py b/instana_client/models/service_levels_alert_config.py index 0b456fb5..fc81ef7d 100644 --- a/instana_client/models/service_levels_alert_config.py +++ b/instana_client/models/service_levels_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_levels_alert_config_with_rbac_tag.py b/instana_client/models/service_levels_alert_config_with_rbac_tag.py index 54eb5b0d..402472c3 100644 --- a/instana_client/models/service_levels_alert_config_with_rbac_tag.py +++ b/instana_client/models/service_levels_alert_config_with_rbac_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_levels_alert_rule.py b/instana_client/models/service_levels_alert_rule.py index e4331636..42613cf0 100644 --- a/instana_client/models/service_levels_alert_rule.py +++ b/instana_client/models/service_levels_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_levels_burn_rate_config.py b/instana_client/models/service_levels_burn_rate_config.py index a2a078e2..e81f1a03 100644 --- a/instana_client/models/service_levels_burn_rate_config.py +++ b/instana_client/models/service_levels_burn_rate_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_levels_burn_rate_time_windows.py b/instana_client/models/service_levels_burn_rate_time_windows.py index 27854375..888472cb 100644 --- a/instana_client/models/service_levels_burn_rate_time_windows.py +++ b/instana_client/models/service_levels_burn_rate_time_windows.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_levels_static_threshold_config.py b/instana_client/models/service_levels_static_threshold_config.py index 4e162e2a..17861555 100644 --- a/instana_client/models/service_levels_static_threshold_config.py +++ b/instana_client/models/service_levels_static_threshold_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_levels_time_threshold.py b/instana_client/models/service_levels_time_threshold.py index 9c268ce5..4d7c35ee 100644 --- a/instana_client/models/service_levels_time_threshold.py +++ b/instana_client/models/service_levels_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_levelse_alert_config_with_metadata.py b/instana_client/models/service_levelse_alert_config_with_metadata.py index 71e2ae6e..a30f5e07 100644 --- a/instana_client/models/service_levelse_alert_config_with_metadata.py +++ b/instana_client/models/service_levelse_alert_config_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_map.py b/instana_client/models/service_map.py index 2c074c40..e40d924a 100644 --- a/instana_client/models/service_map.py +++ b/instana_client/models/service_map.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_map_connection.py b/instana_client/models/service_map_connection.py index 0595cadd..f7b0ee53 100644 --- a/instana_client/models/service_map_connection.py +++ b/instana_client/models/service_map_connection.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_matching_rule.py b/instana_client/models/service_matching_rule.py index 4e1d0016..33d1f06a 100644 --- a/instana_client/models/service_matching_rule.py +++ b/instana_client/models/service_matching_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_metric_result.py b/instana_client/models/service_metric_result.py index 5df5beda..087a3243 100644 --- a/instana_client/models/service_metric_result.py +++ b/instana_client/models/service_metric_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_node.py b/instana_client/models/service_node.py index c8924400..d62d81f3 100644 --- a/instana_client/models/service_node.py +++ b/instana_client/models/service_node.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_now_enhanced_integration.py b/instana_client/models/service_now_enhanced_integration.py index 197525a4..cfe0f0d6 100644 --- a/instana_client/models/service_now_enhanced_integration.py +++ b/instana_client/models/service_now_enhanced_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -42,7 +42,7 @@ class ServiceNowEnhancedIntegration(AbstractIntegration): tenant: Annotated[str, Field(min_length=1, strict=True)] unit: Annotated[str, Field(min_length=1, strict=True)] username: Annotated[str, Field(min_length=1, strict=True)] - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "autoCloseIncidents", "enableSendInstanaNotes", "enableSendServiceNowActivities", "enableSendServiceNowWorkNotes", "instanaUrl", "manuallyClosedIncidents", "password", "resolutionOfIncident", "serviceNowUrl", "snowStatusOnCloseEvent", "tenant", "unit", "username"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "autoCloseIncidents", "enableSendInstanaNotes", "enableSendServiceNowActivities", "enableSendServiceNowWorkNotes", "instanaUrl", "manuallyClosedIncidents", "password", "resolutionOfIncident", "serviceNowUrl", "snowStatusOnCloseEvent", "tenant", "unit", "username"] model_config = ConfigDict( populate_by_name=True, @@ -98,9 +98,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "autoCloseIncidents": obj.get("autoCloseIncidents"), "enableSendInstanaNotes": obj.get("enableSendInstanaNotes"), diff --git a/instana_client/models/service_now_integration.py b/instana_client/models/service_now_integration.py index 923249f8..6ad814e9 100644 --- a/instana_client/models/service_now_integration.py +++ b/instana_client/models/service_now_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -33,7 +33,7 @@ class ServiceNowIntegration(AbstractIntegration): password: Annotated[str, Field(min_length=1, strict=True)] service_now_url: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="serviceNowUrl") username: Annotated[str, Field(min_length=1, strict=True)] - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "autoCloseIncidents", "password", "serviceNowUrl", "username"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "autoCloseIncidents", "password", "serviceNowUrl", "username"] model_config = ConfigDict( populate_by_name=True, @@ -89,9 +89,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "autoCloseIncidents": obj.get("autoCloseIncidents"), "password": obj.get("password"), diff --git a/instana_client/models/service_result.py b/instana_client/models/service_result.py index 9fcb2fd0..a3d9f2d7 100644 --- a/instana_client/models/service_result.py +++ b/instana_client/models/service_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_scope.py b/instana_client/models/service_scope.py index 1ead619b..3f12c00f 100644 --- a/instana_client/models/service_scope.py +++ b/instana_client/models/service_scope.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_scope_with_metadata.py b/instana_client/models/service_scope_with_metadata.py index 3d08ed7a..1b4af340 100644 --- a/instana_client/models/service_scope_with_metadata.py +++ b/instana_client/models/service_scope_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_scoped_to.py b/instana_client/models/service_scoped_to.py index a44ebb6b..667493fb 100644 --- a/instana_client/models/service_scoped_to.py +++ b/instana_client/models/service_scoped_to.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_scoped_to_with_metadata.py b/instana_client/models/service_scoped_to_with_metadata.py index 57030d5a..acac3d1f 100644 --- a/instana_client/models/service_scoped_to_with_metadata.py +++ b/instana_client/models/service_scoped_to_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_simple.py b/instana_client/models/service_simple.py index f12c5b20..715b6d8c 100644 --- a/instana_client/models/service_simple.py +++ b/instana_client/models/service_simple.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/session_replay_metadata.py b/instana_client/models/session_replay_metadata.py index 9e8a734c..d2bb2dfa 100644 --- a/instana_client/models/session_replay_metadata.py +++ b/instana_client/models/session_replay_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/session_replay_timestamps.py b/instana_client/models/session_replay_timestamps.py index bb7a40c3..192b785e 100644 --- a/instana_client/models/session_replay_timestamps.py +++ b/instana_client/models/session_replay_timestamps.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/session_settings.py b/instana_client/models/session_settings.py index ef6a0a79..e4097019 100644 --- a/instana_client/models/session_settings.py +++ b/instana_client/models/session_settings.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/simple_metric_configuration.py b/instana_client/models/simple_metric_configuration.py index f4396a17..a2646349 100644 --- a/instana_client/models/simple_metric_configuration.py +++ b/instana_client/models/simple_metric_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/slack_integration.py b/instana_client/models/slack_integration.py index 70c5c86d..44c1d355 100644 --- a/instana_client/models/slack_integration.py +++ b/instana_client/models/slack_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -33,7 +33,7 @@ class SlackIntegration(AbstractIntegration): emoji_rendering: Optional[StrictBool] = Field(default=None, alias="emojiRendering") icon_url: Optional[StrictStr] = Field(default=None, alias="iconUrl") webhook_url: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="webhookUrl") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "channel", "emojiRendering", "iconUrl", "webhookUrl"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "channel", "emojiRendering", "iconUrl", "webhookUrl"] model_config = ConfigDict( populate_by_name=True, @@ -99,9 +99,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "channel": obj.get("channel"), "emojiRendering": obj.get("emojiRendering"), diff --git a/instana_client/models/sli_configuration.py b/instana_client/models/sli_configuration.py index 749ad024..54c974cb 100644 --- a/instana_client/models/sli_configuration.py +++ b/instana_client/models/sli_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/sli_configuration_with_last_updated.py b/instana_client/models/sli_configuration_with_last_updated.py index 925ba068..c2dd79a7 100644 --- a/instana_client/models/sli_configuration_with_last_updated.py +++ b/instana_client/models/sli_configuration_with_last_updated.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/sli_entity.py b/instana_client/models/sli_entity.py index e65803a4..4abca8db 100644 --- a/instana_client/models/sli_entity.py +++ b/instana_client/models/sli_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/sli_report.py b/instana_client/models/sli_report.py index 87b52ee3..96843540 100644 --- a/instana_client/models/sli_report.py +++ b/instana_client/models/sli_report.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/slo_config_with_rbac_tag.py b/instana_client/models/slo_config_with_rbac_tag.py index b0d526fe..3eaf0ec0 100644 --- a/instana_client/models/slo_config_with_rbac_tag.py +++ b/instana_client/models/slo_config_with_rbac_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/slo_entity.py b/instana_client/models/slo_entity.py index f82f180c..ffbe0561 100644 --- a/instana_client/models/slo_entity.py +++ b/instana_client/models/slo_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/slo_health_snapshot.py b/instana_client/models/slo_health_snapshot.py new file mode 100644 index 00000000..d5be1e58 --- /dev/null +++ b/instana_client/models/slo_health_snapshot.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List, Optional +from instana_client.models.slo_health_snapshot_item import SloHealthSnapshotItem +from typing import Optional, Set +from typing_extensions import Self + +class SloHealthSnapshot(BaseModel): + """ + SloHealthSnapshot + """ # noqa: E501 + items: Optional[List[SloHealthSnapshotItem]] = None + state_counts: Optional[Dict[str, StrictInt]] = Field(default=None, alias="stateCounts") + total_count: Optional[StrictInt] = Field(default=None, alias="totalCount") + __properties: ClassVar[List[str]] = ["items", "stateCounts", "totalCount"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SloHealthSnapshot from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in items (list) + _items = [] + if self.items: + for _item_items in self.items: + if _item_items: + _items.append(_item_items.to_dict()) + _dict['items'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SloHealthSnapshot from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "items": [SloHealthSnapshotItem.from_dict(_item) for _item in obj["items"]] if obj.get("items") is not None else None, + "stateCounts": obj.get("stateCounts"), + "totalCount": obj.get("totalCount") + }) + return _obj + + diff --git a/instana_client/models/slo_health_snapshot_item.py b/instana_client/models/slo_health_snapshot_item.py new file mode 100644 index 00000000..709968b3 --- /dev/null +++ b/instana_client/models/slo_health_snapshot_item.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing import Optional, Set +from typing_extensions import Self + +class SloHealthSnapshotItem(BaseModel): + """ + SloHealthSnapshotItem + """ # noqa: E501 + blueprint: Optional[StrictStr] = None + entity_type: Optional[StrictStr] = Field(default=None, alias="entityType") + health_score: Optional[StrictInt] = Field(default=None, alias="healthScore") + health_state: Optional[StrictStr] = Field(default=None, alias="healthState") + id: Optional[StrictStr] = None + name: Optional[StrictStr] = None + primary_reason: Optional[StrictStr] = Field(default=None, alias="primaryReason") + tags: Optional[List[StrictStr]] = None + target: Optional[Union[StrictFloat, StrictInt]] = None + trend: Optional[StrictStr] = None + window_duration: Optional[StrictInt] = Field(default=None, alias="windowDuration") + window_duration_unit: Optional[StrictStr] = Field(default=None, alias="windowDurationUnit") + window_type: Optional[StrictStr] = Field(default=None, alias="windowType") + __properties: ClassVar[List[str]] = ["blueprint", "entityType", "healthScore", "healthState", "id", "name", "primaryReason", "tags", "target", "trend", "windowDuration", "windowDurationUnit", "windowType"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SloHealthSnapshotItem from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if health_score (nullable) is None + # and model_fields_set contains the field + if self.health_score is None and "health_score" in self.model_fields_set: + _dict['healthScore'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SloHealthSnapshotItem from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "blueprint": obj.get("blueprint"), + "entityType": obj.get("entityType"), + "healthScore": obj.get("healthScore"), + "healthState": obj.get("healthState"), + "id": obj.get("id"), + "name": obj.get("name"), + "primaryReason": obj.get("primaryReason"), + "tags": obj.get("tags"), + "target": obj.get("target"), + "trend": obj.get("trend"), + "windowDuration": obj.get("windowDuration"), + "windowDurationUnit": obj.get("windowDurationUnit"), + "windowType": obj.get("windowType") + }) + return _obj + + diff --git a/instana_client/models/slo_report.py b/instana_client/models/slo_report.py index dae02639..f7a27e4e 100644 --- a/instana_client/models/slo_report.py +++ b/instana_client/models/slo_report.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional, Union from typing import Optional, Set from typing_extensions import Self @@ -35,12 +35,16 @@ class SloReport(BaseModel): error_burn_rate_chart: Optional[Dict[str, StrictInt]] = Field(default=None, description="Budget Rate value of SLO configuration in different timestamps from starting to ending point", alias="errorBurnRateChart") error_chart: Optional[Dict[str, StrictInt]] = Field(default=None, description="Value indicating presence of bad minutes/events of SLO configuration in different timestamps from starting to ending point", alias="errorChart") from_timestamp: Optional[StrictInt] = Field(default=None, description="Starting point of the data retrieval, specified as 13 digit Unix Timestamp milliseconds", alias="fromTimestamp") + health_score: Optional[StrictInt] = Field(default=None, description="Health score of the SLO (0–100), null when state is INSUFFICIENT_DATA or NOT_EVALUATED", alias="healthScore") + health_score_primary_reason: Optional[StrictStr] = Field(default=None, description="Primary reason code driving the current health state", alias="healthScorePrimaryReason") + health_score_trend: Optional[StrictStr] = Field(default=None, description="Burn rate trend direction (IMPROVING, CONSTANT, DEGRADING, UNKNOWN)", alias="healthScoreTrend") + health_state: Optional[StrictStr] = Field(default=None, description="Health state of the SLO (HEALTHY, AT_RISK, BREACHED, INSUFFICIENT_DATA, NOT_EVALUATED)", alias="healthState") sli: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Latest Status value of SLO Configuration") slo: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Target status of SLO Configuration") to_timestamp: Optional[StrictInt] = Field(default=None, description="Ending point of the data retrieval, specified as 13 digit Unix Timestamp milliseconds", alias="toTimestamp") total_error_budget: Optional[StrictInt] = Field(default=None, description="Latest Available Error Budget value of SLO Configuration", alias="totalErrorBudget") violation_distribution: Optional[Dict[str, StrictInt]] = Field(default=None, description="Value indicating violation of SLO configuration in different timestamps from starting to ending point", alias="violationDistribution") - __properties: ClassVar[List[str]] = ["errorAccumulationChart", "errorBudgetRemainChart", "errorBudgetRemaining", "errorBudgetSpent", "errorBurnRate", "errorBurnRateChart", "errorChart", "fromTimestamp", "sli", "slo", "toTimestamp", "totalErrorBudget", "violationDistribution"] + __properties: ClassVar[List[str]] = ["errorAccumulationChart", "errorBudgetRemainChart", "errorBudgetRemaining", "errorBudgetSpent", "errorBurnRate", "errorBurnRateChart", "errorChart", "fromTimestamp", "healthScore", "healthScorePrimaryReason", "healthScoreTrend", "healthState", "sli", "slo", "toTimestamp", "totalErrorBudget", "violationDistribution"] model_config = ConfigDict( populate_by_name=True, @@ -101,6 +105,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "errorBurnRateChart": obj.get("errorBurnRateChart"), "errorChart": obj.get("errorChart"), "fromTimestamp": obj.get("fromTimestamp"), + "healthScore": obj.get("healthScore"), + "healthScorePrimaryReason": obj.get("healthScorePrimaryReason"), + "healthScoreTrend": obj.get("healthScoreTrend"), + "healthState": obj.get("healthState"), "sli": obj.get("sli"), "slo": obj.get("slo"), "toTimestamp": obj.get("toTimestamp"), diff --git a/instana_client/models/slowness_application_alert_rule.py b/instana_client/models/slowness_application_alert_rule.py index 719ebcb3..f722a17d 100644 --- a/instana_client/models/slowness_application_alert_rule.py +++ b/instana_client/models/slowness_application_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/slowness_mobile_app_alert_rule.py b/instana_client/models/slowness_mobile_app_alert_rule.py index 990b7b65..f39d1865 100644 --- a/instana_client/models/slowness_mobile_app_alert_rule.py +++ b/instana_client/models/slowness_mobile_app_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/slowness_website_alert_rule.py b/instana_client/models/slowness_website_alert_rule.py index 36715c99..efe14169 100644 --- a/instana_client/models/slowness_website_alert_rule.py +++ b/instana_client/models/slowness_website_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/snapshot_item.py b/instana_client/models/snapshot_item.py index aaf1a53d..11c2e59b 100644 --- a/instana_client/models/snapshot_item.py +++ b/instana_client/models/snapshot_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/snapshot_preview.py b/instana_client/models/snapshot_preview.py index a582ddc5..a076f01a 100644 --- a/instana_client/models/snapshot_preview.py +++ b/instana_client/models/snapshot_preview.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/snapshot_result.py b/instana_client/models/snapshot_result.py index 7321c127..030f2f8e 100644 --- a/instana_client/models/snapshot_result.py +++ b/instana_client/models/snapshot_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/software_user.py b/instana_client/models/software_user.py index 58695d8e..1b0ef829 100644 --- a/instana_client/models/software_user.py +++ b/instana_client/models/software_user.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/software_version.py b/instana_client/models/software_version.py index 765e477b..b288b700 100644 --- a/instana_client/models/software_version.py +++ b/instana_client/models/software_version.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/source_map_file_blob.py b/instana_client/models/source_map_file_blob.py index 7248bb31..8cb09c75 100644 --- a/instana_client/models/source_map_file_blob.py +++ b/instana_client/models/source_map_file_blob.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/source_map_file_meta.py b/instana_client/models/source_map_file_meta.py index bdb50d07..cb011e22 100644 --- a/instana_client/models/source_map_file_meta.py +++ b/instana_client/models/source_map_file_meta.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/source_map_upload_config.py b/instana_client/models/source_map_upload_config.py index 184db90f..8a80c1e8 100644 --- a/instana_client/models/source_map_upload_config.py +++ b/instana_client/models/source_map_upload_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/source_map_upload_configs.py b/instana_client/models/source_map_upload_configs.py index 5ea81eb4..3512621a 100644 --- a/instana_client/models/source_map_upload_configs.py +++ b/instana_client/models/source_map_upload_configs.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/span_excerpt.py b/instana_client/models/span_excerpt.py index e23bc152..6ab40011 100644 --- a/instana_client/models/span_excerpt.py +++ b/instana_client/models/span_excerpt.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/span_relation.py b/instana_client/models/span_relation.py index 0ef0371c..66942eca 100644 --- a/instana_client/models/span_relation.py +++ b/instana_client/models/span_relation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/specific_js_errors_website_alert_rule.py b/instana_client/models/specific_js_errors_website_alert_rule.py index 3b8b5660..b1d03fc8 100644 --- a/instana_client/models/specific_js_errors_website_alert_rule.py +++ b/instana_client/models/specific_js_errors_website_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/splunk_integration.py b/instana_client/models/splunk_integration.py index 9edd202e..df9299d9 100644 --- a/instana_client/models/splunk_integration.py +++ b/instana_client/models/splunk_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -31,7 +31,7 @@ class SplunkIntegration(AbstractIntegration): """ # noqa: E501 token: Annotated[str, Field(min_length=1, strict=True)] url: Annotated[str, Field(min_length=1, strict=True)] - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "token", "url"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "token", "url"] model_config = ConfigDict( populate_by_name=True, @@ -87,9 +87,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "token": obj.get("token"), "url": obj.get("url") diff --git a/instana_client/models/ssl_certificate_configuration.py b/instana_client/models/ssl_certificate_configuration.py index e9da6730..1d068268 100644 --- a/instana_client/models/ssl_certificate_configuration.py +++ b/instana_client/models/ssl_certificate_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ssl_certificate_configuration_update.py b/instana_client/models/ssl_certificate_configuration_update.py index 7b193294..90196797 100644 --- a/instana_client/models/ssl_certificate_configuration_update.py +++ b/instana_client/models/ssl_certificate_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ssl_certificate_validation.py b/instana_client/models/ssl_certificate_validation.py index 0f2ce41a..a6ea05be 100644 --- a/instana_client/models/ssl_certificate_validation.py +++ b/instana_client/models/ssl_certificate_validation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/stack_trace_item.py b/instana_client/models/stack_trace_item.py index 29cbd5f1..0e3a9b90 100644 --- a/instana_client/models/stack_trace_item.py +++ b/instana_client/models/stack_trace_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/stack_trace_line.py b/instana_client/models/stack_trace_line.py index 19bd1696..ad2a0699 100644 --- a/instana_client/models/stack_trace_line.py +++ b/instana_client/models/stack_trace_line.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/static_baseline_threshold_rule.py b/instana_client/models/static_baseline_threshold_rule.py index a25cc4f4..99615b29 100644 --- a/instana_client/models/static_baseline_threshold_rule.py +++ b/instana_client/models/static_baseline_threshold_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/static_string_field.py b/instana_client/models/static_string_field.py index 9d931da8..f4dcf8ee 100644 --- a/instana_client/models/static_string_field.py +++ b/instana_client/models/static_string_field.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/static_threshold.py b/instana_client/models/static_threshold.py index 333053ac..7a3b5e9e 100644 --- a/instana_client/models/static_threshold.py +++ b/instana_client/models/static_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/static_threshold_rule.py b/instana_client/models/static_threshold_rule.py index 66191d1c..d8ddbe5b 100644 --- a/instana_client/models/static_threshold_rule.py +++ b/instana_client/models/static_threshold_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/status_code_application_alert_rule.py b/instana_client/models/status_code_application_alert_rule.py index e421c5b8..99bb9ed5 100644 --- a/instana_client/models/status_code_application_alert_rule.py +++ b/instana_client/models/status_code_application_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/status_code_mobile_app_alert_rule.py b/instana_client/models/status_code_mobile_app_alert_rule.py index 2fd269c2..de13ab81 100644 --- a/instana_client/models/status_code_mobile_app_alert_rule.py +++ b/instana_client/models/status_code_mobile_app_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/status_code_website_alert_rule.py b/instana_client/models/status_code_website_alert_rule.py index ea246768..474f6a76 100644 --- a/instana_client/models/status_code_website_alert_rule.py +++ b/instana_client/models/status_code_website_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_alert_config.py b/instana_client/models/synthetic_alert_config.py index db190558..780ae8ff 100644 --- a/instana_client/models/synthetic_alert_config.py +++ b/instana_client/models/synthetic_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_alert_config_with_metadata.py b/instana_client/models/synthetic_alert_config_with_metadata.py index da831909..e3944b00 100644 --- a/instana_client/models/synthetic_alert_config_with_metadata.py +++ b/instana_client/models/synthetic_alert_config_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_alert_config_with_rbac_tag.py b/instana_client/models/synthetic_alert_config_with_rbac_tag.py index 47bfcbab..faae49f6 100644 --- a/instana_client/models/synthetic_alert_config_with_rbac_tag.py +++ b/instana_client/models/synthetic_alert_config_with_rbac_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_alert_rule.py b/instana_client/models/synthetic_alert_rule.py index a42fb6de..380635e6 100644 --- a/instana_client/models/synthetic_alert_rule.py +++ b/instana_client/models/synthetic_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_bulk_response.py b/instana_client/models/synthetic_bulk_response.py index b6e2aed9..8822fd0e 100644 --- a/instana_client/models/synthetic_bulk_response.py +++ b/instana_client/models/synthetic_bulk_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_call_config.py b/instana_client/models/synthetic_call_config.py index a7c49402..7d7b6ec1 100644 --- a/instana_client/models/synthetic_call_config.py +++ b/instana_client/models/synthetic_call_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_call_rule.py b/instana_client/models/synthetic_call_rule.py index da47d1f3..27a05a39 100644 --- a/instana_client/models/synthetic_call_rule.py +++ b/instana_client/models/synthetic_call_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_call_with_defaults_config.py b/instana_client/models/synthetic_call_with_defaults_config.py index a7f9a012..e2be2a59 100644 --- a/instana_client/models/synthetic_call_with_defaults_config.py +++ b/instana_client/models/synthetic_call_with_defaults_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_configuration.py b/instana_client/models/synthetic_configuration.py index 4ee5d005..133071f2 100644 --- a/instana_client/models/synthetic_configuration.py +++ b/instana_client/models/synthetic_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_configuration_update.py b/instana_client/models/synthetic_configuration_update.py index 9ea9e114..511c9d53 100644 --- a/instana_client/models/synthetic_configuration_update.py +++ b/instana_client/models/synthetic_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_credential.py b/instana_client/models/synthetic_credential.py index 575d0fbb..da462815 100644 --- a/instana_client/models/synthetic_credential.py +++ b/instana_client/models/synthetic_credential.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_datacenter.py b/instana_client/models/synthetic_datacenter.py index a1ebd85a..12d9e576 100644 --- a/instana_client/models/synthetic_datacenter.py +++ b/instana_client/models/synthetic_datacenter.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_datacenter_configuration.py b/instana_client/models/synthetic_datacenter_configuration.py index 5511e6a7..98c244ab 100644 --- a/instana_client/models/synthetic_datacenter_configuration.py +++ b/instana_client/models/synthetic_datacenter_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_geo_point.py b/instana_client/models/synthetic_geo_point.py index 98b2750e..01766ac2 100644 --- a/instana_client/models/synthetic_geo_point.py +++ b/instana_client/models/synthetic_geo_point.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_location.py b/instana_client/models/synthetic_location.py index 8743758d..f083bfd9 100644 --- a/instana_client/models/synthetic_location.py +++ b/instana_client/models/synthetic_location.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_location_configuration.py b/instana_client/models/synthetic_location_configuration.py index d98d75bc..d500561a 100644 --- a/instana_client/models/synthetic_location_configuration.py +++ b/instana_client/models/synthetic_location_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_metric_configuration.py b/instana_client/models/synthetic_metric_configuration.py index d1313e28..808beae2 100644 --- a/instana_client/models/synthetic_metric_configuration.py +++ b/instana_client/models/synthetic_metric_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_metric_tag_group.py b/instana_client/models/synthetic_metric_tag_group.py index 084d9a3f..5cbf45b2 100644 --- a/instana_client/models/synthetic_metric_tag_group.py +++ b/instana_client/models/synthetic_metric_tag_group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_playback_capabilities.py b/instana_client/models/synthetic_playback_capabilities.py index 1bda1056..e1cc412d 100644 --- a/instana_client/models/synthetic_playback_capabilities.py +++ b/instana_client/models/synthetic_playback_capabilities.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -59,8 +59,8 @@ def extensions_validate_enum(cls, value): return value for i in value: - if i not in set(['GitHub', 'PW']): - raise ValueError("each list item must be one of ('GitHub', 'PW')") + if i not in set(['CNP', 'GitHub', 'PW']): + raise ValueError("each list item must be one of ('CNP', 'GitHub', 'PW')") return value model_config = ConfigDict( diff --git a/instana_client/models/synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value.py b/instana_client/models/synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value.py index 04856db3..b9d82b48 100644 --- a/instana_client/models/synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value.py +++ b/instana_client/models/synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_resource_update_list_icmp_validation_list_icmp_validation.py b/instana_client/models/synthetic_resource_update_list_icmp_validation_list_icmp_validation.py index e770f060..126b9c12 100644 --- a/instana_client/models/synthetic_resource_update_list_icmp_validation_list_icmp_validation.py +++ b/instana_client/models/synthetic_resource_update_list_icmp_validation_list_icmp_validation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_resource_update_list_network_profile_list_network_profile.py b/instana_client/models/synthetic_resource_update_list_network_profile_list_network_profile.py index 64d676c9..3e4e9041 100644 --- a/instana_client/models/synthetic_resource_update_list_network_profile_list_network_profile.py +++ b/instana_client/models/synthetic_resource_update_list_network_profile_list_network_profile.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation.py b/instana_client/models/synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation.py index af2ec65b..068ea77f 100644 --- a/instana_client/models/synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation.py +++ b/instana_client/models/synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_resource_update_list_string_list_string.py b/instana_client/models/synthetic_resource_update_list_string_list_string.py index 63fb6aab..e303da63 100644 --- a/instana_client/models/synthetic_resource_update_list_string_list_string.py +++ b/instana_client/models/synthetic_resource_update_list_string_list_string.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_resource_update_map_string_string_list_string.py b/instana_client/models/synthetic_resource_update_map_string_string_list_string.py index 099331a1..6c86ec1d 100644 --- a/instana_client/models/synthetic_resource_update_map_string_string_list_string.py +++ b/instana_client/models/synthetic_resource_update_map_string_string_list_string.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_slo_entity.py b/instana_client/models/synthetic_slo_entity.py index 256c652f..51dd06ba 100644 --- a/instana_client/models/synthetic_slo_entity.py +++ b/instana_client/models/synthetic_slo_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test.py b/instana_client/models/synthetic_test.py index 4fa09f32..d7693668 100644 --- a/instana_client/models/synthetic_test.py +++ b/instana_client/models/synthetic_test.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test_cicd.py b/instana_client/models/synthetic_test_cicd.py index 7284ccd0..a73d3c2a 100644 --- a/instana_client/models/synthetic_test_cicd.py +++ b/instana_client/models/synthetic_test_cicd.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test_cicd_customization.py b/instana_client/models/synthetic_test_cicd_customization.py index 7e05019d..b249c29a 100644 --- a/instana_client/models/synthetic_test_cicd_customization.py +++ b/instana_client/models/synthetic_test_cicd_customization.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test_cicd_item.py b/instana_client/models/synthetic_test_cicd_item.py index 89314ce3..ad30189a 100644 --- a/instana_client/models/synthetic_test_cicd_item.py +++ b/instana_client/models/synthetic_test_cicd_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test_cicd_response.py b/instana_client/models/synthetic_test_cicd_response.py index a7772019..17b18e72 100644 --- a/instana_client/models/synthetic_test_cicd_response.py +++ b/instana_client/models/synthetic_test_cicd_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test_deep_update.py b/instana_client/models/synthetic_test_deep_update.py index a635ddc4..f48727c8 100644 --- a/instana_client/models/synthetic_test_deep_update.py +++ b/instana_client/models/synthetic_test_deep_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test_shallow_update.py b/instana_client/models/synthetic_test_shallow_update.py index 3ce0d7ea..8a083c08 100644 --- a/instana_client/models/synthetic_test_shallow_update.py +++ b/instana_client/models/synthetic_test_shallow_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test_update.py b/instana_client/models/synthetic_test_update.py index 5660660a..31d07936 100644 --- a/instana_client/models/synthetic_test_update.py +++ b/instana_client/models/synthetic_test_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_time_threshold.py b/instana_client/models/synthetic_time_threshold.py index 32e911ed..6014d9e0 100644 --- a/instana_client/models/synthetic_time_threshold.py +++ b/instana_client/models/synthetic_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_type_configuration.py b/instana_client/models/synthetic_type_configuration.py index 2ef48ee6..62986475 100644 --- a/instana_client/models/synthetic_type_configuration.py +++ b/instana_client/models/synthetic_type_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_type_configuration_update.py b/instana_client/models/synthetic_type_configuration_update.py index f24a0649..70f66c34 100644 --- a/instana_client/models/synthetic_type_configuration_update.py +++ b/instana_client/models/synthetic_type_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetics_event_result.py b/instana_client/models/synthetics_event_result.py index a07ab21f..9314149f 100644 --- a/instana_client/models/synthetics_event_result.py +++ b/instana_client/models/synthetics_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/system_rule.py b/instana_client/models/system_rule.py index f88a7d28..e540f509 100644 --- a/instana_client/models/system_rule.py +++ b/instana_client/models/system_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/system_rule_label.py b/instana_client/models/system_rule_label.py index 24f1600d..3a4ec01a 100644 --- a/instana_client/models/system_rule_label.py +++ b/instana_client/models/system_rule_label.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag.py b/instana_client/models/tag.py index 54b77a0a..31d810e2 100644 --- a/instana_client/models/tag.py +++ b/instana_client/models/tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag_catalog.py b/instana_client/models/tag_catalog.py index 7165f1e5..2952c848 100644 --- a/instana_client/models/tag_catalog.py +++ b/instana_client/models/tag_catalog.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag_filter_expression.py b/instana_client/models/tag_filter_expression.py index a2d48724..10d73e25 100644 --- a/instana_client/models/tag_filter_expression.py +++ b/instana_client/models/tag_filter_expression.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag_filter_expression_element.py b/instana_client/models/tag_filter_expression_element.py index 28cc3ec9..d21a4092 100644 --- a/instana_client/models/tag_filter_expression_element.py +++ b/instana_client/models/tag_filter_expression_element.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag_matcher_dto.py b/instana_client/models/tag_matcher_dto.py index de99debf..c52b482a 100644 --- a/instana_client/models/tag_matcher_dto.py +++ b/instana_client/models/tag_matcher_dto.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag_tree_level.py b/instana_client/models/tag_tree_level.py index f5522c93..7d513843 100644 --- a/instana_client/models/tag_tree_level.py +++ b/instana_client/models/tag_tree_level.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag_tree_node.py b/instana_client/models/tag_tree_node.py index 71bd98b1..611b47da 100644 --- a/instana_client/models/tag_tree_node.py +++ b/instana_client/models/tag_tree_node.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag_tree_tag.py b/instana_client/models/tag_tree_tag.py index 6c95f8bf..02d8e628 100644 --- a/instana_client/models/tag_tree_tag.py +++ b/instana_client/models/tag_tree_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_common_properties.py b/instana_client/models/test_common_properties.py index 0a1bdaea..72c308da 100644 --- a/instana_client/models/test_common_properties.py +++ b/instana_client/models/test_common_properties.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -47,12 +47,13 @@ class TestCommonProperties(BaseModel): mobile_application_ids: Optional[List[StrictStr]] = Field(default=None, alias="mobileApplicationIds") mobile_application_labels: Optional[List[StrictStr]] = Field(default=None, alias="mobileApplicationLabels") modified_at: Optional[StrictInt] = Field(default=None, alias="modifiedAt") + profiles: Optional[List[StrictStr]] = None rbac_tags: Optional[List[ApiTag]] = Field(default=None, alias="rbacTags") service_id: Optional[StrictStr] = Field(default=None, alias="serviceId") type: Annotated[str, Field(min_length=1, strict=True)] website_ids: Optional[List[StrictStr]] = Field(default=None, alias="websiteIds") website_labels: Optional[List[StrictStr]] = Field(default=None, alias="websiteLabels") - __properties: ClassVar[List[str]] = ["active", "applicationId", "applicationIds", "applicationLabel", "applicationLabels", "createdAt", "frequency", "getWebsiteLabels", "id", "label", "locationDisplayLabels", "locationIds", "locationLabels", "locationStatusList", "mobileApplicationIds", "mobileApplicationLabels", "modifiedAt", "rbacTags", "serviceId", "type", "websiteIds", "websiteLabels"] + __properties: ClassVar[List[str]] = ["active", "applicationId", "applicationIds", "applicationLabel", "applicationLabels", "createdAt", "frequency", "getWebsiteLabels", "id", "label", "locationDisplayLabels", "locationIds", "locationLabels", "locationStatusList", "mobileApplicationIds", "mobileApplicationLabels", "modifiedAt", "profiles", "rbacTags", "serviceId", "type", "websiteIds", "websiteLabels"] model_config = ConfigDict( populate_by_name=True, @@ -141,6 +142,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "mobileApplicationIds": obj.get("mobileApplicationIds"), "mobileApplicationLabels": obj.get("mobileApplicationLabels"), "modifiedAt": obj.get("modifiedAt"), + "profiles": obj.get("profiles"), "rbacTags": [ApiTag.from_dict(_item) for _item in obj["rbacTags"]] if obj.get("rbacTags") is not None else None, "serviceId": obj.get("serviceId"), "type": obj.get("type"), diff --git a/instana_client/models/test_connection_response.py b/instana_client/models/test_connection_response.py index 61a39f37..423debe6 100644 --- a/instana_client/models/test_connection_response.py +++ b/instana_client/models/test_connection_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_last_error.py b/instana_client/models/test_last_error.py index d36f79b5..fb7321aa 100644 --- a/instana_client/models/test_last_error.py +++ b/instana_client/models/test_last_error.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_result.py b/instana_client/models/test_result.py index a0182000..2303aa2b 100644 --- a/instana_client/models/test_result.py +++ b/instana_client/models/test_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_result_common_properties.py b/instana_client/models/test_result_common_properties.py index bb18a672..6aeeb186 100644 --- a/instana_client/models/test_result_common_properties.py +++ b/instana_client/models/test_result_common_properties.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_result_detail_data.py b/instana_client/models/test_result_detail_data.py index 0979a828..e8b5c614 100644 --- a/instana_client/models/test_result_detail_data.py +++ b/instana_client/models/test_result_detail_data.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_result_item.py b/instana_client/models/test_result_item.py index a0b6c2b0..749328a4 100644 --- a/instana_client/models/test_result_item.py +++ b/instana_client/models/test_result_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_result_list_item.py b/instana_client/models/test_result_list_item.py index 75e19b6e..907ff3f7 100644 --- a/instana_client/models/test_result_list_item.py +++ b/instana_client/models/test_result_list_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_result_list_result.py b/instana_client/models/test_result_list_result.py index eacb5258..eed30dab 100644 --- a/instana_client/models/test_result_list_result.py +++ b/instana_client/models/test_result_list_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_result_metadata.py b/instana_client/models/test_result_metadata.py index 0f4a6136..18f3b142 100644 --- a/instana_client/models/test_result_metadata.py +++ b/instana_client/models/test_result_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_result_subtransaction.py b/instana_client/models/test_result_subtransaction.py index 30db6321..bd560621 100644 --- a/instana_client/models/test_result_subtransaction.py +++ b/instana_client/models/test_result_subtransaction.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/threshold.py b/instana_client/models/threshold.py index d6a53772..a910dfe6 100644 --- a/instana_client/models/threshold.py +++ b/instana_client/models/threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/threshold_config_rule.py b/instana_client/models/threshold_config_rule.py index 73703f1d..bb8c0113 100644 --- a/instana_client/models/threshold_config_rule.py +++ b/instana_client/models/threshold_config_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/threshold_rule.py b/instana_client/models/threshold_rule.py index e5e8e2b7..a512f71d 100644 --- a/instana_client/models/threshold_rule.py +++ b/instana_client/models/threshold_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/throughput_application_alert_rule.py b/instana_client/models/throughput_application_alert_rule.py index e51b39f1..b2b0dea5 100644 --- a/instana_client/models/throughput_application_alert_rule.py +++ b/instana_client/models/throughput_application_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/throughput_mobile_app_alert_rule.py b/instana_client/models/throughput_mobile_app_alert_rule.py index fc18aa5d..e7b4851a 100644 --- a/instana_client/models/throughput_mobile_app_alert_rule.py +++ b/instana_client/models/throughput_mobile_app_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/throughput_website_alert_rule.py b/instana_client/models/throughput_website_alert_rule.py index 8495c2bf..23f7d20b 100644 --- a/instana_client/models/throughput_website_alert_rule.py +++ b/instana_client/models/throughput_website_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/time_config.py b/instana_client/models/time_config.py index d7b8624d..35e3dd5a 100644 --- a/instana_client/models/time_config.py +++ b/instana_client/models/time_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/time_frame.py b/instana_client/models/time_frame.py index 39b0ab05..54711249 100644 --- a/instana_client/models/time_frame.py +++ b/instana_client/models/time_frame.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/time_window.py b/instana_client/models/time_window.py index 4d7d4a6b..fb7dca07 100644 --- a/instana_client/models/time_window.py +++ b/instana_client/models/time_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/topology.py b/instana_client/models/topology.py index 1e821eb5..ab7804e5 100644 --- a/instana_client/models/topology.py +++ b/instana_client/models/topology.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace.py b/instana_client/models/trace.py index 9a624351..2b919a02 100644 --- a/instana_client/models/trace.py +++ b/instana_client/models/trace.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace_activity_tree_node_details.py b/instana_client/models/trace_activity_tree_node_details.py index 609e1bf6..330e4f27 100644 --- a/instana_client/models/trace_activity_tree_node_details.py +++ b/instana_client/models/trace_activity_tree_node_details.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace_download_result.py b/instana_client/models/trace_download_result.py index 4b5079c3..fc74f05e 100644 --- a/instana_client/models/trace_download_result.py +++ b/instana_client/models/trace_download_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace_groups_item.py b/instana_client/models/trace_groups_item.py index 8ad0a072..0d1500ef 100644 --- a/instana_client/models/trace_groups_item.py +++ b/instana_client/models/trace_groups_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace_groups_result.py b/instana_client/models/trace_groups_result.py index 555f1eda..8153bf87 100644 --- a/instana_client/models/trace_groups_result.py +++ b/instana_client/models/trace_groups_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace_impact_application_time_threshold.py b/instana_client/models/trace_impact_application_time_threshold.py index e57fd72d..c2d9317b 100644 --- a/instana_client/models/trace_impact_application_time_threshold.py +++ b/instana_client/models/trace_impact_application_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace_item.py b/instana_client/models/trace_item.py index e9e4218c..de36039c 100644 --- a/instana_client/models/trace_item.py +++ b/instana_client/models/trace_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace_result.py b/instana_client/models/trace_result.py index 279bcae6..ed3d36d4 100644 --- a/instana_client/models/trace_result.py +++ b/instana_client/models/trace_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace_sampling_config.py b/instana_client/models/trace_sampling_config.py index 112b68cb..2b66c18b 100644 --- a/instana_client/models/trace_sampling_config.py +++ b/instana_client/models/trace_sampling_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/traffic_blueprint_indicator.py b/instana_client/models/traffic_blueprint_indicator.py index df685943..33911b52 100644 --- a/instana_client/models/traffic_blueprint_indicator.py +++ b/instana_client/models/traffic_blueprint_indicator.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trigger.py b/instana_client/models/trigger.py index c6fabcea..8a9c2bb7 100644 --- a/instana_client/models/trigger.py +++ b/instana_client/models/trigger.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/type_configuration.py b/instana_client/models/type_configuration.py index d06f0e5f..b8e7f963 100644 --- a/instana_client/models/type_configuration.py +++ b/instana_client/models/type_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/unified_beacon.py b/instana_client/models/unified_beacon.py index f004acc5..eb0936d4 100644 --- a/instana_client/models/unified_beacon.py +++ b/instana_client/models/unified_beacon.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/unsupported_http_path_segment_matching_rule.py b/instana_client/models/unsupported_http_path_segment_matching_rule.py index 88a01ad3..54946e1e 100644 --- a/instana_client/models/unsupported_http_path_segment_matching_rule.py +++ b/instana_client/models/unsupported_http_path_segment_matching_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/update_evaluation_request.py b/instana_client/models/update_evaluation_request.py index 123609b6..39ddeac5 100644 --- a/instana_client/models/update_evaluation_request.py +++ b/instana_client/models/update_evaluation_request.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/updated_business_perspective_config.py b/instana_client/models/updated_business_perspective_config.py index f0c3b589..95257be5 100644 --- a/instana_client/models/updated_business_perspective_config.py +++ b/instana_client/models/updated_business_perspective_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/usage_result.py b/instana_client/models/usage_result.py index 43dfad21..2178811f 100644 --- a/instana_client/models/usage_result.py +++ b/instana_client/models/usage_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/usage_result_items.py b/instana_client/models/usage_result_items.py index 903b59fe..48dc922b 100644 --- a/instana_client/models/usage_result_items.py +++ b/instana_client/models/usage_result_items.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/user_basic_result.py b/instana_client/models/user_basic_result.py index 886c0282..34ceaf86 100644 --- a/instana_client/models/user_basic_result.py +++ b/instana_client/models/user_basic_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/user_impact_mobile_app_time_threshold.py b/instana_client/models/user_impact_mobile_app_time_threshold.py index fa5d8874..371acc14 100644 --- a/instana_client/models/user_impact_mobile_app_time_threshold.py +++ b/instana_client/models/user_impact_mobile_app_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/user_impact_website_time_threshold.py b/instana_client/models/user_impact_website_time_threshold.py index 2de0b136..e46ed2df 100644 --- a/instana_client/models/user_impact_website_time_threshold.py +++ b/instana_client/models/user_impact_website_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/user_result.py b/instana_client/models/user_result.py index f0d83371..bbb735c6 100644 --- a/instana_client/models/user_result.py +++ b/instana_client/models/user_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/users_result.py b/instana_client/models/users_result.py index c908fa55..ce884808 100644 --- a/instana_client/models/users_result.py +++ b/instana_client/models/users_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/validated_alerting_channel_input_info.py b/instana_client/models/validated_alerting_channel_input_info.py index 5a96fac8..c1715352 100644 --- a/instana_client/models/validated_alerting_channel_input_info.py +++ b/instana_client/models/validated_alerting_channel_input_info.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -53,8 +53,8 @@ def event_types_validate_enum(cls, value): @field_validator('type') def type_validate_enum(cls, value): """Validates the enum""" - if value not in set(['Alert', 'WebsiteSmartAlert', 'MobileSmartAlert', 'ApplicationSmartAlert', 'GlobalApplicationSmartAlert', 'SyntheticSmartAlert', 'InfraSmartAlert', 'ServiceLevelSmartAlert', 'ApdexSmartAlert', 'LogSmartAlert']): - raise ValueError("must be one of enum values ('Alert', 'WebsiteSmartAlert', 'MobileSmartAlert', 'ApplicationSmartAlert', 'GlobalApplicationSmartAlert', 'SyntheticSmartAlert', 'InfraSmartAlert', 'ServiceLevelSmartAlert', 'ApdexSmartAlert', 'LogSmartAlert')") + if value not in set(['Alert', 'WebsiteSmartAlert', 'MobileSmartAlert', 'ApplicationSmartAlert', 'GlobalApplicationSmartAlert', 'SyntheticSmartAlert', 'InfraSmartAlert', 'ServiceLevelSmartAlert', 'ApdexSmartAlert', 'LogSmartAlert', 'GenAISmartAlert']): + raise ValueError("must be one of enum values ('Alert', 'WebsiteSmartAlert', 'MobileSmartAlert', 'ApplicationSmartAlert', 'GlobalApplicationSmartAlert', 'SyntheticSmartAlert', 'InfraSmartAlert', 'ServiceLevelSmartAlert', 'ApdexSmartAlert', 'LogSmartAlert', 'GenAISmartAlert')") return value model_config = ConfigDict( diff --git a/instana_client/models/validated_alerting_configuration.py b/instana_client/models/validated_alerting_configuration.py index ce716876..24b579e3 100644 --- a/instana_client/models/validated_alerting_configuration.py +++ b/instana_client/models/validated_alerting_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/validated_maintenance_config_v2_with_state_and_occurrence.py b/instana_client/models/validated_maintenance_config_v2_with_state_and_occurrence.py index e524326b..3c8c2b35 100644 --- a/instana_client/models/validated_maintenance_config_v2_with_state_and_occurrence.py +++ b/instana_client/models/validated_maintenance_config_v2_with_state_and_occurrence.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/validated_maintenance_config_with_status.py b/instana_client/models/validated_maintenance_config_with_status.py index 24be1f60..a499d56b 100644 --- a/instana_client/models/validated_maintenance_config_with_status.py +++ b/instana_client/models/validated_maintenance_config_with_status.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/victor_ops_integration.py b/instana_client/models/victor_ops_integration.py index 93093796..a179be62 100644 --- a/instana_client/models/victor_ops_integration.py +++ b/instana_client/models/victor_ops_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -31,7 +31,7 @@ class VictorOpsIntegration(AbstractIntegration): """ # noqa: E501 api_key: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="apiKey") routing_key: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="routingKey") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "apiKey", "routingKey"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "apiKey", "routingKey"] model_config = ConfigDict( populate_by_name=True, @@ -87,9 +87,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "apiKey": obj.get("apiKey"), "routingKey": obj.get("routingKey") diff --git a/instana_client/models/violations_in_period_application_time_threshold.py b/instana_client/models/violations_in_period_application_time_threshold.py index a285c391..f46cbf94 100644 --- a/instana_client/models/violations_in_period_application_time_threshold.py +++ b/instana_client/models/violations_in_period_application_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_period_mobile_app_time_threshold.py b/instana_client/models/violations_in_period_mobile_app_time_threshold.py index ef4efd32..fe547d53 100644 --- a/instana_client/models/violations_in_period_mobile_app_time_threshold.py +++ b/instana_client/models/violations_in_period_mobile_app_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_period_website_time_threshold.py b/instana_client/models/violations_in_period_website_time_threshold.py index c18f7a22..4db71da4 100644 --- a/instana_client/models/violations_in_period_website_time_threshold.py +++ b/instana_client/models/violations_in_period_website_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_sequence_application_time_threshold.py b/instana_client/models/violations_in_sequence_application_time_threshold.py index 7384cf21..32708ac7 100644 --- a/instana_client/models/violations_in_sequence_application_time_threshold.py +++ b/instana_client/models/violations_in_sequence_application_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_sequence_infra_time_threshold.py b/instana_client/models/violations_in_sequence_infra_time_threshold.py index 82cc2266..406553d1 100644 --- a/instana_client/models/violations_in_sequence_infra_time_threshold.py +++ b/instana_client/models/violations_in_sequence_infra_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_sequence_log_time_threshold.py b/instana_client/models/violations_in_sequence_log_time_threshold.py index 6e75d865..197c8ff7 100644 --- a/instana_client/models/violations_in_sequence_log_time_threshold.py +++ b/instana_client/models/violations_in_sequence_log_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_sequence_mobile_app_time_threshold.py b/instana_client/models/violations_in_sequence_mobile_app_time_threshold.py index 44e0ded5..c2acf417 100644 --- a/instana_client/models/violations_in_sequence_mobile_app_time_threshold.py +++ b/instana_client/models/violations_in_sequence_mobile_app_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_sequence_synthetic_time_threshold.py b/instana_client/models/violations_in_sequence_synthetic_time_threshold.py index c9c0695f..891507bf 100644 --- a/instana_client/models/violations_in_sequence_synthetic_time_threshold.py +++ b/instana_client/models/violations_in_sequence_synthetic_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_sequence_website_time_threshold.py b/instana_client/models/violations_in_sequence_website_time_threshold.py index 821fc603..29b47a48 100644 --- a/instana_client/models/violations_in_sequence_website_time_threshold.py +++ b/instana_client/models/violations_in_sequence_website_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/watson_ai_ops_webhook_integration.py b/instana_client/models/watson_ai_ops_webhook_integration.py index 05220929..0166aada 100644 --- a/instana_client/models/watson_ai_ops_webhook_integration.py +++ b/instana_client/models/watson_ai_ops_webhook_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -31,7 +31,7 @@ class WatsonAIOpsWebhookIntegration(AbstractIntegration): """ # noqa: E501 headers: Optional[List[Annotated[str, Field(min_length=1, strict=True)]]] = None webhook_url: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="webhookUrl") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "headers", "webhookUrl"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "headers", "webhookUrl"] model_config = ConfigDict( populate_by_name=True, @@ -92,9 +92,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "headers": obj.get("headers"), "webhookUrl": obj.get("webhookUrl") diff --git a/instana_client/models/webex_teams_webhook_integration.py b/instana_client/models/webex_teams_webhook_integration.py index d662e3b6..d944031f 100644 --- a/instana_client/models/webex_teams_webhook_integration.py +++ b/instana_client/models/webex_teams_webhook_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -30,7 +30,7 @@ class WebexTeamsWebhookIntegration(AbstractIntegration): WebexTeamsWebhookIntegration """ # noqa: E501 webhook_url: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="webhookUrl") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "webhookUrl"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "webhookUrl"] model_config = ConfigDict( populate_by_name=True, @@ -86,9 +86,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "webhookUrl": obj.get("webhookUrl") }) diff --git a/instana_client/models/webhook_integration.py b/instana_client/models/webhook_integration.py index b1a98613..2223e424 100644 --- a/instana_client/models/webhook_integration.py +++ b/instana_client/models/webhook_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -35,7 +35,7 @@ class WebhookIntegration(AbstractIntegration): oauth_enabled: Optional[StrictBool] = Field(default=None, alias="oauthEnabled") transformation_expression: Optional[StrictStr] = Field(default=None, alias="transformationExpression") webhook_urls: Annotated[List[Annotated[str, Field(min_length=1, strict=True)]], Field(min_length=1)] = Field(alias="webhookUrls") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "headers", "oauth", "oauthEnabled", "transformationExpression", "webhookUrls"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "headers", "oauth", "oauthEnabled", "transformationExpression", "webhookUrls"] model_config = ConfigDict( populate_by_name=True, @@ -94,9 +94,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "headers": obj.get("headers"), "oauth": OAuthIntegration.from_dict(obj["oauth"]) if obj.get("oauth") is not None else None, diff --git a/instana_client/models/webpage_action_configuration.py b/instana_client/models/webpage_action_configuration.py index 19ba019a..05352170 100644 --- a/instana_client/models/webpage_action_configuration.py +++ b/instana_client/models/webpage_action_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/webpage_action_configuration_update.py b/instana_client/models/webpage_action_configuration_update.py index 94937d50..8bfd04ca 100644 --- a/instana_client/models/webpage_action_configuration_update.py +++ b/instana_client/models/webpage_action_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/webpage_script_configuration.py b/instana_client/models/webpage_script_configuration.py index decb1000..22ef4f15 100644 --- a/instana_client/models/webpage_script_configuration.py +++ b/instana_client/models/webpage_script_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/webpage_script_configuration_update.py b/instana_client/models/webpage_script_configuration_update.py index 30590425..be8556da 100644 --- a/instana_client/models/webpage_script_configuration_update.py +++ b/instana_client/models/webpage_script_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website.py b/instana_client/models/website.py index 033dc40d..161a1231 100644 --- a/instana_client/models/website.py +++ b/instana_client/models/website.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_alert_config.py b/instana_client/models/website_alert_config.py index b63d418f..501eac2e 100644 --- a/instana_client/models/website_alert_config.py +++ b/instana_client/models/website_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_alert_config_with_metadata.py b/instana_client/models/website_alert_config_with_metadata.py index 56ce036a..f1a6707d 100644 --- a/instana_client/models/website_alert_config_with_metadata.py +++ b/instana_client/models/website_alert_config_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_alert_config_with_rbac_tag.py b/instana_client/models/website_alert_config_with_rbac_tag.py index 889795d8..089c836b 100644 --- a/instana_client/models/website_alert_config_with_rbac_tag.py +++ b/instana_client/models/website_alert_config_with_rbac_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_alert_rule.py b/instana_client/models/website_alert_rule.py index 4dcc58c8..c5623204 100644 --- a/instana_client/models/website_alert_rule.py +++ b/instana_client/models/website_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_apdex_entity.py b/instana_client/models/website_apdex_entity.py index 3d5a6eaa..05309597 100644 --- a/instana_client/models/website_apdex_entity.py +++ b/instana_client/models/website_apdex_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_beacon_groups_item.py b/instana_client/models/website_beacon_groups_item.py index 42680ace..e8361fb4 100644 --- a/instana_client/models/website_beacon_groups_item.py +++ b/instana_client/models/website_beacon_groups_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_beacon_groups_result.py b/instana_client/models/website_beacon_groups_result.py index 1155424c..9bce7c14 100644 --- a/instana_client/models/website_beacon_groups_result.py +++ b/instana_client/models/website_beacon_groups_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_beacon_result.py b/instana_client/models/website_beacon_result.py index e299d26c..69336ffc 100644 --- a/instana_client/models/website_beacon_result.py +++ b/instana_client/models/website_beacon_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_beacon_tag_group.py b/instana_client/models/website_beacon_tag_group.py index eddd9555..5712acba 100644 --- a/instana_client/models/website_beacon_tag_group.py +++ b/instana_client/models/website_beacon_tag_group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_beacons_item.py b/instana_client/models/website_beacons_item.py index 2deab4a4..e6aedfc2 100644 --- a/instana_client/models/website_beacons_item.py +++ b/instana_client/models/website_beacons_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_event_based_sli_entity.py b/instana_client/models/website_event_based_sli_entity.py index f728bcaf..3b25388c 100644 --- a/instana_client/models/website_event_based_sli_entity.py +++ b/instana_client/models/website_event_based_sli_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_event_result.py b/instana_client/models/website_event_result.py index 1e0a9f2e..d737b9e7 100644 --- a/instana_client/models/website_event_result.py +++ b/instana_client/models/website_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_metric_result.py b/instana_client/models/website_metric_result.py index 80f524e6..04617b80 100644 --- a/instana_client/models/website_metric_result.py +++ b/instana_client/models/website_metric_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_monitoring_beacon.py b/instana_client/models/website_monitoring_beacon.py index 72aa1a8b..afc7a1b4 100644 --- a/instana_client/models/website_monitoring_beacon.py +++ b/instana_client/models/website_monitoring_beacon.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -111,6 +111,7 @@ class WebsiteMonitoringBeacon(BaseModel): resource_type: Optional[StrictStr] = Field(default=None, alias="resourceType") response_time: Optional[Annotated[int, Field(strict=True, ge=-1)]] = Field(default=None, alias="responseTime") session_id: Optional[StrictStr] = Field(default=None, alias="sessionId") + session_replay_status: Optional[StrictInt] = Field(default=None, alias="sessionReplayStatus") snippet_version: Optional[StrictStr] = Field(default=None, alias="snippetVersion") ssl_time: Optional[Annotated[int, Field(strict=True, ge=-1)]] = Field(default=None, alias="sslTime") stack_trace: Optional[StrictStr] = Field(default=None, alias="stackTrace") @@ -134,7 +135,7 @@ class WebsiteMonitoringBeacon(BaseModel): window_height: Optional[Annotated[int, Field(strict=True, ge=-1)]] = Field(default=None, alias="windowHeight") window_hidden: Optional[StrictBool] = Field(default=None, alias="windowHidden") window_width: Optional[Annotated[int, Field(strict=True, ge=-1)]] = Field(default=None, alias="windowWidth") - __properties: ClassVar[List[str]] = ["accuracyRadius", "accurateTimingsAvailable", "agentVersion", "appCacheTime", "backendTime", "backendTraceId", "batchSize", "beaconId", "browserName", "browserVersion", "bytesIngested", "cacheInteraction", "childrenTime", "city", "clockSkew", "componentStack", "connectionType", "continent", "continentCode", "country", "countryCode", "cspBlockedUri", "cspColumnNumber", "cspDisposition", "cspEffectiveDirective", "cspLineNumber", "cspOriginalPolicy", "cspSample", "cspSourceFile", "cumulativeLayoutShift", "customEventName", "customMetric", "decodedBodySize", "deprecations", "deviceType", "dnsTime", "domTime", "duration", "encodedBodySize", "errorCount", "errorId", "errorMessage", "errorType", "firstContentfulPaintTime", "firstInputDelayTime", "firstPaintTime", "frontendTime", "graphqlOperationName", "graphqlOperationType", "httpCallAsynchronous", "httpCallCorrelationAttempted", "httpCallHeaders", "httpCallMethod", "httpCallOrigin", "httpCallPath", "httpCallStatus", "httpCallUrl", "initiator", "interactionNextPaint", "internalMeta", "label", "largestContentfulPaintTime", "latitude", "locationOrigin", "locationPath", "locationUrl", "longitude", "meta", "onLoadTime", "osName", "osVersion", "page", "pageLoadId", "parentBeaconId", "parsedStackTrace", "phase", "processingTime", "redirectTime", "requestTime", "resourceType", "responseTime", "sessionId", "snippetVersion", "sslTime", "stackTrace", "stackTraceParsingStatus", "stackTraceReadability", "subdivision", "subdivisionCode", "tcpTime", "timestamp", "transferSize", "type", "unloadTime", "useFeatures", "userEmail", "userId", "userIp", "userLanguages", "userName", "websiteId", "websiteLabel", "windowHeight", "windowHidden", "windowWidth"] + __properties: ClassVar[List[str]] = ["accuracyRadius", "accurateTimingsAvailable", "agentVersion", "appCacheTime", "backendTime", "backendTraceId", "batchSize", "beaconId", "browserName", "browserVersion", "bytesIngested", "cacheInteraction", "childrenTime", "city", "clockSkew", "componentStack", "connectionType", "continent", "continentCode", "country", "countryCode", "cspBlockedUri", "cspColumnNumber", "cspDisposition", "cspEffectiveDirective", "cspLineNumber", "cspOriginalPolicy", "cspSample", "cspSourceFile", "cumulativeLayoutShift", "customEventName", "customMetric", "decodedBodySize", "deprecations", "deviceType", "dnsTime", "domTime", "duration", "encodedBodySize", "errorCount", "errorId", "errorMessage", "errorType", "firstContentfulPaintTime", "firstInputDelayTime", "firstPaintTime", "frontendTime", "graphqlOperationName", "graphqlOperationType", "httpCallAsynchronous", "httpCallCorrelationAttempted", "httpCallHeaders", "httpCallMethod", "httpCallOrigin", "httpCallPath", "httpCallStatus", "httpCallUrl", "initiator", "interactionNextPaint", "internalMeta", "label", "largestContentfulPaintTime", "latitude", "locationOrigin", "locationPath", "locationUrl", "longitude", "meta", "onLoadTime", "osName", "osVersion", "page", "pageLoadId", "parentBeaconId", "parsedStackTrace", "phase", "processingTime", "redirectTime", "requestTime", "resourceType", "responseTime", "sessionId", "sessionReplayStatus", "snippetVersion", "sslTime", "stackTrace", "stackTraceParsingStatus", "stackTraceReadability", "subdivision", "subdivisionCode", "tcpTime", "timestamp", "transferSize", "type", "unloadTime", "useFeatures", "userEmail", "userId", "userIp", "userLanguages", "userName", "websiteId", "websiteLabel", "windowHeight", "windowHidden", "windowWidth"] model_config = ConfigDict( populate_by_name=True, @@ -491,6 +492,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "resourceType": obj.get("resourceType"), "responseTime": obj.get("responseTime"), "sessionId": obj.get("sessionId"), + "sessionReplayStatus": obj.get("sessionReplayStatus"), "snippetVersion": obj.get("snippetVersion"), "sslTime": obj.get("sslTime"), "stackTrace": obj.get("stackTrace"), diff --git a/instana_client/models/website_monitoring_metric_description.py b/instana_client/models/website_monitoring_metric_description.py index c3fdf425..7e6813a7 100644 --- a/instana_client/models/website_monitoring_metric_description.py +++ b/instana_client/models/website_monitoring_metric_description.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_monitoring_metrics_configuration.py b/instana_client/models/website_monitoring_metrics_configuration.py index 230add8a..6c612721 100644 --- a/instana_client/models/website_monitoring_metrics_configuration.py +++ b/instana_client/models/website_monitoring_metrics_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_slo_entity.py b/instana_client/models/website_slo_entity.py index e0d8f412..ad8a4d3f 100644 --- a/instana_client/models/website_slo_entity.py +++ b/instana_client/models/website_slo_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_time_based_sli_entity.py b/instana_client/models/website_time_based_sli_entity.py index ec886c9a..fa817c93 100644 --- a/instana_client/models/website_time_based_sli_entity.py +++ b/instana_client/models/website_time_based_sli_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_time_threshold.py b/instana_client/models/website_time_threshold.py index fb753201..59a933fe 100644 --- a/instana_client/models/website_time_threshold.py +++ b/instana_client/models/website_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/widget.py b/instana_client/models/widget.py index a3385b61..f8d0d4db 100644 --- a/instana_client/models/widget.py +++ b/instana_client/models/widget.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/with_meta_data.py b/instana_client/models/with_meta_data.py index c1abf2f3..0ab93d92 100644 --- a/instana_client/models/with_meta_data.py +++ b/instana_client/models/with_meta_data.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/with_resolved_name.py b/instana_client/models/with_resolved_name.py index ca08aa19..40b7f798 100644 --- a/instana_client/models/with_resolved_name.py +++ b/instana_client/models/with_resolved_name.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/z_chat_ops_integration.py b/instana_client/models/z_chat_ops_integration.py index 7de227aa..94d1b2bf 100644 --- a/instana_client/models/z_chat_ops_integration.py +++ b/instana_client/models/z_chat_ops_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -32,7 +32,7 @@ class ZChatOpsIntegration(AbstractIntegration): bearer_auth_token: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="bearerAuthToken") channels: Optional[Annotated[List[Annotated[str, Field(min_length=1, strict=True)]], Field(min_length=0, max_length=1)]] = None zchat_ops_incidents_url: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="zchatOpsIncidentsUrl") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "bearerAuthToken", "channels", "zchatOpsIncidentsUrl"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "bearerAuthToken", "channels", "zchatOpsIncidentsUrl"] model_config = ConfigDict( populate_by_name=True, @@ -93,9 +93,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "bearerAuthToken": obj.get("bearerAuthToken"), "channels": obj.get("channels"), diff --git a/instana_client/rest.py b/instana_client/rest.py index 0a552b3f..11b48008 100644 --- a/instana_client/rest.py +++ b/instana_client/rest.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/openapi.yaml b/openapi.yaml index 09a83d34..3e29c43e 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -7,7 +7,7 @@ info: description: Documentation for INSTANA REST API termsOfService: https://www.instana.com/terms-of-use/ title: Instana REST API documentation - version: 1.326.1571 + version: 1.328.1128 x-description: info x-ibm-ahub-try: true x-logo: @@ -1288,6 +1288,7 @@ paths: entity: DESTINATION scope: INCLUDE_IMMEDIATE_DOWNSTREAM_DATABASE_AND_MESSAGING boundaryScope: INBOUND + businessCriticality: 0 accessRules: - accessType: READ_WRITE relationType: GLOBAL @@ -1304,9 +1305,10 @@ paths: tags: - Application Settings post: - description: |2- - - For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + description: "Ignores the provided business criticality of the application;\ + \ business criticality can only be set with the \"Batch update application\ + \ business criticality\" API, which requires different permissions. \nFor\ + \ more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings." operationId: addApplicationConfig requestBody: content: @@ -1408,6 +1410,39 @@ paths: tags: - Application Settings x-description: addApplicationConfig + /api/application-monitoring/settings/application/batch-business-criticality: + patch: + description: Updates the business criticality of one or more Application Perspectives + to a new value. + operationId: batchUpdateApplicationBusinessCriticality + requestBody: + content: + application/json: + example: + ids: + - CxJ55sRbQwqBIfw5DzpRmQ + - oLyuFtIfQ3eKzAqM5vBGkQ + businessCriticality: HIGH + schema: + $ref: '#/components/schemas/ApplicationBatchBusinessCriticalityUpdate' + required: true + responses: + '204': + description: No Content + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions or limited in access. + '404': + description: Resource not found. + '422': + description: Unprocessable request - missing/invalid data. + security: + - ApiKeyAuth: + - ConfigureServiceMapping + summary: Batch update application business criticality + tags: + - Application Settings /api/application-monitoring/settings/application/{id}: delete: description: |- @@ -1500,6 +1535,7 @@ paths: entity: DESTINATION scope: INCLUDE_IMMEDIATE_DOWNSTREAM_DATABASE_AND_MESSAGING boundaryScope: INBOUND + businessCriticality: 0 accessRules: - accessType: READ_WRITE relationType: GLOBAL @@ -1518,9 +1554,10 @@ paths: tags: - Application Settings put: - description: |2- - - For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + description: "Does not allow changing the business criticality of an application;\ + \ this must be done with the \"Batch update application business criticality\"\ + \ API, which requires different permissions. \nFor more information on Application\ + \ Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings." operationId: putApplicationConfig parameters: - in: path @@ -15228,7 +15265,7 @@ paths: - description: | Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, - `kubernetes_deployment_name`, `host_name`, `zone`. + `kubernetes_deployment_name`, `host_name`, `zone`, `perspective_id`. example: zone in: query name: groupingTag @@ -15510,6 +15547,408 @@ paths: summary: Retrieve logs via REST API tags: - Logging Analyze + /api/logging/perspective/v1: + get: + description: | + Returns all log perspectives that belong to the authenticated caller's tenant unit. + operationId: getAllLoggingPerspectives + responses: + '200': + content: + application/json: + examples: + List of perspectives: + description: List of perspectives + value: + - perspectiveId: '0' + perspectiveName: All logs + description: null + filter: null + - perspectiveId: RuuEJgfYQ3qF_Ma9IcEV4g + perspectiveName: Production Errors + description: Shows only ERROR-level logs from the production environment + filter: + type: TAG_FILTER + name: log.level + operator: EQUALS + entity: NOT_APPLICABLE + value: ERROR + - perspectiveId: Ab1CdEfGhIjKlMnOpQrStU + perspectiveName: Staging Warnings + description: null + filter: + type: TAG_FILTER + name: log.level + operator: EQUALS + entity: NOT_APPLICABLE + value: WARN + schema: + type: array + items: + $ref: '#/components/schemas/LoggingPerspective' + description: Successfully retrieved all log perspectives for the tenant + unit. + '403': + description: Insufficient permissions to view logs. + '404': + description: Tenant unit not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get All Log Perspectives + tags: + - Logging Analyze + post: + description: | + Creates a new log perspective for the caller's tenant unit. + + - `perspectiveId` is **not** required — the server assigns it automatically. + - `perspectiveName` must be unique. + - `filter` accepts at least 1 and at most 10 elements. The `REGEX_MATCH` operator is not supported. + operationId: createLoggingPerspective + requestBody: + content: + application/json: + examples: + Compound filter (AND expression): + description: Compound filter (AND expression) + summary: Match ERROR logs in a specific Kubernetes namespace + value: + perspectiveName: Production Errors (k8s) + description: ERROR logs scoped to the production Kubernetes namespace + filter: + type: EXPRESSION + logicalOperator: AND + elements: + - type: TAG_FILTER + name: log.level + operator: EQUALS + entity: NOT_APPLICABLE + value: ERROR + - type: TAG_FILTER + name: kubernetes.namespace.name + operator: EQUALS + entity: NOT_APPLICABLE + value: production + Single filter (EQUALS): + description: Single filter (EQUALS) + summary: Match logs where log.level = ERROR + value: + perspectiveName: Production Errors + description: Shows only ERROR-level logs from the production environment + filter: + type: TAG_FILTER + name: log.level + operator: EQUALS + entity: NOT_APPLICABLE + value: ERROR + curl — AND expression: + description: curl — AND expression + summary: 'curl example: create with a compound AND filter' + value: |- + curl -X POST 'https:///api/logging/perspective/v1' \ + -H 'authorization: apiToken ' \ + -H 'content-type: application/json' \ + -d '{ + "perspectiveName": "Production Errors (k8s)", + "description": "ERROR logs scoped to the production Kubernetes namespace", + "filter": { + "type": "EXPRESSION", + "logicalOperator": "AND", + "elements": [ + { + "type": "TAG_FILTER", + "name": "log.level", + "operator": "EQUALS", + "entity": "NOT_APPLICABLE", + "value": "ERROR" + }, + { + "type": "TAG_FILTER", + "name": "kubernetes.namespace.name", + "operator": "EQUALS", + "entity": "NOT_APPLICABLE", + "value": "production" + } + ] + } + }' + curl — single filter: + description: curl — single filter + summary: 'curl example: create with a single EQUALS filter' + value: |- + curl -X POST 'https:///api/logging/perspective/v1' \ + -H 'authorization: apiToken ' \ + -H 'content-type: application/json' \ + -d '{ + "perspectiveName": "Production Errors", + "description": "Shows only ERROR-level logs from the production environment", + "filter": { + "type": "TAG_FILTER", + "name": "log.level", + "operator": "EQUALS", + "entity": "NOT_APPLICABLE", + "value": "ERROR" + } + }' + schema: + $ref: '#/components/schemas/LoggingPerspective' + description: The log perspective to create. + required: true + responses: + '201': + content: + application/json: + examples: + Created perspective: + description: Created perspective + value: + perspectiveId: RuuEJgfYQ3qF_Ma9IcEV4g + perspectiveName: Production Errors + description: Shows only ERROR-level logs from the production environment + filter: + type: TAG_FILTER + name: log.level + operator: EQUALS + entity: NOT_APPLICABLE + value: ERROR + schema: + $ref: '#/components/schemas/LoggingPerspective' + description: Perspective created successfully. Returns the persisted perspective + including the server-assigned `perspectiveId`. + '400': + description: | + Validation failed. Possible reasons: + - `perspectiveName` is missing or blank. + - `perspectiveName` is `"All logs"` — this is a reserved name. + - `filter` is missing, empty, or cannot be parsed. + - The filter contains more than 10 elements. + - The filter contains a `REGEX_MATCH` operator. + - A perspective with the same name already exists. + - The reserved ID `"0"` ("All logs") was provided. + '403': + description: | + Possible reasons: + - Insufficient permissions to configure log perspectives. + - The tenant unit has reached its maximum number of allowed perspectives. + '404': + description: Tenant unit not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Create Log Perspective + tags: + - Logging Analyze + /api/logging/perspective/v1/{perspectiveId}: + delete: + description: | + Deletes an existing log perspective by its ID. + + The reserved **"All logs"** perspective (id=`"0"`) cannot be deleted. + operationId: deleteLoggingPerspective + parameters: + - in: path + name: perspectiveId + required: true + schema: + type: string + responses: + '204': + description: Perspective deleted successfully. + '400': + description: Attempted to delete the reserved perspective "0" ("All logs"). + '403': + description: Insufficient permissions to delete this perspective. + '404': + description: Tenant unit not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Delete Log Perspective + tags: + - Logging Analyze + get: + description: | + Retrieves a single log perspective by its ID. + operationId: getLoggingPerspective + parameters: + - in: path + name: perspectiveId + required: true + schema: + type: string + responses: + '200': + content: + application/json: + examples: + Perspective with filter: + description: Perspective with filter + value: + perspectiveId: RuuEJgfYQ3qF_Ma9IcEV4g + perspectiveName: Production Errors + description: Shows only ERROR-level logs from the production environment + filter: + type: TAG_FILTER + name: log.level + operator: EQUALS + entity: NOT_APPLICABLE + value: ERROR + schema: + $ref: '#/components/schemas/LoggingPerspective' + description: Successfully retrieved the log perspective. + '403': + description: Insufficient permissions to view this perspective. + '404': + description: Logging perspective not found or tenant unit not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get Log Perspective + tags: + - Logging Analyze + put: + description: | + Replaces an existing log perspective with the provided values. + + **Updatable fields:** + - `perspectiveName` — new display name; must be unique within the tenant unit. + - `description` — free-text description shown in the UI. Set to `null` to clear. + - `filter` — accepts at most 10 elements; the `REGEX_MATCH` operator is not supported. + + **Rules:** + - `perspectiveId` in the request body must match the `{perspectiveId}` path parameter. + - The reserved perspective `"0"` ("All logs") cannot be updated. + operationId: updateLoggingPerspective + parameters: + - in: path + name: perspectiveId + required: true + schema: + type: string + requestBody: + content: + application/json: + examples: + Updated perspective: + description: Updated perspective + summary: Update name, description, and filter using an AND expression + value: + perspectiveId: RuuEJgfYQ3qF_Ma9IcEV4g + perspectiveName: Production Errors (Updated) + description: ERROR-level logs scoped to the production Kubernetes + namespace + filter: + type: EXPRESSION + logicalOperator: AND + elements: + - type: TAG_FILTER + name: log.level + operator: EQUALS + entity: NOT_APPLICABLE + value: ERROR + - type: TAG_FILTER + name: kubernetes.namespace.name + operator: EQUALS + entity: NOT_APPLICABLE + value: production + curl — update perspective: + description: curl — update perspective + summary: 'curl example: update an existing perspective' + value: |- + curl -X PUT 'https:///api/logging/perspective/v1/RuuEJgfYQ3qF_Ma9IcEV4g' \ + -H 'authorization: apiToken ' \ + -H 'content-type: application/json' \ + -d '{ + "perspectiveId": "RuuEJgfYQ3qF_Ma9IcEV4g", + "perspectiveName": "Production Errors (Updated)", + "description": "ERROR-level logs scoped to the production Kubernetes namespace", + "filter": { + "type": "EXPRESSION", + "logicalOperator": "AND", + "elements": [ + { + "type": "TAG_FILTER", + "name": "log.level", + "operator": "EQUALS", + "entity": "NOT_APPLICABLE", + "value": "ERROR" + }, + { + "type": "TAG_FILTER", + "name": "kubernetes.namespace.name", + "operator": "EQUALS", + "entity": "NOT_APPLICABLE", + "value": "production" + } + ] + } + }' + schema: + $ref: '#/components/schemas/LoggingPerspective' + description: Full log perspective object. `perspectiveId` must be present + and match the path parameter. + required: true + responses: + '200': + content: + application/json: + examples: + Updated perspective: + description: Updated perspective + value: + perspectiveId: RuuEJgfYQ3qF_Ma9IcEV4g + perspectiveName: Production Errors (Updated) + description: ERROR-level logs scoped to the production Kubernetes + namespace + filter: + type: EXPRESSION + logicalOperator: AND + elements: + - type: TAG_FILTER + name: log.level + operator: EQUALS + entity: NOT_APPLICABLE + value: ERROR + - type: TAG_FILTER + name: kubernetes.namespace.name + operator: EQUALS + entity: NOT_APPLICABLE + value: production + schema: + $ref: '#/components/schemas/LoggingPerspective' + description: Perspective updated successfully. Returns the persisted perspective. + '400': + description: | + Validation failed. Possible reasons: + - `perspectiveId` in the body does not match the path parameter. + - `perspectiveName` is missing or blank. + - `perspectiveName` is `"All logs"` — this is a reserved name. + - `filter` is missing, empty, or cannot be parsed. + - The filter contains more than 10 elements. + - The filter contains a `REGEX_MATCH` operator. + - A different perspective with the same name already exists in this tenant unit. + - Attempted to update the reserved perspective `"0"` ("All logs"). + '403': + description: Insufficient permissions to update this perspective. + '404': + description: Perspective not found or tenant unit not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Update Log Perspective + tags: + - Logging Analyze /api/mobile-app-monitoring/analyze/beacon-groups: post: description: API request to get grouped mobile app beacon metrics. @@ -18113,7 +18552,8 @@ paths: "canConfigureGlobalLogSmartAlerts": true, "canManuallyCloseIssue": true, "canViewLogVolume": true, - "canConfigureLogRetentionPeriod": true + "canConfigureLogRetentionPeriod": true, + "canConfigureLoggingPerspectives": true }, { "id": "tokenId-2(masked)", @@ -18192,7 +18632,8 @@ paths: "canConfigureGlobalLogSmartAlerts": false, "canManuallyCloseIssue": false, "canViewLogVolume": false, - "canConfigureLogRetentionPeriod": false + "canConfigureLogRetentionPeriod": false, + "canConfigureLoggingPerspectives": false } ] schema: @@ -18313,6 +18754,7 @@ paths: canManuallyCloseIssue: false canViewLogVolume: false canConfigureLogRetentionPeriod: false + canConfigureLoggingPerspectives: false schema: $ref: '#/components/schemas/ApiToken' description: OK @@ -18437,7 +18879,8 @@ paths: "canConfigureGlobalLogSmartAlerts": true, "canManuallyCloseIssue": true, "canViewLogVolume": true, - "canConfigureLogRetentionPeriod": true + "canConfigureLogRetentionPeriod": true, + "canConfigureLoggingPerspectives": true } schema: $ref: '#/components/schemas/ApiToken' @@ -18561,6 +19004,7 @@ paths: canManuallyCloseIssue: false canViewLogVolume: false canConfigureLogRetentionPeriod: false + canConfigureLoggingPerspectives: false schema: $ref: '#/components/schemas/ApiToken' description: OK @@ -19405,8 +19849,16 @@ paths: /api/settings/ip-filtering/disable: patch: description: Disable and retrieve the currently configured ip-filtering for - the current tenant unit. + the current tenant unit. Request body is ignored, but required by some clients. operationId: disableIPFiltering + requestBody: + content: + application/json: + example: + key: null + schema: + type: object + required: true responses: '200': content: @@ -19455,8 +19907,17 @@ paths: description: Verify and retrieve the currently configured ip-filtering for the current tenant unit. This action is required to promote a configuration from temporary active to permanently active. This action can only be performed - whilst the configuration is temporary active. + whilst the configuration is temporary active. Request body is ignored, but + required by some clients. operationId: verifyIPFiltering + requestBody: + content: + application/json: + example: + key: null + schema: + type: object + required: true responses: '200': content: @@ -20596,6 +21057,49 @@ paths: tags: - Groups x-description: updateGroup + /api/settings/rbac/groups/{id}/migrateToTeams: + put: + description: |- + Migrates a legacy RBAC group to a team preserving the access scope, assigning all non-IdP members the specified target role. IdP group mappings are automatically converted to team mappings with the migrated team and target role. This is a tenant-wide, **irreversible** operation — the original group is permanently deleted on success. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + operationId: migrateGroupToTeamAndRole + parameters: + - description: The ID of the legacy RBAC group to migrate. + example: aGzFe3kLp9qR + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + example: + targetRoleId: bXt7mNpQ2wYs + schema: + $ref: '#/components/schemas/ApiGroupToTeamRoleMigration' + required: true + responses: + '200': + description: Migration completed successfully. The group has been converted + to a team, all eligible members have been assigned the target role, and + the original group has been permanently deleted. + '400': + description: 'Bad request. Possible reasons: (1) the groupId refers to a + protected system group which cannot be migrated; (2) the groupId and targetRoleId + refer to the same entity; (3) the targetRoleId does not refer to an existing + role.' + '404': + description: No group found for the given groupId in this tenant. + '500': + description: 'An unexpected error occurred. ' + security: + - ApiKeyAuth: + - CanConfigureTeams + summary: Migrate a legacy RBAC group to the Team and Role model + tags: + - Groups + x-description: migrateGroup /api/settings/rbac/groups/{id}/user/{userId}: delete: description: |- @@ -20634,7 +21138,7 @@ paths: description: |2- For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - operationId: getGroupMappings + operationId: getMappings responses: '200': content: @@ -20644,34 +21148,39 @@ paths: key: roles value: analyst groupId: '-3' + teamId: null schema: type: array items: - $ref: '#/components/schemas/GroupMapping' + $ref: '#/components/schemas/Mapping' description: OK '404': - description: No group mapping found + description: No mapping found security: - ApiKeyAuth: - CanConfigureAuthenticationMethods - summary: Get all group mappings + summary: Get all mappings tags: - Groups - x-description: getGroupMappings + - Roles + - Teams + x-description: getMappings post: description: |2- For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - operationId: createGroupMapping + operationId: createMapping requestBody: content: application/json: example: + id: mappingId key: roles value: analyst groupId: '-3' + teamId: null schema: - $ref: '#/components/schemas/GroupMapping' + $ref: '#/components/schemas/Mapping' required: true responses: '200': @@ -20682,16 +21191,30 @@ paths: key: roles value: analyst groupId: '-3' + teamId: null schema: - $ref: '#/components/schemas/GroupMapping' + $ref: '#/components/schemas/Mapping' description: OK + '412': + content: + application/json: + example: + errors: + - attempting to create team-mapping whilst teams is disabled + schema: + type: string + description: Attempting to upsert a mapping containing a teamId - without + teams being available + '422': + description: invalid request body security: - ApiKeyAuth: - CanConfigureAuthenticationMethods - summary: Create group mapping + summary: Create mapping tags: - Groups - x-description: createGroupMapping + - Roles + - Teams /api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups: get: description: |2- @@ -20708,14 +21231,15 @@ paths: $ref: '#/components/schemas/IdentityProviderPatch' description: OK '404': - description: No group mapping restriction found + description: No mapping restriction found security: - ApiKeyAuth: - CanConfigureAuthenticationMethods - summary: Check user restrictions for empty Idp group mapping + summary: Check user restrictions for empty Idp mapping tags: - Groups - x-description: getIdentityProviderPatch + - Roles + - Teams put: description: |2- @@ -20725,29 +21249,27 @@ paths: content: application/json: example: - restrictEmptyIdpGroups: true + restrictEmptyIdpGroups: false schema: $ref: '#/components/schemas/IdentityProviderPatch' required: true responses: - default: - content: - application/json: { - } - description: default response + '412': + description: An IdP must be configured before this can be changed. + '422': + description: Invalid request body. security: - ApiKeyAuth: - CanConfigureAuthenticationMethods summary: Allow/Restrict users with empty Idp group mapping tags: - Groups - x-description: updateIdentityProvider /api/settings/rbac/mappings/overview: get: description: |2- For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - operationId: getGroupMappingsOverview + operationId: getMappingsOverview responses: '200': content: @@ -20761,25 +21283,26 @@ paths: schema: type: array items: - $ref: '#/components/schemas/GroupMappingOverview' + $ref: '#/components/schemas/MappingOverview' description: OK '404': description: No group mapping overviews found security: - ApiKeyAuth: - CanConfigureAuthenticationMethods - summary: Get all group mappings overview + summary: Get all mappings overview tags: - Groups - x-description: getGroupMappingsOverview + - Roles + - Teams /api/settings/rbac/mappings/{id}: delete: description: |2- For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - operationId: deleteGroupMapping + operationId: deleteMapping parameters: - - description: Id of the group mapping to delete + - description: Id of the mapping to delete example: mappingId in: path name: id @@ -20795,15 +21318,16 @@ paths: security: - ApiKeyAuth: - CanConfigureAuthenticationMethods - summary: Delete group mapping + summary: Delete mapping tags: - Groups - x-description: deleteGroupMapping + - Roles + - Teams get: description: |2- For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - operationId: getGroupMapping + operationId: getMapping parameters: - in: path name: id @@ -20819,25 +21343,27 @@ paths: key: roles value: analyst groupId: '-3' + teamId: null schema: - $ref: '#/components/schemas/GroupMapping' + $ref: '#/components/schemas/Mapping' description: OK '404': - description: No group mapping found + description: No mapping found security: - ApiKeyAuth: - CanConfigureAuthenticationMethods - summary: Get group mapping + summary: Get mapping tags: - Groups - x-description: getGroupMapping + - Roles + - Teams put: description: |2- For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - operationId: updateGroupMapping + operationId: updateMapping parameters: - - description: Id of the group mapping to update + - description: Id of the mapping to update example: mappingId in: path name: id @@ -20852,8 +21378,9 @@ paths: key: roles value: analyst groupId: '-3' + teamId: null schema: - $ref: '#/components/schemas/GroupMapping' + $ref: '#/components/schemas/Mapping' required: true responses: '200': @@ -20864,16 +21391,30 @@ paths: key: roles value: analyst groupId: '-3' + teamId: null schema: - $ref: '#/components/schemas/GroupMapping' + $ref: '#/components/schemas/Mapping' description: OK + '412': + content: + application/json: + example: + errors: + - attempting to create team-mapping whilst teams is disabled + schema: + type: string + description: Attempting to upsert a mapping containing a teamId - without + teams being available + '422': + description: invalid request body security: - ApiKeyAuth: - CanConfigureAuthenticationMethods - summary: Update group mapping + summary: Update mapping tags: - Groups - x-description: updateGroupMapping + - Roles + - Teams /api/settings/rbac/roles: get: description: Retrieve all roles for the current tenant unit. @@ -21752,6 +22293,7 @@ paths: - blueprint - sloStatus - sloWindowRemain + - sloHealthState - timeWindow - 'null' example: name @@ -21856,6 +22398,18 @@ paths: type: string description: Filter by the SLO status example: green + - in: query + name: sloHealthState + schema: + type: string + description: Filter by the SLO health state + enum: + - HEALTHY + - AT_RISK + - BREACHED + - INSUFFICIENT_DATA + - NOT_EVALUATED + example: HEALTHY - in: query name: entityIds schema: @@ -22053,6 +22607,180 @@ paths: tags: - SLO Configurations x-description: createSloConfiguration + /api/settings/slo/health-snapshot: + get: + operationId: getSloHealthSnapshot + parameters: + - in: query + name: query + schema: + type: string + description: Keyword or query to filter by SLO name + example: checkout + - in: query + name: tag + schema: + type: array + description: Filter by config-level tag (repeatable) + example: team:payments + items: + type: string + description: Filter by config-level tag (repeatable) + example: team:payments + uniqueItems: true + - in: query + name: entityType + schema: + type: array + description: Filter by SLO entity type (repeatable) + example: application + items: + type: string + description: Filter by SLO entity type (repeatable) + enum: + - application + - website + - synthetic + - infrastructure + - mobile + example: application + uniqueItems: true + - in: query + name: blueprint + schema: + type: array + description: Filter by blueprint type (repeatable) + example: latency + items: + type: string + description: Filter by blueprint type (repeatable) + enum: + - latency + - availability + - traffic + - saturation + - custom + - advanced-custom + example: latency + uniqueItems: true + - in: query + name: sloHealthState + schema: + type: string + description: Filter by SLO health state + enum: + - HEALTHY + - AT_RISK + - BREACHED + - INSUFFICIENT_DATA + - NOT_EVALUATED + example: AT_RISK + - in: query + name: sloIds + schema: + type: array + description: Fetch specific SLO IDs only (repeatable) + example: SLOdCTspkHlS_OzNOATQWgsuw + items: + type: string + description: Fetch specific SLO IDs only (repeatable) + example: SLOdCTspkHlS_OzNOATQWgsuw + - in: query + name: rbacTags + schema: + type: array + description: Filter by RBAC team tags (repeatable) + example: team:payments + items: + type: string + description: Filter by RBAC team tags (repeatable) + example: team:payments + uniqueItems: true + responses: + '200': + content: + application/json: + example: + totalCount: 4 + stateCounts: + HEALTHY: 1 + AT_RISK: 1 + BREACHED: 1 + INSUFFICIENT_DATA: 1 + items: + - id: SLOdCTspkHlS_OzNOATQWgsuw + name: Checkout API latency + healthState: AT_RISK + healthScore: 42 + primaryReason: FAST_BURN_ACTIVE + trend: DEGRADING + entityType: application + blueprint: latency + windowType: rolling + windowDuration: 30 + windowDurationUnit: day + target: 0.99 + tags: + - team:payments + - tier:critical + - id: SLOsmbQLI8ORcuhF_L-QquFWQ + name: Homepage availability + healthState: HEALTHY + healthScore: 87 + primaryReason: NO_SIGNIFICANT_RISK + trend: CONSTANT + entityType: website + blueprint: availability + windowType: fixed + windowDuration: 1 + windowDurationUnit: day + target: 0.999 + tags: + - team:frontend + - id: SLOffwtrVkfRmCjOZbdv3Ls9g + name: K8s CPU saturation + healthState: BREACHED + healthScore: 4 + primaryReason: BUDGET_EXHAUSTED_STILL_BURNING + trend: IMPROVING_NOT_RECOVERED + entityType: infrastructure + blueprint: saturation + windowType: rolling + windowDuration: 7 + windowDurationUnit: day + target: 0.95 + tags: + - team:platform + - id: SLOBL-EmhZZQRy-19JVEivEdg + name: Login synthetic check + healthState: INSUFFICIENT_DATA + healthScore: null + primaryReason: STALE_DATA + trend: UNKNOWN + entityType: synthetic + blueprint: availability + windowType: rolling + windowDuration: 1 + windowDurationUnit: day + target: 0.999 + tags: [ + ] + schema: + $ref: '#/components/schemas/SloHealthSnapshot' + description: Health snapshot for all matching SLOs + '503': + content: + application/json: + example: + errors: + - Unable to fetch health score metrics + description: Health metrics temporarily unavailable + security: + - ApiKeyAuth: + - Default + summary: Get SLO Health Snapshot + tags: + - SLO Configurations /api/settings/slo/tags: get: operationId: getAllSloConfigTags @@ -25665,7 +26393,7 @@ paths: clusterName: test101-pop description: PoP in region test101 for my-kedatest popSnapshotId: null - popVersion: 1.1.3 + popVersion: 1.1.2 - id: 0po5d5MxSZx91moqCbri label: apminstana-pop displayLabel: apminstana-pop @@ -26535,7 +27263,7 @@ paths: - id: 55bzhnXQ9uqwld4Ha3bD label: Austin displayLabel: AUTO - popVersion: 1.1.3 + popVersion: 1.1.2 description: My Location 101 locationType: Private playbackCapabilities: @@ -28934,24 +29662,6 @@ components: name: type: string description: The name of the Alerting Channel. - testEventType: - type: string - enum: - - INFRA_SMART_ALERT - - LOG_SMART_ALERT - - APPLICATION_SMART_ALERT - - BUILT_IN_EVENT - - CUSTOM_EVENT - testSeverity: - type: string - enum: - - WARNING - - CRITICAL - testState: - type: string - enum: - - OPEN - - CLOSE timezone: type: string description: The timezone to be used for DateTime @@ -29980,6 +30690,16 @@ components: - members - name - permissionSet + ApiGroupToTeamRoleMigration: + type: object + properties: + targetRoleId: + type: string + description: The ID of the pre-existing role to assign to all migrated team + members + minLength: 1 + required: + - targetRoleId ApiLogItem: type: object properties: @@ -31144,6 +31864,26 @@ components: - boundaryScope - entityId - tagFilterExpression + ApplicationBatchBusinessCriticalityUpdate: + type: object + properties: + businessCriticality: + type: integer + format: int32 + maximum: 5 + minimum: 0 + ids: + type: array + items: + type: string + minLength: 1 + maxItems: 100 + minItems: 0 + idsUnique: + type: boolean + required: + - businessCriticality + - ids ApplicationConfig: type: object properties: @@ -31175,6 +31915,7 @@ components: description: Business criticality of an application (0-5) maximum: 5 minimum: 0 + nullable: true createdAt: type: integer format: int64 @@ -31995,6 +32736,10 @@ components: items: type: string description: 'List of technologies: `Eg:["springbootApplicationContainer"]`' + CallsEventResult: + type: object + allOf: + - $ref: '#/components/schemas/EventResult' ChangeSummary: type: object description: Brief summary of changes made in this config version. @@ -32866,6 +33611,7 @@ components: description: Section of the metric in the catalog enum: - ACE + - AI - ALICLOUD - AWS - AZURE @@ -32877,32 +33623,45 @@ components: - CONTAINER - COUCHBASE - DFQ + - DIRECTORY - ELASTICSEARCH - GCP - HADOOP_YARN + - HOST - HAZELCAST - IBM_CLOUD - IBM_DATAPOWER - IBM_I_SERIES - - IBM_MQ - IBM_MQMFT - IBM_OPENSTACK - - KAFKA_CONNECT + - IBM_Z + - MESSAGING + - OPENTELEMETRY + - WEB_SERVER + - APP_SERVER + - RUNTIME + - DATABASE - KUBERNETES - MONGO_DB - MSSQL - ORACLE_DB - OTHERS - POSTGRESQL - - REDIS - SAP - SELF_MONITORING - SOLR - SPARK - TIBCOBW - TUXEDO - - VSHPERE - WEBSPHERE + - IBM_POWER + - MAPR + - VIRTUALIZATION + - APPLICATION + - API_GATEWAY + - LOAD_BALANCER + - IBM_API_CONNECT + - IBM_INFOSPHERE - CUSTOM_ENTITY nullable: true source: @@ -33032,6 +33791,7 @@ components: description: Section of the tag in the catalog enum: - ACE + - AI - ALICLOUD - AWS - AZURE @@ -33043,32 +33803,45 @@ components: - CONTAINER - COUCHBASE - DFQ + - DIRECTORY - ELASTICSEARCH - GCP - HADOOP_YARN + - HOST - HAZELCAST - IBM_CLOUD - IBM_DATAPOWER - IBM_I_SERIES - - IBM_MQ - IBM_MQMFT - IBM_OPENSTACK - - KAFKA_CONNECT + - IBM_Z + - MESSAGING + - OPENTELEMETRY + - WEB_SERVER + - APP_SERVER + - RUNTIME + - DATABASE - KUBERNETES - MONGO_DB - MSSQL - ORACLE_DB - OTHERS - POSTGRESQL - - REDIS - SAP - SELF_MONITORING - SOLR - SPARK - TIBCOBW - TUXEDO - - VSHPERE - WEBSPHERE + - IBM_POWER + - MAPR + - VIRTUALIZATION + - APPLICATION + - API_GATEWAY + - LOAD_BALANCER + - IBM_API_CONNECT + - IBM_INFOSPHERE - CUSTOM_ENTITY source: type: string @@ -34059,6 +34832,7 @@ components: - Synthetic - MobileApp - Log + - Calls eventConfigurationType: type: string id: @@ -34166,6 +34940,7 @@ components: discriminator: mapping: APPLICATION: '#/components/schemas/ApplicationEventResult' + CALLS: '#/components/schemas/CallsEventResult' ENDPOINT: '#/components/schemas/EndpointEventResult' INFRASTRUCTURE: '#/components/schemas/InfraEventResult' LOG: '#/components/schemas/LogEventResult' @@ -36124,47 +36899,6 @@ components: minLength: 1 required: - tagName - GroupMapping: - type: object - properties: - groupId: - type: string - minLength: 1 - id: - type: string - maxLength: 64 - minLength: 0 - nullable: true - key: - type: string - maxLength: 65536 - minLength: 0 - teamId: - type: string - maxLength: 64 - minLength: 5 - nullable: true - value: - type: string - maxLength: 65536 - minLength: 0 - required: - - groupId - - key - - value - GroupMappingOverview: - type: object - properties: - id: - type: string - key: - type: string - role: - type: string - team: - type: string - value: - type: string HealthState: type: object properties: @@ -36705,6 +37439,8 @@ components: properties: restrictEmptyIdpGroups: type: boolean + description: If IdP users need to be mapped to at least one group before + being allowed to access Instana. IdpStatusUpdate: type: object properties: @@ -37901,6 +38637,29 @@ components: $ref: '#/components/schemas/LogVolumeUsageItem' required: - logVolumeUsageItems + LoggingPerspective: + type: object + description: A filtered view of logs defined by a tag filter expression. Referred + to as a Log Perspective in the UI. + properties: + description: + type: string + description: Optional free-text description shown in the UI. Set to null + to clear. + nullable: true + filter: + $ref: '#/components/schemas/TagFilterExpressionElement' + perspectiveId: + type: string + description: "Server-assigned unique identifier. \nOmit on create (POST).\ + \ \nMust match the path parameter on update (PUT)." + perspectiveName: + type: string + description: Display name of the perspective. Must be unique. `Required`. + minLength: 1 + required: + - filter + - perspectiveName LogsApiResponse: type: object properties: @@ -37989,7 +38748,7 @@ components: retrievalSize: type: integer format: int32 - maximum: 200 + maximum: 2000 minimum: 1 tagFilterExpression: $ref: '#/components/schemas/TagFilterExpressionElement' @@ -38286,6 +39045,61 @@ components: required: - id - tagFilterExpression + Mapping: + type: object + properties: + groupId: + type: string + description: ID of role or group to be assigned if the mapping is matched. + minLength: 1 + id: + type: string + description: ID of the current mapping. + maxLength: 64 + minLength: 0 + nullable: true + key: + type: string + description: Key (in the IdPs "user-profile" to be checked for mapping. + maxLength: 65536 + minLength: 0 + teamId: + type: string + description: Optional, ID of team, to which the role assignment is scoped. + If absent mapping is unit scoped. + maxLength: 64 + minLength: 5 + nullable: true + value: + type: string + description: Value (of the key in the IdPs "user-profile" to be compared + for mapping. + maxLength: 65536 + minLength: 0 + required: + - groupId + - key + - value + MappingOverview: + type: object + properties: + id: + type: string + description: ID of the current mapping. + key: + type: string + description: Key (in the IdPs "user-profile" to be checked for mapping. + role: + type: string + description: Name of role or group to be assigned if the mapping is matched. + team: + type: string + description: Optional, Name of team, to which the role assignment is scoped. + If absent mapping is unit scoped. + value: + type: string + description: Value (of the key in the IdPs "user-profile" to be compared + for mapping. MatchAllHttpPathSegmentMatchingRule: type: object allOf: @@ -38768,6 +39582,7 @@ components: description: Category of the entity enum: - ACE + - AI - ALICLOUD - AWS - AZURE @@ -38779,32 +39594,45 @@ components: - CONTAINER - COUCHBASE - DFQ + - DIRECTORY - ELASTICSEARCH - GCP - HADOOP_YARN + - HOST - HAZELCAST - IBM_CLOUD - IBM_DATAPOWER - IBM_I_SERIES - - IBM_MQ - IBM_MQMFT - IBM_OPENSTACK - - KAFKA_CONNECT + - IBM_Z + - MESSAGING + - OPENTELEMETRY + - WEB_SERVER + - APP_SERVER + - RUNTIME + - DATABASE - KUBERNETES - MONGO_DB - MSSQL - ORACLE_DB - OTHERS - POSTGRESQL - - REDIS - SAP - SELF_MONITORING - SOLR - SPARK - TIBCOBW - TUXEDO - - VSHPERE - WEBSPHERE + - IBM_POWER + - MAPR + - VIRTUALIZATION + - APPLICATION + - API_GATEWAY + - LOAD_BALANCER + - IBM_API_CONNECT + - IBM_INFOSPHERE - CUSTOM_ENTITY label: type: string @@ -40160,6 +40988,7 @@ components: description: Business criticality of an application (0-5) maximum: 5 minimum: 0 + nullable: true label: type: string description: 'Name of the Application Perspective. Eg: `app1`.' @@ -42598,6 +43427,56 @@ components: type: string required: - type + SloHealthSnapshot: + type: object + properties: + items: + type: array + items: + $ref: '#/components/schemas/SloHealthSnapshotItem' + stateCounts: + type: object + additionalProperties: + type: integer + format: int32 + totalCount: + type: integer + format: int32 + SloHealthSnapshotItem: + type: object + properties: + blueprint: + type: string + entityType: + type: string + healthScore: + type: integer + format: int32 + nullable: true + healthState: + type: string + id: + type: string + name: + type: string + primaryReason: + type: string + tags: + type: array + items: + type: string + target: + type: number + format: double + trend: + type: string + windowDuration: + type: integer + format: int32 + windowDurationUnit: + type: string + windowType: + type: string SloReport: type: object properties: @@ -42654,6 +43533,22 @@ components: format: int64 description: Starting point of the data retrieval, specified as 13 digit Unix Timestamp milliseconds + healthScore: + type: integer + format: int32 + description: Health score of the SLO (0–100), null when state is INSUFFICIENT_DATA + or NOT_EVALUATED + healthScorePrimaryReason: + type: string + description: Primary reason code driving the current health state + healthScoreTrend: + type: string + description: Burn rate trend direction (IMPROVING, CONSTANT, DEGRADING, + UNKNOWN) + healthState: + type: string + description: Health state of the SLO (HEALTHY, AT_RISK, BREACHED, INSUFFICIENT_DATA, + NOT_EVALUATED) sli: type: number format: double @@ -44117,6 +45012,7 @@ components: items: type: string enum: + - CNP - GitHub - PW syntheticType: @@ -45077,6 +45973,10 @@ components: type: integer format: int64 nullable: true + profiles: + type: array + items: + type: string rbacTags: type: array items: @@ -46607,6 +47507,7 @@ components: - ServiceLevelSmartAlert - ApdexSmartAlert - LogSmartAlert + - GenAISmartAlert required: - id - label @@ -47996,6 +48897,9 @@ components: sessionId: type: string nullable: true + sessionReplayStatus: + type: integer + format: int64 snippetVersion: type: string sslTime: diff --git a/requirements.txt b/requirements.txt index 6cbb2b98..867a4496 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,3 +2,4 @@ urllib3 >= 2.1.0, < 3.0.0 python_dateutil >= 2.8.2 pydantic >= 2 typing-extensions >= 4.7.1 +lazy-imports >= 1, < 2 diff --git a/setup.py b/setup.py index 23d338d9..09b7393c 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -29,6 +29,7 @@ "python-dateutil >= 2.8.2", "pydantic >= 2", "typing-extensions >= 4.7.1", + "lazy-imports >= 1, < 2", ] setup( diff --git a/test/test_api_group_to_team_role_migration.py b/test/test_api_group_to_team_role_migration.py new file mode 100644 index 00000000..71eb914e --- /dev/null +++ b/test/test_api_group_to_team_role_migration.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from instana_client.models.api_group_to_team_role_migration import ApiGroupToTeamRoleMigration + +class TestApiGroupToTeamRoleMigration(unittest.TestCase): + """ApiGroupToTeamRoleMigration unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ApiGroupToTeamRoleMigration: + """Test ApiGroupToTeamRoleMigration + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ApiGroupToTeamRoleMigration` + """ + model = ApiGroupToTeamRoleMigration() + if include_optional: + return ApiGroupToTeamRoleMigration( + target_role_id = '0' + ) + else: + return ApiGroupToTeamRoleMigration( + target_role_id = '0', + ) + """ + + def testApiGroupToTeamRoleMigration(self): + """Test ApiGroupToTeamRoleMigration""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_application_batch_business_criticality_update.py b/test/test_application_batch_business_criticality_update.py new file mode 100644 index 00000000..c9f66024 --- /dev/null +++ b/test/test_application_batch_business_criticality_update.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from instana_client.models.application_batch_business_criticality_update import ApplicationBatchBusinessCriticalityUpdate + +class TestApplicationBatchBusinessCriticalityUpdate(unittest.TestCase): + """ApplicationBatchBusinessCriticalityUpdate unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ApplicationBatchBusinessCriticalityUpdate: + """Test ApplicationBatchBusinessCriticalityUpdate + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ApplicationBatchBusinessCriticalityUpdate` + """ + model = ApplicationBatchBusinessCriticalityUpdate() + if include_optional: + return ApplicationBatchBusinessCriticalityUpdate( + business_criticality = 0, + ids = [ + '0' + ], + ids_unique = True + ) + else: + return ApplicationBatchBusinessCriticalityUpdate( + business_criticality = 0, + ids = [ + '0' + ], + ) + """ + + def testApplicationBatchBusinessCriticalityUpdate(self): + """Test ApplicationBatchBusinessCriticalityUpdate""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_calls_event_result.py b/test/test_calls_event_result.py new file mode 100644 index 00000000..095e20f2 --- /dev/null +++ b/test/test_calls_event_result.py @@ -0,0 +1,51 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from instana_client.models.calls_event_result import CallsEventResult + +class TestCallsEventResult(unittest.TestCase): + """CallsEventResult unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CallsEventResult: + """Test CallsEventResult + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `CallsEventResult` + """ + model = CallsEventResult() + if include_optional: + return CallsEventResult( + ) + else: + return CallsEventResult( + ) + """ + + def testCallsEventResult(self): + """Test CallsEventResult""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_logging_perspective.py b/test/test_logging_perspective.py new file mode 100644 index 00000000..f6055de0 --- /dev/null +++ b/test/test_logging_perspective.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from instana_client.models.logging_perspective import LoggingPerspective + +class TestLoggingPerspective(unittest.TestCase): + """LoggingPerspective unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> LoggingPerspective: + """Test LoggingPerspective + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `LoggingPerspective` + """ + model = LoggingPerspective() + if include_optional: + return LoggingPerspective( + description = '', + filter = instana_client.models.tag_filter_expression_element.TagFilterExpressionElement( + type = '', ), + perspective_id = '', + perspective_name = '0' + ) + else: + return LoggingPerspective( + filter = instana_client.models.tag_filter_expression_element.TagFilterExpressionElement( + type = '', ), + perspective_name = '0', + ) + """ + + def testLoggingPerspective(self): + """Test LoggingPerspective""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_mapping.py b/test/test_mapping.py new file mode 100644 index 00000000..fffe584b --- /dev/null +++ b/test/test_mapping.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from instana_client.models.mapping import Mapping + +class TestMapping(unittest.TestCase): + """Mapping unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> Mapping: + """Test Mapping + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `Mapping` + """ + model = Mapping() + if include_optional: + return Mapping( + group_id = '0', + id = '', + key = '', + team_id = '01234', + value = '' + ) + else: + return Mapping( + group_id = '0', + key = '', + value = '', + ) + """ + + def testMapping(self): + """Test Mapping""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_mapping_overview.py b/test/test_mapping_overview.py new file mode 100644 index 00000000..e4117250 --- /dev/null +++ b/test/test_mapping_overview.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from instana_client.models.mapping_overview import MappingOverview + +class TestMappingOverview(unittest.TestCase): + """MappingOverview unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> MappingOverview: + """Test MappingOverview + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `MappingOverview` + """ + model = MappingOverview() + if include_optional: + return MappingOverview( + id = '', + key = '', + role = '', + team = '', + value = '' + ) + else: + return MappingOverview( + ) + """ + + def testMappingOverview(self): + """Test MappingOverview""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_slo_health_snapshot.py b/test/test_slo_health_snapshot.py new file mode 100644 index 00000000..c8be1953 --- /dev/null +++ b/test/test_slo_health_snapshot.py @@ -0,0 +1,73 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from instana_client.models.slo_health_snapshot import SloHealthSnapshot + +class TestSloHealthSnapshot(unittest.TestCase): + """SloHealthSnapshot unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SloHealthSnapshot: + """Test SloHealthSnapshot + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SloHealthSnapshot` + """ + model = SloHealthSnapshot() + if include_optional: + return SloHealthSnapshot( + items = [ + instana_client.models.slo_health_snapshot_item.SloHealthSnapshotItem( + blueprint = '', + entity_type = '', + health_score = 56, + health_state = '', + id = '', + name = '', + primary_reason = '', + tags = [ + '' + ], + target = 1.337, + trend = '', + window_duration = 56, + window_duration_unit = '', + window_type = '', ) + ], + state_counts = { + 'key' : 56 + }, + total_count = 56 + ) + else: + return SloHealthSnapshot( + ) + """ + + def testSloHealthSnapshot(self): + """Test SloHealthSnapshot""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_slo_health_snapshot_item.py b/test/test_slo_health_snapshot_item.py new file mode 100644 index 00000000..3b0cde8a --- /dev/null +++ b/test/test_slo_health_snapshot_item.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from instana_client.models.slo_health_snapshot_item import SloHealthSnapshotItem + +class TestSloHealthSnapshotItem(unittest.TestCase): + """SloHealthSnapshotItem unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SloHealthSnapshotItem: + """Test SloHealthSnapshotItem + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SloHealthSnapshotItem` + """ + model = SloHealthSnapshotItem() + if include_optional: + return SloHealthSnapshotItem( + blueprint = '', + entity_type = '', + health_score = 56, + health_state = '', + id = '', + name = '', + primary_reason = '', + tags = [ + '' + ], + target = 1.337, + trend = '', + window_duration = 56, + window_duration_unit = '', + window_type = '' + ) + else: + return SloHealthSnapshotItem( + ) + """ + + def testSloHealthSnapshotItem(self): + """Test SloHealthSnapshotItem""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() From 2e71edf346afb594fd42c048e710666d960d3541 Mon Sep 17 00:00:00 2001 From: Jay Sharma Date: Fri, 23 Oct 2026 16:42:18 +0530 Subject: [PATCH 2/2] Update docs which were pointing to previous version --- README.md | 2 -- instana_client/__init__.py | 2 +- instana_client/api_client.py | 2 +- instana_client/configuration.py | 2 +- instana_client/models/group_mapping.py | 2 +- instana_client/models/group_mapping_overview.py | 2 +- openapi-generator-config.json | 2 +- pyproject.toml | 2 +- setup.py | 2 +- ...resource_update_list_network_profile_list_network_profile.py | 2 +- test/test_unified_beacon.py | 2 +- 11 files changed, 10 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index ad297e56..07bdde48 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,6 @@ Documentation for INSTANA REST API This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 1.328.1128 -- Package version: 1.1.3 -- Generator version: 7.15.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit [http://instana.com](http://instana.com) diff --git a/instana_client/__init__.py b/instana_client/__init__.py index 93eb6a04..913e16d4 100644 --- a/instana_client/__init__.py +++ b/instana_client/__init__.py @@ -15,7 +15,7 @@ """ # noqa: E501 -__version__ = "1.1.3" +__version__ = "1.1.4" # Define package exports __all__ = [ diff --git a/instana_client/api_client.py b/instana_client/api_client.py index 168f2f81..7d9ddbc9 100644 --- a/instana_client/api_client.py +++ b/instana_client/api_client.py @@ -92,7 +92,7 @@ def __init__( self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/1.1.3/python' + self.user_agent = 'OpenAPI-Generator/1.1.4/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/instana_client/configuration.py b/instana_client/configuration.py index 16f9c855..a6fb3fa3 100644 --- a/instana_client/configuration.py +++ b/instana_client/configuration.py @@ -532,7 +532,7 @@ def to_debug_report(self) -> str: "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 1.328.1128\n"\ - "SDK Package Version: 1.1.3".\ + "SDK Package Version: 1.1.4".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self) -> List[HostSetting]: diff --git a/instana_client/models/group_mapping.py b/instana_client/models/group_mapping.py index 3cc8c70a..0d436a7c 100644 --- a/instana_client/models/group_mapping.py +++ b/instana_client/models/group_mapping.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/group_mapping_overview.py b/instana_client/models/group_mapping_overview.py index 6fb85bec..825d00bf 100644 --- a/instana_client/models/group_mapping_overview.py +++ b/instana_client/models/group_mapping_overview.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/openapi-generator-config.json b/openapi-generator-config.json index c7075e31..78f022fb 100644 --- a/openapi-generator-config.json +++ b/openapi-generator-config.json @@ -1,6 +1,6 @@ { "packageName": "instana_client", "projectName": "instana-client", - "packageVersion": "1.1.3", + "packageVersion": "1.1.4", "packageUrl": "https://github.com/instana/client-python" } diff --git a/pyproject.toml b/pyproject.toml index a00392c9..16f1d4c0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "instana_client" -version = "1.1.3" +version = "1.1.4" description = "Instana REST API documentation" authors = [ {name = "© Instana",email = "support@instana.com"}, diff --git a/setup.py b/setup.py index 09b7393c..ba357f5e 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools NAME = "instana-client" -VERSION = "1.1.3" +VERSION = "1.1.4" PYTHON_REQUIRES = ">= 3.9" REQUIRES = [ "urllib3 >= 2.1.0, < 3.0.0", diff --git a/test/test_synthetic_resource_update_list_network_profile_list_network_profile.py b/test/test_synthetic_resource_update_list_network_profile_list_network_profile.py index 4568e3f9..51235160 100644 --- a/test/test_synthetic_resource_update_list_network_profile_list_network_profile.py +++ b/test/test_synthetic_resource_update_list_network_profile_list_network_profile.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/test/test_unified_beacon.py b/test/test_unified_beacon.py index 67ef08c2..0d8918dc 100644 --- a/test/test_unified_beacon.py +++ b/test/test_unified_beacon.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech)