diff --git a/.gitignore b/.gitignore index 65b06b9..43995bd 100644 --- a/.gitignore +++ b/.gitignore @@ -62,5 +62,5 @@ docs/_build/ # PyBuilder target/ -# Ipython Notebook +#Ipython Notebook .ipynb_checkpoints diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..672534d --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,31 @@ +# NOTE: This file is auto generated by OpenAPI Generator. +# URL: https://openapi-generator.tech +# +# ref: https://docs.gitlab.com/ee/ci/README.html +# ref: https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Python.gitlab-ci.yml + +stages: + - test + +.pytest: + stage: test + script: + - pip install -r requirements.txt + - pip install -r test-requirements.txt + - pytest --cov=instana_client + +pytest-3.9: + extends: .pytest + image: python:3.9-alpine +pytest-3.10: + extends: .pytest + image: python:3.10-alpine +pytest-3.11: + extends: .pytest + image: python:3.11-alpine +pytest-3.12: + extends: .pytest + image: python:3.12-alpine +pytest-3.13: + extends: .pytest + image: python:3.13-alpine diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index aeefcb3..5a7521e 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -10,6 +10,7 @@ docs/AccessLogEntry.md docs/AccessLogResponse.md docs/AccessRule.md docs/Action.md +docs/ActionBeacon.md docs/ActionCatalogApi.md docs/ActionConfiguration.md docs/ActionHistoryApi.md @@ -31,6 +32,7 @@ docs/AlertingTimeWindow.md docs/ApdexConfiguration.md docs/ApdexConfigurationInput.md docs/ApdexEntity.md +docs/ApdexLevel.md docs/ApdexReport.md docs/ApdexReportApi.md docs/ApdexSettingsApi.md @@ -110,6 +112,7 @@ docs/CrashMobileAppAlertRule.md docs/CreateWebsiteRequestInner.md docs/CursorPaginatedBusinessActivityItem.md docs/CursorPagination.md +docs/CursorPaginationWithUiCursorInfraExploreCursor.md docs/CustomBlueprintIndicator.md docs/CustomDashboard.md docs/CustomDashboardPreview.md @@ -143,6 +146,7 @@ docs/Duration.md docs/DynamicField.md docs/DynamicFieldValue.md docs/DynamicParameter.md +docs/DynamicTag.md docs/EditUser.md docs/EmailIntegration.md docs/EmptyConfiguration.md @@ -176,6 +180,7 @@ docs/GenericInfraAlertRule.md docs/GeoLocationConfiguration.md docs/GeoMappingRule.md docs/GeoSubdivision.md +docs/GetActionBeaconsResult.md docs/GetActivities.md docs/GetApplicationMetrics.md docs/GetApplications.md @@ -265,6 +270,7 @@ docs/LLMEgressGateway.md docs/LLMGatewayCapability.md docs/LLMGatewayModel.md docs/LLMGatewayService.md +docs/LLMGatewayTestConnectionRequest.md docs/LLMPriceConfigurationApi.md docs/LatencyBlueprintIndicator.md docs/LlmModelPrice.md @@ -359,6 +365,7 @@ docs/PolicyRunnable.md docs/PolicyScheduling.md docs/PostMobileAppSourceMapConfigRequest.md docs/PostSnapshotsResult.md +docs/PrefixObject.md docs/Problem.md docs/PrometheusWebhookIntegration.md docs/RecurrentMaintenanceWindow.md @@ -396,6 +403,7 @@ docs/ServiceItem.md docs/ServiceLevelIndicator.md docs/ServiceLevelObjectiveAlertRule.md docs/ServiceLevelsAlertConfig.md +docs/ServiceLevelsAlertConfigWithRBACTag.md docs/ServiceLevelsAlertConfigurationApi.md docs/ServiceLevelsAlertRule.md docs/ServiceLevelsBurnRateConfig.md @@ -511,6 +519,7 @@ docs/TagTreeNode.md docs/TagTreeTag.md docs/TeamsApi.md docs/TestCommonProperties.md +docs/TestConnectionResponse.md docs/TestLastError.md docs/TestResult.md docs/TestResultCommonProperties.md @@ -678,6 +687,7 @@ instana_client/models/access_log_entry.py instana_client/models/access_log_response.py instana_client/models/access_rule.py instana_client/models/action.py +instana_client/models/action_beacon.py instana_client/models/action_configuration.py instana_client/models/action_instance.py instana_client/models/action_instance_metadata_entry.py @@ -697,6 +707,7 @@ instana_client/models/alerting_time_window.py instana_client/models/apdex_configuration.py instana_client/models/apdex_configuration_input.py instana_client/models/apdex_entity.py +instana_client/models/apdex_level.py instana_client/models/apdex_report.py instana_client/models/api_create_group.py instana_client/models/api_create_role.py @@ -764,6 +775,7 @@ instana_client/models/crash_mobile_app_alert_rule.py instana_client/models/create_website_request_inner.py instana_client/models/cursor_paginated_business_activity_item.py instana_client/models/cursor_pagination.py +instana_client/models/cursor_pagination_with_ui_cursor_infra_explore_cursor.py instana_client/models/custom_blueprint_indicator.py instana_client/models/custom_dashboard.py instana_client/models/custom_dashboard_preview.py @@ -794,6 +806,7 @@ instana_client/models/duration.py instana_client/models/dynamic_field.py instana_client/models/dynamic_field_value.py instana_client/models/dynamic_parameter.py +instana_client/models/dynamic_tag.py instana_client/models/edit_user.py instana_client/models/email_integration.py instana_client/models/empty_configuration.py @@ -824,6 +837,7 @@ instana_client/models/generic_infra_alert_rule.py instana_client/models/geo_location_configuration.py instana_client/models/geo_mapping_rule.py instana_client/models/geo_subdivision.py +instana_client/models/get_action_beacons_result.py instana_client/models/get_activities.py instana_client/models/get_application_metrics.py instana_client/models/get_applications.py @@ -904,6 +918,7 @@ instana_client/models/llm_egress_gateway.py instana_client/models/llm_gateway_capability.py instana_client/models/llm_gateway_model.py instana_client/models/llm_gateway_service.py +instana_client/models/llm_gateway_test_connection_request.py instana_client/models/llm_model_price.py instana_client/models/llm_model_price_metadata.py instana_client/models/location_status.py @@ -988,6 +1003,7 @@ instana_client/models/policy_runnable.py instana_client/models/policy_scheduling.py instana_client/models/post_mobile_app_source_map_config_request.py instana_client/models/post_snapshots_result.py +instana_client/models/prefix_object.py instana_client/models/problem.py instana_client/models/prometheus_webhook_integration.py instana_client/models/recurrent_maintenance_window.py @@ -1014,6 +1030,7 @@ instana_client/models/service_item.py instana_client/models/service_level_indicator.py instana_client/models/service_level_objective_alert_rule.py instana_client/models/service_levels_alert_config.py +instana_client/models/service_levels_alert_config_with_rbac_tag.py instana_client/models/service_levels_alert_rule.py instana_client/models/service_levels_burn_rate_config.py instana_client/models/service_levels_burn_rate_time_windows.py @@ -1115,7 +1132,6 @@ instana_client/models/system_rule.py instana_client/models/system_rule_label.py instana_client/models/tag.py instana_client/models/tag_catalog.py -instana_client/models/tag_filter.py instana_client/models/tag_filter_expression.py instana_client/models/tag_filter_expression_element.py instana_client/models/tag_matcher_dto.py @@ -1123,6 +1139,7 @@ instana_client/models/tag_tree_level.py instana_client/models/tag_tree_node.py instana_client/models/tag_tree_tag.py instana_client/models/test_common_properties.py +instana_client/models/test_connection_response.py instana_client/models/test_last_error.py instana_client/models/test_result.py instana_client/models/test_result_common_properties.py @@ -1213,22 +1230,13 @@ setup.cfg setup.py test-requirements.txt test/__init__.py -test/test_custom_tag.py -test/test_default_api.py -test/test_get_session_replay_metadata_result.py -test/test_idp_status_update.py -test/test_llm_gateway_capability.py -test/test_llm_gateway_model.py -test/test_llm_gateway_service.py -test/test_llm_model_price.py -test/test_llm_model_price_metadata.py -test/test_llm_price_configuration_api.py -test/test_mobile_app_alert_config_with_rbac_tag.py -test/test_ns1_integration.py -test/test_session_replay_metadata.py -test/test_session_replay_timestamps.py -test/test_slo_configurations_api.py -test/test_synthetic_alert_config_with_rbac_tag.py -test/test_website_alert_config_with_rbac_tag.py -test/test_with_meta_data.py +test/test_action_beacon.py +test/test_apdex_level.py +test/test_cursor_pagination_with_ui_cursor_infra_explore_cursor.py +test/test_dynamic_tag.py +test/test_get_action_beacons_result.py +test/test_llm_gateway_test_connection_request.py +test/test_prefix_object.py +test/test_service_levels_alert_config_with_rbac_tag.py +test/test_test_connection_response.py tox.ini diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index 6328c54..368fd8f 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.17.0 +7.15.0 diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..cd6cdd4 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,17 @@ +# ref: https://docs.travis-ci.com/user/languages/python +language: python +python: + - "3.9" + - "3.10" + - "3.11" + - "3.12" + - "3.13" + # uncomment the following if needed + #- "3.13-dev" # 3.13 development branch + #- "nightly" # nightly build +# command to install dependencies +install: + - "pip install -r requirements.txt" + - "pip install -r test-requirements.txt" +# command to run tests +script: pytest --cov=instana_client diff --git a/README.md b/README.md index bc22c5a..4b97fd6 100644 --- a/README.md +++ b/README.md @@ -3,9 +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.315.1425 -- Package version: 1.0.3 -- Generator version: 7.17.0 +- API version: 1.316.2780 +- Package version: 1.0.7 +- Generator version: 7.15.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit [http://instana.com](http://instana.com) @@ -102,6 +102,7 @@ Class | Method | HTTP request | Description *AIManagementApi* | [**get_llm_capabilities**](docs/AIManagementApi.md#get_llm_capabilities) | **GET** /api/llm/capabilities | Get all LLM capabilities *AIManagementApi* | [**get_llm_egress_gateway_by_id**](docs/AIManagementApi.md#get_llm_egress_gateway_by_id) | **GET** /api/llm/gateways/{id} | Get a LLM gateway by ID *AIManagementApi* | [**get_llm_egress_gateways**](docs/AIManagementApi.md#get_llm_egress_gateways) | **GET** /api/llm/gateways | Get all LLM gateways +*AIManagementApi* | [**test_llm_gateway**](docs/AIManagementApi.md#test_llm_gateway) | **POST** /api/llm/gateways/test | Test LLM gateway connection parameters *AIManagementApi* | [**update_llm_egress_gateway**](docs/AIManagementApi.md#update_llm_egress_gateway) | **PUT** /api/llm/gateways/{id} | Update an existing LLM gateway. *APITokenApi* | [**delete_api_token**](docs/APITokenApi.md#delete_api_token) | **DELETE** /api/settings/api-tokens/{internalId} | Delete API token *APITokenApi* | [**get_api_token**](docs/APITokenApi.md#get_api_token) | **GET** /api/settings/api-tokens/{internalId} | Get API token @@ -121,10 +122,17 @@ Class | Method | HTTP request | Description *ActionHistoryApi* | [**get_action_instances**](docs/ActionHistoryApi.md#get_action_instances) | **GET** /api/automation/actioninstances | Get the details of automation action run results from action run history. *ApdexReportApi* | [**get_apdex_report**](docs/ApdexReportApi.md#get_apdex_report) | **GET** /api/apdex/report/{apdexId} | Generate Apdex report *ApdexSettingsApi* | [**create_apdex_configuration**](docs/ApdexSettingsApi.md#create_apdex_configuration) | **POST** /api/settings/apdex | Create Apdex Configuration +*ApdexSettingsApi* | [**create_apdex_configuration_v2**](docs/ApdexSettingsApi.md#create_apdex_configuration_v2) | **POST** /api/settings/apdex/v2 | Create Apdex Configuration *ApdexSettingsApi* | [**delete_apdex_configuration**](docs/ApdexSettingsApi.md#delete_apdex_configuration) | **DELETE** /api/settings/apdex/{id} | Delete Apdex Configuration +*ApdexSettingsApi* | [**delete_apdex_configuration_v2**](docs/ApdexSettingsApi.md#delete_apdex_configuration_v2) | **DELETE** /api/settings/apdex/v2/{id} | Delete Apdex Configuration +*ApdexSettingsApi* | [**get_all_apdex_config_levels_v2**](docs/ApdexSettingsApi.md#get_all_apdex_config_levels_v2) | **GET** /api/settings/apdex/v2/apdex-levels | Get All Apdex Levels +*ApdexSettingsApi* | [**get_all_apdex_config_tags_v2**](docs/ApdexSettingsApi.md#get_all_apdex_config_tags_v2) | **GET** /api/settings/apdex/v2/tags | Get All Apdex Config tags *ApdexSettingsApi* | [**get_all_apdex_configurations**](docs/ApdexSettingsApi.md#get_all_apdex_configurations) | **GET** /api/settings/apdex | Get All Apdex Configurations +*ApdexSettingsApi* | [**get_all_apdex_configurations_v2**](docs/ApdexSettingsApi.md#get_all_apdex_configurations_v2) | **GET** /api/settings/apdex/v2 | Get All Apdex Configurations *ApdexSettingsApi* | [**get_apdex_configuration**](docs/ApdexSettingsApi.md#get_apdex_configuration) | **GET** /api/settings/apdex/{id} | Get Apdex Configuration +*ApdexSettingsApi* | [**get_apdex_configuration_v2**](docs/ApdexSettingsApi.md#get_apdex_configuration_v2) | **GET** /api/settings/apdex/v2/{id} | Get Apdex Configuration *ApdexSettingsApi* | [**get_apdex_configurations_for_entity_type_and_id**](docs/ApdexSettingsApi.md#get_apdex_configurations_for_entity_type_and_id) | **GET** /api/settings/apdex/{entityType}/{entityId} | Get all Apdex configurations for entity type and entity id +*ApdexSettingsApi* | [**update_apdex_config_v2**](docs/ApdexSettingsApi.md#update_apdex_config_v2) | **PUT** /api/settings/apdex/v2/{id} | Update an existing Apdex Config *ApplicationAlertConfigurationApi* | [**bulk_delete_application_alert_configs**](docs/ApplicationAlertConfigurationApi.md#bulk_delete_application_alert_configs) | **PUT** /api/events/settings/application-alert-configs/bulk/delete | Bulk Delete Application Smart Alert Configs *ApplicationAlertConfigurationApi* | [**bulk_disable_application_alert_configs**](docs/ApplicationAlertConfigurationApi.md#bulk_disable_application_alert_configs) | **PUT** /api/events/settings/application-alert-configs/bulk/disable | Bulk Disable Application Smart Alert Configs *ApplicationAlertConfigurationApi* | [**bulk_enable_application_alert_configs**](docs/ApplicationAlertConfigurationApi.md#bulk_enable_application_alert_configs) | **PUT** /api/events/settings/application-alert-configs/bulk/enable | Bulk Enable Application Smart Alert Configs @@ -279,6 +287,9 @@ Class | Method | HTTP request | Description *EventsApi* | [**get_events**](docs/EventsApi.md#get_events) | **GET** /api/events | Get all Events *EventsApi* | [**get_events_by_ids**](docs/EventsApi.md#get_events_by_ids) | **POST** /api/events | Get Events by IDs *EventsApi* | [**kubernetes_info_events**](docs/EventsApi.md#kubernetes_info_events) | **GET** /api/events/kubernetes-info-events | Get Kubernetes Info Events +*GlobalApplicationAlertConfigurationApi* | [**bulk_delete_global_application_alert_configs**](docs/GlobalApplicationAlertConfigurationApi.md#bulk_delete_global_application_alert_configs) | **PUT** /api/events/settings/global-alert-configs/applications/bulk/delete | Bulk Delete Global Smart Alert Configs +*GlobalApplicationAlertConfigurationApi* | [**bulk_disable_global_application_alert_configs**](docs/GlobalApplicationAlertConfigurationApi.md#bulk_disable_global_application_alert_configs) | **PUT** /api/events/settings/global-alert-configs/applications/bulk/disable | Bulk Disable Global Smart Alert Configs +*GlobalApplicationAlertConfigurationApi* | [**bulk_enable_global_application_alert_configs**](docs/GlobalApplicationAlertConfigurationApi.md#bulk_enable_global_application_alert_configs) | **PUT** /api/events/settings/global-alert-configs/applications/bulk/enable | Bulk Enable Global Smart Alert Configs *GlobalApplicationAlertConfigurationApi* | [**create_global_application_alert_config**](docs/GlobalApplicationAlertConfigurationApi.md#create_global_application_alert_config) | **POST** /api/events/settings/global-alert-configs/applications | Create Global Smart Alert Config *GlobalApplicationAlertConfigurationApi* | [**delete_global_application_alert_config**](docs/GlobalApplicationAlertConfigurationApi.md#delete_global_application_alert_config) | **DELETE** /api/events/settings/global-alert-configs/applications/{id} | Delete Global Smart Alert Config *GlobalApplicationAlertConfigurationApi* | [**disable_global_application_alert_config**](docs/GlobalApplicationAlertConfigurationApi.md#disable_global_application_alert_config) | **PUT** /api/events/settings/global-alert-configs/applications/{id}/disable | Disable Global Smart Alert Config @@ -309,6 +320,7 @@ Class | Method | HTTP request | Description *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 +*HostAgentApi* | [**get_agent_configuration_by_host**](docs/HostAgentApi.md#get_agent_configuration_by_host) | **GET** /api/host-agent/{hostId}/configuration | Get effective Agent configuration *HostAgentApi* | [**get_agent_logs**](docs/HostAgentApi.md#get_agent_logs) | **GET** /api/host-agent/{hostId}/logs | Agent download logs *HostAgentApi* | [**get_agent_snapshot**](docs/HostAgentApi.md#get_agent_snapshot) | **GET** /api/host-agent/{id} | Get host agent snapshot details *HostAgentApi* | [**get_agent_support_information**](docs/HostAgentApi.md#get_agent_support_information) | **GET** /api/host-agent/{hostId}/support-info | Agent download support information @@ -357,6 +369,9 @@ Class | Method | HTTP request | Description *LLMPriceConfigurationApi* | [**set_llm_model_currency**](docs/LLMPriceConfigurationApi.md#set_llm_model_currency) | **PUT** /api/settings/llm-pricing/currency | Set currency for LLM model prices *LLMPriceConfigurationApi* | [**upsert_llm_model_price**](docs/LLMPriceConfigurationApi.md#upsert_llm_model_price) | **PUT** /api/settings/llm-pricing/{provider}/{modelName} | Upsert LLM model price *LLMPriceConfigurationApi* | [**upsert_llm_model_price_without_provider**](docs/LLMPriceConfigurationApi.md#upsert_llm_model_price_without_provider) | **PUT** /api/settings/llm-pricing/model/{modelName} | Upsert LLM model price without provider +*LogAlertConfigurationApi* | [**bulk_delete_log_alert_configs**](docs/LogAlertConfigurationApi.md#bulk_delete_log_alert_configs) | **PUT** /api/events/settings/global-alert-configs/logs/bulk/delete | Bulk Delete Log Alert Configs +*LogAlertConfigurationApi* | [**bulk_disable_log_alert_configs**](docs/LogAlertConfigurationApi.md#bulk_disable_log_alert_configs) | **PUT** /api/events/settings/global-alert-configs/logs/bulk/disable | Bulk Disable Log Alert Configs +*LogAlertConfigurationApi* | [**bulk_enable_log_alert_configs**](docs/LogAlertConfigurationApi.md#bulk_enable_log_alert_configs) | **PUT** /api/events/settings/global-alert-configs/logs/bulk/enable | Bulk Enable Log Alert Configs *LogAlertConfigurationApi* | [**create_log_alert_config**](docs/LogAlertConfigurationApi.md#create_log_alert_config) | **POST** /api/events/settings/global-alert-configs/logs | Create Log Alert Config *LogAlertConfigurationApi* | [**delete_log_alert_config**](docs/LogAlertConfigurationApi.md#delete_log_alert_config) | **DELETE** /api/events/settings/global-alert-configs/logs/{id} | Delete Log Alert Config *LogAlertConfigurationApi* | [**disable_log_alert_config**](docs/LogAlertConfigurationApi.md#disable_log_alert_config) | **PUT** /api/events/settings/global-alert-configs/logs/{id}/disable | Disable Log Alert Config @@ -379,6 +394,7 @@ Class | Method | HTTP request | Description *MaintenanceConfigurationApi* | [**resume_recurrent_maintenance_configuration**](docs/MaintenanceConfigurationApi.md#resume_recurrent_maintenance_configuration) | **PUT** /api/settings/v2/maintenance/{id}/resume | Resume maintenance configuration *MobileAppAnalyzeApi* | [**get_mobile_app_beacon_groups**](docs/MobileAppAnalyzeApi.md#get_mobile_app_beacon_groups) | **POST** /api/mobile-app-monitoring/analyze/beacon-groups | Get grouped beacon metrics *MobileAppAnalyzeApi* | [**get_mobile_app_beacons**](docs/MobileAppAnalyzeApi.md#get_mobile_app_beacons) | **POST** /api/mobile-app-monitoring/analyze/beacons | Get all beacons +*MobileAppCatalogApi* | [**get_action_beacons**](docs/MobileAppCatalogApi.md#get_action_beacons) | **GET** /api/mobile-app-monitoring/mobile-apps/{mobileAppId}/sessions/{sessionId}/action-beacons | Get action beacons for a session *MobileAppCatalogApi* | [**get_all_mobile_app_catalog_tags**](docs/MobileAppCatalogApi.md#get_all_mobile_app_catalog_tags) | **GET** /api/mobile-app-monitoring/catalog/tags | Get all existing mobile app tags *MobileAppCatalogApi* | [**get_mobile_app_metric_catalog**](docs/MobileAppCatalogApi.md#get_mobile_app_metric_catalog) | **GET** /api/mobile-app-monitoring/catalog/metrics | Metric catalog *MobileAppCatalogApi* | [**get_mobile_app_tag_catalog**](docs/MobileAppCatalogApi.md#get_mobile_app_tag_catalog) | **GET** /api/mobile-app-monitoring/catalog | Get mobile app tag catalog @@ -445,6 +461,9 @@ Class | Method | HTTP request | Description *SLOCorrectionConfigurationsApi* | [**get_slo_correction_window_config_by_id**](docs/SLOCorrectionConfigurationsApi.md#get_slo_correction_window_config_by_id) | **GET** /api/settings/correction/{id} | Get an existing SLO Correction Window Config *SLOCorrectionConfigurationsApi* | [**update_slo_correction_window_config**](docs/SLOCorrectionConfigurationsApi.md#update_slo_correction_window_config) | **PUT** /api/settings/correction/{id} | Update an existing SLO Correction Window Config *SLOCorrectionWindowsApi* | [**get_slo_correction**](docs/SLOCorrectionWindowsApi.md#get_slo_correction) | **GET** /api/slo/correction | Generate SLO Correction Windows +*ServiceLevelsAlertConfigurationApi* | [**bulk_delete_service_levels_alert_configs**](docs/ServiceLevelsAlertConfigurationApi.md#bulk_delete_service_levels_alert_configs) | **PUT** /api/events/settings/global-alert-configs/service-levels/bulk/delete | Bulk Delete Service Levels Smart Alert Configs +*ServiceLevelsAlertConfigurationApi* | [**bulk_disable_service_levels_alert_configs**](docs/ServiceLevelsAlertConfigurationApi.md#bulk_disable_service_levels_alert_configs) | **PUT** /api/events/settings/global-alert-configs/service-levels/bulk/disable | Bulk Disable Service Levels Smart Alert Configs +*ServiceLevelsAlertConfigurationApi* | [**bulk_enable_service_levels_alert_configs**](docs/ServiceLevelsAlertConfigurationApi.md#bulk_enable_service_levels_alert_configs) | **PUT** /api/events/settings/global-alert-configs/service-levels/bulk/enable | Bulk Enable Service Levels Smart Alert Configs *ServiceLevelsAlertConfigurationApi* | [**create_service_levels_alert_config**](docs/ServiceLevelsAlertConfigurationApi.md#create_service_levels_alert_config) | **POST** /api/events/settings/global-alert-configs/service-levels | Create Service levels Alert Config *ServiceLevelsAlertConfigurationApi* | [**delete_service_levels_alert_config**](docs/ServiceLevelsAlertConfigurationApi.md#delete_service_levels_alert_config) | **DELETE** /api/events/settings/global-alert-configs/service-levels/{id} | Delete Service levels Alert Config *ServiceLevelsAlertConfigurationApi* | [**disable_service_levels_alert_config**](docs/ServiceLevelsAlertConfigurationApi.md#disable_service_levels_alert_config) | **PUT** /api/events/settings/global-alert-configs/service-levels/{id}/disable | Disable Service levels Alert Config @@ -454,7 +473,10 @@ Class | Method | HTTP request | Description *ServiceLevelsAlertConfigurationApi* | [**find_service_levels_alert_config_versions**](docs/ServiceLevelsAlertConfigurationApi.md#find_service_levels_alert_config_versions) | **GET** /api/events/settings/global-alert-configs/service-levels/{id}/versions | Get versions of Service levels Alert Config *ServiceLevelsAlertConfigurationApi* | [**restore_service_levels_alert_config**](docs/ServiceLevelsAlertConfigurationApi.md#restore_service_levels_alert_config) | **PUT** /api/events/settings/global-alert-configs/service-levels/{id}/restore/{created} | Restore Service levels Alert Config *ServiceLevelsAlertConfigurationApi* | [**update_service_levels_alert_config**](docs/ServiceLevelsAlertConfigurationApi.md#update_service_levels_alert_config) | **POST** /api/events/settings/global-alert-configs/service-levels/{id} | Update Service levels Alert Config +*ServiceLevelsObjectiveSLOReportApi* | [**entities_slo**](docs/ServiceLevelsObjectiveSLOReportApi.md#entities_slo) | **GET** /api/slo/entities/{sloId} | Get the entities monitored by a SLO (Service Level Objective) configuration +*ServiceLevelsObjectiveSLOReportApi* | [**explain_slo**](docs/ServiceLevelsObjectiveSLOReportApi.md#explain_slo) | **GET** /api/slo/explain/{sloId} | Explain Service Levels objective with more details. *ServiceLevelsObjectiveSLOReportApi* | [**get_slo**](docs/ServiceLevelsObjectiveSLOReportApi.md#get_slo) | **GET** /api/slo/report/{sloId} | Generate Service Levels report +*ServiceLevelsObjectiveSLOReportApi* | [**summarize_slo**](docs/ServiceLevelsObjectiveSLOReportApi.md#summarize_slo) | **GET** /api/slo/summarize/{sloId} | Summarize Service Levels objective results. *SessionSettingsApi* | [**delete_session_settings**](docs/SessionSettingsApi.md#delete_session_settings) | **DELETE** /api/settings/session | Delete session settings *SessionSettingsApi* | [**get_session_settings**](docs/SessionSettingsApi.md#get_session_settings) | **GET** /api/settings/session | Get session settings *SessionSettingsApi* | [**set_session_settings**](docs/SessionSettingsApi.md#set_session_settings) | **PUT** /api/settings/session | Configure session settings @@ -564,6 +586,7 @@ Class | Method | HTTP request | Description - [AccessLogResponse](docs/AccessLogResponse.md) - [AccessRule](docs/AccessRule.md) - [Action](docs/Action.md) + - [ActionBeacon](docs/ActionBeacon.md) - [ActionConfiguration](docs/ActionConfiguration.md) - [ActionInstance](docs/ActionInstance.md) - [ActionInstanceMetadataEntry](docs/ActionInstanceMetadataEntry.md) @@ -583,6 +606,7 @@ Class | Method | HTTP request | Description - [ApdexConfiguration](docs/ApdexConfiguration.md) - [ApdexConfigurationInput](docs/ApdexConfigurationInput.md) - [ApdexEntity](docs/ApdexEntity.md) + - [ApdexLevel](docs/ApdexLevel.md) - [ApdexReport](docs/ApdexReport.md) - [ApiCreateGroup](docs/ApiCreateGroup.md) - [ApiCreateRole](docs/ApiCreateRole.md) @@ -650,6 +674,7 @@ Class | Method | HTTP request | Description - [CreateWebsiteRequestInner](docs/CreateWebsiteRequestInner.md) - [CursorPaginatedBusinessActivityItem](docs/CursorPaginatedBusinessActivityItem.md) - [CursorPagination](docs/CursorPagination.md) + - [CursorPaginationWithUiCursorInfraExploreCursor](docs/CursorPaginationWithUiCursorInfraExploreCursor.md) - [CustomBlueprintIndicator](docs/CustomBlueprintIndicator.md) - [CustomDashboard](docs/CustomDashboard.md) - [CustomDashboardPreview](docs/CustomDashboardPreview.md) @@ -680,6 +705,7 @@ Class | Method | HTTP request | Description - [DynamicField](docs/DynamicField.md) - [DynamicFieldValue](docs/DynamicFieldValue.md) - [DynamicParameter](docs/DynamicParameter.md) + - [DynamicTag](docs/DynamicTag.md) - [EditUser](docs/EditUser.md) - [EmailIntegration](docs/EmailIntegration.md) - [EmptyConfiguration](docs/EmptyConfiguration.md) @@ -710,6 +736,7 @@ Class | Method | HTTP request | Description - [GeoLocationConfiguration](docs/GeoLocationConfiguration.md) - [GeoMappingRule](docs/GeoMappingRule.md) - [GeoSubdivision](docs/GeoSubdivision.md) + - [GetActionBeaconsResult](docs/GetActionBeaconsResult.md) - [GetActivities](docs/GetActivities.md) - [GetApplicationMetrics](docs/GetApplicationMetrics.md) - [GetApplications](docs/GetApplications.md) @@ -789,6 +816,7 @@ Class | Method | HTTP request | Description - [LLMGatewayCapability](docs/LLMGatewayCapability.md) - [LLMGatewayModel](docs/LLMGatewayModel.md) - [LLMGatewayService](docs/LLMGatewayService.md) + - [LLMGatewayTestConnectionRequest](docs/LLMGatewayTestConnectionRequest.md) - [LatencyBlueprintIndicator](docs/LatencyBlueprintIndicator.md) - [LlmModelPrice](docs/LlmModelPrice.md) - [LlmModelPriceMetadata](docs/LlmModelPriceMetadata.md) @@ -874,6 +902,7 @@ Class | Method | HTTP request | Description - [PolicyScheduling](docs/PolicyScheduling.md) - [PostMobileAppSourceMapConfigRequest](docs/PostMobileAppSourceMapConfigRequest.md) - [PostSnapshotsResult](docs/PostSnapshotsResult.md) + - [PrefixObject](docs/PrefixObject.md) - [Problem](docs/Problem.md) - [PrometheusWebhookIntegration](docs/PrometheusWebhookIntegration.md) - [RecurrentMaintenanceWindow](docs/RecurrentMaintenanceWindow.md) @@ -904,6 +933,7 @@ Class | Method | HTTP request | Description - [ServiceLevelIndicator](docs/ServiceLevelIndicator.md) - [ServiceLevelObjectiveAlertRule](docs/ServiceLevelObjectiveAlertRule.md) - [ServiceLevelsAlertConfig](docs/ServiceLevelsAlertConfig.md) + - [ServiceLevelsAlertConfigWithRBACTag](docs/ServiceLevelsAlertConfigWithRBACTag.md) - [ServiceLevelsAlertRule](docs/ServiceLevelsAlertRule.md) - [ServiceLevelsBurnRateConfig](docs/ServiceLevelsBurnRateConfig.md) - [ServiceLevelsBurnRateTimeWindows](docs/ServiceLevelsBurnRateTimeWindows.md) @@ -1009,6 +1039,7 @@ Class | Method | HTTP request | Description - [TagTreeNode](docs/TagTreeNode.md) - [TagTreeTag](docs/TagTreeTag.md) - [TestCommonProperties](docs/TestCommonProperties.md) + - [TestConnectionResponse](docs/TestConnectionResponse.md) - [TestLastError](docs/TestLastError.md) - [TestResult](docs/TestResult.md) - [TestResultCommonProperties](docs/TestResultCommonProperties.md) diff --git a/docs/AIManagementApi.md b/docs/AIManagementApi.md index af5d0af..de45e85 100644 --- a/docs/AIManagementApi.md +++ b/docs/AIManagementApi.md @@ -10,6 +10,7 @@ Method | HTTP request | Description [**get_llm_capabilities**](AIManagementApi.md#get_llm_capabilities) | **GET** /api/llm/capabilities | Get all LLM capabilities [**get_llm_egress_gateway_by_id**](AIManagementApi.md#get_llm_egress_gateway_by_id) | **GET** /api/llm/gateways/{id} | Get a LLM gateway by ID [**get_llm_egress_gateways**](AIManagementApi.md#get_llm_egress_gateways) | **GET** /api/llm/gateways | Get all LLM gateways +[**test_llm_gateway**](AIManagementApi.md#test_llm_gateway) | **POST** /api/llm/gateways/test | Test LLM gateway connection parameters [**update_llm_egress_gateway**](AIManagementApi.md#update_llm_egress_gateway) | **PUT** /api/llm/gateways/{id} | Update an existing LLM gateway. @@ -499,6 +500,90 @@ 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) +# **test_llm_gateway** +> TestConnectionResponse test_llm_gateway(llm_gateway_test_connection_request) + +Test LLM gateway connection parameters + +Test LLM gateway connection parameters + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.llm_gateway_test_connection_request import LLMGatewayTestConnectionRequest +from instana_client.models.test_connection_response import TestConnectionResponse +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.AIManagementApi(api_client) + llm_gateway_test_connection_request = {"id":"WATSONX","connectionParameters":{"url":"https://watsonx.example.com","apiKey":"secret-api-key","project":"project-xyz"}} # LLMGatewayTestConnectionRequest | + + try: + # Test LLM gateway connection parameters + api_response = api_instance.test_llm_gateway(llm_gateway_test_connection_request) + print("The response of AIManagementApi->test_llm_gateway:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling AIManagementApi->test_llm_gateway: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **llm_gateway_test_connection_request** | [**LLMGatewayTestConnectionRequest**](LLMGatewayTestConnectionRequest.md)| | + +### Return type + +[**TestConnectionResponse**](TestConnectionResponse.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 | - | +**401** | Unauthorized access - requires user authentication. | - | +**403** | Insufficient permissions or limited in access. | - | +**404** | Resource 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) + # **update_llm_egress_gateway** > LLMEgressGateway update_llm_egress_gateway(id, llm_egress_gateway) diff --git a/docs/AbstractIntegration.md b/docs/AbstractIntegration.md index f209af5..45599e3 100644 --- a/docs/AbstractIntegration.md +++ b/docs/AbstractIntegration.md @@ -8,6 +8,7 @@ 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. | +**timezone** | **str** | The timezone to be used for DateTime | [optional] ## Example diff --git a/docs/ActionBeacon.md b/docs/ActionBeacon.md new file mode 100644 index 0000000..4f586aa --- /dev/null +++ b/docs/ActionBeacon.md @@ -0,0 +1,43 @@ +# ActionBeacon + +List of action beacons for the current page + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**beacon_type** | **str** | Type of beacon | +**bytes_ingested_metadata** | **int** | Bytes ingested for metadata | [optional] +**event_type** | **str** | Event type (e.g., st=start, fs=frustration signal, oc=orientation change) | [optional] +**frustration_signal** | **str** | Frustration signal type (e.g., rt=rage tap) | [optional] +**keyboard_operation** | **str** | Keyboard operation indicator | [optional] +**mobile_app_id** | **str** | Mobile app identifier | +**orientation_change** | **str** | Orientation change indicator (l=landscape, p=portrait) | [optional] +**scroll_direction** | **str** | Scroll direction | [optional] +**scroll_duration** | **str** | Scroll duration in milliseconds | [optional] +**session_id** | **str** | Session identifier | +**session_replay_version** | **str** | Session replay version | [optional] +**timestamp** | **int** | Timestamp when the action was captured (epoch milliseconds) | +**view_component_class_name** | **str** | View component class name | [optional] +**view_component_id** | **str** | View component identifier | [optional] + +## Example + +```python +from instana_client.models.action_beacon import ActionBeacon + +# TODO update the JSON string below +json = "{}" +# create an instance of ActionBeacon from a JSON string +action_beacon_instance = ActionBeacon.from_json(json) +# print the JSON string representation of the object +print(ActionBeacon.to_json()) + +# convert the object into a dict +action_beacon_dict = action_beacon_instance.to_dict() +# create an instance of ActionBeacon from a dict +action_beacon_from_dict = ActionBeacon.from_dict(action_beacon_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/ApdexConfiguration.md b/docs/ApdexConfiguration.md index f1ded64..08ac059 100644 --- a/docs/ApdexConfiguration.md +++ b/docs/ApdexConfiguration.md @@ -6,9 +6,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **apdex_entity** | [**ApdexEntity**](ApdexEntity.md) | | -**apdex_name** | **str** | Name of the Apdex Configuration | -**created_at** | **int** | Created Date of Apdex Configuration | [optional] +**apdex_name** | **str** | | +**created_at** | **int** | Created date of Apdex Configuration (Unix timestamp in milliseconds) | [optional] **id** | **str** | Apdex Configuration ID | +**last_updated** | **int** | Last updated date of Apdex Configuration (Unix timestamp in milliseconds) | [optional] +**tags** | **List[str]** | List of tags associated with Apdex Configuration | [optional] ## Example diff --git a/docs/ApdexConfigurationInput.md b/docs/ApdexConfigurationInput.md index baadc54..4676f3a 100644 --- a/docs/ApdexConfigurationInput.md +++ b/docs/ApdexConfigurationInput.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **apdex_entity** | [**ApdexEntity**](ApdexEntity.md) | | **apdex_name** | **str** | Name of the Apdex Configuration | +**tags** | **List[str]** | List of tags associated with Apdex Configuration | [optional] ## Example diff --git a/docs/ApdexLevel.md b/docs/ApdexLevel.md new file mode 100644 index 0000000..2743e36 --- /dev/null +++ b/docs/ApdexLevel.md @@ -0,0 +1,33 @@ +# ApdexLevel + +Apdex satisfaction level definition with threshold boundaries + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **int** | Unique identifier for the level | [optional] +**lower** | **float** | Lower threshold boundary (inclusive) | [optional] +**name** | **str** | Name of the satisfaction level | [optional] +**upper** | **float** | Upper threshold boundary (inclusive) | [optional] + +## Example + +```python +from instana_client.models.apdex_level import ApdexLevel + +# TODO update the JSON string below +json = "{}" +# create an instance of ApdexLevel from a JSON string +apdex_level_instance = ApdexLevel.from_json(json) +# print the JSON string representation of the object +print(ApdexLevel.to_json()) + +# convert the object into a dict +apdex_level_dict = apdex_level_instance.to_dict() +# create an instance of ApdexLevel from a dict +apdex_level_from_dict = ApdexLevel.from_dict(apdex_level_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/ApdexSettingsApi.md b/docs/ApdexSettingsApi.md index 16426da..43e71f8 100644 --- a/docs/ApdexSettingsApi.md +++ b/docs/ApdexSettingsApi.md @@ -5,10 +5,17 @@ All URIs are relative to *https://unit-tenant.instana.io* Method | HTTP request | Description ------------- | ------------- | ------------- [**create_apdex_configuration**](ApdexSettingsApi.md#create_apdex_configuration) | **POST** /api/settings/apdex | Create Apdex Configuration +[**create_apdex_configuration_v2**](ApdexSettingsApi.md#create_apdex_configuration_v2) | **POST** /api/settings/apdex/v2 | Create Apdex Configuration [**delete_apdex_configuration**](ApdexSettingsApi.md#delete_apdex_configuration) | **DELETE** /api/settings/apdex/{id} | Delete Apdex Configuration +[**delete_apdex_configuration_v2**](ApdexSettingsApi.md#delete_apdex_configuration_v2) | **DELETE** /api/settings/apdex/v2/{id} | Delete Apdex Configuration +[**get_all_apdex_config_levels_v2**](ApdexSettingsApi.md#get_all_apdex_config_levels_v2) | **GET** /api/settings/apdex/v2/apdex-levels | Get All Apdex Levels +[**get_all_apdex_config_tags_v2**](ApdexSettingsApi.md#get_all_apdex_config_tags_v2) | **GET** /api/settings/apdex/v2/tags | Get All Apdex Config tags [**get_all_apdex_configurations**](ApdexSettingsApi.md#get_all_apdex_configurations) | **GET** /api/settings/apdex | Get All Apdex Configurations +[**get_all_apdex_configurations_v2**](ApdexSettingsApi.md#get_all_apdex_configurations_v2) | **GET** /api/settings/apdex/v2 | Get All Apdex Configurations [**get_apdex_configuration**](ApdexSettingsApi.md#get_apdex_configuration) | **GET** /api/settings/apdex/{id} | Get Apdex Configuration +[**get_apdex_configuration_v2**](ApdexSettingsApi.md#get_apdex_configuration_v2) | **GET** /api/settings/apdex/v2/{id} | Get Apdex Configuration [**get_apdex_configurations_for_entity_type_and_id**](ApdexSettingsApi.md#get_apdex_configurations_for_entity_type_and_id) | **GET** /api/settings/apdex/{entityType}/{entityId} | Get all Apdex configurations for entity type and entity id +[**update_apdex_config_v2**](ApdexSettingsApi.md#update_apdex_config_v2) | **PUT** /api/settings/apdex/v2/{id} | Update an existing Apdex Config # **create_apdex_configuration** @@ -61,6 +68,84 @@ with instana_client.ApiClient(configuration) as api_client: +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **apdex_configuration_input** | [**ApdexConfigurationInput**](ApdexConfigurationInput.md)| | + +### Return type + +[**ApdexConfiguration**](ApdexConfiguration.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 | - | + +[[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_apdex_configuration_v2** +> ApdexConfiguration create_apdex_configuration_v2(apdex_configuration_input) + +Create Apdex Configuration + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.apdex_configuration import ApdexConfiguration +from instana_client.models.apdex_configuration_input import ApdexConfigurationInput +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.ApdexSettingsApi(api_client) + apdex_configuration_input = [{"apdexName":"Apdex Configuration One","apdexEntity":{"apdexType":"website","entityId":"XIZGGVT1TX2O-0OFeT2Yig","threshold":400,"tagFilterExpression":{"type":"EXPRESSION","logicalOperator":"AND","elements":[]},"beaconType":"httpRequest"}}] # ApdexConfigurationInput | + + try: + # Create Apdex Configuration + api_response = api_instance.create_apdex_configuration_v2(apdex_configuration_input) + print("The response of ApdexSettingsApi->create_apdex_configuration_v2:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ApdexSettingsApi->create_apdex_configuration_v2: %s\n" % e) +``` + + + ### Parameters @@ -163,6 +248,235 @@ 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_apdex_configuration_v2** +> delete_apdex_configuration_v2(id) + +Delete Apdex Configuration + +### 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.ApdexSettingsApi(api_client) + id = 'NCAoNKqySWSK1U5GkmyZgQ' # str | Apdex Configuration ID + + try: + # Delete Apdex Configuration + api_instance.delete_apdex_configuration_v2(id) + except Exception as e: + print("Exception when calling ApdexSettingsApi->delete_apdex_configuration_v2: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| Apdex Configuration ID | + +### 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** | Apdex Configuration Deleted Successfully | - | + +[[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_apdex_config_levels_v2** +> List[ApdexLevel] get_all_apdex_config_levels_v2() + +Get All Apdex Levels + +Returns the Apdex satisfaction level definitions with their thresholds + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.apdex_level import ApdexLevel +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.ApdexSettingsApi(api_client) + + try: + # Get All Apdex Levels + api_response = api_instance.get_all_apdex_config_levels_v2() + print("The response of ApdexSettingsApi->get_all_apdex_config_levels_v2:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ApdexSettingsApi->get_all_apdex_config_levels_v2: %s\n" % e) +``` + + + +### Parameters + +This endpoint does not need any parameter. + +### Return type + +[**List[ApdexLevel]**](ApdexLevel.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** | Fetched list of Apdex Levels Successfully | - | + +[[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_apdex_config_tags_v2** +> List[str] get_all_apdex_config_tags_v2(query=query, tag=tag, entity_type=entity_type) + +Get All Apdex Config tags + +### 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.ApdexSettingsApi(api_client) + query = 'test Apdex' # str | (optional) + tag = ['Testing'] # List[str] | (optional) + entity_type = 'APPLICATION' # str | (optional) + + try: + # Get All Apdex Config tags + api_response = api_instance.get_all_apdex_config_tags_v2(query=query, tag=tag, entity_type=entity_type) + print("The response of ApdexSettingsApi->get_all_apdex_config_tags_v2:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ApdexSettingsApi->get_all_apdex_config_tags_v2: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **query** | **str**| | [optional] + **tag** | [**List[str]**](str.md)| | [optional] + **entity_type** | **str**| | [optional] + +### Return type + +**List[str]** + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Fetched list of Apdex Configuration tags Successfully | - | + +[[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_apdex_configurations** > List[ApdexConfiguration] get_all_apdex_configurations() @@ -238,6 +552,105 @@ 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) +# **get_all_apdex_configurations_v2** +> List[ApdexConfiguration] get_all_apdex_configurations_v2(page_size=page_size, page=page, order_by=order_by, order_direction=order_direction, query=query, grouped=grouped, refresh=refresh, var_from=var_from, to=to, entity_type=entity_type, entity_id=entity_id) + +Get All Apdex Configurations + +API to Get All Apdex Configurations. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.apdex_configuration import ApdexConfiguration +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.ApdexSettingsApi(api_client) + page_size = 1 # int | (optional) + page = 1 # int | (optional) + order_by = 'name' # str | (optional) + order_direction = 'ASC' # str | (optional) + query = 'test' # str | (optional) + grouped = false # bool | (optional) + refresh = false # bool | (optional) + var_from = 1705411200000 # int | (optional) + to = 1705414800000 # int | (optional) + entity_type = 'APPLICATION' # str | (optional) + entity_id = 'XIZGGVT1TX2O-0OFeT2Yig' # str | (optional) + + try: + # Get All Apdex Configurations + api_response = api_instance.get_all_apdex_configurations_v2(page_size=page_size, page=page, order_by=order_by, order_direction=order_direction, query=query, grouped=grouped, refresh=refresh, var_from=var_from, to=to, entity_type=entity_type, entity_id=entity_id) + print("The response of ApdexSettingsApi->get_all_apdex_configurations_v2:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ApdexSettingsApi->get_all_apdex_configurations_v2: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **page_size** | **int**| | [optional] + **page** | **int**| | [optional] + **order_by** | **str**| | [optional] + **order_direction** | **str**| | [optional] + **query** | **str**| | [optional] + **grouped** | **bool**| | [optional] + **refresh** | **bool**| | [optional] + **var_from** | **int**| | [optional] + **to** | **int**| | [optional] + **entity_type** | **str**| | [optional] + **entity_id** | **str**| | [optional] + +### Return type + +[**List[ApdexConfiguration]**](ApdexConfiguration.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 | - | + +[[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_apdex_configuration** > ApdexConfiguration get_apdex_configuration(id) @@ -289,6 +702,86 @@ with instana_client.ApiClient(configuration) as api_client: +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| Apdex Configuration ID | + +### Return type + +[**ApdexConfiguration**](ApdexConfiguration.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** | Apdex Configuration not 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_apdex_configuration_v2** +> ApdexConfiguration get_apdex_configuration_v2(id) + +Get Apdex Configuration + +API to Get Apdex Configuration for specified ID. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.apdex_configuration import ApdexConfiguration +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.ApdexSettingsApi(api_client) + id = 'NCAoNKqySWSK1U5GkmyZgQ' # str | Apdex Configuration ID + + try: + # Get Apdex Configuration + api_response = api_instance.get_apdex_configuration_v2(id) + print("The response of ApdexSettingsApi->get_apdex_configuration_v2:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ApdexSettingsApi->get_apdex_configuration_v2: %s\n" % e) +``` + + + ### Parameters @@ -400,3 +893,84 @@ 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_apdex_config_v2** +> SLOConfigWithRBACTag update_apdex_config_v2(id, apdex_configuration) + +Update an existing Apdex Config + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.apdex_configuration import ApdexConfiguration +from instana_client.models.slo_config_with_rbac_tag import SLOConfigWithRBACTag +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.ApdexSettingsApi(api_client) + id = 'APD0jhg2CWmR_iPYtg-iTOzPw' # str | + apdex_configuration = [{"apdexName":"Apdex Configuration One","apdexEntity":{"apdexType":"website","entityId":"XIZGGVT1TX2O-0OFeT2Yig","threshold":400,"tagFilterExpression":{"type":"EXPRESSION","logicalOperator":"AND","elements":[]},"beaconType":"httpRequest"}}] # ApdexConfiguration | + + try: + # Update an existing Apdex Config + api_response = api_instance.update_apdex_config_v2(id, apdex_configuration) + print("The response of ApdexSettingsApi->update_apdex_config_v2:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ApdexSettingsApi->update_apdex_config_v2: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **apdex_configuration** | [**ApdexConfiguration**](ApdexConfiguration.md)| | + +### Return type + +[**SLOConfigWithRBACTag**](SLOConfigWithRBACTag.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** | Updated SLO Configuration Successfully | - | +**400** | Bad Request | - | + +[[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/ApiCreateGroup.md b/docs/ApiCreateGroup.md index febd1ad..591c784 100644 --- a/docs/ApiCreateGroup.md +++ b/docs/ApiCreateGroup.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**description** | **str** | | [optional] **members** | [**List[ApiMember]**](ApiMember.md) | | **name** | **str** | | **permission_set** | [**ApiPermissionSet**](ApiPermissionSet.md) | | diff --git a/docs/ApiCreateRole.md b/docs/ApiCreateRole.md index b3a2a2b..50b6907 100644 --- a/docs/ApiCreateRole.md +++ b/docs/ApiCreateRole.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**description** | **str** | | [optional] **members** | [**List[ApiMember]**](ApiMember.md) | | [optional] **name** | **str** | | **permissions** | **List[str]** | | [optional] diff --git a/docs/ApiGroup.md b/docs/ApiGroup.md index e4390ab..3b01a71 100644 --- a/docs/ApiGroup.md +++ b/docs/ApiGroup.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**description** | **str** | | [optional] **id** | **str** | | **members** | [**List[ApiMember]**](ApiMember.md) | | **name** | **str** | | diff --git a/docs/ApiRole.md b/docs/ApiRole.md index 67b87e4..140a557 100644 --- a/docs/ApiRole.md +++ b/docs/ApiRole.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**description** | **str** | | [optional] **id** | **str** | | **members** | [**List[ApiMember]**](ApiMember.md) | | **name** | **str** | | diff --git a/docs/ApiToken.md b/docs/ApiToken.md index bd160f9..20890ab 100644 --- a/docs/ApiToken.md +++ b/docs/ApiToken.md @@ -56,6 +56,7 @@ Name | Type | Description | Notes **can_create_thread_dump** | **bool** | | [optional] **can_delete_automation_action_history** | **bool** | | [optional] **can_delete_logs** | **bool** | | [optional] +**can_download_agent_configuration** | **bool** | | [optional] **can_edit_all_accessible_custom_dashboards** | **bool** | | [optional] **can_install_new_agents** | **bool** | | [optional] **can_invoke_alert_channel** | **bool** | | [optional] diff --git a/docs/CursorPaginationWithUiCursorInfraExploreCursor.md b/docs/CursorPaginationWithUiCursorInfraExploreCursor.md new file mode 100644 index 0000000..afece2f --- /dev/null +++ b/docs/CursorPaginationWithUiCursorInfraExploreCursor.md @@ -0,0 +1,32 @@ +# CursorPaginationWithUiCursorInfraExploreCursor + +Details for controlling the pagination of the API response. This object allows you to define the starting point for retrieving records, how many records to skip, and the size of the result set. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ingestion_time** | **int** | The timestamp indicating the starting point from which data was ingested. The format of the timestamp is in Unix epoch Time. For example, `Thursday, 5 September 2024 07:03:13 GMT` can be represented as `1725519793`. | [optional] +**offset** | **int** | The number of records to be skipped from the `ingestionTime`. For example: when `offset` is 20 and `ingestionTime` is 1725519793, the API response should have records starting from the 21st record after the specified `ingestionTime`. Note that if `offset` value is not empty, `ingestionTime` can't be empty. | [optional] +**retrieval_size** | **int** | The number of records to retrieve in a single request. For example, when retrievalSize is set to 30, offset is 20, and ingestionTime is 1725519793, the API request will fetch 30 records starting from the 21st record after the specified `ingestionTime`. Minimum value is 1 and maximum value is 200. | [optional] + +## Example + +```python +from instana_client.models.cursor_pagination_with_ui_cursor_infra_explore_cursor import CursorPaginationWithUiCursorInfraExploreCursor + +# TODO update the JSON string below +json = "{}" +# create an instance of CursorPaginationWithUiCursorInfraExploreCursor from a JSON string +cursor_pagination_with_ui_cursor_infra_explore_cursor_instance = CursorPaginationWithUiCursorInfraExploreCursor.from_json(json) +# print the JSON string representation of the object +print(CursorPaginationWithUiCursorInfraExploreCursor.to_json()) + +# convert the object into a dict +cursor_pagination_with_ui_cursor_infra_explore_cursor_dict = cursor_pagination_with_ui_cursor_infra_explore_cursor_instance.to_dict() +# create an instance of CursorPaginationWithUiCursorInfraExploreCursor from a dict +cursor_pagination_with_ui_cursor_infra_explore_cursor_from_dict = CursorPaginationWithUiCursorInfraExploreCursor.from_dict(cursor_pagination_with_ui_cursor_infra_explore_cursor_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/DynamicTag.md b/docs/DynamicTag.md new file mode 100644 index 0000000..640780e --- /dev/null +++ b/docs/DynamicTag.md @@ -0,0 +1,36 @@ +# DynamicTag + +Structured dynamic tag prefixes with metadata + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**aliases** | **List[str]** | List of prefix aliases | [optional] +**can_apply_to_destination** | **bool** | Flag to identify if possible to apply for destination | [optional] +**can_apply_to_source** | **bool** | Flag to identify if possible to apply for source | [optional] +**category_labels** | **List[str]** | Category label | [optional] +**icon** | **str** | Icon for the dynamic tag prefix | [optional] +**prefix** | **str** | The actual prefix string | +**type** | **str** | Type of the tag | [optional] + +## Example + +```python +from instana_client.models.dynamic_tag import DynamicTag + +# TODO update the JSON string below +json = "{}" +# create an instance of DynamicTag from a JSON string +dynamic_tag_instance = DynamicTag.from_json(json) +# print the JSON string representation of the object +print(DynamicTag.to_json()) + +# convert the object into a dict +dynamic_tag_dict = dynamic_tag_instance.to_dict() +# create an instance of DynamicTag from a dict +dynamic_tag_from_dict = DynamicTag.from_dict(dynamic_tag_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/EventSettingsApi.md b/docs/EventSettingsApi.md index a3d81fb..4afac4a 100644 --- a/docs/EventSettingsApi.md +++ b/docs/EventSettingsApi.md @@ -4723,11 +4723,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) # **update_prefix** -> update_prefix() +> PrefixObject update_prefix(prefix_object) Update shortcode prefix. -Updates the shortcode prefix used for events. +Updates the shortcode prefix used for events. The prefix will be applied to all new incidents created after this update. For example, setting the prefix to 'PROD-' will result in incident codes like 'PROD-1', 'PROD-2', etc. ### Example @@ -4735,6 +4735,7 @@ Updates the shortcode prefix used for events. ```python import instana_client +from instana_client.models.prefix_object import PrefixObject from instana_client.rest import ApiException from pprint import pprint @@ -4759,10 +4760,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.EventSettingsApi(api_client) + prefix_object = {"prefix":"INSTANA-"} # PrefixObject | The new prefix configuration try: # Update shortcode prefix. - api_instance.update_prefix() + api_response = api_instance.update_prefix(prefix_object) + print("The response of EventSettingsApi->update_prefix:\n") + pprint(api_response) except Exception as e: print("Exception when calling EventSettingsApi->update_prefix: %s\n" % e) ``` @@ -4771,11 +4775,14 @@ with instana_client.ApiClient(configuration) as api_client: ### Parameters -This endpoint does not need any parameter. + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **prefix_object** | [**PrefixObject**](PrefixObject.md)| The new prefix configuration | ### Return type -void (empty response body) +[**PrefixObject**](PrefixObject.md) ### Authorization @@ -4783,14 +4790,14 @@ void (empty response body) ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: Not defined + - **Content-Type**: application/json + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | The result of the update operation. | - | +**200** | The prefix was successfully updated. | - | **401** | Unauthorized access - requires user authentication. | - | **403** | Insufficient permissions or limited in access. | - | diff --git a/docs/GetActionBeaconsResult.md b/docs/GetActionBeaconsResult.md new file mode 100644 index 0000000..6c7e2ad --- /dev/null +++ b/docs/GetActionBeaconsResult.md @@ -0,0 +1,31 @@ +# GetActionBeaconsResult + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**beacons** | [**List[ActionBeacon]**](ActionBeacon.md) | List of action beacons for the current page | +**has_more** | **bool** | Indicates whether more beacons are available beyond the current page | +**next_cursor** | **int** | Cursor for the next page (timestamp). Use this value in the next request to fetch more beacons. | [optional] + +## Example + +```python +from instana_client.models.get_action_beacons_result import GetActionBeaconsResult + +# TODO update the JSON string below +json = "{}" +# create an instance of GetActionBeaconsResult from a JSON string +get_action_beacons_result_instance = GetActionBeaconsResult.from_json(json) +# print the JSON string representation of the object +print(GetActionBeaconsResult.to_json()) + +# convert the object into a dict +get_action_beacons_result_dict = get_action_beacons_result_instance.to_dict() +# create an instance of GetActionBeaconsResult from a dict +get_action_beacons_result_from_dict = GetActionBeaconsResult.from_dict(get_action_beacons_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/GetInfrastructureGroupsQuery.md b/docs/GetInfrastructureGroupsQuery.md index 545c07c..44c23ce 100644 --- a/docs/GetInfrastructureGroupsQuery.md +++ b/docs/GetInfrastructureGroupsQuery.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **metrics** | [**List[InfraMetricConfiguration]**](InfraMetricConfiguration.md) | | [optional] **missing_placeholder** | **str** | | [optional] **order** | [**Order**](Order.md) | | [optional] -**pagination** | [**CursorPagination**](CursorPagination.md) | | +**pagination** | [**CursorPaginationWithUiCursorInfraExploreCursor**](CursorPaginationWithUiCursorInfraExploreCursor.md) | | **tag_filter_expression** | [**TagFilterExpressionElement**](TagFilterExpressionElement.md) | | **time_frame** | [**TimeFrame**](TimeFrame.md) | | **type** | **str** | Type of entities | [optional] diff --git a/docs/GetInfrastructureQuery.md b/docs/GetInfrastructureQuery.md index d2cb781..b651f34 100644 --- a/docs/GetInfrastructureQuery.md +++ b/docs/GetInfrastructureQuery.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **metrics** | [**List[InfraMetricConfiguration]**](InfraMetricConfiguration.md) | | [optional] **missing_placeholder** | **str** | | [optional] **order** | [**Order**](Order.md) | | [optional] -**pagination** | [**CursorPagination**](CursorPagination.md) | | +**pagination** | [**CursorPaginationWithUiCursorInfraExploreCursor**](CursorPaginationWithUiCursorInfraExploreCursor.md) | | **tag_filter_expression** | [**TagFilterExpressionElement**](TagFilterExpressionElement.md) | | **tags** | **List[str]** | | [optional] **time_frame** | [**TimeFrame**](TimeFrame.md) | | diff --git a/docs/GlobalApplicationAlertConfigurationApi.md b/docs/GlobalApplicationAlertConfigurationApi.md index 543aa68..1792c2f 100644 --- a/docs/GlobalApplicationAlertConfigurationApi.md +++ b/docs/GlobalApplicationAlertConfigurationApi.md @@ -4,6 +4,9 @@ All URIs are relative to *https://unit-tenant.instana.io* Method | HTTP request | Description ------------- | ------------- | ------------- +[**bulk_delete_global_application_alert_configs**](GlobalApplicationAlertConfigurationApi.md#bulk_delete_global_application_alert_configs) | **PUT** /api/events/settings/global-alert-configs/applications/bulk/delete | Bulk Delete Global Smart Alert Configs +[**bulk_disable_global_application_alert_configs**](GlobalApplicationAlertConfigurationApi.md#bulk_disable_global_application_alert_configs) | **PUT** /api/events/settings/global-alert-configs/applications/bulk/disable | Bulk Disable Global Smart Alert Configs +[**bulk_enable_global_application_alert_configs**](GlobalApplicationAlertConfigurationApi.md#bulk_enable_global_application_alert_configs) | **PUT** /api/events/settings/global-alert-configs/applications/bulk/enable | Bulk Enable Global Smart Alert Configs [**create_global_application_alert_config**](GlobalApplicationAlertConfigurationApi.md#create_global_application_alert_config) | **POST** /api/events/settings/global-alert-configs/applications | Create Global Smart Alert Config [**delete_global_application_alert_config**](GlobalApplicationAlertConfigurationApi.md#delete_global_application_alert_config) | **DELETE** /api/events/settings/global-alert-configs/applications/{id} | Delete Global Smart Alert Config [**disable_global_application_alert_config**](GlobalApplicationAlertConfigurationApi.md#disable_global_application_alert_config) | **PUT** /api/events/settings/global-alert-configs/applications/{id}/disable | Disable Global Smart Alert Config @@ -15,6 +18,243 @@ Method | HTTP request | Description [**update_global_application_alert_config**](GlobalApplicationAlertConfigurationApi.md#update_global_application_alert_config) | **POST** /api/events/settings/global-alert-configs/applications/{id} | Update Global Smart Alert Config +# **bulk_delete_global_application_alert_configs** +> bulk_delete_global_application_alert_configs(request_body) + +Bulk Delete Global Smart Alert Configs + +Deletes multiple Global Smart Alert Configurations in a single request. Only processes non-deleted configs that the user has access to. Built-in configs cannot be deleted. +For more information on Global Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#global-application-alert-configuration. + +### 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.GlobalApplicationAlertConfigurationApi(api_client) + request_body = ['request_body_example'] # List[str] | + + try: + # Bulk Delete Global Smart Alert Configs + api_instance.bulk_delete_global_application_alert_configs(request_body) + except Exception as e: + print("Exception when calling GlobalApplicationAlertConfigurationApi->bulk_delete_global_application_alert_configs: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request_body** | [**List[str]**](str.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** | Successful - no content to return. | - | +**400** | Bad request. | - | +**403** | Insufficient permissions or limited in access. | - | + +[[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) + +# **bulk_disable_global_application_alert_configs** +> bulk_disable_global_application_alert_configs(request_body) + +Bulk Disable Global Smart Alert Configs + +Disables multiple Global Smart Alert Configurations in a single request. Only processes configs that are currently enabled and the user has access to. +For more information on Global Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#global-application-alert-configuration. + +### 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.GlobalApplicationAlertConfigurationApi(api_client) + request_body = ['request_body_example'] # List[str] | + + try: + # Bulk Disable Global Smart Alert Configs + api_instance.bulk_disable_global_application_alert_configs(request_body) + except Exception as e: + print("Exception when calling GlobalApplicationAlertConfigurationApi->bulk_disable_global_application_alert_configs: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request_body** | [**List[str]**](str.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** | Successful - no content to return. | - | +**400** | Bad request. | - | +**403** | Insufficient permissions or limited in access. | - | + +[[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) + +# **bulk_enable_global_application_alert_configs** +> bulk_enable_global_application_alert_configs(request_body) + +Bulk Enable Global Smart Alert Configs + +Enables multiple Global Smart Alert Configurations in a single request. Only processes configs that are currently disabled and the user has access to. +For more information on Global Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#global-application-alert-configuration. + +### 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.GlobalApplicationAlertConfigurationApi(api_client) + request_body = ['request_body_example'] # List[str] | + + try: + # Bulk Enable Global Smart Alert Configs + api_instance.bulk_enable_global_application_alert_configs(request_body) + except Exception as e: + print("Exception when calling GlobalApplicationAlertConfigurationApi->bulk_enable_global_application_alert_configs: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request_body** | [**List[str]**](str.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** | Successful - no content to return. | - | +**400** | Bad request. | - | +**403** | Insufficient permissions or limited in access. | - | + +[[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_global_application_alert_config** > GlobalApplicationAlertConfigWithMetadata create_global_application_alert_config(global_applications_alert_config) @@ -104,7 +344,7 @@ Name | Type | Description | Notes Delete Global Smart Alert Config -Disables a Global Smart Alert Configuration. +Deletes a Global Smart Alert Configuration. For more information on Global Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#global-application-alert-configuration. ### Example diff --git a/docs/HostAgentApi.md b/docs/HostAgentApi.md index 5ecd06e..50ae431 100644 --- a/docs/HostAgentApi.md +++ b/docs/HostAgentApi.md @@ -5,6 +5,7 @@ All URIs are relative to *https://unit-tenant.instana.io* Method | HTTP request | Description ------------- | ------------- | ------------- [**get_agent_clr_logs**](HostAgentApi.md#get_agent_clr_logs) | **GET** /api/host-agent/{hostId}/clr-logs | Agent CLR download logs +[**get_agent_configuration_by_host**](HostAgentApi.md#get_agent_configuration_by_host) | **GET** /api/host-agent/{hostId}/configuration | Get effective Agent configuration [**get_agent_logs**](HostAgentApi.md#get_agent_logs) | **GET** /api/host-agent/{hostId}/logs | Agent download logs [**get_agent_snapshot**](HostAgentApi.md#get_agent_snapshot) | **GET** /api/host-agent/{id} | Get host agent snapshot details [**get_agent_support_information**](HostAgentApi.md#get_agent_support_information) | **GET** /api/host-agent/{hostId}/support-info | Agent download support information @@ -90,6 +91,80 @@ 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_agent_configuration_by_host** +> get_agent_configuration_by_host(host_id) + +Get effective Agent configuration + +### 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.HostAgentApi(api_client) + host_id = 'host_id_example' # str | + + try: + # Get effective Agent configuration + api_instance.get_agent_configuration_by_host(host_id) + except Exception as e: + print("Exception when calling HostAgentApi->get_agent_configuration_by_host: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **host_id** | **str**| | + +### 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) + # **get_agent_logs** > get_agent_logs(host_id, file, download=download) diff --git a/docs/InfrastructureMetricsApi.md b/docs/InfrastructureMetricsApi.md index 7033c15..c19776f 100644 --- a/docs/InfrastructureMetricsApi.md +++ b/docs/InfrastructureMetricsApi.md @@ -15,6 +15,13 @@ Get infrastructure metrics For more information on Infrastructure Metrics please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Infrastructure#infrastructure-metrics. +**Request Validation Rules:** +- At least one metric name must be defined in the 'metrics' field +- Either 'snapshotIds' or 'query' must be provided (both cannot be empty) +- When using 'query' without 'snapshotIds', the query cannot be empty or a wildcard ('*') unless a 'plugin' is specified +- The rollup value must be valid for the given time window (see API documentation for valid rollups) +- The ratio of windowSize to rollup must not exceed 600 data points (windowSize / rollup <= 600) + ### Example * Api Key Authentication (ApiKeyAuth): @@ -87,6 +94,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | +**400** | Bad Request - Invalid request parameters. Possible error messages: | - | [[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/LLMGatewayTestConnectionRequest.md b/docs/LLMGatewayTestConnectionRequest.md new file mode 100644 index 0000000..87efebc --- /dev/null +++ b/docs/LLMGatewayTestConnectionRequest.md @@ -0,0 +1,31 @@ +# LLMGatewayTestConnectionRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**connection_parameters** | **Dict[str, str]** | | [optional] +**gateway_id** | **str** | | [optional] +**service_id** | **str** | | + +## Example + +```python +from instana_client.models.llm_gateway_test_connection_request import LLMGatewayTestConnectionRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of LLMGatewayTestConnectionRequest from a JSON string +llm_gateway_test_connection_request_instance = LLMGatewayTestConnectionRequest.from_json(json) +# print the JSON string representation of the object +print(LLMGatewayTestConnectionRequest.to_json()) + +# convert the object into a dict +llm_gateway_test_connection_request_dict = llm_gateway_test_connection_request_instance.to_dict() +# create an instance of LLMGatewayTestConnectionRequest from a dict +llm_gateway_test_connection_request_from_dict = LLMGatewayTestConnectionRequest.from_dict(llm_gateway_test_connection_request_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/LocationStatus.md b/docs/LocationStatus.md index 15819c0..c0f915b 100644 --- a/docs/LocationStatus.md +++ b/docs/LocationStatus.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **location_display_label** | **str** | | [optional] **location_id** | **str** | | +**location_type** | **str** | | [optional] **success_rate** | **float** | | [optional] **success_runs** | **int** | | [optional] **total_test_runs** | **int** | | [optional] diff --git a/docs/LogAlertConfigurationApi.md b/docs/LogAlertConfigurationApi.md index b3bd225..5d2cc5f 100644 --- a/docs/LogAlertConfigurationApi.md +++ b/docs/LogAlertConfigurationApi.md @@ -4,6 +4,9 @@ All URIs are relative to *https://unit-tenant.instana.io* Method | HTTP request | Description ------------- | ------------- | ------------- +[**bulk_delete_log_alert_configs**](LogAlertConfigurationApi.md#bulk_delete_log_alert_configs) | **PUT** /api/events/settings/global-alert-configs/logs/bulk/delete | Bulk Delete Log Alert Configs +[**bulk_disable_log_alert_configs**](LogAlertConfigurationApi.md#bulk_disable_log_alert_configs) | **PUT** /api/events/settings/global-alert-configs/logs/bulk/disable | Bulk Disable Log Alert Configs +[**bulk_enable_log_alert_configs**](LogAlertConfigurationApi.md#bulk_enable_log_alert_configs) | **PUT** /api/events/settings/global-alert-configs/logs/bulk/enable | Bulk Enable Log Alert Configs [**create_log_alert_config**](LogAlertConfigurationApi.md#create_log_alert_config) | **POST** /api/events/settings/global-alert-configs/logs | Create Log Alert Config [**delete_log_alert_config**](LogAlertConfigurationApi.md#delete_log_alert_config) | **DELETE** /api/events/settings/global-alert-configs/logs/{id} | Delete Log Alert Config [**disable_log_alert_config**](LogAlertConfigurationApi.md#disable_log_alert_config) | **PUT** /api/events/settings/global-alert-configs/logs/{id}/disable | Disable Log Alert Config @@ -15,6 +18,240 @@ Method | HTTP request | Description [**update_log_alert_config**](LogAlertConfigurationApi.md#update_log_alert_config) | **POST** /api/events/settings/global-alert-configs/logs/{id} | Update Log Alert Config +# **bulk_delete_log_alert_configs** +> bulk_delete_log_alert_configs(request_body) + +Bulk Delete Log Alert Configs + +Delete multiple log alert configurations at once. Maximum 1000 IDs per request. + +### 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.LogAlertConfigurationApi(api_client) + request_body = ['request_body_example'] # List[str] | + + try: + # Bulk Delete Log Alert Configs + api_instance.bulk_delete_log_alert_configs(request_body) + except Exception as e: + print("Exception when calling LogAlertConfigurationApi->bulk_delete_log_alert_configs: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request_body** | [**List[str]**](str.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** | Successful - no content to return. | - | +**400** | Invalid request - empty list or exceeds maximum size | - | +**403** | Insufficient permissions or limited in access. | - | + +[[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) + +# **bulk_disable_log_alert_configs** +> bulk_disable_log_alert_configs(request_body) + +Bulk Disable Log Alert Configs + +Disable multiple log alert configurations at once. Maximum 1000 IDs per request. + +### 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.LogAlertConfigurationApi(api_client) + request_body = ['request_body_example'] # List[str] | + + try: + # Bulk Disable Log Alert Configs + api_instance.bulk_disable_log_alert_configs(request_body) + except Exception as e: + print("Exception when calling LogAlertConfigurationApi->bulk_disable_log_alert_configs: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request_body** | [**List[str]**](str.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** | Successful - no content to return. | - | +**400** | Invalid request - empty list or exceeds maximum size | - | +**403** | Insufficient permissions or limited in access. | - | + +[[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) + +# **bulk_enable_log_alert_configs** +> bulk_enable_log_alert_configs(request_body) + +Bulk Enable Log Alert Configs + +Enable multiple log alert configurations at once. Maximum 1000 IDs per request. + +### 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.LogAlertConfigurationApi(api_client) + request_body = ['request_body_example'] # List[str] | + + try: + # Bulk Enable Log Alert Configs + api_instance.bulk_enable_log_alert_configs(request_body) + except Exception as e: + print("Exception when calling LogAlertConfigurationApi->bulk_enable_log_alert_configs: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request_body** | [**List[str]**](str.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** | Successful - no content to return. | - | +**400** | Invalid request - empty list or exceeds maximum size | - | +**403** | Insufficient permissions or limited in access. | - | + +[[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_log_alert_config** > LogAlertConfigWithMetadata create_log_alert_config(log_alert_config) diff --git a/docs/ManualCloseInfo.md b/docs/ManualCloseInfo.md index 7e39d6b..ad1a3b5 100644 --- a/docs/ManualCloseInfo.md +++ b/docs/ManualCloseInfo.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **close_timestamp** | **int** | The closing timestamp. | [optional] **disable_event** | **bool** | Flag to indicate whether to disable the event. | [optional] **event_ids** | **List[str]** | The event IDs to manually close, in case of multi close. | [optional] +**force_close** | **bool** | Flag to indicate whether to forcefully close issues | [optional] **mute_alerts** | **bool** | Flag to indicate whether to mute alerts. | [optional] **reason_for_closing** | **str** | The reason for manual closing. | **username** | **str** | The user name. | diff --git a/docs/MobileAppCatalogApi.md b/docs/MobileAppCatalogApi.md index d64a559..fcc7e0a 100644 --- a/docs/MobileAppCatalogApi.md +++ b/docs/MobileAppCatalogApi.md @@ -4,6 +4,7 @@ All URIs are relative to *https://unit-tenant.instana.io* Method | HTTP request | Description ------------- | ------------- | ------------- +[**get_action_beacons**](MobileAppCatalogApi.md#get_action_beacons) | **GET** /api/mobile-app-monitoring/mobile-apps/{mobileAppId}/sessions/{sessionId}/action-beacons | Get action beacons for a session [**get_all_mobile_app_catalog_tags**](MobileAppCatalogApi.md#get_all_mobile_app_catalog_tags) | **GET** /api/mobile-app-monitoring/catalog/tags | Get all existing mobile app tags [**get_mobile_app_metric_catalog**](MobileAppCatalogApi.md#get_mobile_app_metric_catalog) | **GET** /api/mobile-app-monitoring/catalog/metrics | Metric catalog [**get_mobile_app_tag_catalog**](MobileAppCatalogApi.md#get_mobile_app_tag_catalog) | **GET** /api/mobile-app-monitoring/catalog | Get mobile app tag catalog @@ -11,6 +12,85 @@ Method | HTTP request | Description [**get_session_replay_timestamps**](MobileAppCatalogApi.md#get_session_replay_timestamps) | **GET** /api/mobile-app-monitoring/mobile-apps/{mobileAppId}/sessions/{sessionId}/replay-timestamps | Get session replay timestamps +# **get_action_beacons** +> GetActionBeaconsResult get_action_beacons(mobile_app_id, session_id, cursor=cursor, page_size=page_size) + +Get action beacons for a session + +Retrieves action beacons (user interactions and events) for a mobile app session. Uses cursor-based pagination with offset cursors. Returns beacons starting from the cursor offset. The pageSize parameter controls the number of items returned (default 100, max 1000). Includes event types, view components, frustration signals, orientation changes, and more. + +### Example + + +```python +import instana_client +from instana_client.models.get_action_beacons_result import GetActionBeaconsResult +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" +) + + +# 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.MobileAppCatalogApi(api_client) + mobile_app_id = 'app-456' # str | Mobile app identifier + session_id = 'session-123' # str | Session identifier + cursor = 100 # int | Offset cursor for pagination (number of items already retrieved). Omit for first page. (optional) + page_size = 100 # int | Number of items per page (default: 100, max: 1000) (optional) (default to 100) + + try: + # Get action beacons for a session + api_response = api_instance.get_action_beacons(mobile_app_id, session_id, cursor=cursor, page_size=page_size) + print("The response of MobileAppCatalogApi->get_action_beacons:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling MobileAppCatalogApi->get_action_beacons: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **mobile_app_id** | **str**| Mobile app identifier | + **session_id** | **str**| Session identifier | + **cursor** | **int**| Offset cursor for pagination (number of items already retrieved). Omit for first page. | [optional] + **page_size** | **int**| Number of items per page (default: 100, max: 1000) | [optional] [default to 100] + +### Return type + +[**GetActionBeaconsResult**](GetActionBeaconsResult.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**400** | Bad Request - Invalid mobile app ID, session ID, or pagination parameters | - | +**401** | Unauthorized access - requires user authentication. | - | +**403** | Forbidden - User doesn't have access to this mobile app | - | +**404** | Not Found - Mobile app or session 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_mobile_app_catalog_tags** > List[Tag] get_all_mobile_app_catalog_tags() diff --git a/docs/PrefixObject.md b/docs/PrefixObject.md new file mode 100644 index 0000000..f6bc2a8 --- /dev/null +++ b/docs/PrefixObject.md @@ -0,0 +1,30 @@ +# PrefixObject + +Shortcode prefix configuration + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**prefix** | **str** | The prefix to use for event short codes (e.g., 'INSTANA-', 'PROD-') | [optional] + +## Example + +```python +from instana_client.models.prefix_object import PrefixObject + +# TODO update the JSON string below +json = "{}" +# create an instance of PrefixObject from a JSON string +prefix_object_instance = PrefixObject.from_json(json) +# print the JSON string representation of the object +print(PrefixObject.to_json()) + +# convert the object into a dict +prefix_object_dict = prefix_object_instance.to_dict() +# create an instance of PrefixObject from a dict +prefix_object_from_dict = PrefixObject.from_dict(prefix_object_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 ceea714..6079ed0 100644 --- a/docs/RolesApi.md +++ b/docs/RolesApi.md @@ -50,7 +50,7 @@ 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.RolesApi(api_client) - api_create_role = {"name":"New Role","members":[{"userId":"user-5","email":"newuser@example.com","name":"New User"}],"permissions":["CAN_VIEW_APPLICATIONS","CAN_VIEW_EVENTS"]} # ApiCreateRole | Role to create + api_create_role = {"name":"New Role","description":"optional attribute","members":[{"userId":"user-5","email":"newuser@example.com","name":"New User"}],"permissions":["CAN_VIEW_APPLICATIONS","CAN_VIEW_EVENTS"]} # ApiCreateRole | Role to create try: # Create role @@ -367,7 +367,7 @@ with instana_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = instana_client.RolesApi(api_client) id = 'roleId' # str | Id of the role to update - api_role = {"id":"role-2","name":"Updated Developer Role","members":[{"userId":"user-3","email":"dev1@example.com","name":"Developer One"},{"userId":"user-4","email":"dev2@example.com","name":"Developer Two"},{"userId":"user-6","email":"dev3@example.com","name":"Developer Three"}],"permissions":["CAN_VIEW_APPLICATIONS","CAN_VIEW_EVENTS","CAN_VIEW_INFRASTRUCTURE","CAN_CONFIGURE_APPLICATIONS"]} # ApiRole | Updated role data + api_role = {"id":"role-2","name":"Updated Developer Role","description":"optional attribute","members":[{"userId":"user-3","email":"dev1@example.com","name":"Developer One"},{"userId":"user-4","email":"dev2@example.com","name":"Developer Two"},{"userId":"user-6","email":"dev3@example.com","name":"Developer Three"}],"permissions":["CAN_VIEW_APPLICATIONS","CAN_VIEW_EVENTS","CAN_VIEW_INFRASTRUCTURE","CAN_CONFIGURE_APPLICATIONS"]} # ApiRole | Updated role data try: # Update role diff --git a/docs/ServiceLevelsAlertConfigWithRBACTag.md b/docs/ServiceLevelsAlertConfigWithRBACTag.md new file mode 100644 index 0000000..3a568ac --- /dev/null +++ b/docs/ServiceLevelsAlertConfigWithRBACTag.md @@ -0,0 +1,46 @@ +# ServiceLevelsAlertConfigWithRBACTag + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**alert_channel_ids** | **List[str]** | This is the list of channel IDs when alert triggered and sent to. | +**burn_rate_config** | [**List[ServiceLevelsBurnRateConfig]**](ServiceLevelsBurnRateConfig.md) | This is the burn rate alert configuration which defines alerting windows and corresponding thresholds. This configuration must to specified for BURN_RATE_V2 Alerts. | [optional] +**burn_rate_time_windows** | [**ServiceLevelsBurnRateTimeWindows**](ServiceLevelsBurnRateTimeWindows.md) | | [optional] +**created** | **int** | Created Date of the version of Service Levels Smart Alerts Configuration. | [optional] +**custom_payload_fields** | [**List[CustomPayloadField]**](CustomPayloadField.md) | This is the custom name and value pairs to be sent along with the alert to the alert channels. | +**description** | **str** | The description of the alert. It is also the alert message content. | +**enabled** | **bool** | Boolean Parameter specifying the enabled state of Service Levels Smart Alerts Configuration. | [optional] +**id** | **str** | Unique ID of the Service Levels Smart Alerts Configuration. | +**initial_created** | **int** | Created Date of the Initial version of Service Levels Smart Alerts Configuration. | [optional] +**name** | **str** | Name of the Service Levels Smart Alerts Configuration. | +**rbac_tags** | [**List[ApiTag]**](ApiTag.md) | RBAC tags associated with the service levels | [optional] +**read_only** | **bool** | Boolean Parameter specifying the readonly access to Service Levels Smart Alerts Configuration. | [optional] +**rule** | [**ServiceLevelsAlertRule**](ServiceLevelsAlertRule.md) | | +**severity** | **int** | This is the severity of the alert. The value can be: <b>5</b>: warning, <b>10</b>: critical. | +**slo_ids** | **List[str]** | This is the list of SLO configurations related to this alert. | +**threshold** | [**StaticThreshold**](StaticThreshold.md) | | [optional] +**time_threshold** | [**ServiceLevelsTimeThreshold**](ServiceLevelsTimeThreshold.md) | | +**triggering** | **bool** | Incident flag. If value is true, this alert will become an accident. | [optional] + +## Example + +```python +from instana_client.models.service_levels_alert_config_with_rbac_tag import ServiceLevelsAlertConfigWithRBACTag + +# TODO update the JSON string below +json = "{}" +# create an instance of ServiceLevelsAlertConfigWithRBACTag from a JSON string +service_levels_alert_config_with_rbac_tag_instance = ServiceLevelsAlertConfigWithRBACTag.from_json(json) +# print the JSON string representation of the object +print(ServiceLevelsAlertConfigWithRBACTag.to_json()) + +# convert the object into a dict +service_levels_alert_config_with_rbac_tag_dict = service_levels_alert_config_with_rbac_tag_instance.to_dict() +# create an instance of ServiceLevelsAlertConfigWithRBACTag from a dict +service_levels_alert_config_with_rbac_tag_from_dict = ServiceLevelsAlertConfigWithRBACTag.from_dict(service_levels_alert_config_with_rbac_tag_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/ServiceLevelsAlertConfigurationApi.md b/docs/ServiceLevelsAlertConfigurationApi.md index a9bb051..42bfc7d 100644 --- a/docs/ServiceLevelsAlertConfigurationApi.md +++ b/docs/ServiceLevelsAlertConfigurationApi.md @@ -4,6 +4,9 @@ All URIs are relative to *https://unit-tenant.instana.io* Method | HTTP request | Description ------------- | ------------- | ------------- +[**bulk_delete_service_levels_alert_configs**](ServiceLevelsAlertConfigurationApi.md#bulk_delete_service_levels_alert_configs) | **PUT** /api/events/settings/global-alert-configs/service-levels/bulk/delete | Bulk Delete Service Levels Smart Alert Configs +[**bulk_disable_service_levels_alert_configs**](ServiceLevelsAlertConfigurationApi.md#bulk_disable_service_levels_alert_configs) | **PUT** /api/events/settings/global-alert-configs/service-levels/bulk/disable | Bulk Disable Service Levels Smart Alert Configs +[**bulk_enable_service_levels_alert_configs**](ServiceLevelsAlertConfigurationApi.md#bulk_enable_service_levels_alert_configs) | **PUT** /api/events/settings/global-alert-configs/service-levels/bulk/enable | Bulk Enable Service Levels Smart Alert Configs [**create_service_levels_alert_config**](ServiceLevelsAlertConfigurationApi.md#create_service_levels_alert_config) | **POST** /api/events/settings/global-alert-configs/service-levels | Create Service levels Alert Config [**delete_service_levels_alert_config**](ServiceLevelsAlertConfigurationApi.md#delete_service_levels_alert_config) | **DELETE** /api/events/settings/global-alert-configs/service-levels/{id} | Delete Service levels Alert Config [**disable_service_levels_alert_config**](ServiceLevelsAlertConfigurationApi.md#disable_service_levels_alert_config) | **PUT** /api/events/settings/global-alert-configs/service-levels/{id}/disable | Disable Service levels Alert Config @@ -15,6 +18,240 @@ Method | HTTP request | Description [**update_service_levels_alert_config**](ServiceLevelsAlertConfigurationApi.md#update_service_levels_alert_config) | **POST** /api/events/settings/global-alert-configs/service-levels/{id} | Update Service levels Alert Config +# **bulk_delete_service_levels_alert_configs** +> bulk_delete_service_levels_alert_configs(request_body) + +Bulk Delete Service Levels Smart Alert Configs + +Delete multiple Service Levels Smart Alert configurations in a single operation. Only configs that are not already deleted will be updated. + +### 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.ServiceLevelsAlertConfigurationApi(api_client) + request_body = ['request_body_example'] # List[str] | + + try: + # Bulk Delete Service Levels Smart Alert Configs + api_instance.bulk_delete_service_levels_alert_configs(request_body) + except Exception as e: + print("Exception when calling ServiceLevelsAlertConfigurationApi->bulk_delete_service_levels_alert_configs: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request_body** | [**List[str]**](str.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** | Service Levels Alert Configurations Deleted Successfully | - | +**403** | Forbidden - User does not have permission to configure Service Levels Smart Alerts | - | +**422** | Unprocessable Entity - Invalid request | - | + +[[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) + +# **bulk_disable_service_levels_alert_configs** +> bulk_disable_service_levels_alert_configs(request_body) + +Bulk Disable Service Levels Smart Alert Configs + +Disable multiple Service Levels Smart Alert configurations in a single operation. Only configs that are currently enabled will be updated. + +### 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.ServiceLevelsAlertConfigurationApi(api_client) + request_body = ['request_body_example'] # List[str] | + + try: + # Bulk Disable Service Levels Smart Alert Configs + api_instance.bulk_disable_service_levels_alert_configs(request_body) + except Exception as e: + print("Exception when calling ServiceLevelsAlertConfigurationApi->bulk_disable_service_levels_alert_configs: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request_body** | [**List[str]**](str.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** | Service Levels Alert Configurations Disabled Successfully | - | +**403** | Forbidden - User does not have permission to configure Service Levels Smart Alerts | - | +**422** | Unprocessable Entity - Invalid request | - | + +[[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) + +# **bulk_enable_service_levels_alert_configs** +> bulk_enable_service_levels_alert_configs(request_body) + +Bulk Enable Service Levels Smart Alert Configs + +Enable multiple Service Levels Smart Alert configurations in a single operation. Only configs that are currently disabled will be updated. + +### 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.ServiceLevelsAlertConfigurationApi(api_client) + request_body = ['request_body_example'] # List[str] | + + try: + # Bulk Enable Service Levels Smart Alert Configs + api_instance.bulk_enable_service_levels_alert_configs(request_body) + except Exception as e: + print("Exception when calling ServiceLevelsAlertConfigurationApi->bulk_enable_service_levels_alert_configs: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request_body** | [**List[str]**](str.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** | Service Levels Alert Configurations Enabled Successfully | - | +**403** | Forbidden - User does not have permission to configure Service Levels Smart Alerts | - | +**422** | Unprocessable Entity - Invalid request | - | + +[[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_service_levels_alert_config** > ServiceLevelseAlertConfigWithMetadata create_service_levels_alert_config(service_levels_alert_config) @@ -405,7 +642,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) # **find_service_levels_alert_config** -> ServiceLevelseAlertConfigWithMetadata find_service_levels_alert_config(id, valid_on=valid_on) +> ServiceLevelsAlertConfigWithRBACTag find_service_levels_alert_config(id, valid_on=valid_on) Get Service levels Alert Config @@ -417,7 +654,7 @@ Find a Service levels Alert Config by ID. This will deliver deleted configs too. ```python import instana_client -from instana_client.models.service_levelse_alert_config_with_metadata import ServiceLevelseAlertConfigWithMetadata +from instana_client.models.service_levels_alert_config_with_rbac_tag import ServiceLevelsAlertConfigWithRBACTag from instana_client.rest import ApiException from pprint import pprint @@ -466,7 +703,7 @@ Name | Type | Description | Notes ### Return type -[**ServiceLevelseAlertConfigWithMetadata**](ServiceLevelseAlertConfigWithMetadata.md) +[**ServiceLevelsAlertConfigWithRBACTag**](ServiceLevelsAlertConfigWithRBACTag.md) ### Authorization diff --git a/docs/ServiceLevelsObjectiveSLOReportApi.md b/docs/ServiceLevelsObjectiveSLOReportApi.md index 74ff88c..188a278 100644 --- a/docs/ServiceLevelsObjectiveSLOReportApi.md +++ b/docs/ServiceLevelsObjectiveSLOReportApi.md @@ -4,9 +4,178 @@ All URIs are relative to *https://unit-tenant.instana.io* Method | HTTP request | Description ------------- | ------------- | ------------- +[**entities_slo**](ServiceLevelsObjectiveSLOReportApi.md#entities_slo) | **GET** /api/slo/entities/{sloId} | Get the entities monitored by a SLO (Service Level Objective) configuration +[**explain_slo**](ServiceLevelsObjectiveSLOReportApi.md#explain_slo) | **GET** /api/slo/explain/{sloId} | Explain Service Levels objective with more details. [**get_slo**](ServiceLevelsObjectiveSLOReportApi.md#get_slo) | **GET** /api/slo/report/{sloId} | Generate Service Levels report +[**summarize_slo**](ServiceLevelsObjectiveSLOReportApi.md#summarize_slo) | **GET** /api/slo/summarize/{sloId} | Summarize Service Levels objective results. +# **entities_slo** +> List[str] entities_slo(slo_id, window_size=window_size, to=to, page_size=page_size, page=page) + +Get the entities monitored by a SLO (Service Level Objective) configuration + +### 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.ServiceLevelsObjectiveSLOReportApi(api_client) + slo_id = 'SLOEANnWh9tQOa2h88kGxK6wQ' # str | Service Levels Objective(SLO) Configuration ID + window_size = 360000 # int | Size of the time window in which the monitored entities must be fetched, specified in milliseconds. If not provided or set to 0, the default value of 3600000 milliseconds (1 hour) is used. (optional) + to = 1706813100000 # int | Ending point for the data retrieval, specified as a 13-digit Unix timestamp in milliseconds. If not provided or set to 0, the current system time will be used. (optional) + page_size = 1 # int | Size of the Page (optional) + page = 1 # int | Page Number (optional) + + try: + # Get the entities monitored by a SLO (Service Level Objective) configuration + api_response = api_instance.entities_slo(slo_id, window_size=window_size, to=to, page_size=page_size, page=page) + print("The response of ServiceLevelsObjectiveSLOReportApi->entities_slo:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ServiceLevelsObjectiveSLOReportApi->entities_slo: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **slo_id** | **str**| Service Levels Objective(SLO) Configuration ID | + **window_size** | **int**| Size of the time window in which the monitored entities must be fetched, specified in milliseconds. If not provided or set to 0, the default value of 3600000 milliseconds (1 hour) is used. | [optional] + **to** | **int**| Ending point for the data retrieval, specified as a 13-digit Unix timestamp in milliseconds. If not provided or set to 0, the current system time will be used. | [optional] + **page_size** | **int**| Size of the Page | [optional] + **page** | **int**| Page Number | [optional] + +### Return type + +**List[str]** + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | SLO entities retrieved Successfully | - | +**404** | There is no SLO configuration for the given ID | - | + +[[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) + +# **explain_slo** +> List[str] explain_slo(slo_id, var_from=var_from, to=to) + +Explain Service Levels objective with more details. + +### 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.ServiceLevelsObjectiveSLOReportApi(api_client) + slo_id = 'SLOEANnWh9tQOa2h88kGxK6wQ' # str | Service Levels Objective(SLO) Configuration ID + var_from = '1706713140000' # str | Starting point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds (optional) + to = '1706813100000' # str | Ending point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds (optional) + + try: + # Explain Service Levels objective with more details. + api_response = api_instance.explain_slo(slo_id, var_from=var_from, to=to) + print("The response of ServiceLevelsObjectiveSLOReportApi->explain_slo:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ServiceLevelsObjectiveSLOReportApi->explain_slo: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **slo_id** | **str**| Service Levels Objective(SLO) Configuration ID | + **var_from** | **str**| Starting point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds | [optional] + **to** | **str**| Ending point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds | [optional] + +### Return type + +**List[str]** + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Explain SLO Successfully | - | +**404** | There is no SLO configuration for the given ID or the explain result hasn't been generated yet. | - | + +[[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** > List[SloReport] get_slo(slo_id, var_from=var_from, to=to, exclude_correction_id=exclude_correction_id, include_correction_id=include_correction_id) @@ -93,3 +262,84 @@ 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) +# **summarize_slo** +> List[str] summarize_slo(slo_id, var_from=var_from, to=to) + +Summarize Service Levels objective results. + +### 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.ServiceLevelsObjectiveSLOReportApi(api_client) + slo_id = 'SLOEANnWh9tQOa2h88kGxK6wQ' # str | Service Levels Objective(SLO) Configuration ID + var_from = '1706713140000' # str | Starting point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds (optional) + to = '1706813100000' # str | Ending point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds (optional) + + try: + # Summarize Service Levels objective results. + api_response = api_instance.summarize_slo(slo_id, var_from=var_from, to=to) + print("The response of ServiceLevelsObjectiveSLOReportApi->summarize_slo:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ServiceLevelsObjectiveSLOReportApi->summarize_slo: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **slo_id** | **str**| Service Levels Objective(SLO) Configuration ID | + **var_from** | **str**| Starting point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds | [optional] + **to** | **str**| Ending point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds | [optional] + +### Return type + +**List[str]** + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Summarize SLO Successfully | - | +**404** | There is no SLO configuration for the given ID or the summarization result hasn't been generated yet. | - | + +[[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/SyntheticSloEntity.md b/docs/SyntheticSloEntity.md index 875a7bd..7c0c696 100644 --- a/docs/SyntheticSloEntity.md +++ b/docs/SyntheticSloEntity.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **include_unscheduled_test_results** | **bool** | Only includes the scheduled test results. | [optional] -**synthetic_test_ids** | **List[str]** | List of Unique Synthetic Tests IDs | +**synthetic_test_ids** | **List[str]** | List of Unique Synthetic Tests IDs | [optional] ## Example diff --git a/docs/TagCatalog.md b/docs/TagCatalog.md index bbbba7a..022b6f9 100644 --- a/docs/TagCatalog.md +++ b/docs/TagCatalog.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**dynamic_tags** | [**List[DynamicTag]**](DynamicTag.md) | Structured dynamic tag prefixes with metadata | [optional] **tag_tree** | [**List[TagTreeLevel]**](TagTreeLevel.md) | The name of the tag dataset (tagTree) which can contain one or more tags as its attributes or children. Eg: `Call`. Consider this as the root of the tree where it has tags as attributes or children. | **tags** | [**List[Tag]**](Tag.md) | List of queryable tags available in a tagTree. Eg: `call.erroneous`. Consider these tags as attributes of a tagTree. Eg: `Call` tagTree has have `Erroneous`, `Call name`, `Latency` etc as attributes. | diff --git a/docs/TestConnectionResponse.md b/docs/TestConnectionResponse.md new file mode 100644 index 0000000..9dbbabd --- /dev/null +++ b/docs/TestConnectionResponse.md @@ -0,0 +1,32 @@ +# TestConnectionResponse + +Response from a test connection request + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**connected** | **bool** | Indicates whether the connection to the remote service was established successfully | +**message** | **str** | A human-readable message describing the outcome of the connection test | +**status_code** | **int** | The HTTP status code returned by the remote service during the connection test | + +## Example + +```python +from instana_client.models.test_connection_response import TestConnectionResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of TestConnectionResponse from a JSON string +test_connection_response_instance = TestConnectionResponse.from_json(json) +# print the JSON string representation of the object +print(TestConnectionResponse.to_json()) + +# convert the object into a dict +test_connection_response_dict = test_connection_response_instance.to_dict() +# create an instance of TestConnectionResponse from a dict +test_connection_response_from_dict = TestConnectionResponse.from_dict(test_connection_response_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/instana_client/__init__.py b/instana_client/__init__.py index a51e911..f15d8a5 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -15,7 +15,7 @@ """ # noqa: E501 -__version__ = "1.0.4" +__version__ = "1.0.7" # Define package exports __all__ = [ @@ -98,6 +98,7 @@ "AccessLogResponse", "AccessRule", "Action", + "ActionBeacon", "ActionConfiguration", "ActionInstance", "ActionInstanceMetadataEntry", @@ -117,6 +118,7 @@ "ApdexConfiguration", "ApdexConfigurationInput", "ApdexEntity", + "ApdexLevel", "ApdexReport", "ApiCreateGroup", "ApiCreateRole", @@ -184,6 +186,7 @@ "CreateWebsiteRequestInner", "CursorPaginatedBusinessActivityItem", "CursorPagination", + "CursorPaginationWithUiCursorInfraExploreCursor", "CustomBlueprintIndicator", "CustomDashboard", "CustomDashboardPreview", @@ -214,6 +217,7 @@ "DynamicField", "DynamicFieldValue", "DynamicParameter", + "DynamicTag", "EditUser", "EmailIntegration", "EmptyConfiguration", @@ -244,6 +248,7 @@ "GeoLocationConfiguration", "GeoMappingRule", "GeoSubdivision", + "GetActionBeaconsResult", "GetActivities", "GetApplicationMetrics", "GetApplications", @@ -323,6 +328,7 @@ "LLMGatewayCapability", "LLMGatewayModel", "LLMGatewayService", + "LLMGatewayTestConnectionRequest", "LatencyBlueprintIndicator", "LlmModelPrice", "LlmModelPriceMetadata", @@ -408,6 +414,7 @@ "PolicyScheduling", "PostMobileAppSourceMapConfigRequest", "PostSnapshotsResult", + "PrefixObject", "Problem", "PrometheusWebhookIntegration", "RecurrentMaintenanceWindow", @@ -438,6 +445,7 @@ "ServiceLevelIndicator", "ServiceLevelObjectiveAlertRule", "ServiceLevelsAlertConfig", + "ServiceLevelsAlertConfigWithRBACTag", "ServiceLevelsAlertRule", "ServiceLevelsBurnRateConfig", "ServiceLevelsBurnRateTimeWindows", @@ -543,6 +551,7 @@ "TagTreeNode", "TagTreeTag", "TestCommonProperties", + "TestConnectionResponse", "TestLastError", "TestResult", "TestResultCommonProperties", @@ -628,7 +637,638 @@ "ZChatOpsIntegration", ] -# import apis into sdk package +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.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_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.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_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_log_entry import AccessLogEntry as AccessLogEntry + from instana_client.models.access_log_response import AccessLogResponse as AccessLogResponse + 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.addition import Addition as Addition + from instana_client.models.adjusted_timeframe import AdjustedTimeframe as AdjustedTimeframe + from instana_client.models.agent_configuration_update import AgentConfigurationUpdate as AgentConfigurationUpdate + 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_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_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_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.arithmetic_configuration import ArithmeticConfiguration as ArithmeticConfiguration + from instana_client.models.arithmetic_operand import ArithmeticOperand as ArithmeticOperand + from instana_client.models.arithmetic_operation import ArithmeticOperation as ArithmeticOperation + from instana_client.models.audit_log_entry import AuditLogEntry as AuditLogEntry + 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.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.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_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_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.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.division import Division as Division + 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_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.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.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.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.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.group_mapping import GroupMapping as GroupMapping + from instana_client.models.group_mapping_overview import GroupMappingOverview as GroupMappingOverview + 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.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_metric_configuration import InfraMetricConfiguration as InfraMetricConfiguration + 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_entry_actor import LogEntryActor as LogEntryActor + 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.logs_application_alert_rule import LogsApplicationAlertRule as LogsApplicationAlertRule + 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.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_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.metric_query import MetricQuery as MetricQuery + 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.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.multiplication import Multiplication as Multiplication + from instana_client.models.ns1_integration import NS1Integration as NS1Integration + from instana_client.models.nested_operation import NestedOperation as NestedOperation + 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.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.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.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.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.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.single_value import SingleValue as SingleValue + 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_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.subtraction import Subtraction as Subtraction + 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_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_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.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.unsupported_http_path_segment_matching_rule import UnsupportedHttpPathSegmentMatchingRule as UnsupportedHttpPathSegmentMatchingRule + 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 @@ -712,6 +1352,7 @@ from instana_client.models.access_log_response import AccessLogResponse as AccessLogResponse 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 @@ -731,6 +1372,7 @@ 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 @@ -798,6 +1440,7 @@ 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 @@ -828,6 +1471,7 @@ 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 @@ -858,6 +1502,7 @@ 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 @@ -937,6 +1582,7 @@ 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 @@ -1022,6 +1668,7 @@ 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.recurrent_maintenance_window import RecurrentMaintenanceWindow as RecurrentMaintenanceWindow @@ -1052,6 +1699,7 @@ 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 @@ -1157,6 +1805,7 @@ 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 @@ -1241,3 +1890,8 @@ 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 f1012db..dd59c2c 100644 --- a/instana_client/api/__init__.py +++ b/instana_client/api/__init__.py @@ -1,6 +1,79 @@ # 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.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_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.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_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 @@ -66,3 +139,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 519804e..e566f09 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 894b15c..3f26be4 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 9234786..2b83957 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -21,6 +21,8 @@ from typing import List, Optional from typing_extensions import Annotated from instana_client.models.llm_egress_gateway import LLMEgressGateway +from instana_client.models.llm_gateway_test_connection_request import LLMGatewayTestConnectionRequest +from instana_client.models.test_connection_response import TestConnectionResponse from instana_client.api_client import ApiClient, RequestSerialized from instana_client.api_response import ApiResponse @@ -1672,6 +1674,292 @@ def _get_llm_egress_gateways_serialize( + @validate_call + def test_llm_gateway( + self, + llm_gateway_test_connection_request: LLMGatewayTestConnectionRequest, + _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, + ) -> TestConnectionResponse: + """Test LLM gateway connection parameters + + Test LLM gateway connection parameters + + :param llm_gateway_test_connection_request: (required) + :type llm_gateway_test_connection_request: LLMGatewayTestConnectionRequest + :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._test_llm_gateway_serialize( + llm_gateway_test_connection_request=llm_gateway_test_connection_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TestConnectionResponse", + '401': 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 test_llm_gateway_with_http_info( + self, + llm_gateway_test_connection_request: LLMGatewayTestConnectionRequest, + _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[TestConnectionResponse]: + """Test LLM gateway connection parameters + + Test LLM gateway connection parameters + + :param llm_gateway_test_connection_request: (required) + :type llm_gateway_test_connection_request: LLMGatewayTestConnectionRequest + :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._test_llm_gateway_serialize( + llm_gateway_test_connection_request=llm_gateway_test_connection_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TestConnectionResponse", + '401': 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 test_llm_gateway_without_preload_content( + self, + llm_gateway_test_connection_request: LLMGatewayTestConnectionRequest, + _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: + """Test LLM gateway connection parameters + + Test LLM gateway connection parameters + + :param llm_gateway_test_connection_request: (required) + :type llm_gateway_test_connection_request: LLMGatewayTestConnectionRequest + :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._test_llm_gateway_serialize( + llm_gateway_test_connection_request=llm_gateway_test_connection_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TestConnectionResponse", + '401': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _test_llm_gateway_serialize( + self, + llm_gateway_test_connection_request, + _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 llm_gateway_test_connection_request is not None: + _body_params = llm_gateway_test_connection_request + + + # 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/llm/gateways/test', + 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_llm_egress_gateway( self, diff --git a/instana_client/api/apdex_report_api.py b/instana_client/api/apdex_report_api.py index d9f4276..51db9c3 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 1c460cb..a5540ed 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -17,11 +17,13 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictStr, field_validator -from typing import List +from pydantic import Field, StrictBool, StrictInt, StrictStr, field_validator +from typing import List, Optional from typing_extensions import Annotated from instana_client.models.apdex_configuration import ApdexConfiguration from instana_client.models.apdex_configuration_input import ApdexConfigurationInput +from instana_client.models.apdex_level import ApdexLevel +from instana_client.models.slo_config_with_rbac_tag import SLOConfigWithRBACTag from instana_client.api_client import ApiClient, RequestSerialized from instana_client.api_response import ApiResponse @@ -312,6 +314,277 @@ def _create_apdex_configuration_serialize( + @validate_call + def create_apdex_configuration_v2( + self, + apdex_configuration_input: ApdexConfigurationInput, + _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, + ) -> ApdexConfiguration: + """Create Apdex Configuration + + + :param apdex_configuration_input: (required) + :type apdex_configuration_input: ApdexConfigurationInput + :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_apdex_configuration_v2_serialize( + apdex_configuration_input=apdex_configuration_input, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ApdexConfiguration", + } + 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_apdex_configuration_v2_with_http_info( + self, + apdex_configuration_input: ApdexConfigurationInput, + _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[ApdexConfiguration]: + """Create Apdex Configuration + + + :param apdex_configuration_input: (required) + :type apdex_configuration_input: ApdexConfigurationInput + :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_apdex_configuration_v2_serialize( + apdex_configuration_input=apdex_configuration_input, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ApdexConfiguration", + } + 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_apdex_configuration_v2_without_preload_content( + self, + apdex_configuration_input: ApdexConfigurationInput, + _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 Apdex Configuration + + + :param apdex_configuration_input: (required) + :type apdex_configuration_input: ApdexConfigurationInput + :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_apdex_configuration_v2_serialize( + apdex_configuration_input=apdex_configuration_input, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ApdexConfiguration", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _create_apdex_configuration_v2_serialize( + self, + apdex_configuration_input, + _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 apdex_configuration_input is not None: + _body_params = apdex_configuration_input + + + # 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/settings/apdex/v2', + 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_apdex_configuration( self, @@ -328,9 +601,1732 @@ def delete_apdex_configuration( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """Delete Apdex Configuration + ) -> None: + """Delete Apdex Configuration + + + :param id: Apdex Configuration 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._delete_apdex_configuration_serialize( + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': 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_apdex_configuration_with_http_info( + self, + id: Annotated[StrictStr, Field(description="Apdex Configuration ID")], + _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 Apdex Configuration + + + :param id: Apdex Configuration 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._delete_apdex_configuration_serialize( + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': 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_apdex_configuration_without_preload_content( + self, + id: Annotated[StrictStr, Field(description="Apdex Configuration ID")], + _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 Apdex Configuration + + + :param id: Apdex Configuration 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._delete_apdex_configuration_serialize( + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _delete_apdex_configuration_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 + + + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='DELETE', + resource_path='/api/settings/apdex/{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 delete_apdex_configuration_v2( + self, + id: Annotated[StrictStr, Field(description="Apdex Configuration ID")], + _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 Apdex Configuration + + + :param id: Apdex Configuration 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._delete_apdex_configuration_v2_serialize( + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': 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_apdex_configuration_v2_with_http_info( + self, + id: Annotated[StrictStr, Field(description="Apdex Configuration ID")], + _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 Apdex Configuration + + + :param id: Apdex Configuration 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._delete_apdex_configuration_v2_serialize( + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': 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_apdex_configuration_v2_without_preload_content( + self, + id: Annotated[StrictStr, Field(description="Apdex Configuration ID")], + _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 Apdex Configuration + + + :param id: Apdex Configuration 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._delete_apdex_configuration_v2_serialize( + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _delete_apdex_configuration_v2_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 + + + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='DELETE', + resource_path='/api/settings/apdex/v2/{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_all_apdex_config_levels_v2( + 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[ApdexLevel]: + """Get All Apdex Levels + + Returns the Apdex satisfaction level definitions with their thresholds + + :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_apdex_config_levels_v2_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[ApdexLevel]", + } + 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_apdex_config_levels_v2_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[ApdexLevel]]: + """Get All Apdex Levels + + Returns the Apdex satisfaction level definitions with their thresholds + + :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_apdex_config_levels_v2_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[ApdexLevel]", + } + 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_apdex_config_levels_v2_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 Apdex Levels + + Returns the Apdex satisfaction level definitions with their thresholds + + :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_apdex_config_levels_v2_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[ApdexLevel]", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_all_apdex_config_levels_v2_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/apdex/v2/apdex-levels', + 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_apdex_config_tags_v2( + self, + query: Optional[StrictStr] = None, + tag: Optional[List[StrictStr]] = None, + entity_type: Optional[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, + ) -> List[str]: + """Get All Apdex Config tags + + + :param query: + :type query: str + :param tag: + :type tag: List[str] + :param entity_type: + :type entity_type: 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_all_apdex_config_tags_v2_serialize( + query=query, + tag=tag, + entity_type=entity_type, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[str]", + } + 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_apdex_config_tags_v2_with_http_info( + self, + query: Optional[StrictStr] = None, + tag: Optional[List[StrictStr]] = None, + entity_type: Optional[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[List[str]]: + """Get All Apdex Config tags + + + :param query: + :type query: str + :param tag: + :type tag: List[str] + :param entity_type: + :type entity_type: 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_all_apdex_config_tags_v2_serialize( + query=query, + tag=tag, + entity_type=entity_type, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[str]", + } + 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_apdex_config_tags_v2_without_preload_content( + self, + query: Optional[StrictStr] = None, + tag: Optional[List[StrictStr]] = None, + entity_type: Optional[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 All Apdex Config tags + + + :param query: + :type query: str + :param tag: + :type tag: List[str] + :param entity_type: + :type entity_type: 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_all_apdex_config_tags_v2_serialize( + query=query, + tag=tag, + entity_type=entity_type, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[str]", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_all_apdex_config_tags_v2_serialize( + self, + query, + tag, + entity_type, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + 'tag': '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)) + + # 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/apdex/v2/tags', + 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_apdex_configurations( + 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[ApdexConfiguration]: + """Get All Apdex Configurations + + API to Get All Apdex Configurations. + + :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_apdex_configurations_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[ApdexConfiguration]", + } + 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_apdex_configurations_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[ApdexConfiguration]]: + """Get All Apdex Configurations + + API to Get All Apdex Configurations. + + :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_apdex_configurations_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[ApdexConfiguration]", + } + 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_apdex_configurations_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 Apdex Configurations + + API to Get All Apdex Configurations. + + :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_apdex_configurations_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[ApdexConfiguration]", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_all_apdex_configurations_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/apdex', + 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_apdex_configurations_v2( + self, + page_size: Optional[StrictInt] = None, + page: Optional[StrictInt] = None, + order_by: Optional[StrictStr] = None, + order_direction: Optional[StrictStr] = None, + query: Optional[StrictStr] = None, + grouped: Optional[StrictBool] = None, + refresh: Optional[StrictBool] = None, + var_from: Optional[StrictInt] = None, + to: Optional[StrictInt] = None, + entity_type: Optional[StrictStr] = None, + entity_id: Optional[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, + ) -> List[ApdexConfiguration]: + """Get All Apdex Configurations + + API to Get All Apdex Configurations. + + :param page_size: + :type page_size: int + :param page: + :type page: int + :param order_by: + :type order_by: str + :param order_direction: + :type order_direction: str + :param query: + :type query: str + :param grouped: + :type grouped: bool + :param refresh: + :type refresh: bool + :param var_from: + :type var_from: int + :param to: + :type to: int + :param entity_type: + :type entity_type: str + :param entity_id: + :type entity_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_all_apdex_configurations_v2_serialize( + page_size=page_size, + page=page, + order_by=order_by, + order_direction=order_direction, + query=query, + grouped=grouped, + refresh=refresh, + var_from=var_from, + to=to, + entity_type=entity_type, + entity_id=entity_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[ApdexConfiguration]", + } + 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_apdex_configurations_v2_with_http_info( + self, + page_size: Optional[StrictInt] = None, + page: Optional[StrictInt] = None, + order_by: Optional[StrictStr] = None, + order_direction: Optional[StrictStr] = None, + query: Optional[StrictStr] = None, + grouped: Optional[StrictBool] = None, + refresh: Optional[StrictBool] = None, + var_from: Optional[StrictInt] = None, + to: Optional[StrictInt] = None, + entity_type: Optional[StrictStr] = None, + entity_id: Optional[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[List[ApdexConfiguration]]: + """Get All Apdex Configurations + + API to Get All Apdex Configurations. + + :param page_size: + :type page_size: int + :param page: + :type page: int + :param order_by: + :type order_by: str + :param order_direction: + :type order_direction: str + :param query: + :type query: str + :param grouped: + :type grouped: bool + :param refresh: + :type refresh: bool + :param var_from: + :type var_from: int + :param to: + :type to: int + :param entity_type: + :type entity_type: str + :param entity_id: + :type entity_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_all_apdex_configurations_v2_serialize( + page_size=page_size, + page=page, + order_by=order_by, + order_direction=order_direction, + query=query, + grouped=grouped, + refresh=refresh, + var_from=var_from, + to=to, + entity_type=entity_type, + entity_id=entity_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[ApdexConfiguration]", + } + 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_apdex_configurations_v2_without_preload_content( + self, + page_size: Optional[StrictInt] = None, + page: Optional[StrictInt] = None, + order_by: Optional[StrictStr] = None, + order_direction: Optional[StrictStr] = None, + query: Optional[StrictStr] = None, + grouped: Optional[StrictBool] = None, + refresh: Optional[StrictBool] = None, + var_from: Optional[StrictInt] = None, + to: Optional[StrictInt] = None, + entity_type: Optional[StrictStr] = None, + entity_id: Optional[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 All Apdex Configurations + + API to Get All Apdex Configurations. + + :param page_size: + :type page_size: int + :param page: + :type page: int + :param order_by: + :type order_by: str + :param order_direction: + :type order_direction: str + :param query: + :type query: str + :param grouped: + :type grouped: bool + :param refresh: + :type refresh: bool + :param var_from: + :type var_from: int + :param to: + :type to: int + :param entity_type: + :type entity_type: str + :param entity_id: + :type entity_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_all_apdex_configurations_v2_serialize( + page_size=page_size, + page=page, + order_by=order_by, + order_direction=order_direction, + query=query, + grouped=grouped, + refresh=refresh, + var_from=var_from, + to=to, + entity_type=entity_type, + entity_id=entity_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[ApdexConfiguration]", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_all_apdex_configurations_v2_serialize( + self, + page_size, + page, + order_by, + order_direction, + query, + grouped, + refresh, + var_from, + to, + entity_type, + entity_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 + # process the query parameters + if page_size is not None: + + _query_params.append(('pageSize', page_size)) + + if page is not None: + + _query_params.append(('page', page)) + + if order_by is not None: + + _query_params.append(('orderBy', order_by)) + + if order_direction is not None: + + _query_params.append(('orderDirection', order_direction)) + + if query is not None: + + _query_params.append(('query', query)) + + if grouped is not None: + + _query_params.append(('grouped', grouped)) + + if refresh is not None: + + _query_params.append(('refresh', refresh)) + + if var_from is not None: + + _query_params.append(('from', var_from)) + + if to is not None: + + _query_params.append(('to', to)) + + if entity_type is not None: + + _query_params.append(('entityType', entity_type)) + + if entity_id is not None: + + _query_params.append(('entityId', entity_id)) + + # 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/apdex/v2', + 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_apdex_configuration( + self, + id: Annotated[StrictStr, Field(description="Apdex Configuration ID")], + _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, + ) -> ApdexConfiguration: + """Get Apdex Configuration + API to Get Apdex Configuration for specified ID. :param id: Apdex Configuration ID (required) :type id: str @@ -356,7 +2352,7 @@ def delete_apdex_configuration( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_apdex_configuration_serialize( + _param = self._get_apdex_configuration_serialize( id=id, _request_auth=_request_auth, _content_type=_content_type, @@ -365,7 +2361,8 @@ def delete_apdex_configuration( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "ApdexConfiguration", + '404': "str", } response_data = self.api_client.call_api( *_param, @@ -379,7 +2376,7 @@ def delete_apdex_configuration( @validate_call - def delete_apdex_configuration_with_http_info( + def get_apdex_configuration_with_http_info( self, id: Annotated[StrictStr, Field(description="Apdex Configuration ID")], _request_timeout: Union[ @@ -394,9 +2391,10 @@ def delete_apdex_configuration_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 Apdex Configuration + ) -> ApiResponse[ApdexConfiguration]: + """Get Apdex Configuration + API to Get Apdex Configuration for specified ID. :param id: Apdex Configuration ID (required) :type id: str @@ -422,7 +2420,7 @@ def delete_apdex_configuration_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_apdex_configuration_serialize( + _param = self._get_apdex_configuration_serialize( id=id, _request_auth=_request_auth, _content_type=_content_type, @@ -431,7 +2429,8 @@ def delete_apdex_configuration_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "ApdexConfiguration", + '404': "str", } response_data = self.api_client.call_api( *_param, @@ -445,7 +2444,7 @@ def delete_apdex_configuration_with_http_info( @validate_call - def delete_apdex_configuration_without_preload_content( + def get_apdex_configuration_without_preload_content( self, id: Annotated[StrictStr, Field(description="Apdex Configuration ID")], _request_timeout: Union[ @@ -461,8 +2460,9 @@ def delete_apdex_configuration_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Delete Apdex Configuration + """Get Apdex Configuration + API to Get Apdex Configuration for specified ID. :param id: Apdex Configuration ID (required) :type id: str @@ -488,7 +2488,7 @@ def delete_apdex_configuration_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_apdex_configuration_serialize( + _param = self._get_apdex_configuration_serialize( id=id, _request_auth=_request_auth, _content_type=_content_type, @@ -497,7 +2497,8 @@ def delete_apdex_configuration_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "ApdexConfiguration", + '404': "str", } response_data = self.api_client.call_api( *_param, @@ -506,7 +2507,7 @@ def delete_apdex_configuration_without_preload_content( return response_data.response - def _delete_apdex_configuration_serialize( + def _get_apdex_configuration_serialize( self, id, _request_auth, @@ -538,6 +2539,13 @@ def _delete_apdex_configuration_serialize( # 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 @@ -546,7 +2554,7 @@ def _delete_apdex_configuration_serialize( ] return self.api_client.param_serialize( - method='DELETE', + method='GET', resource_path='/api/settings/apdex/{id}', path_params=_path_params, query_params=_query_params, @@ -564,8 +2572,9 @@ def _delete_apdex_configuration_serialize( @validate_call - def get_all_apdex_configurations( + def get_apdex_configuration_v2( self, + id: Annotated[StrictStr, Field(description="Apdex Configuration ID")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -578,11 +2587,13 @@ def get_all_apdex_configurations( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> List[ApdexConfiguration]: - """Get All Apdex Configurations + ) -> ApdexConfiguration: + """Get Apdex Configuration - API to Get All Apdex Configurations. + API to Get Apdex Configuration for specified ID. + :param id: Apdex Configuration 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 @@ -605,7 +2616,8 @@ def get_all_apdex_configurations( :return: Returns the result object. """ # noqa: E501 - _param = self._get_all_apdex_configurations_serialize( + _param = self._get_apdex_configuration_v2_serialize( + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -613,7 +2625,8 @@ def get_all_apdex_configurations( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[ApdexConfiguration]", + '200': "ApdexConfiguration", + '404': "str", } response_data = self.api_client.call_api( *_param, @@ -627,8 +2640,9 @@ def get_all_apdex_configurations( @validate_call - def get_all_apdex_configurations_with_http_info( + def get_apdex_configuration_v2_with_http_info( self, + id: Annotated[StrictStr, Field(description="Apdex Configuration ID")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -641,11 +2655,13 @@ def get_all_apdex_configurations_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[ApdexConfiguration]]: - """Get All Apdex Configurations + ) -> ApiResponse[ApdexConfiguration]: + """Get Apdex Configuration - API to Get All Apdex Configurations. + API to Get Apdex Configuration for specified ID. + :param id: Apdex Configuration 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 @@ -668,7 +2684,8 @@ def get_all_apdex_configurations_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_all_apdex_configurations_serialize( + _param = self._get_apdex_configuration_v2_serialize( + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -676,7 +2693,8 @@ def get_all_apdex_configurations_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[ApdexConfiguration]", + '200': "ApdexConfiguration", + '404': "str", } response_data = self.api_client.call_api( *_param, @@ -690,8 +2708,9 @@ def get_all_apdex_configurations_with_http_info( @validate_call - def get_all_apdex_configurations_without_preload_content( + def get_apdex_configuration_v2_without_preload_content( self, + id: Annotated[StrictStr, Field(description="Apdex Configuration ID")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -705,10 +2724,12 @@ def get_all_apdex_configurations_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get All Apdex Configurations + """Get Apdex Configuration - API to Get All Apdex Configurations. + API to Get Apdex Configuration for specified ID. + :param id: Apdex Configuration 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 @@ -731,7 +2752,8 @@ def get_all_apdex_configurations_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_all_apdex_configurations_serialize( + _param = self._get_apdex_configuration_v2_serialize( + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -739,7 +2761,8 @@ def get_all_apdex_configurations_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[ApdexConfiguration]", + '200': "ApdexConfiguration", + '404': "str", } response_data = self.api_client.call_api( *_param, @@ -748,8 +2771,9 @@ def get_all_apdex_configurations_without_preload_content( return response_data.response - def _get_all_apdex_configurations_serialize( + def _get_apdex_configuration_v2_serialize( self, + id, _request_auth, _content_type, _headers, @@ -771,6 +2795,8 @@ def _get_all_apdex_configurations_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 @@ -793,7 +2819,7 @@ def _get_all_apdex_configurations_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/api/settings/apdex', + resource_path='/api/settings/apdex/v2/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -810,9 +2836,10 @@ def _get_all_apdex_configurations_serialize( @validate_call - def get_apdex_configuration( + def get_apdex_configurations_for_entity_type_and_id( self, - id: Annotated[StrictStr, Field(description="Apdex Configuration ID")], + entity_type: Annotated[StrictStr, Field(description="Type of the Apdex Configuration, it could be APPLICATION or WEBSITE")], + entity_id: Annotated[StrictStr, Field(description="Application or Website ID")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -825,13 +2852,15 @@ def get_apdex_configuration( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApdexConfiguration: - """Get Apdex Configuration + ) -> List[ApdexConfiguration]: + """Get all Apdex configurations for entity type and entity id - API to Get Apdex Configuration for specified ID. + API to Get All Apdex Configurations for specified entity type and entity id. - :param id: Apdex Configuration ID (required) - :type id: str + :param entity_type: Type of the Apdex Configuration, it could be APPLICATION or WEBSITE (required) + :type entity_type: str + :param entity_id: Application or Website ID (required) + :type entity_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 @@ -854,8 +2883,9 @@ def get_apdex_configuration( :return: Returns the result object. """ # noqa: E501 - _param = self._get_apdex_configuration_serialize( - id=id, + _param = self._get_apdex_configurations_for_entity_type_and_id_serialize( + entity_type=entity_type, + entity_id=entity_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -863,8 +2893,8 @@ def get_apdex_configuration( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ApdexConfiguration", - '404': "str", + '200': "List[ApdexConfiguration]", + '400': "str", } response_data = self.api_client.call_api( *_param, @@ -878,9 +2908,10 @@ def get_apdex_configuration( @validate_call - def get_apdex_configuration_with_http_info( + def get_apdex_configurations_for_entity_type_and_id_with_http_info( self, - id: Annotated[StrictStr, Field(description="Apdex Configuration ID")], + entity_type: Annotated[StrictStr, Field(description="Type of the Apdex Configuration, it could be APPLICATION or WEBSITE")], + entity_id: Annotated[StrictStr, Field(description="Application or Website ID")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -893,13 +2924,15 @@ def get_apdex_configuration_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[ApdexConfiguration]: - """Get Apdex Configuration + ) -> ApiResponse[List[ApdexConfiguration]]: + """Get all Apdex configurations for entity type and entity id - API to Get Apdex Configuration for specified ID. + API to Get All Apdex Configurations for specified entity type and entity id. - :param id: Apdex Configuration ID (required) - :type id: str + :param entity_type: Type of the Apdex Configuration, it could be APPLICATION or WEBSITE (required) + :type entity_type: str + :param entity_id: Application or Website ID (required) + :type entity_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 @@ -922,8 +2955,9 @@ def get_apdex_configuration_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_apdex_configuration_serialize( - id=id, + _param = self._get_apdex_configurations_for_entity_type_and_id_serialize( + entity_type=entity_type, + entity_id=entity_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -931,8 +2965,8 @@ def get_apdex_configuration_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ApdexConfiguration", - '404': "str", + '200': "List[ApdexConfiguration]", + '400': "str", } response_data = self.api_client.call_api( *_param, @@ -946,9 +2980,10 @@ def get_apdex_configuration_with_http_info( @validate_call - def get_apdex_configuration_without_preload_content( + def get_apdex_configurations_for_entity_type_and_id_without_preload_content( self, - id: Annotated[StrictStr, Field(description="Apdex Configuration ID")], + entity_type: Annotated[StrictStr, Field(description="Type of the Apdex Configuration, it could be APPLICATION or WEBSITE")], + entity_id: Annotated[StrictStr, Field(description="Application or Website ID")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -962,12 +2997,14 @@ def get_apdex_configuration_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get Apdex Configuration + """Get all Apdex configurations for entity type and entity id - API to Get Apdex Configuration for specified ID. + API to Get All Apdex Configurations for specified entity type and entity id. - :param id: Apdex Configuration ID (required) - :type id: str + :param entity_type: Type of the Apdex Configuration, it could be APPLICATION or WEBSITE (required) + :type entity_type: str + :param entity_id: Application or Website ID (required) + :type entity_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 @@ -990,8 +3027,9 @@ def get_apdex_configuration_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_apdex_configuration_serialize( - id=id, + _param = self._get_apdex_configurations_for_entity_type_and_id_serialize( + entity_type=entity_type, + entity_id=entity_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -999,8 +3037,8 @@ def get_apdex_configuration_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ApdexConfiguration", - '404': "str", + '200': "List[ApdexConfiguration]", + '400': "str", } response_data = self.api_client.call_api( *_param, @@ -1009,9 +3047,10 @@ def get_apdex_configuration_without_preload_content( return response_data.response - def _get_apdex_configuration_serialize( + def _get_apdex_configurations_for_entity_type_and_id_serialize( self, - id, + entity_type, + entity_id, _request_auth, _content_type, _headers, @@ -1033,8 +3072,10 @@ def _get_apdex_configuration_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id + if entity_type is not None: + _path_params['entityType'] = entity_type + if entity_id is not None: + _path_params['entityId'] = entity_id # process the query parameters # process the header parameters # process the form parameters @@ -1057,7 +3098,7 @@ def _get_apdex_configuration_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/api/settings/apdex/{id}', + resource_path='/api/settings/apdex/{entityType}/{entityId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1074,10 +3115,10 @@ def _get_apdex_configuration_serialize( @validate_call - def get_apdex_configurations_for_entity_type_and_id( + def update_apdex_config_v2( self, - entity_type: Annotated[StrictStr, Field(description="Type of the Apdex Configuration, it could be APPLICATION or WEBSITE")], - entity_id: Annotated[StrictStr, Field(description="Application or Website ID")], + id: StrictStr, + apdex_configuration: ApdexConfiguration, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1090,15 +3131,14 @@ def get_apdex_configurations_for_entity_type_and_id( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> List[ApdexConfiguration]: - """Get all Apdex configurations for entity type and entity id + ) -> SLOConfigWithRBACTag: + """Update an existing Apdex Config - API to Get All Apdex Configurations for specified entity type and entity id. - :param entity_type: Type of the Apdex Configuration, it could be APPLICATION or WEBSITE (required) - :type entity_type: str - :param entity_id: Application or Website ID (required) - :type entity_id: str + :param id: (required) + :type id: str + :param apdex_configuration: (required) + :type apdex_configuration: ApdexConfiguration :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 @@ -1121,9 +3161,9 @@ def get_apdex_configurations_for_entity_type_and_id( :return: Returns the result object. """ # noqa: E501 - _param = self._get_apdex_configurations_for_entity_type_and_id_serialize( - entity_type=entity_type, - entity_id=entity_id, + _param = self._update_apdex_config_v2_serialize( + id=id, + apdex_configuration=apdex_configuration, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1131,7 +3171,7 @@ def get_apdex_configurations_for_entity_type_and_id( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[ApdexConfiguration]", + '200': "SLOConfigWithRBACTag", '400': "str", } response_data = self.api_client.call_api( @@ -1146,10 +3186,10 @@ def get_apdex_configurations_for_entity_type_and_id( @validate_call - def get_apdex_configurations_for_entity_type_and_id_with_http_info( + def update_apdex_config_v2_with_http_info( self, - entity_type: Annotated[StrictStr, Field(description="Type of the Apdex Configuration, it could be APPLICATION or WEBSITE")], - entity_id: Annotated[StrictStr, Field(description="Application or Website ID")], + id: StrictStr, + apdex_configuration: ApdexConfiguration, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1162,15 +3202,14 @@ def get_apdex_configurations_for_entity_type_and_id_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[ApdexConfiguration]]: - """Get all Apdex configurations for entity type and entity id + ) -> ApiResponse[SLOConfigWithRBACTag]: + """Update an existing Apdex Config - API to Get All Apdex Configurations for specified entity type and entity id. - :param entity_type: Type of the Apdex Configuration, it could be APPLICATION or WEBSITE (required) - :type entity_type: str - :param entity_id: Application or Website ID (required) - :type entity_id: str + :param id: (required) + :type id: str + :param apdex_configuration: (required) + :type apdex_configuration: ApdexConfiguration :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 @@ -1193,9 +3232,9 @@ def get_apdex_configurations_for_entity_type_and_id_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_apdex_configurations_for_entity_type_and_id_serialize( - entity_type=entity_type, - entity_id=entity_id, + _param = self._update_apdex_config_v2_serialize( + id=id, + apdex_configuration=apdex_configuration, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1203,7 +3242,7 @@ def get_apdex_configurations_for_entity_type_and_id_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[ApdexConfiguration]", + '200': "SLOConfigWithRBACTag", '400': "str", } response_data = self.api_client.call_api( @@ -1218,10 +3257,10 @@ def get_apdex_configurations_for_entity_type_and_id_with_http_info( @validate_call - def get_apdex_configurations_for_entity_type_and_id_without_preload_content( + def update_apdex_config_v2_without_preload_content( self, - entity_type: Annotated[StrictStr, Field(description="Type of the Apdex Configuration, it could be APPLICATION or WEBSITE")], - entity_id: Annotated[StrictStr, Field(description="Application or Website ID")], + id: StrictStr, + apdex_configuration: ApdexConfiguration, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1235,14 +3274,13 @@ def get_apdex_configurations_for_entity_type_and_id_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get all Apdex configurations for entity type and entity id + """Update an existing Apdex Config - API to Get All Apdex Configurations for specified entity type and entity id. - :param entity_type: Type of the Apdex Configuration, it could be APPLICATION or WEBSITE (required) - :type entity_type: str - :param entity_id: Application or Website ID (required) - :type entity_id: str + :param id: (required) + :type id: str + :param apdex_configuration: (required) + :type apdex_configuration: ApdexConfiguration :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 @@ -1265,9 +3303,9 @@ def get_apdex_configurations_for_entity_type_and_id_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_apdex_configurations_for_entity_type_and_id_serialize( - entity_type=entity_type, - entity_id=entity_id, + _param = self._update_apdex_config_v2_serialize( + id=id, + apdex_configuration=apdex_configuration, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1275,7 +3313,7 @@ def get_apdex_configurations_for_entity_type_and_id_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[ApdexConfiguration]", + '200': "SLOConfigWithRBACTag", '400': "str", } response_data = self.api_client.call_api( @@ -1285,10 +3323,10 @@ def get_apdex_configurations_for_entity_type_and_id_without_preload_content( return response_data.response - def _get_apdex_configurations_for_entity_type_and_id_serialize( + def _update_apdex_config_v2_serialize( self, - entity_type, - entity_id, + id, + apdex_configuration, _request_auth, _content_type, _headers, @@ -1310,14 +3348,14 @@ def _get_apdex_configurations_for_entity_type_and_id_serialize( _body_params: Optional[bytes] = None # process the path parameters - if entity_type is not None: - _path_params['entityType'] = entity_type - if entity_id is not None: - _path_params['entityId'] = entity_id + 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 apdex_configuration is not None: + _body_params = apdex_configuration # set the HTTP header `Accept` @@ -1328,6 +3366,19 @@ def _get_apdex_configurations_for_entity_type_and_id_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] = [ @@ -1335,8 +3386,8 @@ def _get_apdex_configurations_for_entity_type_and_id_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/api/settings/apdex/{entityType}/{entityId}', + method='PUT', + resource_path='/api/settings/apdex/v2/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, diff --git a/instana_client/api/api_token_api.py b/instana_client/api/api_token_api.py index 0e7c0df..c8dca71 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 66e5679..cff289f 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 89c5d91..f140590 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 044071c..1c8f4a8 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 7ae9106..f541f6a 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 5453939..3025dde 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 34ab531..67aa89d 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/application_topology_api.py b/instana_client/api/application_topology_api.py index 0e3b8f6..579577b 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 e3dc800..5e68699 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 6c02ce6..eeeb911 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 1154577..47d6820 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 8bbced8..08abdc0 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 6408e3e..692f047 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 a2cd5a9..e2be6b3 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 7f2d107..ac12dd9 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 a9372b2..64e82c2 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -38,6 +38,7 @@ from instana_client.models.manual_close_info import ManualCloseInfo 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.prefix_object import PrefixObject from instana_client.models.system_rule_label import SystemRuleLabel from instana_client.models.tag_catalog import TagCatalog from instana_client.models.validated_alerting_channel_input_info import ValidatedAlertingChannelInputInfo @@ -16105,6 +16106,7 @@ def _update_mobile_app_historic_baseline_serialize( @validate_call def update_prefix( self, + prefix_object: Annotated[PrefixObject, Field(description="The new prefix configuration")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -16117,11 +16119,13 @@ def update_prefix( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: + ) -> PrefixObject: """Update shortcode prefix. - Updates the shortcode prefix used for events. + Updates the shortcode prefix used for events. The prefix will be applied to all new incidents created after this update. For example, setting the prefix to 'PROD-' will result in incident codes like 'PROD-1', 'PROD-2', etc. + :param prefix_object: The new prefix configuration (required) + :type prefix_object: PrefixObject :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 @@ -16145,6 +16149,7 @@ def update_prefix( """ # noqa: E501 _param = self._update_prefix_serialize( + prefix_object=prefix_object, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -16152,7 +16157,7 @@ def update_prefix( ) _response_types_map: Dict[str, Optional[str]] = { - '200': None, + '200': "PrefixObject", '401': None, '403': None, } @@ -16170,6 +16175,7 @@ def update_prefix( @validate_call def update_prefix_with_http_info( self, + prefix_object: Annotated[PrefixObject, Field(description="The new prefix configuration")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -16182,11 +16188,13 @@ def update_prefix_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]: + ) -> ApiResponse[PrefixObject]: """Update shortcode prefix. - Updates the shortcode prefix used for events. + Updates the shortcode prefix used for events. The prefix will be applied to all new incidents created after this update. For example, setting the prefix to 'PROD-' will result in incident codes like 'PROD-1', 'PROD-2', etc. + :param prefix_object: The new prefix configuration (required) + :type prefix_object: PrefixObject :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 @@ -16210,6 +16218,7 @@ def update_prefix_with_http_info( """ # noqa: E501 _param = self._update_prefix_serialize( + prefix_object=prefix_object, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -16217,7 +16226,7 @@ def update_prefix_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': None, + '200': "PrefixObject", '401': None, '403': None, } @@ -16235,6 +16244,7 @@ def update_prefix_with_http_info( @validate_call def update_prefix_without_preload_content( self, + prefix_object: Annotated[PrefixObject, Field(description="The new prefix configuration")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -16250,8 +16260,10 @@ def update_prefix_without_preload_content( ) -> RESTResponseType: """Update shortcode prefix. - Updates the shortcode prefix used for events. + Updates the shortcode prefix used for events. The prefix will be applied to all new incidents created after this update. For example, setting the prefix to 'PROD-' will result in incident codes like 'PROD-1', 'PROD-2', etc. + :param prefix_object: The new prefix configuration (required) + :type prefix_object: PrefixObject :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 @@ -16275,6 +16287,7 @@ def update_prefix_without_preload_content( """ # noqa: E501 _param = self._update_prefix_serialize( + prefix_object=prefix_object, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -16282,7 +16295,7 @@ def update_prefix_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': None, + '200': "PrefixObject", '401': None, '403': None, } @@ -16295,6 +16308,7 @@ def update_prefix_without_preload_content( def _update_prefix_serialize( self, + prefix_object, _request_auth, _content_type, _headers, @@ -16320,9 +16334,31 @@ def _update_prefix_serialize( # process the header parameters # process the form parameters # process the body parameter + if prefix_object is not None: + _body_params = prefix_object + # 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] = [ diff --git a/instana_client/api/events_api.py b/instana_client/api/events_api.py index af48ecd..15728fe 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 2eb6665..5f34e96 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -42,6 +42,828 @@ def __init__(self, api_client=None) -> None: self.api_client = api_client + @validate_call + def bulk_delete_global_application_alert_configs( + self, + request_body: List[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: + """Bulk Delete Global Smart Alert Configs + + Deletes multiple Global Smart Alert Configurations in a single request. Only processes non-deleted configs that the user has access to. Built-in configs cannot be deleted. For more information on Global Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#global-application-alert-configuration. + + :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 + (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._bulk_delete_global_application_alert_configs_serialize( + request_body=request_body, + _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, + } + 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 bulk_delete_global_application_alert_configs_with_http_info( + self, + request_body: List[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]: + """Bulk Delete Global Smart Alert Configs + + Deletes multiple Global Smart Alert Configurations in a single request. Only processes non-deleted configs that the user has access to. Built-in configs cannot be deleted. For more information on Global Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#global-application-alert-configuration. + + :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 + (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._bulk_delete_global_application_alert_configs_serialize( + request_body=request_body, + _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, + } + 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 bulk_delete_global_application_alert_configs_without_preload_content( + self, + request_body: List[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: + """Bulk Delete Global Smart Alert Configs + + Deletes multiple Global Smart Alert Configurations in a single request. Only processes non-deleted configs that the user has access to. Built-in configs cannot be deleted. For more information on Global Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#global-application-alert-configuration. + + :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 + (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._bulk_delete_global_application_alert_configs_serialize( + request_body=request_body, + _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, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _bulk_delete_global_application_alert_configs_serialize( + self, + request_body, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + 'request_body': '', + } + + _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 request_body is not None: + _body_params = request_body + + + + # 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/events/settings/global-alert-configs/applications/bulk/delete', + 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 bulk_disable_global_application_alert_configs( + self, + request_body: List[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: + """Bulk Disable Global Smart Alert Configs + + Disables multiple Global Smart Alert Configurations in a single request. Only processes configs that are currently enabled and the user has access to. For more information on Global Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#global-application-alert-configuration. + + :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 + (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._bulk_disable_global_application_alert_configs_serialize( + request_body=request_body, + _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, + } + 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 bulk_disable_global_application_alert_configs_with_http_info( + self, + request_body: List[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]: + """Bulk Disable Global Smart Alert Configs + + Disables multiple Global Smart Alert Configurations in a single request. Only processes configs that are currently enabled and the user has access to. For more information on Global Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#global-application-alert-configuration. + + :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 + (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._bulk_disable_global_application_alert_configs_serialize( + request_body=request_body, + _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, + } + 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 bulk_disable_global_application_alert_configs_without_preload_content( + self, + request_body: List[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: + """Bulk Disable Global Smart Alert Configs + + Disables multiple Global Smart Alert Configurations in a single request. Only processes configs that are currently enabled and the user has access to. For more information on Global Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#global-application-alert-configuration. + + :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 + (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._bulk_disable_global_application_alert_configs_serialize( + request_body=request_body, + _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, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _bulk_disable_global_application_alert_configs_serialize( + self, + request_body, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + 'request_body': '', + } + + _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 request_body is not None: + _body_params = request_body + + + + # 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/events/settings/global-alert-configs/applications/bulk/disable', + 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 bulk_enable_global_application_alert_configs( + self, + request_body: List[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: + """Bulk Enable Global Smart Alert Configs + + Enables multiple Global Smart Alert Configurations in a single request. Only processes configs that are currently disabled and the user has access to. For more information on Global Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#global-application-alert-configuration. + + :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 + (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._bulk_enable_global_application_alert_configs_serialize( + request_body=request_body, + _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, + } + 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 bulk_enable_global_application_alert_configs_with_http_info( + self, + request_body: List[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]: + """Bulk Enable Global Smart Alert Configs + + Enables multiple Global Smart Alert Configurations in a single request. Only processes configs that are currently disabled and the user has access to. For more information on Global Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#global-application-alert-configuration. + + :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 + (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._bulk_enable_global_application_alert_configs_serialize( + request_body=request_body, + _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, + } + 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 bulk_enable_global_application_alert_configs_without_preload_content( + self, + request_body: List[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: + """Bulk Enable Global Smart Alert Configs + + Enables multiple Global Smart Alert Configurations in a single request. Only processes configs that are currently disabled and the user has access to. For more information on Global Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#global-application-alert-configuration. + + :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 + (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._bulk_enable_global_application_alert_configs_serialize( + request_body=request_body, + _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, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _bulk_enable_global_application_alert_configs_serialize( + self, + request_body, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + 'request_body': '', + } + + _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 request_body is not None: + _body_params = request_body + + + + # 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/events/settings/global-alert-configs/applications/bulk/enable', + 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_global_application_alert_config( self, @@ -344,7 +1166,7 @@ def delete_global_application_alert_config( ) -> None: """Delete Global Smart Alert Config - Disables a Global Smart Alert Configuration. For more information on Global Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#global-application-alert-configuration. + Deletes a Global Smart Alert Configuration. For more information on Global Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#global-application-alert-configuration. :param id: ID of a specific Global Smart Alert Configuration to delete. (required) :type id: str @@ -413,7 +1235,7 @@ def delete_global_application_alert_config_with_http_info( ) -> ApiResponse[None]: """Delete Global Smart Alert Config - Disables a Global Smart Alert Configuration. For more information on Global Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#global-application-alert-configuration. + Deletes a Global Smart Alert Configuration. For more information on Global Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#global-application-alert-configuration. :param id: ID of a specific Global Smart Alert Configuration to delete. (required) :type id: str @@ -482,7 +1304,7 @@ def delete_global_application_alert_config_without_preload_content( ) -> RESTResponseType: """Delete Global Smart Alert Config - Disables a Global Smart Alert Configuration. For more information on Global Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#global-application-alert-configuration. + Deletes a Global Smart Alert Configuration. For more information on Global Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#global-application-alert-configuration. :param id: ID of a specific Global Smart Alert Configuration to delete. (required) :type id: str diff --git a/instana_client/api/groups_api.py b/instana_client/api/groups_api.py index cb68b79..e9dc967 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/health_api.py b/instana_client/api/health_api.py index ce29fcd..5b9e4a3 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 545a465..df41b00 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -314,6 +314,261 @@ def _get_agent_clr_logs_serialize( + @validate_call + def get_agent_configuration_by_host( + self, + host_id: Annotated[str, Field(min_length=1, strict=True)], + _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: + """Get effective Agent configuration + + + :param host_id: (required) + :type host_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_agent_configuration_by_host_serialize( + host_id=host_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + } + 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_agent_configuration_by_host_with_http_info( + self, + host_id: Annotated[str, Field(min_length=1, strict=True)], + _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]: + """Get effective Agent configuration + + + :param host_id: (required) + :type host_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_agent_configuration_by_host_serialize( + host_id=host_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + } + 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_agent_configuration_by_host_without_preload_content( + self, + host_id: Annotated[str, Field(min_length=1, strict=True)], + _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 effective Agent configuration + + + :param host_id: (required) + :type host_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_agent_configuration_by_host_serialize( + host_id=host_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_agent_configuration_by_host_serialize( + self, + host_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 host_id is not None: + _path_params['hostId'] = host_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/host-agent/{hostId}/configuration', + 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_agent_logs( self, diff --git a/instana_client/api/infrastructure_alert_configuration_api.py b/instana_client/api/infrastructure_alert_configuration_api.py index 4a487cf..0461e97 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 b113426..7a66ad2 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 bfe4f1f..4ab1b57 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 26ab5f2..1a69290 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -60,7 +60,7 @@ def get_infrastructure_metrics( ) -> InfrastructureMetricResult: """Get infrastructure metrics - For more information on Infrastructure Metrics please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Infrastructure#infrastructure-metrics. + For more information on Infrastructure Metrics please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Infrastructure#infrastructure-metrics. **Request Validation Rules:** - At least one metric name must be defined in the 'metrics' field - Either 'snapshotIds' or 'query' must be provided (both cannot be empty) - When using 'query' without 'snapshotIds', the query cannot be empty or a wildcard ('*') unless a 'plugin' is specified - The rollup value must be valid for the given time window (see API documentation for valid rollups) - The ratio of windowSize to rollup must not exceed 600 data points (windowSize / rollup <= 600) :param offline: :type offline: bool @@ -99,6 +99,7 @@ def get_infrastructure_metrics( _response_types_map: Dict[str, Optional[str]] = { '200': "InfrastructureMetricResult", + '400': None, } response_data = self.api_client.call_api( *_param, @@ -131,7 +132,7 @@ def get_infrastructure_metrics_with_http_info( ) -> ApiResponse[InfrastructureMetricResult]: """Get infrastructure metrics - For more information on Infrastructure Metrics please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Infrastructure#infrastructure-metrics. + For more information on Infrastructure Metrics please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Infrastructure#infrastructure-metrics. **Request Validation Rules:** - At least one metric name must be defined in the 'metrics' field - Either 'snapshotIds' or 'query' must be provided (both cannot be empty) - When using 'query' without 'snapshotIds', the query cannot be empty or a wildcard ('*') unless a 'plugin' is specified - The rollup value must be valid for the given time window (see API documentation for valid rollups) - The ratio of windowSize to rollup must not exceed 600 data points (windowSize / rollup <= 600) :param offline: :type offline: bool @@ -170,6 +171,7 @@ def get_infrastructure_metrics_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "InfrastructureMetricResult", + '400': None, } response_data = self.api_client.call_api( *_param, @@ -202,7 +204,7 @@ def get_infrastructure_metrics_without_preload_content( ) -> RESTResponseType: """Get infrastructure metrics - For more information on Infrastructure Metrics please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Infrastructure#infrastructure-metrics. + For more information on Infrastructure Metrics please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Infrastructure#infrastructure-metrics. **Request Validation Rules:** - At least one metric name must be defined in the 'metrics' field - Either 'snapshotIds' or 'query' must be provided (both cannot be empty) - When using 'query' without 'snapshotIds', the query cannot be empty or a wildcard ('*') unless a 'plugin' is specified - The rollup value must be valid for the given time window (see API documentation for valid rollups) - The ratio of windowSize to rollup must not exceed 600 data points (windowSize / rollup <= 600) :param offline: :type offline: bool @@ -241,6 +243,7 @@ def get_infrastructure_metrics_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "InfrastructureMetricResult", + '400': None, } response_data = self.api_client.call_api( *_param, diff --git a/instana_client/api/infrastructure_resources_api.py b/instana_client/api/infrastructure_resources_api.py index 7158655..99c5031 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 ffd8132..f39caff 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 abead8d..d7f299e 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 8375f39..a48eb13 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -42,6 +42,828 @@ def __init__(self, api_client=None) -> None: self.api_client = api_client + @validate_call + def bulk_delete_log_alert_configs( + self, + request_body: List[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: + """Bulk Delete Log Alert Configs + + Delete multiple log alert configurations at once. Maximum 1000 IDs per request. + + :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 + (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._bulk_delete_log_alert_configs_serialize( + request_body=request_body, + _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, + } + 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 bulk_delete_log_alert_configs_with_http_info( + self, + request_body: List[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]: + """Bulk Delete Log Alert Configs + + Delete multiple log alert configurations at once. Maximum 1000 IDs per request. + + :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 + (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._bulk_delete_log_alert_configs_serialize( + request_body=request_body, + _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, + } + 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 bulk_delete_log_alert_configs_without_preload_content( + self, + request_body: List[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: + """Bulk Delete Log Alert Configs + + Delete multiple log alert configurations at once. Maximum 1000 IDs per request. + + :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 + (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._bulk_delete_log_alert_configs_serialize( + request_body=request_body, + _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, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _bulk_delete_log_alert_configs_serialize( + self, + request_body, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + 'request_body': '', + } + + _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 request_body is not None: + _body_params = request_body + + + + # 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/events/settings/global-alert-configs/logs/bulk/delete', + 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 bulk_disable_log_alert_configs( + self, + request_body: List[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: + """Bulk Disable Log Alert Configs + + Disable multiple log alert configurations at once. Maximum 1000 IDs per request. + + :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 + (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._bulk_disable_log_alert_configs_serialize( + request_body=request_body, + _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, + } + 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 bulk_disable_log_alert_configs_with_http_info( + self, + request_body: List[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]: + """Bulk Disable Log Alert Configs + + Disable multiple log alert configurations at once. Maximum 1000 IDs per request. + + :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 + (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._bulk_disable_log_alert_configs_serialize( + request_body=request_body, + _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, + } + 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 bulk_disable_log_alert_configs_without_preload_content( + self, + request_body: List[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: + """Bulk Disable Log Alert Configs + + Disable multiple log alert configurations at once. Maximum 1000 IDs per request. + + :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 + (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._bulk_disable_log_alert_configs_serialize( + request_body=request_body, + _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, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _bulk_disable_log_alert_configs_serialize( + self, + request_body, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + 'request_body': '', + } + + _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 request_body is not None: + _body_params = request_body + + + + # 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/events/settings/global-alert-configs/logs/bulk/disable', + 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 bulk_enable_log_alert_configs( + self, + request_body: List[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: + """Bulk Enable Log Alert Configs + + Enable multiple log alert configurations at once. Maximum 1000 IDs per request. + + :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 + (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._bulk_enable_log_alert_configs_serialize( + request_body=request_body, + _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, + } + 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 bulk_enable_log_alert_configs_with_http_info( + self, + request_body: List[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]: + """Bulk Enable Log Alert Configs + + Enable multiple log alert configurations at once. Maximum 1000 IDs per request. + + :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 + (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._bulk_enable_log_alert_configs_serialize( + request_body=request_body, + _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, + } + 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 bulk_enable_log_alert_configs_without_preload_content( + self, + request_body: List[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: + """Bulk Enable Log Alert Configs + + Enable multiple log alert configurations at once. Maximum 1000 IDs per request. + + :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 + (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._bulk_enable_log_alert_configs_serialize( + request_body=request_body, + _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, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _bulk_enable_log_alert_configs_serialize( + self, + request_body, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + 'request_body': '', + } + + _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 request_body is not None: + _body_params = request_body + + + + # 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/events/settings/global-alert-configs/logs/bulk/enable', + 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_log_alert_config( self, diff --git a/instana_client/api/logging_analyze_api.py b/instana_client/api/logging_analyze_api.py index d43c47d..3e867ce 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/maintenance_configuration_api.py b/instana_client/api/maintenance_configuration_api.py index 097df91..f6393de 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 12c7d2e..53cf152 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 83065e9..116b64e 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -20,6 +20,7 @@ from pydantic import Field, StrictInt, StrictStr, field_validator from typing import List, Optional from typing_extensions import Annotated +from instana_client.models.get_action_beacons_result import GetActionBeaconsResult from instana_client.models.get_session_replay_metadata_result import GetSessionReplayMetadataResult from instana_client.models.mobile_app_monitoring_metric_description import MobileAppMonitoringMetricDescription from instana_client.models.session_replay_timestamps import SessionReplayTimestamps @@ -44,6 +45,330 @@ def __init__(self, api_client=None) -> None: self.api_client = api_client + @validate_call + def get_action_beacons( + self, + mobile_app_id: Annotated[str, Field(min_length=1, strict=True, description="Mobile app identifier")], + session_id: Annotated[str, Field(min_length=1, strict=True, description="Session identifier")], + cursor: Annotated[Optional[StrictInt], Field(description="Offset cursor for pagination (number of items already retrieved). Omit for first page.")] = None, + page_size: Annotated[Optional[StrictInt], Field(description="Number of items per page (default: 100, max: 1000)")] = 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, + ) -> GetActionBeaconsResult: + """Get action beacons for a session + + Retrieves action beacons (user interactions and events) for a mobile app session. Uses cursor-based pagination with offset cursors. Returns beacons starting from the cursor offset. The pageSize parameter controls the number of items returned (default 100, max 1000). Includes event types, view components, frustration signals, orientation changes, and more. + + :param mobile_app_id: Mobile app identifier (required) + :type mobile_app_id: str + :param session_id: Session identifier (required) + :type session_id: str + :param cursor: Offset cursor for pagination (number of items already retrieved). Omit for first page. + :type cursor: int + :param page_size: Number of items per page (default: 100, max: 1000) + :type page_size: int + :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_action_beacons_serialize( + mobile_app_id=mobile_app_id, + session_id=session_id, + cursor=cursor, + page_size=page_size, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "GetActionBeaconsResult", + '400': None, + '401': 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 get_action_beacons_with_http_info( + self, + mobile_app_id: Annotated[str, Field(min_length=1, strict=True, description="Mobile app identifier")], + session_id: Annotated[str, Field(min_length=1, strict=True, description="Session identifier")], + cursor: Annotated[Optional[StrictInt], Field(description="Offset cursor for pagination (number of items already retrieved). Omit for first page.")] = None, + page_size: Annotated[Optional[StrictInt], Field(description="Number of items per page (default: 100, max: 1000)")] = 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[GetActionBeaconsResult]: + """Get action beacons for a session + + Retrieves action beacons (user interactions and events) for a mobile app session. Uses cursor-based pagination with offset cursors. Returns beacons starting from the cursor offset. The pageSize parameter controls the number of items returned (default 100, max 1000). Includes event types, view components, frustration signals, orientation changes, and more. + + :param mobile_app_id: Mobile app identifier (required) + :type mobile_app_id: str + :param session_id: Session identifier (required) + :type session_id: str + :param cursor: Offset cursor for pagination (number of items already retrieved). Omit for first page. + :type cursor: int + :param page_size: Number of items per page (default: 100, max: 1000) + :type page_size: int + :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_action_beacons_serialize( + mobile_app_id=mobile_app_id, + session_id=session_id, + cursor=cursor, + page_size=page_size, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "GetActionBeaconsResult", + '400': None, + '401': 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 get_action_beacons_without_preload_content( + self, + mobile_app_id: Annotated[str, Field(min_length=1, strict=True, description="Mobile app identifier")], + session_id: Annotated[str, Field(min_length=1, strict=True, description="Session identifier")], + cursor: Annotated[Optional[StrictInt], Field(description="Offset cursor for pagination (number of items already retrieved). Omit for first page.")] = None, + page_size: Annotated[Optional[StrictInt], Field(description="Number of items per page (default: 100, max: 1000)")] = 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 action beacons for a session + + Retrieves action beacons (user interactions and events) for a mobile app session. Uses cursor-based pagination with offset cursors. Returns beacons starting from the cursor offset. The pageSize parameter controls the number of items returned (default 100, max 1000). Includes event types, view components, frustration signals, orientation changes, and more. + + :param mobile_app_id: Mobile app identifier (required) + :type mobile_app_id: str + :param session_id: Session identifier (required) + :type session_id: str + :param cursor: Offset cursor for pagination (number of items already retrieved). Omit for first page. + :type cursor: int + :param page_size: Number of items per page (default: 100, max: 1000) + :type page_size: int + :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_action_beacons_serialize( + mobile_app_id=mobile_app_id, + session_id=session_id, + cursor=cursor, + page_size=page_size, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "GetActionBeaconsResult", + '400': None, + '401': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_action_beacons_serialize( + self, + mobile_app_id, + session_id, + cursor, + page_size, + _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 mobile_app_id is not None: + _path_params['mobileAppId'] = mobile_app_id + if session_id is not None: + _path_params['sessionId'] = session_id + # process the query parameters + if cursor is not None: + + _query_params.append(('cursor', cursor)) + + if page_size is not None: + + _query_params.append(('pageSize', page_size)) + + # 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] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/mobile-app-monitoring/mobile-apps/{mobileAppId}/sessions/{sessionId}/action-beacons', + 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_mobile_app_catalog_tags( self, diff --git a/instana_client/api/mobile_app_configuration_api.py b/instana_client/api/mobile_app_configuration_api.py index 210e459..5539a6d 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 d5e1ac3..a6855d7 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 e0d3a86..7244954 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 3823a1c..e52d115 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 ddb2de1..56266b9 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/service_levels_alert_configuration_api.py b/instana_client/api/service_levels_alert_configuration_api.py index c607d72..614b8fd 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -22,6 +22,7 @@ from typing_extensions import Annotated from instana_client.models.config_version import ConfigVersion 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_levelse_alert_config_with_metadata import ServiceLevelseAlertConfigWithMetadata from instana_client.api_client import ApiClient, RequestSerialized @@ -42,6 +43,828 @@ def __init__(self, api_client=None) -> None: self.api_client = api_client + @validate_call + def bulk_delete_service_levels_alert_configs( + self, + request_body: List[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: + """Bulk Delete Service Levels Smart Alert Configs + + Delete multiple Service Levels Smart Alert configurations in a single operation. Only configs that are not already deleted will be updated. + + :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 + (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._bulk_delete_service_levels_alert_configs_serialize( + request_body=request_body, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '403': 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 bulk_delete_service_levels_alert_configs_with_http_info( + self, + request_body: List[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]: + """Bulk Delete Service Levels Smart Alert Configs + + Delete multiple Service Levels Smart Alert configurations in a single operation. Only configs that are not already deleted will be updated. + + :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 + (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._bulk_delete_service_levels_alert_configs_serialize( + request_body=request_body, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '403': 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 bulk_delete_service_levels_alert_configs_without_preload_content( + self, + request_body: List[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: + """Bulk Delete Service Levels Smart Alert Configs + + Delete multiple Service Levels Smart Alert configurations in a single operation. Only configs that are not already deleted will be updated. + + :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 + (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._bulk_delete_service_levels_alert_configs_serialize( + request_body=request_body, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '403': None, + '422': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _bulk_delete_service_levels_alert_configs_serialize( + self, + request_body, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + 'request_body': '', + } + + _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 request_body is not None: + _body_params = request_body + + + + # 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/events/settings/global-alert-configs/service-levels/bulk/delete', + 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 bulk_disable_service_levels_alert_configs( + self, + request_body: List[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: + """Bulk Disable Service Levels Smart Alert Configs + + Disable multiple Service Levels Smart Alert configurations in a single operation. Only configs that are currently enabled will be updated. + + :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 + (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._bulk_disable_service_levels_alert_configs_serialize( + request_body=request_body, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '403': 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 bulk_disable_service_levels_alert_configs_with_http_info( + self, + request_body: List[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]: + """Bulk Disable Service Levels Smart Alert Configs + + Disable multiple Service Levels Smart Alert configurations in a single operation. Only configs that are currently enabled will be updated. + + :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 + (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._bulk_disable_service_levels_alert_configs_serialize( + request_body=request_body, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '403': 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 bulk_disable_service_levels_alert_configs_without_preload_content( + self, + request_body: List[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: + """Bulk Disable Service Levels Smart Alert Configs + + Disable multiple Service Levels Smart Alert configurations in a single operation. Only configs that are currently enabled will be updated. + + :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 + (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._bulk_disable_service_levels_alert_configs_serialize( + request_body=request_body, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '403': None, + '422': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _bulk_disable_service_levels_alert_configs_serialize( + self, + request_body, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + 'request_body': '', + } + + _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 request_body is not None: + _body_params = request_body + + + + # 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/events/settings/global-alert-configs/service-levels/bulk/disable', + 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 bulk_enable_service_levels_alert_configs( + self, + request_body: List[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: + """Bulk Enable Service Levels Smart Alert Configs + + Enable multiple Service Levels Smart Alert configurations in a single operation. Only configs that are currently disabled will be updated. + + :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 + (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._bulk_enable_service_levels_alert_configs_serialize( + request_body=request_body, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '403': 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 bulk_enable_service_levels_alert_configs_with_http_info( + self, + request_body: List[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]: + """Bulk Enable Service Levels Smart Alert Configs + + Enable multiple Service Levels Smart Alert configurations in a single operation. Only configs that are currently disabled will be updated. + + :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 + (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._bulk_enable_service_levels_alert_configs_serialize( + request_body=request_body, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '403': 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 bulk_enable_service_levels_alert_configs_without_preload_content( + self, + request_body: List[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: + """Bulk Enable Service Levels Smart Alert Configs + + Enable multiple Service Levels Smart Alert configurations in a single operation. Only configs that are currently disabled will be updated. + + :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 + (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._bulk_enable_service_levels_alert_configs_serialize( + request_body=request_body, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '403': None, + '422': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _bulk_enable_service_levels_alert_configs_serialize( + self, + request_body, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + 'request_body': '', + } + + _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 request_body is not None: + _body_params = request_body + + + + # 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/events/settings/global-alert-configs/service-levels/bulk/enable', + 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_service_levels_alert_config( self, @@ -1453,7 +2276,7 @@ def find_service_levels_alert_config( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServiceLevelseAlertConfigWithMetadata: + ) -> ServiceLevelsAlertConfigWithRBACTag: """Get Service levels Alert Config Find a Service levels Alert Config by ID. This will deliver deleted configs too. @@ -1494,7 +2317,7 @@ def find_service_levels_alert_config( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServiceLevelseAlertConfigWithMetadata", + '200': "ServiceLevelsAlertConfigWithRBACTag", '404': "str", } response_data = self.api_client.call_api( @@ -1525,7 +2348,7 @@ def find_service_levels_alert_config_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[ServiceLevelseAlertConfigWithMetadata]: + ) -> ApiResponse[ServiceLevelsAlertConfigWithRBACTag]: """Get Service levels Alert Config Find a Service levels Alert Config by ID. This will deliver deleted configs too. @@ -1566,7 +2389,7 @@ def find_service_levels_alert_config_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServiceLevelseAlertConfigWithMetadata", + '200': "ServiceLevelsAlertConfigWithRBACTag", '404': "str", } response_data = self.api_client.call_api( @@ -1638,7 +2461,7 @@ def find_service_levels_alert_config_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServiceLevelseAlertConfigWithMetadata", + '200': "ServiceLevelsAlertConfigWithRBACTag", '404': "str", } response_data = self.api_client.call_api( 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 3ef60ba..cdbff8e 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -17,7 +17,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictStr +from pydantic import Field, StrictInt, StrictStr from typing import List, Optional from typing_extensions import Annotated from instana_client.models.slo_report import SloReport @@ -40,6 +40,630 @@ def __init__(self, api_client=None) -> None: self.api_client = api_client + @validate_call + def entities_slo( + self, + slo_id: Annotated[StrictStr, Field(description="Service Levels Objective(SLO) Configuration ID")], + window_size: Annotated[Optional[StrictInt], Field(description="Size of the time window in which the monitored entities must be fetched, specified in milliseconds. If not provided or set to 0, the default value of 3600000 milliseconds (1 hour) is used.")] = None, + to: Annotated[Optional[StrictInt], Field(description="Ending point for the data retrieval, specified as a 13-digit Unix timestamp in milliseconds. If not provided or set to 0, the current system time will be used.")] = None, + page_size: Annotated[Optional[StrictInt], Field(description="Size of the Page")] = None, + page: Annotated[Optional[StrictInt], Field(description="Page Number")] = 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, + ) -> List[str]: + """Get the entities monitored by a SLO (Service Level Objective) configuration + + + :param slo_id: Service Levels Objective(SLO) Configuration ID (required) + :type slo_id: str + :param window_size: Size of the time window in which the monitored entities must be fetched, specified in milliseconds. If not provided or set to 0, the default value of 3600000 milliseconds (1 hour) is used. + :type window_size: int + :param to: Ending point for the data retrieval, specified as a 13-digit Unix timestamp in milliseconds. If not provided or set to 0, the current system time will be used. + :type to: int + :param page_size: Size of the Page + :type page_size: int + :param page: Page Number + :type page: int + :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._entities_slo_serialize( + slo_id=slo_id, + window_size=window_size, + to=to, + page_size=page_size, + page=page, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[str]", + '404': "List[str]", + } + 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 entities_slo_with_http_info( + self, + slo_id: Annotated[StrictStr, Field(description="Service Levels Objective(SLO) Configuration ID")], + window_size: Annotated[Optional[StrictInt], Field(description="Size of the time window in which the monitored entities must be fetched, specified in milliseconds. If not provided or set to 0, the default value of 3600000 milliseconds (1 hour) is used.")] = None, + to: Annotated[Optional[StrictInt], Field(description="Ending point for the data retrieval, specified as a 13-digit Unix timestamp in milliseconds. If not provided or set to 0, the current system time will be used.")] = None, + page_size: Annotated[Optional[StrictInt], Field(description="Size of the Page")] = None, + page: Annotated[Optional[StrictInt], Field(description="Page Number")] = 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[List[str]]: + """Get the entities monitored by a SLO (Service Level Objective) configuration + + + :param slo_id: Service Levels Objective(SLO) Configuration ID (required) + :type slo_id: str + :param window_size: Size of the time window in which the monitored entities must be fetched, specified in milliseconds. If not provided or set to 0, the default value of 3600000 milliseconds (1 hour) is used. + :type window_size: int + :param to: Ending point for the data retrieval, specified as a 13-digit Unix timestamp in milliseconds. If not provided or set to 0, the current system time will be used. + :type to: int + :param page_size: Size of the Page + :type page_size: int + :param page: Page Number + :type page: int + :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._entities_slo_serialize( + slo_id=slo_id, + window_size=window_size, + to=to, + page_size=page_size, + page=page, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[str]", + '404': "List[str]", + } + 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 entities_slo_without_preload_content( + self, + slo_id: Annotated[StrictStr, Field(description="Service Levels Objective(SLO) Configuration ID")], + window_size: Annotated[Optional[StrictInt], Field(description="Size of the time window in which the monitored entities must be fetched, specified in milliseconds. If not provided or set to 0, the default value of 3600000 milliseconds (1 hour) is used.")] = None, + to: Annotated[Optional[StrictInt], Field(description="Ending point for the data retrieval, specified as a 13-digit Unix timestamp in milliseconds. If not provided or set to 0, the current system time will be used.")] = None, + page_size: Annotated[Optional[StrictInt], Field(description="Size of the Page")] = None, + page: Annotated[Optional[StrictInt], Field(description="Page Number")] = 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 the entities monitored by a SLO (Service Level Objective) configuration + + + :param slo_id: Service Levels Objective(SLO) Configuration ID (required) + :type slo_id: str + :param window_size: Size of the time window in which the monitored entities must be fetched, specified in milliseconds. If not provided or set to 0, the default value of 3600000 milliseconds (1 hour) is used. + :type window_size: int + :param to: Ending point for the data retrieval, specified as a 13-digit Unix timestamp in milliseconds. If not provided or set to 0, the current system time will be used. + :type to: int + :param page_size: Size of the Page + :type page_size: int + :param page: Page Number + :type page: int + :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._entities_slo_serialize( + slo_id=slo_id, + window_size=window_size, + to=to, + page_size=page_size, + page=page, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[str]", + '404': "List[str]", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _entities_slo_serialize( + self, + slo_id, + window_size, + to, + page_size, + page, + _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 slo_id is not None: + _path_params['sloId'] = slo_id + # process the query parameters + if window_size is not None: + + _query_params.append(('windowSize', window_size)) + + if to is not None: + + _query_params.append(('to', to)) + + if page_size is not None: + + _query_params.append(('pageSize', page_size)) + + if page is not None: + + _query_params.append(('page', page)) + + # 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/slo/entities/{sloId}', + 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 explain_slo( + self, + slo_id: Annotated[StrictStr, Field(description="Service Levels Objective(SLO) Configuration ID")], + var_from: Annotated[Optional[StrictStr], Field(description="Starting point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds")] = None, + to: Annotated[Optional[StrictStr], Field(description="Ending point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds")] = 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, + ) -> List[str]: + """Explain Service Levels objective with more details. + + + :param slo_id: Service Levels Objective(SLO) Configuration ID (required) + :type slo_id: str + :param var_from: Starting point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds + :type var_from: str + :param to: Ending point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds + :type to: 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._explain_slo_serialize( + slo_id=slo_id, + var_from=var_from, + to=to, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[str]", + '404': "List[str]", + } + 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 explain_slo_with_http_info( + self, + slo_id: Annotated[StrictStr, Field(description="Service Levels Objective(SLO) Configuration ID")], + var_from: Annotated[Optional[StrictStr], Field(description="Starting point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds")] = None, + to: Annotated[Optional[StrictStr], Field(description="Ending point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds")] = 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[List[str]]: + """Explain Service Levels objective with more details. + + + :param slo_id: Service Levels Objective(SLO) Configuration ID (required) + :type slo_id: str + :param var_from: Starting point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds + :type var_from: str + :param to: Ending point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds + :type to: 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._explain_slo_serialize( + slo_id=slo_id, + var_from=var_from, + to=to, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[str]", + '404': "List[str]", + } + 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 explain_slo_without_preload_content( + self, + slo_id: Annotated[StrictStr, Field(description="Service Levels Objective(SLO) Configuration ID")], + var_from: Annotated[Optional[StrictStr], Field(description="Starting point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds")] = None, + to: Annotated[Optional[StrictStr], Field(description="Ending point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds")] = 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: + """Explain Service Levels objective with more details. + + + :param slo_id: Service Levels Objective(SLO) Configuration ID (required) + :type slo_id: str + :param var_from: Starting point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds + :type var_from: str + :param to: Ending point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds + :type to: 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._explain_slo_serialize( + slo_id=slo_id, + var_from=var_from, + to=to, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[str]", + '404': "List[str]", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _explain_slo_serialize( + self, + slo_id, + var_from, + to, + _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 slo_id is not None: + _path_params['sloId'] = slo_id + # process the query parameters + if var_from is not None: + + _query_params.append(('from', var_from)) + + if to is not None: + + _query_params.append(('to', to)) + + # 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/slo/explain/{sloId}', + 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_slo( self, @@ -60,7 +684,90 @@ def get_slo( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> List[SloReport]: + ) -> List[SloReport]: + """Generate Service Levels report + + + :param slo_id: SLO Configuration ID (required) + :type slo_id: str + :param var_from: Starting point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds + :type var_from: str + :param to: Ending point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds + :type to: str + :param exclude_correction_id: IDs of Correction Configurations to be Excluded from the result + :type exclude_correction_id: List[str] + :param include_correction_id: IDs of Correction Configurations to be Included in the result + :type include_correction_id: 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_serialize( + slo_id=slo_id, + var_from=var_from, + to=to, + exclude_correction_id=exclude_correction_id, + include_correction_id=include_correction_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[SloReport]", + '404': "List[str]", + } + 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_with_http_info( + self, + slo_id: Annotated[StrictStr, Field(description="SLO Configuration ID")], + var_from: Annotated[Optional[StrictStr], Field(description="Starting point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds")] = None, + to: Annotated[Optional[StrictStr], Field(description="Ending point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds")] = None, + exclude_correction_id: Annotated[Optional[List[StrictStr]], Field(description="IDs of Correction Configurations to be Excluded from the result")] = None, + include_correction_id: Annotated[Optional[List[StrictStr]], Field(description="IDs of Correction Configurations to be Included in the result")] = 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[List[SloReport]]: """Generate Service Levels report @@ -120,11 +827,11 @@ def get_slo( return self.api_client.response_deserialize( response_data=response_data, response_types_map=_response_types_map, - ).data + ) @validate_call - def get_slo_with_http_info( + def get_slo_without_preload_content( self, slo_id: Annotated[StrictStr, Field(description="SLO Configuration ID")], var_from: Annotated[Optional[StrictStr], Field(description="Starting point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds")] = None, @@ -143,7 +850,7 @@ def get_slo_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[SloReport]]: + ) -> RESTResponseType: """Generate Service Levels report @@ -199,6 +906,238 @@ def get_slo_with_http_info( *_param, _request_timeout=_request_timeout ) + return response_data.response + + + def _get_slo_serialize( + self, + slo_id, + var_from, + to, + exclude_correction_id, + include_correction_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + 'excludeCorrectionId': 'multi', + 'includeCorrectionId': '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 + if slo_id is not None: + _path_params['sloId'] = slo_id + # process the query parameters + if var_from is not None: + + _query_params.append(('from', var_from)) + + if to is not None: + + _query_params.append(('to', to)) + + if exclude_correction_id is not None: + + _query_params.append(('excludeCorrectionId', exclude_correction_id)) + + if include_correction_id is not None: + + _query_params.append(('includeCorrectionId', include_correction_id)) + + # 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/slo/report/{sloId}', + 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 summarize_slo( + self, + slo_id: Annotated[StrictStr, Field(description="Service Levels Objective(SLO) Configuration ID")], + var_from: Annotated[Optional[StrictStr], Field(description="Starting point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds")] = None, + to: Annotated[Optional[StrictStr], Field(description="Ending point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds")] = 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, + ) -> List[str]: + """Summarize Service Levels objective results. + + + :param slo_id: Service Levels Objective(SLO) Configuration ID (required) + :type slo_id: str + :param var_from: Starting point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds + :type var_from: str + :param to: Ending point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds + :type to: 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._summarize_slo_serialize( + slo_id=slo_id, + var_from=var_from, + to=to, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[str]", + '404': "List[str]", + } + 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 summarize_slo_with_http_info( + self, + slo_id: Annotated[StrictStr, Field(description="Service Levels Objective(SLO) Configuration ID")], + var_from: Annotated[Optional[StrictStr], Field(description="Starting point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds")] = None, + to: Annotated[Optional[StrictStr], Field(description="Ending point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds")] = 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[List[str]]: + """Summarize Service Levels objective results. + + + :param slo_id: Service Levels Objective(SLO) Configuration ID (required) + :type slo_id: str + :param var_from: Starting point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds + :type var_from: str + :param to: Ending point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds + :type to: 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._summarize_slo_serialize( + slo_id=slo_id, + var_from=var_from, + to=to, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[str]", + '404': "List[str]", + } + 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, @@ -207,13 +1146,11 @@ def get_slo_with_http_info( @validate_call - def get_slo_without_preload_content( + def summarize_slo_without_preload_content( self, - slo_id: Annotated[StrictStr, Field(description="SLO Configuration ID")], + slo_id: Annotated[StrictStr, Field(description="Service Levels Objective(SLO) Configuration ID")], var_from: Annotated[Optional[StrictStr], Field(description="Starting point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds")] = None, to: Annotated[Optional[StrictStr], Field(description="Ending point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds")] = None, - exclude_correction_id: Annotated[Optional[List[StrictStr]], Field(description="IDs of Correction Configurations to be Excluded from the result")] = None, - include_correction_id: Annotated[Optional[List[StrictStr]], Field(description="IDs of Correction Configurations to be Included in the result")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -227,19 +1164,15 @@ def get_slo_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Generate Service Levels report + """Summarize Service Levels objective results. - :param slo_id: SLO Configuration ID (required) + :param slo_id: Service Levels Objective(SLO) Configuration ID (required) :type slo_id: str :param var_from: Starting point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds :type var_from: str :param to: Ending point for the data retrieval, specified as 13 digit Unix Timestamp milliseconds :type to: str - :param exclude_correction_id: IDs of Correction Configurations to be Excluded from the result - :type exclude_correction_id: List[str] - :param include_correction_id: IDs of Correction Configurations to be Included in the result - :type include_correction_id: 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 @@ -262,12 +1195,10 @@ def get_slo_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_slo_serialize( + _param = self._summarize_slo_serialize( slo_id=slo_id, var_from=var_from, to=to, - exclude_correction_id=exclude_correction_id, - include_correction_id=include_correction_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -275,7 +1206,7 @@ def get_slo_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[SloReport]", + '200': "List[str]", '404': "List[str]", } response_data = self.api_client.call_api( @@ -285,13 +1216,11 @@ def get_slo_without_preload_content( return response_data.response - def _get_slo_serialize( + def _summarize_slo_serialize( self, slo_id, var_from, to, - exclude_correction_id, - include_correction_id, _request_auth, _content_type, _headers, @@ -301,8 +1230,6 @@ def _get_slo_serialize( _host = None _collection_formats: Dict[str, str] = { - 'excludeCorrectionId': 'multi', - 'includeCorrectionId': 'multi', } _path_params: Dict[str, str] = {} @@ -326,14 +1253,6 @@ def _get_slo_serialize( _query_params.append(('to', to)) - if exclude_correction_id is not None: - - _query_params.append(('excludeCorrectionId', exclude_correction_id)) - - if include_correction_id is not None: - - _query_params.append(('includeCorrectionId', include_correction_id)) - # process the header parameters # process the form parameters # process the body parameter @@ -355,7 +1274,7 @@ def _get_slo_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/api/slo/report/{sloId}', + resource_path='/api/slo/summarize/{sloId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, diff --git a/instana_client/api/session_settings_api.py b/instana_client/api/session_settings_api.py index 71b002c..e254a4f 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 a262ccf..5ee5522 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 cfe0dcf..973a320 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 512c342..be3a052 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/slo_correction_configurations_api.py b/instana_client/api/slo_correction_configurations_api.py index 6e40d78..14a2d54 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 8a5d7c3..9ad6731 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 07229f5..c0b3020 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 4b9f855..50502d3 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 20f4c89..900918c 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 3db4955..759bb31 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 53e47fa..bb4c413 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 d4e4379..2fd1099 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 f5a09c2..43bee1d 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/usage_api.py b/instana_client/api/usage_api.py index a5a5100..772346f 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 113cf36..17c0f37 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 5de7067..ba7b1c9 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 e59d333..6e834cb 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 6772e4b..ed2bbbd 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 c4ff540..e9fe619 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 acb09e5..9afb807 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -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.0.4/python' + self.user_agent = 'OpenAPI-Generator/1.0.7/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): @@ -461,13 +461,13 @@ def __deserialize(self, data, klass): if klass in self.PRIMITIVE_TYPES: return self.__deserialize_primitive(data, klass) - elif klass is object: + elif klass == object: return self.__deserialize_object(data) - elif klass is datetime.date: + elif klass == datetime.date: return self.__deserialize_date(data) - elif klass is datetime.datetime: + elif klass == datetime.datetime: return self.__deserialize_datetime(data) - elif klass is decimal.Decimal: + elif klass == decimal.Decimal: return decimal.Decimal(data) elif issubclass(klass, Enum): return self.__deserialize_enum(data, klass) diff --git a/instana_client/configuration.py b/instana_client/configuration.py index 696fa64..7e2c8b7 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -164,8 +164,6 @@ class Configuration: :param retries: Number of retries for API requests. :param ca_cert_data: verify the peer using concatenated CA certificate data in PEM (str) or DER (bytes) format. - :param cert_file: the path to a client certificate file, for mTLS. - :param key_file: the path to a client key file, for mTLS. :Example: @@ -207,8 +205,6 @@ def __init__( ssl_ca_cert: Optional[str]=None, retries: Optional[int] = None, ca_cert_data: Optional[Union[str, bytes]] = None, - cert_file: Optional[str]=None, - key_file: Optional[str]=None, *, debug: Optional[bool] = None, ) -> None: @@ -290,10 +286,10 @@ def __init__( """Set this to verify the peer using PEM (str) or DER (bytes) certificate data. """ - self.cert_file = cert_file + self.cert_file = None """client certificate file """ - self.key_file = key_file + self.key_file = None """client key file """ self.assert_hostname = None @@ -535,8 +531,8 @@ def to_debug_report(self) -> str: return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.315.1425\n"\ - "SDK Package Version: 1.0.4".\ + "Version of the API: 1.316.2780\n"\ + "SDK Package Version: 1.0.7".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self) -> List[HostSetting]: diff --git a/instana_client/exceptions.py b/instana_client/exceptions.py index a0baa02..4f55ec1 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 a2e7620..e377850 100644 --- a/instana_client/models/__init__.py +++ b/instana_client/models/__init__.py @@ -6,20 +6,574 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. """ # 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_log_entry import AccessLogEntry + from instana_client.models.access_log_response import AccessLogResponse + 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.addition import Addition + from instana_client.models.adjusted_timeframe import AdjustedTimeframe + from instana_client.models.agent_configuration_update import AgentConfigurationUpdate + 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_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_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.arithmetic_configuration import ArithmeticConfiguration + from instana_client.models.arithmetic_operand import ArithmeticOperand + from instana_client.models.arithmetic_operation import ArithmeticOperation + from instana_client.models.audit_log_entry import AuditLogEntry + 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.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_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_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.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.division import Division + 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_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.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.fixed_http_path_segment_matching_rule import FixedHttpPathSegmentMatchingRule + from instana_client.models.fixed_time_window import FixedTimeWindow + 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.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.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_metric_configuration import InfraMetricConfiguration + 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_entry_actor import LogEntryActor + 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_application_alert_rule import LogsApplicationAlertRule + 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_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.metric_query import MetricQuery + 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.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.multiplication import Multiplication + from instana_client.models.ns1_integration import NS1Integration + from instana_client.models.nested_operation import NestedOperation + 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.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.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.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.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.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.single_value import SingleValue + 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.subtraction import Subtraction + 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_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_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.traffic_blueprint_indicator import TrafficBlueprintIndicator + from instana_client.models.trigger import Trigger + from instana_client.models.type_configuration import TypeConfiguration + from instana_client.models.unsupported_http_path_segment_matching_rule import UnsupportedHttpPathSegmentMatchingRule + 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_log_entry import AccessLogEntry from instana_client.models.access_log_response import AccessLogResponse 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 @@ -39,6 +593,7 @@ 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 @@ -106,6 +661,7 @@ 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 @@ -136,6 +692,7 @@ 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 @@ -166,6 +723,7 @@ 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 @@ -245,6 +803,7 @@ 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 @@ -330,6 +889,7 @@ 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.recurrent_maintenance_window import RecurrentMaintenanceWindow @@ -360,6 +920,7 @@ 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 @@ -465,6 +1026,7 @@ 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 @@ -549,3 +1111,8 @@ 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 b993be5..c06ccfa 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -20,7 +20,7 @@ from importlib import import_module from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Union +from typing import Any, ClassVar, Dict, List, Optional, Union from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self @@ -54,7 +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.") - __properties: ClassVar[List[str]] = ["id", "kind", "name"] + timezone: Optional[StrictStr] = Field(default=None, description="The timezone to be used for DateTime") + __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 b2765aa..42f60aa 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/access_log_entry.py b/instana_client/models/access_log_entry.py index c18bfff..0c9c4d7 100644 --- a/instana_client/models/access_log_entry.py +++ b/instana_client/models/access_log_entry.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/access_log_response.py b/instana_client/models/access_log_response.py index 37aa467..2df30ed 100644 --- a/instana_client/models/access_log_response.py +++ b/instana_client/models/access_log_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.315.1425 + The version of the OpenAPI document: 1.316.2780 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 bbff4ff..a01ad8a 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 b8cd6d8..d54de87 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 new file mode 100644 index 0000000..d9d1978 --- /dev/null +++ b/instana_client/models/action_beacon.py @@ -0,0 +1,164 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.316.2780 + 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, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ActionBeacon(BaseModel): + """ + List of action beacons for the current page + """ # noqa: E501 + beacon_type: StrictStr = Field(description="Type of beacon", alias="beaconType") + bytes_ingested_metadata: Optional[StrictInt] = Field(default=None, description="Bytes ingested for metadata", alias="bytesIngestedMetadata") + event_type: Optional[StrictStr] = Field(default=None, description="Event type (e.g., st=start, fs=frustration signal, oc=orientation change)", alias="eventType") + frustration_signal: Optional[StrictStr] = Field(default=None, description="Frustration signal type (e.g., rt=rage tap)", alias="frustrationSignal") + keyboard_operation: Optional[StrictStr] = Field(default=None, description="Keyboard operation indicator", alias="keyboardOperation") + mobile_app_id: StrictStr = Field(description="Mobile app identifier", alias="mobileAppId") + orientation_change: Optional[StrictStr] = Field(default=None, description="Orientation change indicator (l=landscape, p=portrait)", alias="orientationChange") + scroll_direction: Optional[StrictStr] = Field(default=None, description="Scroll direction", alias="scrollDirection") + scroll_duration: Optional[StrictStr] = Field(default=None, description="Scroll duration in milliseconds", alias="scrollDuration") + session_id: StrictStr = Field(description="Session identifier", alias="sessionId") + session_replay_version: Optional[StrictStr] = Field(default=None, description="Session replay version", alias="sessionReplayVersion") + timestamp: StrictInt = Field(description="Timestamp when the action was captured (epoch milliseconds)") + view_component_class_name: Optional[StrictStr] = Field(default=None, description="View component class name", alias="viewComponentClassName") + view_component_id: Optional[StrictStr] = Field(default=None, description="View component identifier", alias="viewComponentId") + __properties: ClassVar[List[str]] = ["beaconType", "bytesIngestedMetadata", "eventType", "frustrationSignal", "keyboardOperation", "mobileAppId", "orientationChange", "scrollDirection", "scrollDuration", "sessionId", "sessionReplayVersion", "timestamp", "viewComponentClassName", "viewComponentId"] + + 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 ActionBeacon 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 bytes_ingested_metadata (nullable) is None + # and model_fields_set contains the field + if self.bytes_ingested_metadata is None and "bytes_ingested_metadata" in self.model_fields_set: + _dict['bytesIngestedMetadata'] = None + + # set to None if event_type (nullable) is None + # and model_fields_set contains the field + if self.event_type is None and "event_type" in self.model_fields_set: + _dict['eventType'] = None + + # set to None if frustration_signal (nullable) is None + # and model_fields_set contains the field + if self.frustration_signal is None and "frustration_signal" in self.model_fields_set: + _dict['frustrationSignal'] = None + + # set to None if keyboard_operation (nullable) is None + # and model_fields_set contains the field + if self.keyboard_operation is None and "keyboard_operation" in self.model_fields_set: + _dict['keyboardOperation'] = None + + # set to None if orientation_change (nullable) is None + # and model_fields_set contains the field + if self.orientation_change is None and "orientation_change" in self.model_fields_set: + _dict['orientationChange'] = None + + # set to None if scroll_direction (nullable) is None + # and model_fields_set contains the field + if self.scroll_direction is None and "scroll_direction" in self.model_fields_set: + _dict['scrollDirection'] = None + + # set to None if scroll_duration (nullable) is None + # and model_fields_set contains the field + if self.scroll_duration is None and "scroll_duration" in self.model_fields_set: + _dict['scrollDuration'] = None + + # set to None if session_replay_version (nullable) is None + # and model_fields_set contains the field + if self.session_replay_version is None and "session_replay_version" in self.model_fields_set: + _dict['sessionReplayVersion'] = None + + # set to None if view_component_class_name (nullable) is None + # and model_fields_set contains the field + if self.view_component_class_name is None and "view_component_class_name" in self.model_fields_set: + _dict['viewComponentClassName'] = None + + # set to None if view_component_id (nullable) is None + # and model_fields_set contains the field + if self.view_component_id is None and "view_component_id" in self.model_fields_set: + _dict['viewComponentId'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ActionBeacon from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "beaconType": obj.get("beaconType"), + "bytesIngestedMetadata": obj.get("bytesIngestedMetadata"), + "eventType": obj.get("eventType"), + "frustrationSignal": obj.get("frustrationSignal"), + "keyboardOperation": obj.get("keyboardOperation"), + "mobileAppId": obj.get("mobileAppId"), + "orientationChange": obj.get("orientationChange"), + "scrollDirection": obj.get("scrollDirection"), + "scrollDuration": obj.get("scrollDuration"), + "sessionId": obj.get("sessionId"), + "sessionReplayVersion": obj.get("sessionReplayVersion"), + "timestamp": obj.get("timestamp"), + "viewComponentClassName": obj.get("viewComponentClassName"), + "viewComponentId": obj.get("viewComponentId") + }) + return _obj + + diff --git a/instana_client/models/action_configuration.py b/instana_client/models/action_configuration.py index 559769c..c463596 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 a918731..ada9c1b 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 09b90a3..a810f82 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 d83d53a..e29f14d 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 87fc169..5e87606 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 16f5036..3f80f9c 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 1c0bbcc..b01262a 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 07cfe0f..6ff2803 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 cefee60..891ebcf 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 4a1a612..2c46390 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/addition.py b/instana_client/models/addition.py index 5ab11f1..6dc2145 100644 --- a/instana_client/models/addition.py +++ b/instana_client/models/addition.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.315.1425 + The version of the OpenAPI document: 1.316.2780 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 19b811e..3d67e02 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 709d9af..3035c43 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 3a1dd64..49315c9 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 d7738ca..b1d62c8 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 1f901d9..21b9fbd 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 3a3b7b1..5503f15 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from instana_client.models.apdex_entity import ApdexEntity @@ -30,10 +30,12 @@ class ApdexConfiguration(BaseModel): ApdexConfiguration """ # noqa: E501 apdex_entity: ApdexEntity = Field(alias="apdexEntity") - apdex_name: Annotated[str, Field(min_length=0, strict=True, max_length=256)] = Field(description="Name of the Apdex Configuration", alias="apdexName") - created_at: Optional[StrictInt] = Field(default=None, description="Created Date of Apdex Configuration", alias="createdAt") + apdex_name: Annotated[str, Field(min_length=0, strict=True, max_length=256)] = Field(alias="apdexName") + created_at: Optional[StrictInt] = Field(default=None, description="Created date of Apdex Configuration (Unix timestamp in milliseconds)", alias="createdAt") id: Annotated[str, Field(min_length=0, strict=True, max_length=64)] = Field(description="Apdex Configuration ID") - __properties: ClassVar[List[str]] = ["apdexEntity", "apdexName", "createdAt", "id"] + last_updated: Optional[StrictInt] = Field(default=None, description="Last updated date of Apdex Configuration (Unix timestamp in milliseconds)", alias="lastUpdated") + tags: Optional[List[StrictStr]] = Field(default=None, description="List of tags associated with Apdex Configuration") + __properties: ClassVar[List[str]] = ["apdexEntity", "apdexName", "createdAt", "id", "lastUpdated", "tags"] model_config = ConfigDict( populate_by_name=True, @@ -92,7 +94,9 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "apdexEntity": ApdexEntity.from_dict(obj["apdexEntity"]) if obj.get("apdexEntity") is not None else None, "apdexName": obj.get("apdexName"), "createdAt": obj.get("createdAt"), - "id": obj.get("id") + "id": obj.get("id"), + "lastUpdated": obj.get("lastUpdated"), + "tags": obj.get("tags") }) return _obj diff --git a/instana_client/models/apdex_configuration_input.py b/instana_client/models/apdex_configuration_input.py index c8266bd..937fb81 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -18,8 +18,8 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from instana_client.models.apdex_entity import ApdexEntity from typing import Optional, Set @@ -31,7 +31,8 @@ class ApdexConfigurationInput(BaseModel): """ # noqa: E501 apdex_entity: ApdexEntity = Field(alias="apdexEntity") apdex_name: Annotated[str, Field(min_length=0, strict=True, max_length=256)] = Field(description="Name of the Apdex Configuration", alias="apdexName") - __properties: ClassVar[List[str]] = ["apdexEntity", "apdexName"] + tags: Optional[List[StrictStr]] = Field(default=None, description="List of tags associated with Apdex Configuration") + __properties: ClassVar[List[str]] = ["apdexEntity", "apdexName", "tags"] model_config = ConfigDict( populate_by_name=True, @@ -88,7 +89,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "apdexEntity": ApdexEntity.from_dict(obj["apdexEntity"]) if obj.get("apdexEntity") is not None else None, - "apdexName": obj.get("apdexName") + "apdexName": obj.get("apdexName"), + "tags": obj.get("tags") }) return _obj diff --git a/instana_client/models/apdex_entity.py b/instana_client/models/apdex_entity.py index 5387e0a..0caf197 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 new file mode 100644 index 0000000..bb716e2 --- /dev/null +++ b/instana_client/models/apdex_level.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.316.2780 + 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 ApdexLevel(BaseModel): + """ + Apdex satisfaction level definition with threshold boundaries + """ # noqa: E501 + id: Optional[StrictInt] = Field(default=None, description="Unique identifier for the level") + lower: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Lower threshold boundary (inclusive)") + name: Optional[StrictStr] = Field(default=None, description="Name of the satisfaction level") + upper: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Upper threshold boundary (inclusive)") + __properties: ClassVar[List[str]] = ["id", "lower", "name", "upper"] + + 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 ApdexLevel 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 ApdexLevel 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"), + "lower": obj.get("lower"), + "name": obj.get("name"), + "upper": obj.get("upper") + }) + return _obj + + diff --git a/instana_client/models/apdex_report.py b/instana_client/models/apdex_report.py index 02a4aee..425a052 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 7c9f171..3fe99b5 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -19,7 +19,7 @@ import json from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from instana_client.models.api_member import ApiMember from instana_client.models.api_permission_set import ApiPermissionSet @@ -30,10 +30,11 @@ class ApiCreateGroup(BaseModel): """ ApiCreateGroup """ # noqa: E501 + description: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=500)]] = None members: List[ApiMember] name: Annotated[str, Field(min_length=1, strict=True)] permission_set: ApiPermissionSet = Field(alias="permissionSet") - __properties: ClassVar[List[str]] = ["members", "name", "permissionSet"] + __properties: ClassVar[List[str]] = ["description", "members", "name", "permissionSet"] model_config = ConfigDict( populate_by_name=True, @@ -96,6 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ + "description": obj.get("description"), "members": [ApiMember.from_dict(_item) for _item in obj["members"]] if obj.get("members") is not None else None, "name": obj.get("name"), "permissionSet": ApiPermissionSet.from_dict(obj["permissionSet"]) if obj.get("permissionSet") is not None else None diff --git a/instana_client/models/api_create_role.py b/instana_client/models/api_create_role.py index 1bb9d9c..a1047e4 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -29,10 +29,11 @@ class ApiCreateRole(BaseModel): """ ApiCreateRole """ # noqa: E501 + description: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=500)]] = None members: Optional[List[ApiMember]] = None name: Annotated[str, Field(min_length=1, strict=True)] permissions: Optional[Annotated[List[Annotated[str, Field(min_length=1, strict=True)]], Field(min_length=0, max_length=1024)]] = None - __properties: ClassVar[List[str]] = ["members", "name", "permissions"] + __properties: ClassVar[List[str]] = ["description", "members", "name", "permissions"] model_config = ConfigDict( populate_by_name=True, @@ -92,6 +93,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ + "description": obj.get("description"), "members": [ApiMember.from_dict(_item) for _item in obj["members"]] if obj.get("members") is not None else None, "name": obj.get("name"), "permissions": obj.get("permissions") diff --git a/instana_client/models/api_group.py b/instana_client/models/api_group.py index bcd21e5..81b55d6 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -19,7 +19,7 @@ import json from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from instana_client.models.api_member import ApiMember from instana_client.models.api_permission_set import ApiPermissionSet @@ -30,11 +30,12 @@ class ApiGroup(BaseModel): """ ApiGroup """ # noqa: E501 + description: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=500)]] = None id: Annotated[str, Field(min_length=0, strict=True, max_length=64)] members: List[ApiMember] name: Annotated[str, Field(min_length=1, strict=True)] permission_set: ApiPermissionSet = Field(alias="permissionSet") - __properties: ClassVar[List[str]] = ["id", "members", "name", "permissionSet"] + __properties: ClassVar[List[str]] = ["description", "id", "members", "name", "permissionSet"] model_config = ConfigDict( populate_by_name=True, @@ -97,6 +98,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ + "description": obj.get("description"), "id": obj.get("id"), "members": [ApiMember.from_dict(_item) for _item in obj["members"]] if obj.get("members") is not None else None, "name": obj.get("name"), diff --git a/instana_client/models/api_member.py b/instana_client/models/api_member.py index 372db33..5f58820 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 0808153..8db169e 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 7be9c43..f64c49c 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 79e85a9..3c81926 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -19,7 +19,7 @@ import json from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List +from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from instana_client.models.api_member import ApiMember from typing import Optional, Set @@ -29,11 +29,12 @@ class ApiRole(BaseModel): """ ApiRole """ # noqa: E501 + description: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=500)]] = None id: StrictStr members: List[ApiMember] name: Annotated[str, Field(min_length=1, strict=True)] permissions: List[StrictStr] - __properties: ClassVar[List[str]] = ["id", "members", "name", "permissions"] + __properties: ClassVar[List[str]] = ["description", "id", "members", "name", "permissions"] model_config = ConfigDict( populate_by_name=True, @@ -93,6 +94,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ + "description": obj.get("description"), "id": obj.get("id"), "members": [ApiMember.from_dict(_item) for _item in obj["members"]] if obj.get("members") is not None else None, "name": obj.get("name"), diff --git a/instana_client/models/api_tag.py b/instana_client/models/api_tag.py index 519ae2e..d165514 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 e0e84f3..a84e45f 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 90b0161..44c4a28 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 e4270ba..43a9c4b 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 a0d39a4..2e24d20 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 923a028..0897658 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 09731d8..9c3b9f8 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -79,6 +79,7 @@ class ApiToken(BaseModel): can_create_thread_dump: Optional[StrictBool] = Field(default=None, alias="canCreateThreadDump") can_delete_automation_action_history: Optional[StrictBool] = Field(default=None, alias="canDeleteAutomationActionHistory") can_delete_logs: Optional[StrictBool] = Field(default=None, alias="canDeleteLogs") + can_download_agent_configuration: Optional[StrictBool] = Field(default=None, alias="canDownloadAgentConfiguration") can_edit_all_accessible_custom_dashboards: Optional[StrictBool] = Field(default=None, alias="canEditAllAccessibleCustomDashboards") can_install_new_agents: Optional[StrictBool] = Field(default=None, alias="canInstallNewAgents") can_invoke_alert_channel: Optional[StrictBool] = Field(default=None, alias="canInvokeAlertChannel") @@ -128,7 +129,7 @@ class ApiToken(BaseModel): limited_xen_server_scope: Optional[StrictBool] = Field(default=None, alias="limitedXenServerScope") limited_zhmc_scope: Optional[StrictBool] = Field(default=None, alias="limitedZhmcScope") name: Annotated[str, Field(min_length=1, strict=True)] - __properties: ClassVar[List[str]] = ["accessGrantingToken", "canConfigureAgentRunMode", "canConfigureAgents", "canConfigureAiAgents", "canConfigureApdex", "canConfigureApiTokens", "canConfigureApplicationSmartAlerts", "canConfigureApplications", "canConfigureAuthenticationMethods", "canConfigureAutomationActions", "canConfigureAutomationPolicies", "canConfigureBizops", "canConfigureCustomEntities", "canConfigureDatabaseManagement", "canConfigureEumApplications", "canConfigureEventsAndAlerts", "canConfigureGlobalAlertPayload", "canConfigureGlobalApplicationSmartAlerts", "canConfigureGlobalInfraSmartAlerts", "canConfigureGlobalLogSmartAlerts", "canConfigureGlobalSyntheticSmartAlerts", "canConfigureIPFiltering", "canConfigureIntegrations", "canConfigureLLM", "canConfigureLLMModelPrice", "canConfigureLogManagement", "canConfigureLogRetentionPeriod", "canConfigureMaintenanceWindows", "canConfigureMobileAppMonitoring", "canConfigureMobileAppSmartAlerts", "canConfigurePersonalApiTokens", "canConfigurePersonallyIdentifiableInformationMasking", "canConfigureReleases", "canConfigureServiceLevelCorrectionWindows", "canConfigureServiceLevelSmartAlerts", "canConfigureServiceLevels", "canConfigureServiceMapping", "canConfigureSessionSettings", "canConfigureSubtraces", "canConfigureSyntheticCredentials", "canConfigureSyntheticLocations", "canConfigureSyntheticTests", "canConfigureTeams", "canConfigureUsers", "canConfigureWebsiteConversions", "canConfigureWebsiteSmartAlerts", "canCreateHeapDump", "canCreatePublicCustomDashboards", "canCreateThreadDump", "canDeleteAutomationActionHistory", "canDeleteLogs", "canEditAllAccessibleCustomDashboards", "canInstallNewAgents", "canInvokeAlertChannel", "canManuallyCloseIssue", "canRunAutomationActions", "canUseSyntheticCredentials", "canViewAccountAndBillingInformation", "canViewAuditLog", "canViewBizAlerts", "canViewBusinessActivities", "canViewBusinessProcessDetails", "canViewBusinessProcesses", "canViewLogVolume", "canViewLogs", "canViewSyntheticLocations", "canViewSyntheticTestResults", "canViewSyntheticTests", "canViewTraceDetails", "createdBy", "createdOn", "expiresOn", "id", "internalId", "lastUsedOn", "limitedAiGatewayScope", "limitedAlertChannelsScope", "limitedApplicationsScope", "limitedAutomationScope", "limitedBizOpsScope", "limitedGenAIScope", "limitedInfrastructureScope", "limitedKubernetesScope", "limitedLinuxKVMHypervisorScope", "limitedLogsScope", "limitedMobileAppsScope", "limitedNutanixScope", "limitedOpenstackScope", "limitedPcfScope", "limitedPhmcScope", "limitedPvcScope", "limitedSAPScope", "limitedServiceLevelScope", "limitedSyntheticsScope", "limitedVsphereScope", "limitedWebsitesScope", "limitedWindowsHypervisorScope", "limitedXenServerScope", "limitedZhmcScope", "name"] + __properties: ClassVar[List[str]] = ["accessGrantingToken", "canConfigureAgentRunMode", "canConfigureAgents", "canConfigureAiAgents", "canConfigureApdex", "canConfigureApiTokens", "canConfigureApplicationSmartAlerts", "canConfigureApplications", "canConfigureAuthenticationMethods", "canConfigureAutomationActions", "canConfigureAutomationPolicies", "canConfigureBizops", "canConfigureCustomEntities", "canConfigureDatabaseManagement", "canConfigureEumApplications", "canConfigureEventsAndAlerts", "canConfigureGlobalAlertPayload", "canConfigureGlobalApplicationSmartAlerts", "canConfigureGlobalInfraSmartAlerts", "canConfigureGlobalLogSmartAlerts", "canConfigureGlobalSyntheticSmartAlerts", "canConfigureIPFiltering", "canConfigureIntegrations", "canConfigureLLM", "canConfigureLLMModelPrice", "canConfigureLogManagement", "canConfigureLogRetentionPeriod", "canConfigureMaintenanceWindows", "canConfigureMobileAppMonitoring", "canConfigureMobileAppSmartAlerts", "canConfigurePersonalApiTokens", "canConfigurePersonallyIdentifiableInformationMasking", "canConfigureReleases", "canConfigureServiceLevelCorrectionWindows", "canConfigureServiceLevelSmartAlerts", "canConfigureServiceLevels", "canConfigureServiceMapping", "canConfigureSessionSettings", "canConfigureSubtraces", "canConfigureSyntheticCredentials", "canConfigureSyntheticLocations", "canConfigureSyntheticTests", "canConfigureTeams", "canConfigureUsers", "canConfigureWebsiteConversions", "canConfigureWebsiteSmartAlerts", "canCreateHeapDump", "canCreatePublicCustomDashboards", "canCreateThreadDump", "canDeleteAutomationActionHistory", "canDeleteLogs", "canDownloadAgentConfiguration", "canEditAllAccessibleCustomDashboards", "canInstallNewAgents", "canInvokeAlertChannel", "canManuallyCloseIssue", "canRunAutomationActions", "canUseSyntheticCredentials", "canViewAccountAndBillingInformation", "canViewAuditLog", "canViewBizAlerts", "canViewBusinessActivities", "canViewBusinessProcessDetails", "canViewBusinessProcesses", "canViewLogVolume", "canViewLogs", "canViewSyntheticLocations", "canViewSyntheticTestResults", "canViewSyntheticTests", "canViewTraceDetails", "createdBy", "createdOn", "expiresOn", "id", "internalId", "lastUsedOn", "limitedAiGatewayScope", "limitedAlertChannelsScope", "limitedApplicationsScope", "limitedAutomationScope", "limitedBizOpsScope", "limitedGenAIScope", "limitedInfrastructureScope", "limitedKubernetesScope", "limitedLinuxKVMHypervisorScope", "limitedLogsScope", "limitedMobileAppsScope", "limitedNutanixScope", "limitedOpenstackScope", "limitedPcfScope", "limitedPhmcScope", "limitedPvcScope", "limitedSAPScope", "limitedServiceLevelScope", "limitedSyntheticsScope", "limitedVsphereScope", "limitedWebsitesScope", "limitedWindowsHypervisorScope", "limitedXenServerScope", "limitedZhmcScope", "name"] model_config = ConfigDict( populate_by_name=True, @@ -232,6 +233,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "canCreateThreadDump": obj.get("canCreateThreadDump"), "canDeleteAutomationActionHistory": obj.get("canDeleteAutomationActionHistory"), "canDeleteLogs": obj.get("canDeleteLogs"), + "canDownloadAgentConfiguration": obj.get("canDownloadAgentConfiguration"), "canEditAllAccessibleCustomDashboards": obj.get("canEditAllAccessibleCustomDashboards"), "canInstallNewAgents": obj.get("canInstallNewAgents"), "canInvokeAlertChannel": obj.get("canInvokeAlertChannel"), diff --git a/instana_client/models/app_data_metric_configuration.py b/instana_client/models/app_data_metric_configuration.py index 8bb7f95..7482718 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 9b95cc6..be1db7a 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 d10122e..14d623e 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 ce30c29..4defa53 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 59453de..49f7f4f 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 101cf20..b58dbdb 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_config.py b/instana_client/models/application_config.py index 3d75606..9ec5861 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_event_result.py b/instana_client/models/application_event_result.py index f7c43fe..3d5a9ce 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 d89e96f..096182d 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 3cfaac9..a283306 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 ac94976..90682b6 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 0ec1d76..c76aa93 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 26fb584..79d99a5 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 c960342..b2d6ab3 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 30e2fe2..f0274a7 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 b5089a3..98d0bf5 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 12ca78b..f2f014b 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/arithmetic_configuration.py b/instana_client/models/arithmetic_configuration.py index d5883f1..46d0c8a 100644 --- a/instana_client/models/arithmetic_configuration.py +++ b/instana_client/models/arithmetic_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/arithmetic_operand.py b/instana_client/models/arithmetic_operand.py index 86fec14..b5a757b 100644 --- a/instana_client/models/arithmetic_operand.py +++ b/instana_client/models/arithmetic_operand.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/arithmetic_operation.py b/instana_client/models/arithmetic_operation.py index 622b96d..de33162 100644 --- a/instana_client/models/arithmetic_operation.py +++ b/instana_client/models/arithmetic_operation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/audit_log_entry.py b/instana_client/models/audit_log_entry.py index 9ee7cfc..929dbeb 100644 --- a/instana_client/models/audit_log_entry.py +++ b/instana_client/models/audit_log_entry.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.315.1425 + The version of the OpenAPI document: 1.316.2780 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 27f40cc..c40dad5 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 bb00c4e..4f5a2bd 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 9cb7a21..fcb2179 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 0a31d23..3459c40 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 2a2d70e..ceea67b 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 4d442b8..630d49e 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 c159e3b..b62a0ad 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 542f742..30ab587 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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", "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,6 +94,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), + "timezone": obj.get("timezone"), "apiTokenId": obj.get("apiTokenId"), "channelId": obj.get("channelId"), "channelName": obj.get("channelName"), diff --git a/instana_client/models/bidirectional_slack_app_integration.py b/instana_client/models/bidirectional_slack_app_integration.py index 5281304..9355988 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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", "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,6 +91,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), + "timezone": obj.get("timezone"), "appId": obj.get("appId"), "channelId": obj.get("channelId"), "channelName": obj.get("channelName"), diff --git a/instana_client/models/binary_operator_dto.py b/instana_client/models/binary_operator_dto.py index 27cd104..ad97f42 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 ac931e2..dd65547 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 754b892..3219b10 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 077117b..456460a 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 43a655c..4e07584 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 dfd3abe..fcd9d20 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 e281b45..a2ea918 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 6cfe2fe..fb063ee 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 6b7d987..d815938 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 f56a41a..3284f48 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/change_summary.py b/instana_client/models/change_summary.py index 0fc9c2f..f27c8a9 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 ec32b0c..f7a50d7 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 3486110..76402d2 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 dc11fb5..e0045cb 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 6c5994e..dd820bf 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 3a39546..70f780f 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 513fb87..2bd45f1 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 5484779..4f3b0e0 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 fb65c06..f69117b 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 f6a7a59..bdf2972 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 016734f..240d28d 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 e93316f..05e0f87 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 new file mode 100644 index 0000000..3213259 --- /dev/null +++ b/instana_client/models/cursor_pagination_with_ui_cursor_infra_explore_cursor.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.316.2780 + 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 typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class CursorPaginationWithUiCursorInfraExploreCursor(BaseModel): + """ + Details for controlling the pagination of the API response. This object allows you to define the starting point for retrieving records, how many records to skip, and the size of the result set. + """ # noqa: E501 + ingestion_time: Optional[StrictInt] = Field(default=None, description="The timestamp indicating the starting point from which data was ingested. The format of the timestamp is in Unix epoch Time. For example, `Thursday, 5 September 2024 07:03:13 GMT` can be represented as `1725519793`. ", alias="ingestionTime") + offset: Optional[StrictInt] = Field(default=None, description="The number of records to be skipped from the `ingestionTime`. For example: when `offset` is 20 and `ingestionTime` is 1725519793, the API response should have records starting from the 21st record after the specified `ingestionTime`. Note that if `offset` value is not empty, `ingestionTime` can't be empty. ") + retrieval_size: Optional[Annotated[int, Field(le=200, strict=True, ge=1)]] = Field(default=None, description="The number of records to retrieve in a single request. For example, when retrievalSize is set to 30, offset is 20, and ingestionTime is 1725519793, the API request will fetch 30 records starting from the 21st record after the specified `ingestionTime`. Minimum value is 1 and maximum value is 200. ", alias="retrievalSize") + __properties: ClassVar[List[str]] = ["ingestionTime", "offset", "retrievalSize"] + + 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 CursorPaginationWithUiCursorInfraExploreCursor 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 CursorPaginationWithUiCursorInfraExploreCursor from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "ingestionTime": obj.get("ingestionTime"), + "offset": obj.get("offset"), + "retrievalSize": obj.get("retrievalSize") + }) + return _obj + + diff --git a/instana_client/models/custom_blueprint_indicator.py b/instana_client/models/custom_blueprint_indicator.py index 5541dc3..c9d7dd5 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 89ab966..6dcdf7e 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 2a00653..18a7da4 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 859e680..fb8cb41 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 41d10b3..cfa3bb7 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 b70a9d9..b850bd1 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 2d09eb2..1977497 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 d92ab8a..3ea250e 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 08df479..2f20f55 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 221f728..f614d6f 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 06cb5d0..df2e818 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 867581f..142a12c 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 8050ddf..aca95ce 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 a94b803..7abb075 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 4c2f341..3b73ecf 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 9a5d166..0781abb 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 9df7f49..56bc5f7 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 616326f..c9d9a08 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 a9f4623..c3d3701 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 c5ed6eb..b2f35f0 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 4cf717f..7dbb593 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/division.py b/instana_client/models/division.py index 0a8eef1..f5f6d62 100644 --- a/instana_client/models/division.py +++ b/instana_client/models/division.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.315.1425 + The version of the OpenAPI document: 1.316.2780 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 1cbc6fd..dcea8c4 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 ebf6075..14c9ab0 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 80cfa74..f8751d4 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 49f653b..95b8d35 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 c4c07e9..a3d0191 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 6d73af6..7783a09 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 a3a9524..5334a33 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 c3eb962..1e87ff1 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 new file mode 100644 index 0000000..ca31053 --- /dev/null +++ b/instana_client/models/dynamic_tag.py @@ -0,0 +1,101 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.316.2780 + 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, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class DynamicTag(BaseModel): + """ + Structured dynamic tag prefixes with metadata + """ # noqa: E501 + aliases: Optional[List[StrictStr]] = Field(default=None, description="List of prefix aliases") + can_apply_to_destination: Optional[StrictBool] = Field(default=None, description="Flag to identify if possible to apply for destination", alias="canApplyToDestination") + can_apply_to_source: Optional[StrictBool] = Field(default=None, description="Flag to identify if possible to apply for source", alias="canApplyToSource") + category_labels: Optional[List[StrictStr]] = Field(default=None, description="Category label", alias="categoryLabels") + icon: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=128)]] = Field(default=None, description="Icon for the dynamic tag prefix") + prefix: Annotated[str, Field(min_length=0, strict=True, max_length=128)] = Field(description="The actual prefix string") + type: Optional[StrictStr] = Field(default=None, description="Type of the tag") + __properties: ClassVar[List[str]] = ["aliases", "canApplyToDestination", "canApplyToSource", "categoryLabels", "icon", "prefix", "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 DynamicTag 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 DynamicTag from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "aliases": obj.get("aliases"), + "canApplyToDestination": obj.get("canApplyToDestination"), + "canApplyToSource": obj.get("canApplyToSource"), + "categoryLabels": obj.get("categoryLabels"), + "icon": obj.get("icon"), + "prefix": obj.get("prefix"), + "type": obj.get("type") + }) + return _obj + + diff --git a/instana_client/models/edit_user.py b/instana_client/models/edit_user.py index fe9c0eb..dd296eb 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 bee0888..f323ee0 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -32,7 +32,7 @@ class EmailIntegration(AbstractIntegration): """ # noqa: E501 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)] - __properties: ClassVar[List[str]] = ["id", "kind", "name", "customEmailSubjectPrefix", "emails"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "customEmailSubjectPrefix", "emails"] model_config = ConfigDict( populate_by_name=True, @@ -91,6 +91,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), + "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 6828a6a..cc2c0c4 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 3d8b3eb..178a8f2 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 28a8ff4..a6a3860 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 911d601..2189002 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 2d43d85..5b0333d 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 0d191fc..cb2a5d6 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 9bb7797..b33fb24 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 1a24113..668e007 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 936542c..19db068 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 fa7d7e4..d0d89f9 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 ffae2ca..7c6c729 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 b05866e..84ea038 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 61afe7f..f975980 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 946e89d..ebd131d 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 4a40b79..3409c54 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 699c242..09a3c6a 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 b55a54d..4b70f6f 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/event_filtering_configuration.py b/instana_client/models/event_filtering_configuration.py index fc0c899..3c4df6d 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 5f848c1..0102dd4 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/event_specification_info.py b/instana_client/models/event_specification_info.py index f480c02..12b69d5 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 2354625..153952d 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 5440e11..ec2a2eb 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 278ec05..6a2877d 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 fe6632b..00bc745 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 aa36a7b..8bc28f9 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 1192783..02f40e0 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 90b8560..e8310de 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 f347d66..8f14cd1 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 new file mode 100644 index 0000000..8860919 --- /dev/null +++ b/instana_client/models/get_action_beacons_result.py @@ -0,0 +1,105 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.316.2780 + 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, StrictInt +from typing import Any, ClassVar, Dict, List, Optional +from instana_client.models.action_beacon import ActionBeacon +from typing import Optional, Set +from typing_extensions import Self + +class GetActionBeaconsResult(BaseModel): + """ + GetActionBeaconsResult + """ # noqa: E501 + beacons: List[ActionBeacon] = Field(description="List of action beacons for the current page") + has_more: StrictBool = Field(description="Indicates whether more beacons are available beyond the current page", alias="hasMore") + next_cursor: Optional[StrictInt] = Field(default=None, description="Cursor for the next page (timestamp). Use this value in the next request to fetch more beacons.", alias="nextCursor") + __properties: ClassVar[List[str]] = ["beacons", "hasMore", "nextCursor"] + + 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 GetActionBeaconsResult 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 beacons (list) + _items = [] + if self.beacons: + for _item_beacons in self.beacons: + if _item_beacons: + _items.append(_item_beacons.to_dict()) + _dict['beacons'] = _items + # set to None if next_cursor (nullable) is None + # and model_fields_set contains the field + if self.next_cursor is None and "next_cursor" in self.model_fields_set: + _dict['nextCursor'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GetActionBeaconsResult from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "beacons": [ActionBeacon.from_dict(_item) for _item in obj["beacons"]] if obj.get("beacons") is not None else None, + "hasMore": obj.get("hasMore"), + "nextCursor": obj.get("nextCursor") + }) + return _obj + + diff --git a/instana_client/models/get_activities.py b/instana_client/models/get_activities.py index 3c3a935..c53dd0e 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 95b7fa4..26c7923 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 b85668a..c31886c 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 d624e7f..44ac1d2 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 a0e4aa5..13c63db 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 17fc445..849ff5e 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 322eb62..a8155cb 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 f2713a4..44148af 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 0bfc4e7..d5730b9 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 63d4850..43fd664 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -21,7 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated -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.infra_metric_configuration import InfraMetricConfiguration from instana_client.models.order import Order from instana_client.models.tag_filter_expression_element import TagFilterExpressionElement @@ -37,7 +37,7 @@ class GetInfrastructureGroupsQuery(BaseModel): metrics: Optional[Annotated[List[InfraMetricConfiguration], Field(min_length=0, max_length=10)]] = None missing_placeholder: Optional[StrictStr] = Field(default=None, alias="missingPlaceholder") order: Optional[Order] = None - pagination: CursorPagination + pagination: CursorPaginationWithUiCursorInfraExploreCursor tag_filter_expression: TagFilterExpressionElement = Field(alias="tagFilterExpression") time_frame: TimeFrame = Field(alias="timeFrame") type: Optional[StrictStr] = Field(default=None, description="Type of entities") @@ -117,7 +117,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "metrics": [InfraMetricConfiguration.from_dict(_item) for _item in obj["metrics"]] if obj.get("metrics") is not None else None, "missingPlaceholder": obj.get("missingPlaceholder"), "order": Order.from_dict(obj["order"]) if obj.get("order") is not None else None, - "pagination": CursorPagination.from_dict(obj["pagination"]) if obj.get("pagination") is not None else None, + "pagination": CursorPaginationWithUiCursorInfraExploreCursor.from_dict(obj["pagination"]) if obj.get("pagination") is not None else None, "tagFilterExpression": TagFilterExpressionElement.from_dict(obj["tagFilterExpression"]) if obj.get("tagFilterExpression") is not None else None, "timeFrame": TimeFrame.from_dict(obj["timeFrame"]) if obj.get("timeFrame") is not None else None, "type": obj.get("type") diff --git a/instana_client/models/get_infrastructure_query.py b/instana_client/models/get_infrastructure_query.py index fb4680b..57dbda0 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -21,7 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated -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.infra_metric_configuration import InfraMetricConfiguration from instana_client.models.order import Order from instana_client.models.tag_filter_expression_element import TagFilterExpressionElement @@ -36,7 +36,7 @@ class GetInfrastructureQuery(BaseModel): metrics: Optional[Annotated[List[InfraMetricConfiguration], Field(min_length=0, max_length=10)]] = None missing_placeholder: Optional[StrictStr] = Field(default=None, alias="missingPlaceholder") order: Optional[Order] = None - pagination: CursorPagination + pagination: CursorPaginationWithUiCursorInfraExploreCursor tag_filter_expression: TagFilterExpressionElement = Field(alias="tagFilterExpression") tags: Optional[Annotated[List[StrictStr], Field(min_length=0, max_length=5)]] = None time_frame: TimeFrame = Field(alias="timeFrame") @@ -116,7 +116,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "metrics": [InfraMetricConfiguration.from_dict(_item) for _item in obj["metrics"]] if obj.get("metrics") is not None else None, "missingPlaceholder": obj.get("missingPlaceholder"), "order": Order.from_dict(obj["order"]) if obj.get("order") is not None else None, - "pagination": CursorPagination.from_dict(obj["pagination"]) if obj.get("pagination") is not None else None, + "pagination": CursorPaginationWithUiCursorInfraExploreCursor.from_dict(obj["pagination"]) if obj.get("pagination") is not None else None, "tagFilterExpression": TagFilterExpressionElement.from_dict(obj["tagFilterExpression"]) if obj.get("tagFilterExpression") is not None else None, "tags": obj.get("tags"), "timeFrame": TimeFrame.from_dict(obj["timeFrame"]) if obj.get("timeFrame") is not None else None, diff --git a/instana_client/models/get_metrics_result.py b/instana_client/models/get_metrics_result.py index aca85a7..f279136 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 b6b7a2e..4750dde 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 7157bbe..8f34a92 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 4c8348a..789a08b 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 0896788..24a7e5a 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 bb53bd1..5aa0de9 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 1ca3539..a53a223 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 36eb90a..b9c3440 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 1387f6a..efff020 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 e7541f5..6c32bc3 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 399bc19..697a467 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 965a19d..a7d06f2 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 fcfdebb..296c347 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 26cc933..f803d8f 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 1a0dfd7..13dad36 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 bb98591..0d66427 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 1cbb42e..21e751c 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 6d78b21..e1e3350 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 a03b051..c5770d4 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 219d985..76eb6e6 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 8497cbf..80e9e4d 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 4006592..028cbad 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 c7ee7d3..c3634fb 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 5e32c69..45eccaa 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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", "webhookUrl"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "webhookUrl"] model_config = ConfigDict( populate_by_name=True, @@ -86,6 +86,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), + "timezone": obj.get("timezone"), "webhookUrl": obj.get("webhookUrl") }) return _obj diff --git a/instana_client/models/graph_edge.py b/instana_client/models/graph_edge.py index d6d0bc3..6661b6e 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 db78737..ed82f39 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 708d4ab..31b9a31 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 69b483c..a3d34a3 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/group_mapping.py b/instana_client/models/group_mapping.py index 8fd3e2e..262c08d 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 85082bd..b029e9d 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 99d02f4..e9e921b 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 b475aa0..842f0b1 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 6ce75b4..be1fdd4 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 5b0528a..7977cf8 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 5031889..093ecba 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 3688238..7fa7018 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 950eb16..c52eb53 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 a111ba7..67bf0d3 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 7fec557..8eb875d 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 0183c1d..2dd0121 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 796109b..fe5cb35 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 8aa9d71..b8d1b1f 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/idp_status_update.py b/instana_client/models/idp_status_update.py index 8e30636..8e3dbf9 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 5cfbee6..9586ad3 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 8924bf6..db9ab27 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 ef1835c..54c2417 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 5623eba..0c16bc9 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 f0c1f53..91b3384 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infra_metric_configuration.py b/instana_client/models/infra_metric_configuration.py index b953ae0..3cd85fa 100644 --- a/instana_client/models/infra_metric_configuration.py +++ b/instana_client/models/infra_metric_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.315.1425 + The version of the OpenAPI document: 1.316.2780 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 76720f9..f22a776 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 7c4d677..bb687d7 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 0852383..e3e14f3 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 06b2382..3e1b285 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 ff43ffe..d64a8c7 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 f3ac0f0..6945d28 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 6b4ce00..2e3876c 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 2e18608..90d2cb9 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 48179cf..0be4f0d 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 d5248a0..5ddf192 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 672810d..a286d2d 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 141dd32..3eb6bd0 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 a4c09c4..1e485fd 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 0d6b70f..f292e7a 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 0d19da4..634a0f1 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 98f65b2..90a8f8c 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 70e0206..34edde1 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/llm_gateway_capability.py b/instana_client/models/llm_gateway_capability.py index 820cd49..12ede8b 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 e93656a..cc8ac17 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 ae65815..83787fb 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 new file mode 100644 index 0000000..fefe19a --- /dev/null +++ b/instana_client/models/llm_gateway_test_connection_request.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.316.2780 + 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 LLMGatewayTestConnectionRequest(BaseModel): + """ + LLMGatewayTestConnectionRequest + """ # noqa: E501 + connection_parameters: Optional[Dict[str, StrictStr]] = Field(default=None, alias="connectionParameters") + gateway_id: Optional[StrictStr] = Field(default=None, alias="gatewayId") + service_id: StrictStr = Field(alias="serviceId") + __properties: ClassVar[List[str]] = ["connectionParameters", "gatewayId", "serviceId"] + + 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 LLMGatewayTestConnectionRequest 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 LLMGatewayTestConnectionRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "connectionParameters": obj.get("connectionParameters"), + "gatewayId": obj.get("gatewayId"), + "serviceId": obj.get("serviceId") + }) + return _obj + + diff --git a/instana_client/models/llm_model_price.py b/instana_client/models/llm_model_price.py index b897125..8d1036d 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 d6e6bfd..f3913c3 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 01b6bc3..fc26f74 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -30,10 +30,11 @@ class LocationStatus(BaseModel): """ # noqa: E501 location_display_label: Optional[StrictStr] = Field(default=None, alias="locationDisplayLabel") location_id: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="locationId") + location_type: Optional[StrictStr] = Field(default=None, alias="locationType") success_rate: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="successRate") success_runs: Optional[StrictInt] = Field(default=None, alias="successRuns") total_test_runs: Optional[StrictInt] = Field(default=None, alias="totalTestRuns") - __properties: ClassVar[List[str]] = ["locationDisplayLabel", "locationId", "successRate", "successRuns", "totalTestRuns"] + __properties: ClassVar[List[str]] = ["locationDisplayLabel", "locationId", "locationType", "successRate", "successRuns", "totalTestRuns"] model_config = ConfigDict( populate_by_name=True, @@ -88,6 +89,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "locationDisplayLabel": obj.get("locationDisplayLabel"), "locationId": obj.get("locationId"), + "locationType": obj.get("locationType"), "successRate": obj.get("successRate"), "successRuns": obj.get("successRuns"), "totalTestRuns": obj.get("totalTestRuns") diff --git a/instana_client/models/log_alert_config.py b/instana_client/models/log_alert_config.py index 4d6c634..b8092bd 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 22e7a8e..3a53e16 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 1cf7221..87d02ce 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 a3d7393..ba97ef4 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_entry_actor.py b/instana_client/models/log_entry_actor.py index 211dae1..bc5fd06 100644 --- a/instana_client/models/log_entry_actor.py +++ b/instana_client/models/log_entry_actor.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.315.1425 + The version of the OpenAPI document: 1.316.2780 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 dc6ea52..aff2d97 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 c4391a2..2532faf 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 db4fc47..cc065d6 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 1a90105..3eab1e2 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 a70da7e..85da604 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 07db69b..9244c97 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/maintenance_config.py b/instana_client/models/maintenance_config.py index bb7c93f..8ec0b27 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 f475202..823fa84 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 05cbf01..5e08aab 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 f8f8766..a624138 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 dc5ed9f..b00cbe1 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 608cfe3..bf00743 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 658af9d..47b7ec9 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 e6d800e..6881ed7 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -31,10 +31,11 @@ class ManualCloseInfo(BaseModel): close_timestamp: Optional[StrictInt] = Field(default=None, description="The closing timestamp.", alias="closeTimestamp") disable_event: Optional[StrictBool] = Field(default=None, description="Flag to indicate whether to disable the event.", alias="disableEvent") event_ids: Optional[List[StrictStr]] = Field(default=None, description="The event IDs to manually close, in case of multi close.", alias="eventIds") + force_close: Optional[StrictBool] = Field(default=None, description="Flag to indicate whether to forcefully close issues", alias="forceClose") mute_alerts: Optional[StrictBool] = Field(default=None, description="Flag to indicate whether to mute alerts.", alias="muteAlerts") reason_for_closing: Annotated[str, Field(min_length=1, strict=True)] = Field(description="The reason for manual closing.", alias="reasonForClosing") username: Annotated[str, Field(min_length=0, strict=True, max_length=256)] = Field(description="The user name.") - __properties: ClassVar[List[str]] = ["closeTimestamp", "disableEvent", "eventIds", "muteAlerts", "reasonForClosing", "username"] + __properties: ClassVar[List[str]] = ["closeTimestamp", "disableEvent", "eventIds", "forceClose", "muteAlerts", "reasonForClosing", "username"] model_config = ConfigDict( populate_by_name=True, @@ -90,6 +91,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "closeTimestamp": obj.get("closeTimestamp"), "disableEvent": obj.get("disableEvent"), "eventIds": obj.get("eventIds"), + "forceClose": obj.get("forceClose"), "muteAlerts": obj.get("muteAlerts"), "reasonForClosing": obj.get("reasonForClosing"), "username": obj.get("username") diff --git a/instana_client/models/manual_service_config.py b/instana_client/models/manual_service_config.py index c57163c..bc706a6 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) 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 8ecc112..33121ed 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 fae2897..bddc6d6 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 a46d48e..907b6b0 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 022b7fa..399ca78 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 a5ec813..31392aa 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 226f86e..537c48f 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 d199456..af8505f 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 b0951a0..0444ce0 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 a97f87f..45ee3ee 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 79425bb..bcaf957 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_pattern.py b/instana_client/models/metric_pattern.py index 5b488c9..485dac6 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_query.py b/instana_client/models/metric_query.py index c3a9ce2..558593c 100644 --- a/instana_client/models/metric_query.py +++ b/instana_client/models/metric_query.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.315.1425 + The version of the OpenAPI document: 1.316.2780 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 72fcbeb..3ff836f 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 be0c29d..e57a4d4 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 ae6133e..d771211 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 b9d83e8..6818bb7 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 f0066d7..5b73171 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 0e7a6f4..b0ce7bb 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 b909d19..0f290f0 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 7ecfdf1..be35e87 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 9ab87da..a8a2815 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 a8bd741..78e0ed4 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 aaf112c..fb5c0de 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 3defeb7..91a100c 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 53315c1..ae6b454 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 690de33..9e55ee8 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 4ac07cf..0865d17 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 04d11f5..9e7bd80 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 aa11fbe..7c16bb1 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 fb664d8..ecc7ffd 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 ce9f96f..5c78939 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 ca0b9bf..b3d4d5e 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 2896fbf..864235a 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 3785af5..a6ca8e5 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/multiplication.py b/instana_client/models/multiplication.py index a7db97e..c17e79e 100644 --- a/instana_client/models/multiplication.py +++ b/instana_client/models/multiplication.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/nested_operation.py b/instana_client/models/nested_operation.py index e3b863b..d9c3c67 100644 --- a/instana_client/models/nested_operation.py +++ b/instana_client/models/nested_operation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.315.1425 + The version of the OpenAPI document: 1.316.2780 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 50d7987..ba570de 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/new_business_perspective_config.py b/instana_client/models/new_business_perspective_config.py index 44b1809..9fb443d 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 0d73d8b..0680523 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 41953bf..f1f1201 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -31,7 +31,7 @@ class NS1Integration(AbstractIntegration): """ # noqa: E501 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", "headers", "webhookUrls"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "headers", "webhookUrls"] model_config = ConfigDict( populate_by_name=True, @@ -87,6 +87,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), + "timezone": obj.get("timezone"), "headers": obj.get("headers"), "webhookUrls": obj.get("webhookUrls") }) diff --git a/instana_client/models/o_auth_config.py b/instana_client/models/o_auth_config.py index 5b70e8a..b2d4206 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 a5feec3..5fb6b36 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 e663b4f..3439166 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 c69f9ba..156cff7 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 7da1803..5fd1779 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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", "webhookUrl"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "webhookUrl"] model_config = ConfigDict( populate_by_name=True, @@ -86,6 +86,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), + "timezone": obj.get("timezone"), "webhookUrl": obj.get("webhookUrl") }) return _obj diff --git a/instana_client/models/one_time_maintenance_window.py b/instana_client/models/one_time_maintenance_window.py index 780ae25..150ab1b 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 9686546..250745e 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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", "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): @@ -96,6 +96,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), + "timezone": obj.get("timezone"), "alias": obj.get("alias"), "apiKey": obj.get("apiKey"), "region": obj.get("region"), diff --git a/instana_client/models/order.py b/instana_client/models/order.py index 2209b2d..d7e7083 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 f02d534..871dd2b 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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", "serviceIntegrationKey"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "serviceIntegrationKey"] model_config = ConfigDict( populate_by_name=True, @@ -86,6 +86,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), + "timezone": obj.get("timezone"), "serviceIntegrationKey": obj.get("serviceIntegrationKey") }) return _obj diff --git a/instana_client/models/paginated_result.py b/instana_client/models/paginated_result.py index 431b017..fa09fed 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 a440a45..61b8412 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 2219a50..62330e1 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 f5fcf75..3043122 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 0ab18dc..83f086e 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 9983281..a885e36 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 55a5a68..2c13491 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 f970c1c..f621fd1 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 8073131..efb5afb 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 e1edd32..cc20929 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 ae6bf28..751ab27 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 7ad737c..2a7b592 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 new file mode 100644 index 0000000..09854a2 --- /dev/null +++ b/instana_client/models/prefix_object.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.316.2780 + 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 PrefixObject(BaseModel): + """ + Shortcode prefix configuration + """ # noqa: E501 + prefix: Optional[StrictStr] = Field(default=None, description="The prefix to use for event short codes (e.g., 'INSTANA-', 'PROD-')") + __properties: ClassVar[List[str]] = ["prefix"] + + 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 PrefixObject 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 PrefixObject from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "prefix": obj.get("prefix") + }) + return _obj + + diff --git a/instana_client/models/problem.py b/instana_client/models/problem.py index 7ed2f5a..008bdab 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 b37482e..b924f88 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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", "receiver", "webhookUrl"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "receiver", "webhookUrl"] model_config = ConfigDict( populate_by_name=True, @@ -87,6 +87,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), + "timezone": obj.get("timezone"), "receiver": obj.get("receiver"), "webhookUrl": obj.get("webhookUrl") }) diff --git a/instana_client/models/recurrent_maintenance_window.py b/instana_client/models/recurrent_maintenance_window.py index cbc5e59..b14eb6b 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 0e109e2..1be455e 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 13dc4d8..b1b644c 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 27f0d69..fbfb196 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 4b06990..0900fa0 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 0931e71..31f9389 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 7ee1846..de53adf 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 7c22d81..f6bf8d5 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 b4b64f3..eade5e0 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 a933e42..ae8dca9 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 964e116..1cba53e 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 a5455ad..f86ef2b 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 c392fd2..ddacf06 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 a4c546b..aa126a9 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -33,7 +33,7 @@ class SalesforceIntegration(AbstractIntegration): client_id: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="clientId") client_secret: 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", "bearerToken", "clientId", "clientSecret", "salesforceUrl"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "bearerToken", "clientId", "clientSecret", "salesforceUrl"] model_config = ConfigDict( populate_by_name=True, @@ -89,6 +89,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), + "timezone": obj.get("timezone"), "bearerToken": obj.get("bearerToken"), "clientId": obj.get("clientId"), "clientSecret": obj.get("clientSecret"), diff --git a/instana_client/models/saturation_blueprint_indicator.py b/instana_client/models/saturation_blueprint_indicator.py index af0fdef..dc08cc3 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 d69f9ea..a7e293a 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 d2efd05..dd6fb20 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 b7c45b5..a7b84ca 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 3bc2c7b..5a3be8a 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 8c0e758..4f83bec 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 c66229f..03922a6 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 f5f0fb5..5a9cfae 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 09c798a..88e212e 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 542c165..bb7a996 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 new file mode 100644 index 0000000..9317884 --- /dev/null +++ b/instana_client/models/service_levels_alert_config_with_rbac_tag.py @@ -0,0 +1,163 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.316.2780 + 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, StrictInt +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from instana_client.models.api_tag import ApiTag +from instana_client.models.custom_payload_field import CustomPayloadField +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_time_threshold import ServiceLevelsTimeThreshold +from instana_client.models.static_threshold import StaticThreshold +from typing import Optional, Set +from typing_extensions import Self + +class ServiceLevelsAlertConfigWithRBACTag(BaseModel): + """ + ServiceLevelsAlertConfigWithRBACTag + """ # noqa: E501 + alert_channel_ids: Annotated[List[Annotated[str, Field(min_length=1, strict=True)]], Field(min_length=0, max_length=1024)] = Field(description="This is the list of channel IDs when alert triggered and sent to.", alias="alertChannelIds") + burn_rate_config: Optional[List[ServiceLevelsBurnRateConfig]] = Field(default=None, description="This is the burn rate alert configuration which defines alerting windows and corresponding thresholds. This configuration must to specified for BURN_RATE_V2 Alerts.", alias="burnRateConfig") + burn_rate_time_windows: Optional[ServiceLevelsBurnRateTimeWindows] = Field(default=None, alias="burnRateTimeWindows") + created: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="Created Date of the version of Service Levels Smart Alerts Configuration.") + custom_payload_fields: Annotated[List[CustomPayloadField], Field(min_length=0, max_length=20)] = Field(description="This is the custom name and value pairs to be sent along with the alert to the alert channels.", alias="customPayloadFields") + description: Annotated[str, Field(min_length=0, strict=True, max_length=65536)] = Field(description="The description of the alert. It is also the alert message content.") + enabled: Optional[StrictBool] = Field(default=None, description="Boolean Parameter specifying the enabled state of Service Levels Smart Alerts Configuration.") + id: Annotated[str, Field(min_length=0, strict=True, max_length=64)] = Field(description="Unique ID of the Service Levels Smart Alerts Configuration.") + initial_created: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="Created Date of the Initial version of Service Levels Smart Alerts Configuration.", alias="initialCreated") + name: Annotated[str, Field(min_length=0, strict=True, max_length=256)] = Field(description="Name of the Service Levels Smart Alerts Configuration.") + rbac_tags: Optional[List[ApiTag]] = Field(default=None, description="RBAC tags associated with the service levels", alias="rbacTags") + read_only: Optional[StrictBool] = Field(default=None, description="Boolean Parameter specifying the readonly access to Service Levels Smart Alerts Configuration.", alias="readOnly") + rule: ServiceLevelsAlertRule + severity: StrictInt = Field(description="This is the severity of the alert. The value can be: 5: warning, 10: critical.") + slo_ids: Annotated[List[Annotated[str, Field(min_length=1, strict=True)]], Field(min_length=0, max_length=1024)] = Field(description="This is the list of SLO configurations related to this alert.", alias="sloIds") + threshold: Optional[StaticThreshold] = None + time_threshold: ServiceLevelsTimeThreshold = Field(alias="timeThreshold") + triggering: Optional[StrictBool] = Field(default=None, description="Incident flag. If value is true, this alert will become an accident.") + __properties: ClassVar[List[str]] = ["alertChannelIds", "burnRateConfig", "burnRateTimeWindows", "created", "customPayloadFields", "description", "enabled", "id", "initialCreated", "name", "rbacTags", "readOnly", "rule", "severity", "sloIds", "threshold", "timeThreshold", "triggering"] + + 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 ServiceLevelsAlertConfigWithRBACTag 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 burn_rate_config (list) + _items = [] + if self.burn_rate_config: + for _item_burn_rate_config in self.burn_rate_config: + if _item_burn_rate_config: + _items.append(_item_burn_rate_config.to_dict()) + _dict['burnRateConfig'] = _items + # override the default output from pydantic by calling `to_dict()` of burn_rate_time_windows + if self.burn_rate_time_windows: + _dict['burnRateTimeWindows'] = self.burn_rate_time_windows.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in custom_payload_fields (list) + _items = [] + if self.custom_payload_fields: + for _item_custom_payload_fields in self.custom_payload_fields: + if _item_custom_payload_fields: + _items.append(_item_custom_payload_fields.to_dict()) + _dict['customPayloadFields'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in rbac_tags (list) + _items = [] + if self.rbac_tags: + for _item_rbac_tags in self.rbac_tags: + if _item_rbac_tags: + _items.append(_item_rbac_tags.to_dict()) + _dict['rbacTags'] = _items + # override the default output from pydantic by calling `to_dict()` of rule + if self.rule: + _dict['rule'] = self.rule.to_dict() + # override the default output from pydantic by calling `to_dict()` of threshold + if self.threshold: + _dict['threshold'] = self.threshold.to_dict() + # override the default output from pydantic by calling `to_dict()` of time_threshold + if self.time_threshold: + _dict['timeThreshold'] = self.time_threshold.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ServiceLevelsAlertConfigWithRBACTag from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "alertChannelIds": obj.get("alertChannelIds"), + "burnRateConfig": [ServiceLevelsBurnRateConfig.from_dict(_item) for _item in obj["burnRateConfig"]] if obj.get("burnRateConfig") is not None else None, + "burnRateTimeWindows": ServiceLevelsBurnRateTimeWindows.from_dict(obj["burnRateTimeWindows"]) if obj.get("burnRateTimeWindows") is not None else None, + "created": obj.get("created"), + "customPayloadFields": [CustomPayloadField.from_dict(_item) for _item in obj["customPayloadFields"]] if obj.get("customPayloadFields") is not None else None, + "description": obj.get("description"), + "enabled": obj.get("enabled"), + "id": obj.get("id"), + "initialCreated": obj.get("initialCreated"), + "name": obj.get("name"), + "rbacTags": [ApiTag.from_dict(_item) for _item in obj["rbacTags"]] if obj.get("rbacTags") is not None else None, + "readOnly": obj.get("readOnly"), + "rule": ServiceLevelsAlertRule.from_dict(obj["rule"]) if obj.get("rule") is not None else None, + "severity": obj.get("severity"), + "sloIds": obj.get("sloIds"), + "threshold": StaticThreshold.from_dict(obj["threshold"]) if obj.get("threshold") is not None else None, + "timeThreshold": ServiceLevelsTimeThreshold.from_dict(obj["timeThreshold"]) if obj.get("timeThreshold") is not None else None, + "triggering": obj.get("triggering") + }) + return _obj + + diff --git a/instana_client/models/service_levels_alert_rule.py b/instana_client/models/service_levels_alert_rule.py index 664efa5..5c73669 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 b6a8894..a5af0b9 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 72d9aeb..d725196 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 349732f..e10f083 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 514f084..b5e91b3 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 a89dae9..a50b818 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 205c067..1d9b2b5 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 b42a444..e0457ef 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 d6bbb72..6919833 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 19f7716..78ab62d 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 4e37eb5..fb224fd 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 c0a9a22..11ccb0e 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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", "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,6 +98,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), + "timezone": obj.get("timezone"), "autoCloseIncidents": obj.get("autoCloseIncidents"), "enableSendInstanaNotes": obj.get("enableSendInstanaNotes"), "enableSendServiceNowActivities": obj.get("enableSendServiceNowActivities"), diff --git a/instana_client/models/service_now_integration.py b/instana_client/models/service_now_integration.py index a9162d5..db6e58f 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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", "autoCloseIncidents", "password", "serviceNowUrl", "username"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "autoCloseIncidents", "password", "serviceNowUrl", "username"] model_config = ConfigDict( populate_by_name=True, @@ -89,6 +89,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), + "timezone": obj.get("timezone"), "autoCloseIncidents": obj.get("autoCloseIncidents"), "password": obj.get("password"), "serviceNowUrl": obj.get("serviceNowUrl"), diff --git a/instana_client/models/service_result.py b/instana_client/models/service_result.py index 0dad77a..5ca0f0b 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 0520150..5fda3b3 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 aa24a2b..d647fb5 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 0b1cecd..2aaa8e5 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 d6a67c9..a1e1373 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 42d4f93..484880b 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 5f063ec..5ee1957 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 1a4efe8..c5d29a0 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 453be84..c7788d6 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 075bff6..fa222dd 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/single_value.py b/instana_client/models/single_value.py index 5afd43a..c526ae0 100644 --- a/instana_client/models/single_value.py +++ b/instana_client/models/single_value.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.315.1425 + The version of the OpenAPI document: 1.316.2780 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 27030bb..c3f1be4 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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", "channel", "emojiRendering", "iconUrl", "webhookUrl"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "channel", "emojiRendering", "iconUrl", "webhookUrl"] model_config = ConfigDict( populate_by_name=True, @@ -89,6 +89,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), + "timezone": obj.get("timezone"), "channel": obj.get("channel"), "emojiRendering": obj.get("emojiRendering"), "iconUrl": obj.get("iconUrl"), diff --git a/instana_client/models/sli_configuration.py b/instana_client/models/sli_configuration.py index 3c7587f..1cbd618 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 5c3cfa5..17a178c 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 3533b88..b3ca15e 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 92f7ca1..1694fb4 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 6d353b7..4ce6f6d 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 aa42d91..5d98ca1 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/slo_report.py b/instana_client/models/slo_report.py index e584d68..77df40d 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/slowness_application_alert_rule.py b/instana_client/models/slowness_application_alert_rule.py index bbe6dc2..d4ba790 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 00e9678..1738690 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 cd39d7c..944064c 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 ba14a59..d263cc9 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 fd59e7e..f2249f8 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 578788e..8145a97 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 2e1895a..bf6be58 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 4211103..25f608f 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 508c928..4880ade 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 e4f1b07..19d4068 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 32a2a5b..0eb65d4 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 1aefdbf..63c3e2b 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 8dbb166..cc6f00f 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 5e9cda6..0a15bbc 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 e49d647..80916f1 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 a3eb20c..2527a6a 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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", "token", "url"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "token", "url"] model_config = ConfigDict( populate_by_name=True, @@ -87,6 +87,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), + "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 d7613f2..eb28c0f 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 4bdb1f8..8fdc1e3 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 e093b43..f8a6e2e 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 f0d57c6..d00a48e 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 c2f59c1..80aa538 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 2b5dc38..f6d918b 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 d649585..e41bfc6 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 65a7be6..bd85563 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 2216c10..2954c88 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 776b3fe..c2f7b08 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 0e8a259..91e1579 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 303b033..19bb567 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/subtraction.py b/instana_client/models/subtraction.py index 40900f5..e3f37e3 100644 --- a/instana_client/models/subtraction.py +++ b/instana_client/models/subtraction.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.315.1425 + The version of the OpenAPI document: 1.316.2780 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 6357876..7726d62 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 0c3333b..1db181c 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 47b1d45..9422a67 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 27e5df2..12b8d64 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 23788cd..35f37ed 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 3086d75..e45d2e5 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 e38ffba..c992ee5 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 d30bdcb..3ecd29b 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 ea25bd9..287bece 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 54cabcb..cdfdab2 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 7e757a1..211f982 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 f137e95..e05fbae 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 2791a12..50b63e5 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 7b56ad6..96456db 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 6c8031e..11e2432 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 3407410..680f254 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 efadd48..8a1b028 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 8afab21..81d0fa8 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 8f3e61e..9003fdb 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) 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 525121b..924efb2 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 42ad122..d0cf56e 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 8b62443..9e9b932 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 d5b5e88..0770c27 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 3eef517..0c5b7ef 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -30,7 +30,7 @@ class SyntheticSloEntity(SloEntity): SyntheticSloEntity """ # noqa: E501 include_unscheduled_test_results: Optional[StrictBool] = Field(default=None, description="Only includes the scheduled test results. ", alias="includeUnscheduledTestResults") - synthetic_test_ids: List[StrictStr] = Field(description="List of Unique Synthetic Tests IDs ", alias="syntheticTestIds") + synthetic_test_ids: Optional[List[StrictStr]] = Field(default=None, description="List of Unique Synthetic Tests IDs ", alias="syntheticTestIds") __properties: ClassVar[List[str]] = ["tagFilterExpression", "type", "includeUnscheduledTestResults", "syntheticTestIds"] model_config = ConfigDict( diff --git a/instana_client/models/synthetic_test.py b/instana_client/models/synthetic_test.py index 24d69aa..b876368 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 7208bdb..980b387 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 91f444e..2da69ae 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 506df16..637db85 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 3a86744..8d7b6a0 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 ad90fcf..aa70834 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 98f1df1..83c1634 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 ee9784f..2528354 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 2440275..4aba1f2 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 e2f5e90..01dd845 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 517317d..2e8c5fd 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 10f3b00..e405d0b 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 2978d78..4085e21 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 6e492b9..27959d2 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 8fd7120..f91e81c 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 1ca7c3d..68c74f3 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -19,8 +19,9 @@ import json from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from instana_client.models.dynamic_tag import DynamicTag from instana_client.models.tag import Tag from instana_client.models.tag_tree_level import TagTreeLevel from typing import Optional, Set @@ -30,9 +31,10 @@ class TagCatalog(BaseModel): """ TagCatalog """ # noqa: E501 + dynamic_tags: Optional[List[DynamicTag]] = Field(default=None, description="Structured dynamic tag prefixes with metadata ", alias="dynamicTags") tag_tree: Annotated[List[TagTreeLevel], Field(min_length=1)] = Field(description="The name of the tag dataset (tagTree) which can contain one or more tags as its attributes or children. Eg: `Call`. Consider this as the root of the tree where it has tags as attributes or children. ", alias="tagTree") tags: Annotated[List[Tag], Field(min_length=1)] = Field(description="List of queryable tags available in a tagTree. Eg: `call.erroneous`. Consider these tags as attributes of a tagTree. Eg: `Call` tagTree has have `Erroneous`, `Call name`, `Latency` etc as attributes. ") - __properties: ClassVar[List[str]] = ["tagTree", "tags"] + __properties: ClassVar[List[str]] = ["dynamicTags", "tagTree", "tags"] model_config = ConfigDict( populate_by_name=True, @@ -73,6 +75,13 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of each item in dynamic_tags (list) + _items = [] + if self.dynamic_tags: + for _item_dynamic_tags in self.dynamic_tags: + if _item_dynamic_tags: + _items.append(_item_dynamic_tags.to_dict()) + _dict['dynamicTags'] = _items # override the default output from pydantic by calling `to_dict()` of each item in tag_tree (list) _items = [] if self.tag_tree: @@ -99,6 +108,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ + "dynamicTags": [DynamicTag.from_dict(_item) for _item in obj["dynamicTags"]] if obj.get("dynamicTags") is not None else None, "tagTree": [TagTreeLevel.from_dict(_item) for _item in obj["tagTree"]] if obj.get("tagTree") is not None else None, "tags": [Tag.from_dict(_item) for _item in obj["tags"]] if obj.get("tags") is not None else None }) diff --git a/instana_client/models/tag_filter.py b/instana_client/models/tag_filter.py index ec14132..54de740 100644 --- a/instana_client/models/tag_filter.py +++ b/instana_client/models/tag_filter.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag_filter_all_of_value.py b/instana_client/models/tag_filter_all_of_value.py index 5a00b35..497d75c 100644 --- a/instana_client/models/tag_filter_all_of_value.py +++ b/instana_client/models/tag_filter_all_of_value.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.315.1425 + The version of the OpenAPI document: 1.316.2780 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 9271a28..408b450 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 803f999..fe10d69 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 ced2cbf..7ea1a4f 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 b7fd84b..64cf950 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 2965a66..17bcab4 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 189b917..1d5330a 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 5f1b059..082add0 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_connection_response.py b/instana_client/models/test_connection_response.py new file mode 100644 index 0000000..0f7b28b --- /dev/null +++ b/instana_client/models/test_connection_response.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.316.2780 + 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, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class TestConnectionResponse(BaseModel): + """ + Response from a test connection request + """ # noqa: E501 + connected: StrictBool = Field(description="Indicates whether the connection to the remote service was established successfully") + message: StrictStr = Field(description="A human-readable message describing the outcome of the connection test") + status_code: StrictInt = Field(description="The HTTP status code returned by the remote service during the connection test", alias="statusCode") + __properties: ClassVar[List[str]] = ["connected", "message", "statusCode"] + + 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 TestConnectionResponse 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 TestConnectionResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "connected": obj.get("connected"), + "message": obj.get("message"), + "statusCode": obj.get("statusCode") + }) + return _obj + + diff --git a/instana_client/models/test_last_error.py b/instana_client/models/test_last_error.py index 3ce34c3..10976e4 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 f4021a8..adfaabe 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 d987397..b442b46 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 044f81c..ad8b46d 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 e5a0a13..0974aa7 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 e0be661..f9cd3a5 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 3d11e17..63652ee 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 4ac89fc..7c02d58 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 a13cb24..445cb60 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 aa00062..a123a48 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 8d5f374..7fe8f49 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 4933c5b..51ae505 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 46da06b..f562644 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 e7c8f17..3e0b3fc 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 c1f3bf0..b2599ef 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 2c8d4e7..bb9c27f 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 30c3a9f..65a1146 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 69d38c2..022ed64 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 438dd23..a3621b9 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 e9e6a7a..85dda50 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 14de0e4..952f0d4 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 9905ed8..09090aa 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 0053ad1..8ea6149 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 3316063..ee076e9 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 6ddf692..c896922 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 5a49e94..fa26784 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 4442750..ce66297 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 698c8b0..71142b5 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 3da1efa..484f261 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 86c836e..302f526 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 96e8f76..7be2b93 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 75cdc88..04dd799 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 a4c8eab..c69a736 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 4748362..1fc852f 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 f90f381..830cdcc 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 0048ea1..2311e13 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 ed4bbc9..cf63234 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 f99ae93..759036c 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 4e9ea0c..6ae26da 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/validated_alerting_configuration.py b/instana_client/models/validated_alerting_configuration.py index a43d94f..a1c7b57 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 3e43c54..7192558 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 cfcd600..7321914 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 58865d6..c29afe6 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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", "apiKey", "routingKey"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "apiKey", "routingKey"] model_config = ConfigDict( populate_by_name=True, @@ -87,6 +87,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), + "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 7527ae4..507dbf6 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 a37eedb..8202861 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 d070710..7456de5 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 d36a643..7884534 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 372beb0..cf6fadc 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 76ccc46..bb02a04 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 7814ab0..ee2a515 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 10ec3d5..40ef0b3 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 05cb62e..bc2a270 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 152bb77..4fb1b32 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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", "headers", "webhookUrl"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "headers", "webhookUrl"] model_config = ConfigDict( populate_by_name=True, @@ -87,6 +87,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), + "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 a4c7cf2..75fc6b1 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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", "webhookUrl"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "webhookUrl"] model_config = ConfigDict( populate_by_name=True, @@ -86,6 +86,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), + "timezone": obj.get("timezone"), "webhookUrl": obj.get("webhookUrl") }) return _obj diff --git a/instana_client/models/webhook_integration.py b/instana_client/models/webhook_integration.py index f124b4a..2bbdd2b 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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", "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,6 +94,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), + "timezone": obj.get("timezone"), "headers": obj.get("headers"), "oauth": OAuthIntegration.from_dict(obj["oauth"]) if obj.get("oauth") is not None else None, "oauthEnabled": obj.get("oauthEnabled"), diff --git a/instana_client/models/webpage_action_configuration.py b/instana_client/models/webpage_action_configuration.py index fced52a..914f233 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 e46d2aa..e9867f8 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 0121026..e6c2534 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 a248b16..1e257b4 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 0059d60..a34392b 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 84b629c..602bd47 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 b392bb8..3a5bdbc 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 90e4b5a..4403297 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 d8f33bc..52c7cea 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 8ad520f..856f662 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 5fcfe3e..a3dbfaf 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 b71ef73..c773f6c 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 947d7e4..b93f1b2 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 0af9117..c10a144 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 32a5d1c..f31f188 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 f1e0232..8a1b018 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 b0edab3..f5f8693 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 62459d3..a5a2a9a 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 f18e50a..b59016b 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.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_monitoring_metric_description.py b/instana_client/models/website_monitoring_metric_description.py index 9b5af6c..2b7739f 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 22bbb74..185b143 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 1e25516..a06bb34 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 8686baf..ac292f6 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 c65fe8c..b3eac80 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 253fdab..ddbf058 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 0abd2ff..90d1c1a 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 976dda6..02db7d9 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 b196fd7..929cc57 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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", "bearerAuthToken", "channels", "zchatOpsIncidentsUrl"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "bearerAuthToken", "channels", "zchatOpsIncidentsUrl"] model_config = ConfigDict( populate_by_name=True, @@ -88,6 +88,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), + "timezone": obj.get("timezone"), "bearerAuthToken": obj.get("bearerAuthToken"), "channels": obj.get("channels"), "zchatOpsIncidentsUrl": obj.get("zchatOpsIncidentsUrl") diff --git a/instana_client/rest.py b/instana_client/rest.py index 4974a81..f8cc76b 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.315.1425 + The version of the OpenAPI document: 1.316.2780 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 c077b0d..336f817 100644 --- a/openapi-generator-config.json +++ b/openapi-generator-config.json @@ -1,6 +1,6 @@ { "packageName": "instana_client", "projectName": "instana-client", - "packageVersion": "1.0.3", + "packageVersion": "1.0.7", "packageUrl": "https://github.com/instana/client-python" } diff --git a/openapi-generator-config.json.bak b/openapi-generator-config.json.bak new file mode 100644 index 0000000..c077b0d --- /dev/null +++ b/openapi-generator-config.json.bak @@ -0,0 +1,6 @@ +{ + "packageName": "instana_client", + "projectName": "instana-client", + "packageVersion": "1.0.3", + "packageUrl": "https://github.com/instana/client-python" +} diff --git a/pyproject.toml b/pyproject.toml index db7c146..97ec392 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "instana_client" -version = "1.0.4" +version = "1.0.7" description = "Instana REST API documentation" authors = [ {name = "© Instana",email = "support@instana.com"}, diff --git a/requirements.txt b/requirements.txt index 6cbb2b9..867a449 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 f73a51a..e93fb6e 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.315.1425 + The version of the OpenAPI document: 1.316.2780 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -22,13 +22,14 @@ # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools NAME = "instana-client" -VERSION = "1.0.4" +VERSION = "1.0.7" PYTHON_REQUIRES = ">= 3.9" REQUIRES = [ "urllib3 >= 2.1.0, < 3.0.0", "python-dateutil >= 2.8.2", "pydantic >= 2", "typing-extensions >= 4.7.1", + "lazy-imports >= 1, < 2", ] setup( diff --git a/test/test_action_beacon.py b/test/test_action_beacon.py new file mode 100644 index 0000000..fef95ab --- /dev/null +++ b/test/test_action_beacon.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.316.2780 + 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.action_beacon import ActionBeacon + +class TestActionBeacon(unittest.TestCase): + """ActionBeacon unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ActionBeacon: + """Test ActionBeacon + 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 `ActionBeacon` + """ + model = ActionBeacon() + if include_optional: + return ActionBeacon( + beacon_type = 'ued', + bytes_ingested_metadata = 1024, + event_type = 'st', + frustration_signal = 'rt', + keyboard_operation = '', + mobile_app_id = 'KVJIyIPsTUGfvNORN_07uQ', + orientation_change = 'l', + scroll_direction = '', + scroll_duration = '', + session_id = '24c6c1d4-161f-4243-85eb-3d0f46edbcbf', + session_replay_version = '0.0.1', + timestamp = 1757339999715, + view_component_class_name = 'MaterialButton', + view_component_id = 'resetDirectory' + ) + else: + return ActionBeacon( + beacon_type = 'ued', + mobile_app_id = 'KVJIyIPsTUGfvNORN_07uQ', + session_id = '24c6c1d4-161f-4243-85eb-3d0f46edbcbf', + timestamp = 1757339999715, + ) + """ + + def testActionBeacon(self): + """Test ActionBeacon""" + # 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_apdex_level.py b/test/test_apdex_level.py new file mode 100644 index 0000000..a8acf92 --- /dev/null +++ b/test/test_apdex_level.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.316.2780 + 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.apdex_level import ApdexLevel + +class TestApdexLevel(unittest.TestCase): + """ApdexLevel unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ApdexLevel: + """Test ApdexLevel + 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 `ApdexLevel` + """ + model = ApdexLevel() + if include_optional: + return ApdexLevel( + id = 0, + lower = 0.94, + name = 'Excellent', + upper = 1.0 + ) + else: + return ApdexLevel( + ) + """ + + def testApdexLevel(self): + """Test ApdexLevel""" + # 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_cursor_pagination_with_ui_cursor_infra_explore_cursor.py b/test/test_cursor_pagination_with_ui_cursor_infra_explore_cursor.py new file mode 100644 index 0000000..28292d8 --- /dev/null +++ b/test/test_cursor_pagination_with_ui_cursor_infra_explore_cursor.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.316.2780 + 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.cursor_pagination_with_ui_cursor_infra_explore_cursor import CursorPaginationWithUiCursorInfraExploreCursor + +class TestCursorPaginationWithUiCursorInfraExploreCursor(unittest.TestCase): + """CursorPaginationWithUiCursorInfraExploreCursor unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CursorPaginationWithUiCursorInfraExploreCursor: + """Test CursorPaginationWithUiCursorInfraExploreCursor + 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 `CursorPaginationWithUiCursorInfraExploreCursor` + """ + model = CursorPaginationWithUiCursorInfraExploreCursor() + if include_optional: + return CursorPaginationWithUiCursorInfraExploreCursor( + ingestion_time = 56, + offset = 56, + retrieval_size = 1 + ) + else: + return CursorPaginationWithUiCursorInfraExploreCursor( + ) + """ + + def testCursorPaginationWithUiCursorInfraExploreCursor(self): + """Test CursorPaginationWithUiCursorInfraExploreCursor""" + # 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_dynamic_tag.py b/test/test_dynamic_tag.py new file mode 100644 index 0000000..a98a251 --- /dev/null +++ b/test/test_dynamic_tag.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.316.2780 + 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.dynamic_tag import DynamicTag + +class TestDynamicTag(unittest.TestCase): + """DynamicTag unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DynamicTag: + """Test DynamicTag + 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 `DynamicTag` + """ + model = DynamicTag() + if include_optional: + return DynamicTag( + aliases = [ + '' + ], + can_apply_to_destination = True, + can_apply_to_source = True, + category_labels = [ + '' + ], + icon = '', + prefix = '', + type = '' + ) + else: + return DynamicTag( + prefix = '', + ) + """ + + def testDynamicTag(self): + """Test DynamicTag""" + # 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_get_action_beacons_result.py b/test/test_get_action_beacons_result.py new file mode 100644 index 0000000..2f022a3 --- /dev/null +++ b/test/test_get_action_beacons_result.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.316.2780 + 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.get_action_beacons_result import GetActionBeaconsResult + +class TestGetActionBeaconsResult(unittest.TestCase): + """GetActionBeaconsResult unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> GetActionBeaconsResult: + """Test GetActionBeaconsResult + 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 `GetActionBeaconsResult` + """ + model = GetActionBeaconsResult() + if include_optional: + return GetActionBeaconsResult( + beacons = [ + instana_client.models.action_beacon.ActionBeacon( + beacon_type = 'ued', + bytes_ingested_metadata = 1024, + event_type = 'st', + frustration_signal = 'rt', + keyboard_operation = '', + mobile_app_id = 'KVJIyIPsTUGfvNORN_07uQ', + orientation_change = 'l', + scroll_direction = '', + scroll_duration = '', + session_id = '24c6c1d4-161f-4243-85eb-3d0f46edbcbf', + session_replay_version = '0.0.1', + timestamp = 1757339999715, + view_component_class_name = 'MaterialButton', + view_component_id = 'resetDirectory', ) + ], + has_more = True, + next_cursor = 1757340000000 + ) + else: + return GetActionBeaconsResult( + beacons = [ + instana_client.models.action_beacon.ActionBeacon( + beacon_type = 'ued', + bytes_ingested_metadata = 1024, + event_type = 'st', + frustration_signal = 'rt', + keyboard_operation = '', + mobile_app_id = 'KVJIyIPsTUGfvNORN_07uQ', + orientation_change = 'l', + scroll_direction = '', + scroll_duration = '', + session_id = '24c6c1d4-161f-4243-85eb-3d0f46edbcbf', + session_replay_version = '0.0.1', + timestamp = 1757339999715, + view_component_class_name = 'MaterialButton', + view_component_id = 'resetDirectory', ) + ], + has_more = True, + ) + """ + + def testGetActionBeaconsResult(self): + """Test GetActionBeaconsResult""" + # 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_llm_gateway_test_connection_request.py b/test/test_llm_gateway_test_connection_request.py new file mode 100644 index 0000000..017c7ea --- /dev/null +++ b/test/test_llm_gateway_test_connection_request.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.316.2780 + 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.llm_gateway_test_connection_request import LLMGatewayTestConnectionRequest + +class TestLLMGatewayTestConnectionRequest(unittest.TestCase): + """LLMGatewayTestConnectionRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> LLMGatewayTestConnectionRequest: + """Test LLMGatewayTestConnectionRequest + 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 `LLMGatewayTestConnectionRequest` + """ + model = LLMGatewayTestConnectionRequest() + if include_optional: + return LLMGatewayTestConnectionRequest( + connection_parameters = { + 'key' : '' + }, + gateway_id = '', + service_id = '' + ) + else: + return LLMGatewayTestConnectionRequest( + service_id = '', + ) + """ + + def testLLMGatewayTestConnectionRequest(self): + """Test LLMGatewayTestConnectionRequest""" + # 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_prefix_object.py b/test/test_prefix_object.py new file mode 100644 index 0000000..ab8eb99 --- /dev/null +++ b/test/test_prefix_object.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.316.2780 + 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.prefix_object import PrefixObject + +class TestPrefixObject(unittest.TestCase): + """PrefixObject unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PrefixObject: + """Test PrefixObject + 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 `PrefixObject` + """ + model = PrefixObject() + if include_optional: + return PrefixObject( + prefix = 'INSTANA-' + ) + else: + return PrefixObject( + ) + """ + + def testPrefixObject(self): + """Test PrefixObject""" + # 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_service_levels_alert_config_with_rbac_tag.py b/test/test_service_levels_alert_config_with_rbac_tag.py new file mode 100644 index 0000000..a3cbec3 --- /dev/null +++ b/test/test_service_levels_alert_config_with_rbac_tag.py @@ -0,0 +1,121 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.316.2780 + 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.service_levels_alert_config_with_rbac_tag import ServiceLevelsAlertConfigWithRBACTag + +class TestServiceLevelsAlertConfigWithRBACTag(unittest.TestCase): + """ServiceLevelsAlertConfigWithRBACTag unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ServiceLevelsAlertConfigWithRBACTag: + """Test ServiceLevelsAlertConfigWithRBACTag + 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 `ServiceLevelsAlertConfigWithRBACTag` + """ + model = ServiceLevelsAlertConfigWithRBACTag() + if include_optional: + return ServiceLevelsAlertConfigWithRBACTag( + alert_channel_ids = [ + '0' + ], + burn_rate_config = [ + instana_client.models.service_levels_burn_rate_config.ServiceLevelsBurnRateConfig( + alert_window_type = 'SINGLE', + duration = 56, + duration_unit_type = 'millisecond', + threshold = instana_client.models.service_levels_static_threshold_config.ServiceLevelsStaticThresholdConfig( + last_updated = 0, + operator = '>', + value = 0, ), ) + ], + burn_rate_time_windows = instana_client.models.service_levels_burn_rate_time_windows.ServiceLevelsBurnRateTimeWindows( + long_time_window = instana_client.models.alerting_time_window.AlertingTimeWindow( + duration = 56, + duration_type = 'millisecond', + duration_unit = 'millisecond', ), + short_time_window = instana_client.models.alerting_time_window.AlertingTimeWindow( + duration = 56, + duration_type = 'millisecond', + duration_unit = 'millisecond', ), ), + created = 1, + custom_payload_fields = [ + instana_client.models.custom_payload_field.CustomPayloadField( + key = '0', + type = '', ) + ], + description = '', + enabled = True, + id = '', + initial_created = 1, + name = '', + rbac_tags = [ + instana_client.models.api_tag.ApiTag( + display_name = '', + id = '', ) + ], + read_only = True, + rule = instana_client.models.service_levels_alert_rule.ServiceLevelsAlertRule( + alert_type = '', ), + severity = 56, + slo_ids = [ + '0' + ], + threshold = instana_client.models.static_threshold.StaticThreshold(), + time_threshold = instana_client.models.service_levels_time_threshold.ServiceLevelsTimeThreshold( + expiry = 56, + time_window = 56, ), + triggering = True + ) + else: + return ServiceLevelsAlertConfigWithRBACTag( + alert_channel_ids = [ + '0' + ], + custom_payload_fields = [ + instana_client.models.custom_payload_field.CustomPayloadField( + key = '0', + type = '', ) + ], + description = '', + id = '', + name = '', + rule = instana_client.models.service_levels_alert_rule.ServiceLevelsAlertRule( + alert_type = '', ), + severity = 56, + slo_ids = [ + '0' + ], + time_threshold = instana_client.models.service_levels_time_threshold.ServiceLevelsTimeThreshold( + expiry = 56, + time_window = 56, ), + ) + """ + + def testServiceLevelsAlertConfigWithRBACTag(self): + """Test ServiceLevelsAlertConfigWithRBACTag""" + # 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_test_connection_response.py b/test/test_test_connection_response.py new file mode 100644 index 0000000..bf4ee91 --- /dev/null +++ b/test/test_test_connection_response.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.316.2780 + 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.test_connection_response import TestConnectionResponse + +class TestTestConnectionResponse(unittest.TestCase): + """TestConnectionResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TestConnectionResponse: + """Test TestConnectionResponse + 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 `TestConnectionResponse` + """ + model = TestConnectionResponse() + if include_optional: + return TestConnectionResponse( + connected = True, + message = 'Connection successful', + status_code = 200 + ) + else: + return TestConnectionResponse( + connected = True, + message = 'Connection successful', + status_code = 200, + ) + """ + + def testTestConnectionResponse(self): + """Test TestConnectionResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main()