diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 289d592..180d7b4 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -41,6 +41,7 @@ docs/ApdexSettingsApi.md docs/ApiCreateGroup.md docs/ApiCreateRole.md docs/ApiGroup.md +docs/ApiGroupToTeamRoleMigration.md docs/ApiLogItem.md docs/ApiLogTag.md docs/ApiMember.md @@ -62,6 +63,7 @@ docs/ApplicationAlertConfigurationApi.md docs/ApplicationAlertRule.md docs/ApplicationAnalyzeApi.md docs/ApplicationApdexEntity.md +docs/ApplicationBatchBusinessCriticalityUpdate.md docs/ApplicationCatalogApi.md docs/ApplicationConfig.md docs/ApplicationEventResult.md @@ -101,6 +103,7 @@ docs/BusinessPerspectiveConfig.md docs/CallGroupsItem.md docs/CallGroupsResult.md docs/CallRelation.md +docs/CallsEventResult.md docs/ChangeSummary.md docs/CloudfoundryPhysicalContext.md docs/Condition.md @@ -234,8 +237,6 @@ docs/GraphEdge.md docs/GraphNode.md docs/Group.md docs/GroupByTag.md -docs/GroupMapping.md -docs/GroupMappingOverview.md docs/GroupsApi.md docs/HealthApi.md docs/HealthState.md @@ -307,6 +308,7 @@ docs/LogVolumeGroup.md docs/LogVolumeUsageItem.md docs/LogVolumeUsageResult.md docs/LoggingAnalyzeApi.md +docs/LoggingPerspective.md docs/LogsApiResponse.md docs/LogsApplicationAlertRule.md docs/LogsQuery.md @@ -320,6 +322,8 @@ docs/MaintenanceWindow.md docs/ManualAlertingChannelConfiguration.md docs/ManualCloseInfo.md docs/ManualServiceConfig.md +docs/Mapping.md +docs/MappingOverview.md docs/MatchAllHttpPathSegmentMatchingRule.md docs/MatchExpressionDTO.md docs/MetaData.md @@ -464,6 +468,8 @@ docs/SliConfigurationWithLastUpdated.md docs/SliEntity.md docs/SliReport.md docs/SloEntity.md +docs/SloHealthSnapshot.md +docs/SloHealthSnapshotItem.md docs/SloReport.md docs/SlownessApplicationAlertRule.md docs/SlownessMobileAppAlertRule.md @@ -750,6 +756,7 @@ instana_client/models/apdex_report.py instana_client/models/api_create_group.py instana_client/models/api_create_role.py instana_client/models/api_group.py +instana_client/models/api_group_to_team_role_migration.py instana_client/models/api_log_item.py instana_client/models/api_log_tag.py instana_client/models/api_member.py @@ -769,6 +776,7 @@ instana_client/models/application_alert_config.py instana_client/models/application_alert_config_with_metadata.py instana_client/models/application_alert_rule.py instana_client/models/application_apdex_entity.py +instana_client/models/application_batch_business_criticality_update.py instana_client/models/application_config.py instana_client/models/application_event_result.py instana_client/models/application_item.py @@ -800,6 +808,7 @@ instana_client/models/business_perspective_config.py instana_client/models/call_groups_item.py instana_client/models/call_groups_result.py instana_client/models/call_relation.py +instana_client/models/calls_event_result.py instana_client/models/change_summary.py instana_client/models/cloudfoundry_physical_context.py instana_client/models/condition.py @@ -926,8 +935,6 @@ instana_client/models/graph_edge.py instana_client/models/graph_node.py instana_client/models/group.py instana_client/models/group_by_tag.py -instana_client/models/group_mapping.py -instana_client/models/group_mapping_overview.py instana_client/models/health_state.py instana_client/models/historic_baseline.py instana_client/models/host_availability_rule.py @@ -985,6 +992,7 @@ instana_client/models/log_time_threshold.py instana_client/models/log_volume_group.py instana_client/models/log_volume_usage_item.py instana_client/models/log_volume_usage_result.py +instana_client/models/logging_perspective.py instana_client/models/logs_api_response.py instana_client/models/logs_application_alert_rule.py instana_client/models/logs_query.py @@ -997,6 +1005,8 @@ instana_client/models/maintenance_window.py instana_client/models/manual_alerting_channel_configuration.py instana_client/models/manual_close_info.py instana_client/models/manual_service_config.py +instana_client/models/mapping.py +instana_client/models/mapping_overview.py instana_client/models/match_all_http_path_segment_matching_rule.py instana_client/models/match_expression_dto.py instana_client/models/meta_data.py @@ -1121,6 +1131,8 @@ instana_client/models/sli_entity.py instana_client/models/sli_report.py instana_client/models/slo_config_with_rbac_tag.py instana_client/models/slo_entity.py +instana_client/models/slo_health_snapshot.py +instana_client/models/slo_health_snapshot_item.py instana_client/models/slo_report.py instana_client/models/slowness_application_alert_rule.py instana_client/models/slowness_mobile_app_alert_rule.py @@ -1294,6 +1306,12 @@ setup.cfg setup.py test-requirements.txt test/__init__.py -test/test_synthetic_resource_update_list_network_profile_list_network_profile.py -test/test_unified_beacon.py +test/test_api_group_to_team_role_migration.py +test/test_application_batch_business_criticality_update.py +test/test_calls_event_result.py +test/test_logging_perspective.py +test/test_mapping.py +test/test_mapping_overview.py +test/test_slo_health_snapshot.py +test/test_slo_health_snapshot_item.py tox.ini diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index eb1dc6a..368fd8f 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.13.0 +7.15.0 diff --git a/README.md b/README.md index c1f290b..07bdde4 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Documentation for INSTANA REST API This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 1.326.1571 +- API version: 1.328.1128 - Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit [http://instana.com](http://instana.com) @@ -166,6 +166,7 @@ Class | Method | HTTP request | Description *ApplicationSettingsApi* | [**add_application_config**](docs/ApplicationSettingsApi.md#add_application_config) | **POST** /api/application-monitoring/settings/application | Add application configuration *ApplicationSettingsApi* | [**add_manual_service_config**](docs/ApplicationSettingsApi.md#add_manual_service_config) | **POST** /api/application-monitoring/settings/manual-service | Add manual service configuration *ApplicationSettingsApi* | [**add_service_config**](docs/ApplicationSettingsApi.md#add_service_config) | **POST** /api/application-monitoring/settings/service | Add service configuration +*ApplicationSettingsApi* | [**batch_update_application_business_criticality**](docs/ApplicationSettingsApi.md#batch_update_application_business_criticality) | **PATCH** /api/application-monitoring/settings/application/batch-business-criticality | Batch update application business criticality *ApplicationSettingsApi* | [**create_endpoint_config**](docs/ApplicationSettingsApi.md#create_endpoint_config) | **POST** /api/application-monitoring/settings/endpoint | Create endpoint configuration *ApplicationSettingsApi* | [**create_http_endpoint_config**](docs/ApplicationSettingsApi.md#create_http_endpoint_config) | **POST** /api/application-monitoring/settings/http-endpoint | Create HTTP endpoint configuration *ApplicationSettingsApi* | [**delete_application_config**](docs/ApplicationSettingsApi.md#delete_application_config) | **DELETE** /api/application-monitoring/settings/application/{id} | Delete application configuration @@ -308,21 +309,22 @@ Class | Method | HTTP request | Description *GroupsApi* | [**add_permissions_on_group**](docs/GroupsApi.md#add_permissions_on_group) | **PUT** /api/settings/rbac/groups/{groupId}/permissions | Add permissions to group *GroupsApi* | [**add_users_to_group**](docs/GroupsApi.md#add_users_to_group) | **PUT** /api/settings/rbac/groups/{groupId}/users | Add users to group *GroupsApi* | [**create_group**](docs/GroupsApi.md#create_group) | **POST** /api/settings/rbac/groups | Create group -*GroupsApi* | [**create_group_mapping**](docs/GroupsApi.md#create_group_mapping) | **POST** /api/settings/rbac/mappings | Create group mapping +*GroupsApi* | [**create_mapping**](docs/GroupsApi.md#create_mapping) | **POST** /api/settings/rbac/mappings | Create mapping *GroupsApi* | [**delete_group**](docs/GroupsApi.md#delete_group) | **DELETE** /api/settings/rbac/groups/{id} | Delete group -*GroupsApi* | [**delete_group_mapping**](docs/GroupsApi.md#delete_group_mapping) | **DELETE** /api/settings/rbac/mappings/{id} | Delete group mapping *GroupsApi* | [**delete_groups**](docs/GroupsApi.md#delete_groups) | **PUT** /api/settings/rbac/groups/delete | Delete groups +*GroupsApi* | [**delete_mapping**](docs/GroupsApi.md#delete_mapping) | **DELETE** /api/settings/rbac/mappings/{id} | Delete mapping *GroupsApi* | [**get_group**](docs/GroupsApi.md#get_group) | **GET** /api/settings/rbac/groups/{id} | Get group -*GroupsApi* | [**get_group_mapping**](docs/GroupsApi.md#get_group_mapping) | **GET** /api/settings/rbac/mappings/{id} | Get group mapping -*GroupsApi* | [**get_group_mappings**](docs/GroupsApi.md#get_group_mappings) | **GET** /api/settings/rbac/mappings | Get all group mappings -*GroupsApi* | [**get_group_mappings_overview**](docs/GroupsApi.md#get_group_mappings_overview) | **GET** /api/settings/rbac/mappings/overview | Get all group mappings overview *GroupsApi* | [**get_groups**](docs/GroupsApi.md#get_groups) | **GET** /api/settings/rbac/groups | Get groups *GroupsApi* | [**get_groups_by_user**](docs/GroupsApi.md#get_groups_by_user) | **GET** /api/settings/rbac/groups/user/{email} | Get groups of a single user -*GroupsApi* | [**get_identity_provider_patch**](docs/GroupsApi.md#get_identity_provider_patch) | **GET** /api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups | Check user restrictions for empty Idp group mapping +*GroupsApi* | [**get_identity_provider_patch**](docs/GroupsApi.md#get_identity_provider_patch) | **GET** /api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups | Check user restrictions for empty Idp mapping +*GroupsApi* | [**get_mapping**](docs/GroupsApi.md#get_mapping) | **GET** /api/settings/rbac/mappings/{id} | Get mapping +*GroupsApi* | [**get_mappings**](docs/GroupsApi.md#get_mappings) | **GET** /api/settings/rbac/mappings | Get all mappings +*GroupsApi* | [**get_mappings_overview**](docs/GroupsApi.md#get_mappings_overview) | **GET** /api/settings/rbac/mappings/overview | Get all mappings overview +*GroupsApi* | [**migrate_group_to_team_and_role**](docs/GroupsApi.md#migrate_group_to_team_and_role) | **PUT** /api/settings/rbac/groups/{id}/migrateToTeams | Migrate a legacy RBAC group to the Team and Role model *GroupsApi* | [**remove_user_from_group**](docs/GroupsApi.md#remove_user_from_group) | **DELETE** /api/settings/rbac/groups/{id}/user/{userId} | Remove user from group *GroupsApi* | [**update_group**](docs/GroupsApi.md#update_group) | **PUT** /api/settings/rbac/groups/{id} | Update group -*GroupsApi* | [**update_group_mapping**](docs/GroupsApi.md#update_group_mapping) | **PUT** /api/settings/rbac/mappings/{id} | Update group mapping *GroupsApi* | [**update_identity_provider**](docs/GroupsApi.md#update_identity_provider) | **PUT** /api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups | Allow/Restrict users with empty Idp group mapping +*GroupsApi* | [**update_mapping**](docs/GroupsApi.md#update_mapping) | **PUT** /api/settings/rbac/mappings/{id} | Update mapping *HealthApi* | [**get_health_state**](docs/HealthApi.md#get_health_state) | **GET** /api/instana/health | Basic health traffic light *HealthApi* | [**get_version**](docs/HealthApi.md#get_version) | **GET** /api/instana/version | API version information *HostAgentApi* | [**get_agent_clr_logs**](docs/HostAgentApi.md#get_agent_clr_logs) | **GET** /api/host-agent/{hostId}/clr-logs | Agent CLR download logs @@ -410,8 +412,13 @@ Class | Method | HTTP request | Description *LogAlertConfigurationApi* | [**find_log_alert_config_versions**](docs/LogAlertConfigurationApi.md#find_log_alert_config_versions) | **GET** /api/events/settings/global-alert-configs/logs/{id}/versions | Get versions of Log Alert Config *LogAlertConfigurationApi* | [**restore_log_alert_config**](docs/LogAlertConfigurationApi.md#restore_log_alert_config) | **PUT** /api/events/settings/global-alert-configs/logs/{id}/restore/{created} | Restore Log Alert Config *LogAlertConfigurationApi* | [**update_log_alert_config**](docs/LogAlertConfigurationApi.md#update_log_alert_config) | **POST** /api/events/settings/global-alert-configs/logs/{id} | Update Log Alert Config +*LoggingAnalyzeApi* | [**create_logging_perspective**](docs/LoggingAnalyzeApi.md#create_logging_perspective) | **POST** /api/logging/perspective/v1 | Create Log Perspective +*LoggingAnalyzeApi* | [**delete_logging_perspective**](docs/LoggingAnalyzeApi.md#delete_logging_perspective) | **DELETE** /api/logging/perspective/v1/{perspectiveId} | Delete Log Perspective +*LoggingAnalyzeApi* | [**get_all_logging_perspectives**](docs/LoggingAnalyzeApi.md#get_all_logging_perspectives) | **GET** /api/logging/perspective/v1 | Get All Log Perspectives *LoggingAnalyzeApi* | [**get_log_volume_usage**](docs/LoggingAnalyzeApi.md#get_log_volume_usage) | **GET** /api/logging/logs/getLogVolumeUsage | Get Log Volume Usage +*LoggingAnalyzeApi* | [**get_logging_perspective**](docs/LoggingAnalyzeApi.md#get_logging_perspective) | **GET** /api/logging/perspective/v1/{perspectiveId} | Get Log Perspective *LoggingAnalyzeApi* | [**get_logs**](docs/LoggingAnalyzeApi.md#get_logs) | **POST** /api/logging/logs/getLogs/v1 | Retrieve logs via REST API +*LoggingAnalyzeApi* | [**update_logging_perspective**](docs/LoggingAnalyzeApi.md#update_logging_perspective) | **PUT** /api/logging/perspective/v1/{perspectiveId} | Update Log Perspective *MaintenanceConfigurationApi* | [**delete_maintenance_config**](docs/MaintenanceConfigurationApi.md#delete_maintenance_config) | **DELETE** /api/settings/maintenance/{id} | Delete maintenance configuration *MaintenanceConfigurationApi* | [**delete_maintenance_config_v2**](docs/MaintenanceConfigurationApi.md#delete_maintenance_config_v2) | **DELETE** /api/settings/v2/maintenance/{id} | Delete maintenance configuration *MaintenanceConfigurationApi* | [**get_maintenance_config**](docs/MaintenanceConfigurationApi.md#get_maintenance_config) | **GET** /api/settings/maintenance/{id} | Maintenance configuration @@ -466,11 +473,18 @@ Class | Method | HTTP request | Description *ReleasesApi* | [**get_release**](docs/ReleasesApi.md#get_release) | **GET** /api/releases/{releaseId} | Get release *ReleasesApi* | [**post_release**](docs/ReleasesApi.md#post_release) | **POST** /api/releases | Create release *ReleasesApi* | [**put_release**](docs/ReleasesApi.md#put_release) | **PUT** /api/releases/{releaseId} | Update release +*RolesApi* | [**create_mapping**](docs/RolesApi.md#create_mapping) | **POST** /api/settings/rbac/mappings | Create mapping *RolesApi* | [**create_role**](docs/RolesApi.md#create_role) | **POST** /api/settings/rbac/roles | Create role +*RolesApi* | [**delete_mapping**](docs/RolesApi.md#delete_mapping) | **DELETE** /api/settings/rbac/mappings/{id} | Delete mapping *RolesApi* | [**delete_role**](docs/RolesApi.md#delete_role) | **DELETE** /api/settings/rbac/roles/{id} | Delete role +*RolesApi* | [**get_identity_provider_patch**](docs/RolesApi.md#get_identity_provider_patch) | **GET** /api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups | Check user restrictions for empty Idp mapping +*RolesApi* | [**get_mapping**](docs/RolesApi.md#get_mapping) | **GET** /api/settings/rbac/mappings/{id} | Get mapping +*RolesApi* | [**get_mappings**](docs/RolesApi.md#get_mappings) | **GET** /api/settings/rbac/mappings | Get all mappings +*RolesApi* | [**get_mappings_overview**](docs/RolesApi.md#get_mappings_overview) | **GET** /api/settings/rbac/mappings/overview | Get all mappings overview *RolesApi* | [**get_role**](docs/RolesApi.md#get_role) | **GET** /api/settings/rbac/roles/{id} | Get role by ID *RolesApi* | [**get_role_mappings**](docs/RolesApi.md#get_role_mappings) | **GET** /api/settings/rbac/roles/{roleId}/mappings | Get role mappings *RolesApi* | [**get_roles**](docs/RolesApi.md#get_roles) | **GET** /api/settings/rbac/roles | Get all roles +*RolesApi* | [**update_mapping**](docs/RolesApi.md#update_mapping) | **PUT** /api/settings/rbac/mappings/{id} | Update mapping *RolesApi* | [**update_role**](docs/RolesApi.md#update_role) | **PUT** /api/settings/rbac/roles/{id} | Update role *SLIReportApi* | [**get_sli**](docs/SLIReportApi.md#get_sli) | **GET** /api/sli/report/{sliId} | Generate SLI report (Limitation: the Classic Edition API report can be available one hour after the SLI configuration created; other editions are around one minute.) *SLISettingsApi* | [**create_sli_config**](docs/SLISettingsApi.md#create_sli_config) | **POST** /api/settings/sli | Create SLI Config @@ -490,6 +504,7 @@ Class | Method | HTTP request | Description *SLOConfigurationsApi* | [**get_all_slo_config_tags**](docs/SLOConfigurationsApi.md#get_all_slo_config_tags) | **GET** /api/settings/slo/tags | Get All SLO Config tags *SLOConfigurationsApi* | [**get_all_slo_configs**](docs/SLOConfigurationsApi.md#get_all_slo_configs) | **GET** /api/settings/slo | Get All SLO Configs *SLOConfigurationsApi* | [**get_slo_config_by_id**](docs/SLOConfigurationsApi.md#get_slo_config_by_id) | **GET** /api/settings/slo/{id} | Get an existing SLO Config +*SLOConfigurationsApi* | [**get_slo_health_snapshot**](docs/SLOConfigurationsApi.md#get_slo_health_snapshot) | **GET** /api/settings/slo/health-snapshot | Get SLO Health Snapshot *SLOConfigurationsApi* | [**update_slo_config**](docs/SLOConfigurationsApi.md#update_slo_config) | **PUT** /api/settings/slo/{id} | Update an existing SLO Config *SLOCorrectionConfigurationsApi* | [**create_slo_correction_window_config**](docs/SLOCorrectionConfigurationsApi.md#create_slo_correction_window_config) | **POST** /api/settings/correction | Create a new SLO Correction Window Config *SLOCorrectionConfigurationsApi* | [**delete_slo_correction_window_config**](docs/SLOCorrectionConfigurationsApi.md#delete_slo_correction_window_config) | **DELETE** /api/settings/correction/{id} | Delete an existing SLO Correction Window Configuration @@ -565,11 +580,18 @@ Class | Method | HTTP request | Description *SyntheticTestPlaybackResultsApi* | [**get_synthetic_result_list**](docs/SyntheticTestPlaybackResultsApi.md#get_synthetic_result_list) | **POST** /api/synthetics/results/list | Get a list of Synthetic test playback results *SyntheticTestPlaybackResultsApi* | [**get_synthetic_result_metadata**](docs/SyntheticTestPlaybackResultsApi.md#get_synthetic_result_metadata) | **GET** /api/synthetics/results/{testid}/{testresultid} | Get Synthetic test playback detail result description(metadata) *SyntheticTestPlaybackResultsApi* | [**get_test_summary_list**](docs/SyntheticTestPlaybackResultsApi.md#get_test_summary_list) | **POST** /api/synthetics/results/testsummarylist | Get a list of Synthetic tests with success rate and average response time data +*TeamsApi* | [**create_mapping**](docs/TeamsApi.md#create_mapping) | **POST** /api/settings/rbac/mappings | Create mapping *TeamsApi* | [**create_team**](docs/TeamsApi.md#create_team) | **POST** /api/settings/rbac/teams | Create team +*TeamsApi* | [**delete_mapping**](docs/TeamsApi.md#delete_mapping) | **DELETE** /api/settings/rbac/mappings/{id} | Delete mapping *TeamsApi* | [**delete_team**](docs/TeamsApi.md#delete_team) | **DELETE** /api/settings/rbac/teams/{id} | Delete team +*TeamsApi* | [**get_identity_provider_patch**](docs/TeamsApi.md#get_identity_provider_patch) | **GET** /api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups | Check user restrictions for empty Idp mapping +*TeamsApi* | [**get_mapping**](docs/TeamsApi.md#get_mapping) | **GET** /api/settings/rbac/mappings/{id} | Get mapping +*TeamsApi* | [**get_mappings**](docs/TeamsApi.md#get_mappings) | **GET** /api/settings/rbac/mappings | Get all mappings +*TeamsApi* | [**get_mappings_overview**](docs/TeamsApi.md#get_mappings_overview) | **GET** /api/settings/rbac/mappings/overview | Get all mappings overview *TeamsApi* | [**get_team**](docs/TeamsApi.md#get_team) | **GET** /api/settings/rbac/teams/{id} | Get team by ID *TeamsApi* | [**get_team_role_mappings**](docs/TeamsApi.md#get_team_role_mappings) | **GET** /api/settings/rbac/teams/{teamId}/mappings | Get team role mappings *TeamsApi* | [**get_teams**](docs/TeamsApi.md#get_teams) | **GET** /api/settings/rbac/teams | Get all teams +*TeamsApi* | [**update_mapping**](docs/TeamsApi.md#update_mapping) | **PUT** /api/settings/rbac/mappings/{id} | Update mapping *TeamsApi* | [**update_team**](docs/TeamsApi.md#update_team) | **PUT** /api/settings/rbac/teams/{id} | Update team *UsageApi* | [**get_all_usage**](docs/UsageApi.md#get_all_usage) | **GET** /api/instana/usage/api | API usage by customer *UsageApi* | [**get_hosts_per_day**](docs/UsageApi.md#get_hosts_per_day) | **GET** /api/instana/usage/hosts/{day}/{month}/{year} | Host count day / month / year @@ -675,6 +697,7 @@ Class | Method | HTTP request | Description - [ApiCreateGroup](docs/ApiCreateGroup.md) - [ApiCreateRole](docs/ApiCreateRole.md) - [ApiGroup](docs/ApiGroup.md) + - [ApiGroupToTeamRoleMigration](docs/ApiGroupToTeamRoleMigration.md) - [ApiLogItem](docs/ApiLogItem.md) - [ApiLogTag](docs/ApiLogTag.md) - [ApiMember](docs/ApiMember.md) @@ -694,6 +717,7 @@ Class | Method | HTTP request | Description - [ApplicationAlertConfigWithMetadata](docs/ApplicationAlertConfigWithMetadata.md) - [ApplicationAlertRule](docs/ApplicationAlertRule.md) - [ApplicationApdexEntity](docs/ApplicationApdexEntity.md) + - [ApplicationBatchBusinessCriticalityUpdate](docs/ApplicationBatchBusinessCriticalityUpdate.md) - [ApplicationConfig](docs/ApplicationConfig.md) - [ApplicationEventResult](docs/ApplicationEventResult.md) - [ApplicationItem](docs/ApplicationItem.md) @@ -725,6 +749,7 @@ Class | Method | HTTP request | Description - [CallGroupsItem](docs/CallGroupsItem.md) - [CallGroupsResult](docs/CallGroupsResult.md) - [CallRelation](docs/CallRelation.md) + - [CallsEventResult](docs/CallsEventResult.md) - [ChangeSummary](docs/ChangeSummary.md) - [CloudfoundryPhysicalContext](docs/CloudfoundryPhysicalContext.md) - [Condition](docs/Condition.md) @@ -851,8 +876,6 @@ Class | Method | HTTP request | Description - [GraphNode](docs/GraphNode.md) - [Group](docs/Group.md) - [GroupByTag](docs/GroupByTag.md) - - [GroupMapping](docs/GroupMapping.md) - - [GroupMappingOverview](docs/GroupMappingOverview.md) - [HealthState](docs/HealthState.md) - [HistoricBaseline](docs/HistoricBaseline.md) - [HostAvailabilityRule](docs/HostAvailabilityRule.md) @@ -910,6 +933,7 @@ Class | Method | HTTP request | Description - [LogVolumeGroup](docs/LogVolumeGroup.md) - [LogVolumeUsageItem](docs/LogVolumeUsageItem.md) - [LogVolumeUsageResult](docs/LogVolumeUsageResult.md) + - [LoggingPerspective](docs/LoggingPerspective.md) - [LogsApiResponse](docs/LogsApiResponse.md) - [LogsApplicationAlertRule](docs/LogsApplicationAlertRule.md) - [LogsQuery](docs/LogsQuery.md) @@ -922,6 +946,8 @@ Class | Method | HTTP request | Description - [ManualAlertingChannelConfiguration](docs/ManualAlertingChannelConfiguration.md) - [ManualCloseInfo](docs/ManualCloseInfo.md) - [ManualServiceConfig](docs/ManualServiceConfig.md) + - [Mapping](docs/Mapping.md) + - [MappingOverview](docs/MappingOverview.md) - [MatchAllHttpPathSegmentMatchingRule](docs/MatchAllHttpPathSegmentMatchingRule.md) - [MatchExpressionDTO](docs/MatchExpressionDTO.md) - [MetaData](docs/MetaData.md) @@ -1049,6 +1075,8 @@ Class | Method | HTTP request | Description - [SliEntity](docs/SliEntity.md) - [SliReport](docs/SliReport.md) - [SloEntity](docs/SloEntity.md) + - [SloHealthSnapshot](docs/SloHealthSnapshot.md) + - [SloHealthSnapshotItem](docs/SloHealthSnapshotItem.md) - [SloReport](docs/SloReport.md) - [SlownessApplicationAlertRule](docs/SlownessApplicationAlertRule.md) - [SlownessMobileAppAlertRule](docs/SlownessMobileAppAlertRule.md) diff --git a/docs/AbstractIntegration.md b/docs/AbstractIntegration.md index 9577908..45599e3 100644 --- a/docs/AbstractIntegration.md +++ b/docs/AbstractIntegration.md @@ -8,9 +8,6 @@ Name | Type | Description | Notes **id** | **str** | Unique ID of the returned Alert Channel | **kind** | **str** | The type of the Alerting Channel. | **name** | **str** | The name of the Alerting Channel. | -**test_event_type** | **str** | | [optional] -**test_severity** | **str** | | [optional] -**test_state** | **str** | | [optional] **timezone** | **str** | The timezone to be used for DateTime | [optional] ## Example diff --git a/docs/ApiGroupToTeamRoleMigration.md b/docs/ApiGroupToTeamRoleMigration.md new file mode 100644 index 0000000..84d62e0 --- /dev/null +++ b/docs/ApiGroupToTeamRoleMigration.md @@ -0,0 +1,29 @@ +# ApiGroupToTeamRoleMigration + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**target_role_id** | **str** | The ID of the pre-existing role to assign to all migrated team members | + +## Example + +```python +from instana_client.models.api_group_to_team_role_migration import ApiGroupToTeamRoleMigration + +# TODO update the JSON string below +json = "{}" +# create an instance of ApiGroupToTeamRoleMigration from a JSON string +api_group_to_team_role_migration_instance = ApiGroupToTeamRoleMigration.from_json(json) +# print the JSON string representation of the object +print(ApiGroupToTeamRoleMigration.to_json()) + +# convert the object into a dict +api_group_to_team_role_migration_dict = api_group_to_team_role_migration_instance.to_dict() +# create an instance of ApiGroupToTeamRoleMigration from a dict +api_group_to_team_role_migration_from_dict = ApiGroupToTeamRoleMigration.from_dict(api_group_to_team_role_migration_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ApplicationBatchBusinessCriticalityUpdate.md b/docs/ApplicationBatchBusinessCriticalityUpdate.md new file mode 100644 index 0000000..ee947fb --- /dev/null +++ b/docs/ApplicationBatchBusinessCriticalityUpdate.md @@ -0,0 +1,31 @@ +# ApplicationBatchBusinessCriticalityUpdate + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**business_criticality** | **int** | | +**ids** | **List[str]** | | +**ids_unique** | **bool** | | [optional] + +## Example + +```python +from instana_client.models.application_batch_business_criticality_update import ApplicationBatchBusinessCriticalityUpdate + +# TODO update the JSON string below +json = "{}" +# create an instance of ApplicationBatchBusinessCriticalityUpdate from a JSON string +application_batch_business_criticality_update_instance = ApplicationBatchBusinessCriticalityUpdate.from_json(json) +# print the JSON string representation of the object +print(ApplicationBatchBusinessCriticalityUpdate.to_json()) + +# convert the object into a dict +application_batch_business_criticality_update_dict = application_batch_business_criticality_update_instance.to_dict() +# create an instance of ApplicationBatchBusinessCriticalityUpdate from a dict +application_batch_business_criticality_update_from_dict = ApplicationBatchBusinessCriticalityUpdate.from_dict(application_batch_business_criticality_update_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ApplicationSettingsApi.md b/docs/ApplicationSettingsApi.md index ebbdc9e..224373b 100644 --- a/docs/ApplicationSettingsApi.md +++ b/docs/ApplicationSettingsApi.md @@ -7,6 +7,7 @@ Method | HTTP request | Description [**add_application_config**](ApplicationSettingsApi.md#add_application_config) | **POST** /api/application-monitoring/settings/application | Add application configuration [**add_manual_service_config**](ApplicationSettingsApi.md#add_manual_service_config) | **POST** /api/application-monitoring/settings/manual-service | Add manual service configuration [**add_service_config**](ApplicationSettingsApi.md#add_service_config) | **POST** /api/application-monitoring/settings/service | Add service configuration +[**batch_update_application_business_criticality**](ApplicationSettingsApi.md#batch_update_application_business_criticality) | **PATCH** /api/application-monitoring/settings/application/batch-business-criticality | Batch update application business criticality [**create_endpoint_config**](ApplicationSettingsApi.md#create_endpoint_config) | **POST** /api/application-monitoring/settings/endpoint | Create endpoint configuration [**create_http_endpoint_config**](ApplicationSettingsApi.md#create_http_endpoint_config) | **POST** /api/application-monitoring/settings/http-endpoint | Create HTTP endpoint configuration [**delete_application_config**](ApplicationSettingsApi.md#delete_application_config) | **DELETE** /api/application-monitoring/settings/application/{id} | Delete application configuration @@ -38,7 +39,7 @@ Method | HTTP request | Description Add application configuration - +Ignores the provided business criticality of the application; business criticality can only be set with the "Batch update application business criticality" API, which requires different permissions. For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. ### Example @@ -286,6 +287,87 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **batch_update_application_business_criticality** +> batch_update_application_business_criticality(application_batch_business_criticality_update) + +Batch update application business criticality + +Updates the business criticality of one or more Application Perspectives to a new value. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.application_batch_business_criticality_update import ApplicationBatchBusinessCriticalityUpdate +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.ApplicationSettingsApi(api_client) + application_batch_business_criticality_update = {"ids":["CxJ55sRbQwqBIfw5DzpRmQ","oLyuFtIfQ3eKzAqM5vBGkQ"],"businessCriticality":"HIGH"} # ApplicationBatchBusinessCriticalityUpdate | + + try: + # Batch update application business criticality + api_instance.batch_update_application_business_criticality(application_batch_business_criticality_update) + except Exception as e: + print("Exception when calling ApplicationSettingsApi->batch_update_application_business_criticality: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **application_batch_business_criticality_update** | [**ApplicationBatchBusinessCriticalityUpdate**](ApplicationBatchBusinessCriticalityUpdate.md)| | + +### Return type + +void (empty response body) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: Not defined + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | No Content | - | +**401** | Unauthorized access - requires user authentication. | - | +**403** | Insufficient permissions or limited in access. | - | +**404** | Resource not found. | - | +**422** | Unprocessable request - missing/invalid data. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **create_endpoint_config** > EndpointConfig create_endpoint_config(endpoint_config) @@ -1710,7 +1792,7 @@ void (empty response body) Update application configuration - +Does not allow changing the business criticality of an application; this must be done with the "Batch update application business criticality" API, which requires different permissions. For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. ### Example diff --git a/docs/CallsEventResult.md b/docs/CallsEventResult.md new file mode 100644 index 0000000..c8ad07a --- /dev/null +++ b/docs/CallsEventResult.md @@ -0,0 +1,28 @@ +# CallsEventResult + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Example + +```python +from instana_client.models.calls_event_result import CallsEventResult + +# TODO update the JSON string below +json = "{}" +# create an instance of CallsEventResult from a JSON string +calls_event_result_instance = CallsEventResult.from_json(json) +# print the JSON string representation of the object +print(CallsEventResult.to_json()) + +# convert the object into a dict +calls_event_result_dict = calls_event_result_instance.to_dict() +# create an instance of CallsEventResult from a dict +calls_event_result_from_dict = CallsEventResult.from_dict(calls_event_result_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupsApi.md b/docs/GroupsApi.md index ab5b532..013e3cf 100644 --- a/docs/GroupsApi.md +++ b/docs/GroupsApi.md @@ -7,21 +7,22 @@ Method | HTTP request | Description [**add_permissions_on_group**](GroupsApi.md#add_permissions_on_group) | **PUT** /api/settings/rbac/groups/{groupId}/permissions | Add permissions to group [**add_users_to_group**](GroupsApi.md#add_users_to_group) | **PUT** /api/settings/rbac/groups/{groupId}/users | Add users to group [**create_group**](GroupsApi.md#create_group) | **POST** /api/settings/rbac/groups | Create group -[**create_group_mapping**](GroupsApi.md#create_group_mapping) | **POST** /api/settings/rbac/mappings | Create group mapping +[**create_mapping**](GroupsApi.md#create_mapping) | **POST** /api/settings/rbac/mappings | Create mapping [**delete_group**](GroupsApi.md#delete_group) | **DELETE** /api/settings/rbac/groups/{id} | Delete group -[**delete_group_mapping**](GroupsApi.md#delete_group_mapping) | **DELETE** /api/settings/rbac/mappings/{id} | Delete group mapping [**delete_groups**](GroupsApi.md#delete_groups) | **PUT** /api/settings/rbac/groups/delete | Delete groups +[**delete_mapping**](GroupsApi.md#delete_mapping) | **DELETE** /api/settings/rbac/mappings/{id} | Delete mapping [**get_group**](GroupsApi.md#get_group) | **GET** /api/settings/rbac/groups/{id} | Get group -[**get_group_mapping**](GroupsApi.md#get_group_mapping) | **GET** /api/settings/rbac/mappings/{id} | Get group mapping -[**get_group_mappings**](GroupsApi.md#get_group_mappings) | **GET** /api/settings/rbac/mappings | Get all group mappings -[**get_group_mappings_overview**](GroupsApi.md#get_group_mappings_overview) | **GET** /api/settings/rbac/mappings/overview | Get all group mappings overview [**get_groups**](GroupsApi.md#get_groups) | **GET** /api/settings/rbac/groups | Get groups [**get_groups_by_user**](GroupsApi.md#get_groups_by_user) | **GET** /api/settings/rbac/groups/user/{email} | Get groups of a single user -[**get_identity_provider_patch**](GroupsApi.md#get_identity_provider_patch) | **GET** /api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups | Check user restrictions for empty Idp group mapping +[**get_identity_provider_patch**](GroupsApi.md#get_identity_provider_patch) | **GET** /api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups | Check user restrictions for empty Idp mapping +[**get_mapping**](GroupsApi.md#get_mapping) | **GET** /api/settings/rbac/mappings/{id} | Get mapping +[**get_mappings**](GroupsApi.md#get_mappings) | **GET** /api/settings/rbac/mappings | Get all mappings +[**get_mappings_overview**](GroupsApi.md#get_mappings_overview) | **GET** /api/settings/rbac/mappings/overview | Get all mappings overview +[**migrate_group_to_team_and_role**](GroupsApi.md#migrate_group_to_team_and_role) | **PUT** /api/settings/rbac/groups/{id}/migrateToTeams | Migrate a legacy RBAC group to the Team and Role model [**remove_user_from_group**](GroupsApi.md#remove_user_from_group) | **DELETE** /api/settings/rbac/groups/{id}/user/{userId} | Remove user from group [**update_group**](GroupsApi.md#update_group) | **PUT** /api/settings/rbac/groups/{id} | Update group -[**update_group_mapping**](GroupsApi.md#update_group_mapping) | **PUT** /api/settings/rbac/mappings/{id} | Update group mapping [**update_identity_provider**](GroupsApi.md#update_identity_provider) | **PUT** /api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups | Allow/Restrict users with empty Idp group mapping +[**update_mapping**](GroupsApi.md#update_mapping) | **PUT** /api/settings/rbac/mappings/{id} | Update mapping # **add_permissions_on_group** @@ -269,10 +270,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_group_mapping** -> GroupMapping create_group_mapping(group_mapping) +# **create_mapping** +> Mapping create_mapping(mapping) -Create group mapping +Create mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. @@ -283,7 +284,7 @@ For more information on groups please access the https://developer.ibm.com/apis/ ```python import instana_client -from instana_client.models.group_mapping import GroupMapping +from instana_client.models.mapping import Mapping from instana_client.rest import ApiException from pprint import pprint @@ -308,15 +309,15 @@ configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] with instana_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = instana_client.GroupsApi(api_client) - group_mapping = {"key":"roles","value":"analyst","groupId":"-3"} # GroupMapping | + mapping = {"id":"mappingId","key":"roles","value":"analyst","groupId":"-3","teamId":null} # Mapping | try: - # Create group mapping - api_response = api_instance.create_group_mapping(group_mapping) - print("The response of GroupsApi->create_group_mapping:\n") + # Create mapping + api_response = api_instance.create_mapping(mapping) + print("The response of GroupsApi->create_mapping:\n") pprint(api_response) except Exception as e: - print("Exception when calling GroupsApi->create_group_mapping: %s\n" % e) + print("Exception when calling GroupsApi->create_mapping: %s\n" % e) ``` @@ -326,11 +327,11 @@ with instana_client.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **group_mapping** | [**GroupMapping**](GroupMapping.md)| | + **mapping** | [**Mapping**](Mapping.md)| | ### Return type -[**GroupMapping**](GroupMapping.md) +[**Mapping**](Mapping.md) ### Authorization @@ -346,6 +347,8 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | +**412** | Attempting to upsert a mapping containing a teamId - without teams being available | - | +**422** | invalid request body | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -427,12 +430,12 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_group_mapping** -> delete_group_mapping(id) - -Delete group mapping +# **delete_groups** +> delete_groups(request_body) +Delete groups +Delete multiple groups For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. ### Example @@ -465,13 +468,13 @@ configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] with instana_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = instana_client.GroupsApi(api_client) - id = 'mappingId' # str | Id of the group mapping to delete + request_body = ['request_body_example'] # List[str] | try: - # Delete group mapping - api_instance.delete_group_mapping(id) + # Delete groups + api_instance.delete_groups(request_body) except Exception as e: - print("Exception when calling GroupsApi->delete_group_mapping: %s\n" % e) + print("Exception when calling GroupsApi->delete_groups: %s\n" % e) ``` @@ -481,7 +484,7 @@ with instana_client.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **id** | **str**| Id of the group mapping to delete | + **request_body** | [**List[str]**](str.md)| | ### Return type @@ -493,7 +496,7 @@ void (empty response body) ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -504,12 +507,12 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_groups** -> delete_groups(request_body) +# **delete_mapping** +> delete_mapping(id) + +Delete mapping -Delete groups -Delete multiple groups For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. ### Example @@ -542,13 +545,13 @@ configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] with instana_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = instana_client.GroupsApi(api_client) - request_body = ['request_body_example'] # List[str] | + id = 'mappingId' # str | Id of the mapping to delete try: - # Delete groups - api_instance.delete_groups(request_body) + # Delete mapping + api_instance.delete_mapping(id) except Exception as e: - print("Exception when calling GroupsApi->delete_groups: %s\n" % e) + print("Exception when calling GroupsApi->delete_mapping: %s\n" % e) ``` @@ -558,7 +561,7 @@ with instana_client.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **request_body** | [**List[str]**](str.md)| | + **id** | **str**| Id of the mapping to delete | ### Return type @@ -570,7 +573,7 @@ void (empty response body) ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -661,10 +664,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_group_mapping** -> GroupMapping get_group_mapping(id) +# **get_groups** +> List[ApiGroup] get_groups() -Get group mapping +Get groups For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. @@ -675,7 +678,7 @@ For more information on groups please access the https://developer.ibm.com/apis/ ```python import instana_client -from instana_client.models.group_mapping import GroupMapping +from instana_client.models.api_group import ApiGroup from instana_client.rest import ApiException from pprint import pprint @@ -700,29 +703,25 @@ configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] with instana_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = instana_client.GroupsApi(api_client) - id = 'id_example' # str | try: - # Get group mapping - api_response = api_instance.get_group_mapping(id) - print("The response of GroupsApi->get_group_mapping:\n") + # Get groups + api_response = api_instance.get_groups() + print("The response of GroupsApi->get_groups:\n") pprint(api_response) except Exception as e: - print("Exception when calling GroupsApi->get_group_mapping: %s\n" % e) + print("Exception when calling GroupsApi->get_groups: %s\n" % e) ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| | +This endpoint does not need any parameter. ### Return type -[**GroupMapping**](GroupMapping.md) +[**List[ApiGroup]**](ApiGroup.md) ### Authorization @@ -738,14 +737,14 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | -**404** | No group mapping found | - | +**404** | No groups found | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_group_mappings** -> List[GroupMapping] get_group_mappings() +# **get_groups_by_user** +> List[ApiGroup] get_groups_by_user(email) -Get all group mappings +Get groups of a single user For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. @@ -756,7 +755,7 @@ For more information on groups please access the https://developer.ibm.com/apis/ ```python import instana_client -from instana_client.models.group_mapping import GroupMapping +from instana_client.models.api_group import ApiGroup from instana_client.rest import ApiException from pprint import pprint @@ -781,25 +780,29 @@ configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] with instana_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = instana_client.GroupsApi(api_client) + email = 'username@example.com' # str | Email of the user for retrieval try: - # Get all group mappings - api_response = api_instance.get_group_mappings() - print("The response of GroupsApi->get_group_mappings:\n") + # Get groups of a single user + api_response = api_instance.get_groups_by_user(email) + print("The response of GroupsApi->get_groups_by_user:\n") pprint(api_response) except Exception as e: - print("Exception when calling GroupsApi->get_group_mappings: %s\n" % e) + print("Exception when calling GroupsApi->get_groups_by_user: %s\n" % e) ``` ### Parameters -This endpoint does not need any parameter. + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **email** | **str**| Email of the user for retrieval | ### Return type -[**List[GroupMapping]**](GroupMapping.md) +[**List[ApiGroup]**](ApiGroup.md) ### Authorization @@ -815,14 +818,14 @@ This endpoint does not need any parameter. | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | -**404** | No group mapping found | - | +**404** | No groups found | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_group_mappings_overview** -> List[GroupMappingOverview] get_group_mappings_overview() +# **get_identity_provider_patch** +> IdentityProviderPatch get_identity_provider_patch() -Get all group mappings overview +Check user restrictions for empty Idp mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. @@ -833,7 +836,7 @@ For more information on groups please access the https://developer.ibm.com/apis/ ```python import instana_client -from instana_client.models.group_mapping_overview import GroupMappingOverview +from instana_client.models.identity_provider_patch import IdentityProviderPatch from instana_client.rest import ApiException from pprint import pprint @@ -860,12 +863,12 @@ with instana_client.ApiClient(configuration) as api_client: api_instance = instana_client.GroupsApi(api_client) try: - # Get all group mappings overview - api_response = api_instance.get_group_mappings_overview() - print("The response of GroupsApi->get_group_mappings_overview:\n") + # Check user restrictions for empty Idp mapping + api_response = api_instance.get_identity_provider_patch() + print("The response of GroupsApi->get_identity_provider_patch:\n") pprint(api_response) except Exception as e: - print("Exception when calling GroupsApi->get_group_mappings_overview: %s\n" % e) + print("Exception when calling GroupsApi->get_identity_provider_patch: %s\n" % e) ``` @@ -876,7 +879,7 @@ This endpoint does not need any parameter. ### Return type -[**List[GroupMappingOverview]**](GroupMappingOverview.md) +[**IdentityProviderPatch**](IdentityProviderPatch.md) ### Authorization @@ -892,14 +895,14 @@ This endpoint does not need any parameter. | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | -**404** | No group mapping overviews found | - | +**404** | No mapping restriction found | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_groups** -> List[ApiGroup] get_groups() +# **get_mapping** +> Mapping get_mapping(id) -Get groups +Get mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. @@ -910,7 +913,7 @@ For more information on groups please access the https://developer.ibm.com/apis/ ```python import instana_client -from instana_client.models.api_group import ApiGroup +from instana_client.models.mapping import Mapping from instana_client.rest import ApiException from pprint import pprint @@ -935,25 +938,29 @@ configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] with instana_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = instana_client.GroupsApi(api_client) + id = 'id_example' # str | try: - # Get groups - api_response = api_instance.get_groups() - print("The response of GroupsApi->get_groups:\n") + # Get mapping + api_response = api_instance.get_mapping(id) + print("The response of GroupsApi->get_mapping:\n") pprint(api_response) except Exception as e: - print("Exception when calling GroupsApi->get_groups: %s\n" % e) + print("Exception when calling GroupsApi->get_mapping: %s\n" % e) ``` ### Parameters -This endpoint does not need any parameter. + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | ### Return type -[**List[ApiGroup]**](ApiGroup.md) +[**Mapping**](Mapping.md) ### Authorization @@ -969,14 +976,14 @@ This endpoint does not need any parameter. | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | -**404** | No groups found | - | +**404** | No mapping found | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_groups_by_user** -> List[ApiGroup] get_groups_by_user(email) +# **get_mappings** +> List[Mapping] get_mappings() -Get groups of a single user +Get all mappings For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. @@ -987,7 +994,7 @@ For more information on groups please access the https://developer.ibm.com/apis/ ```python import instana_client -from instana_client.models.api_group import ApiGroup +from instana_client.models.mapping import Mapping from instana_client.rest import ApiException from pprint import pprint @@ -1012,29 +1019,25 @@ configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] with instana_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = instana_client.GroupsApi(api_client) - email = 'username@example.com' # str | Email of the user for retrieval try: - # Get groups of a single user - api_response = api_instance.get_groups_by_user(email) - print("The response of GroupsApi->get_groups_by_user:\n") + # Get all mappings + api_response = api_instance.get_mappings() + print("The response of GroupsApi->get_mappings:\n") pprint(api_response) except Exception as e: - print("Exception when calling GroupsApi->get_groups_by_user: %s\n" % e) + print("Exception when calling GroupsApi->get_mappings: %s\n" % e) ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **email** | **str**| Email of the user for retrieval | +This endpoint does not need any parameter. ### Return type -[**List[ApiGroup]**](ApiGroup.md) +[**List[Mapping]**](Mapping.md) ### Authorization @@ -1050,14 +1053,14 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | -**404** | No groups found | - | +**404** | No mapping found | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_identity_provider_patch** -> IdentityProviderPatch get_identity_provider_patch() +# **get_mappings_overview** +> List[MappingOverview] get_mappings_overview() -Check user restrictions for empty Idp group mapping +Get all mappings overview For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. @@ -1068,7 +1071,7 @@ For more information on groups please access the https://developer.ibm.com/apis/ ```python import instana_client -from instana_client.models.identity_provider_patch import IdentityProviderPatch +from instana_client.models.mapping_overview import MappingOverview from instana_client.rest import ApiException from pprint import pprint @@ -1095,12 +1098,12 @@ with instana_client.ApiClient(configuration) as api_client: api_instance = instana_client.GroupsApi(api_client) try: - # Check user restrictions for empty Idp group mapping - api_response = api_instance.get_identity_provider_patch() - print("The response of GroupsApi->get_identity_provider_patch:\n") + # Get all mappings overview + api_response = api_instance.get_mappings_overview() + print("The response of GroupsApi->get_mappings_overview:\n") pprint(api_response) except Exception as e: - print("Exception when calling GroupsApi->get_identity_provider_patch: %s\n" % e) + print("Exception when calling GroupsApi->get_mappings_overview: %s\n" % e) ``` @@ -1111,7 +1114,7 @@ This endpoint does not need any parameter. ### Return type -[**IdentityProviderPatch**](IdentityProviderPatch.md) +[**List[MappingOverview]**](MappingOverview.md) ### Authorization @@ -1127,7 +1130,90 @@ This endpoint does not need any parameter. | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | -**404** | No group mapping restriction found | - | +**404** | No group mapping overviews found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **migrate_group_to_team_and_role** +> migrate_group_to_team_and_role(id, api_group_to_team_role_migration) + +Migrate a legacy RBAC group to the Team and Role model + +Migrates a legacy RBAC group to a team preserving the access scope, assigning all non-IdP members the specified target role. IdP group mappings are automatically converted to team mappings with the migrated team and target role. This is a tenant-wide, **irreversible** operation — the original group is permanently deleted on success. +For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.api_group_to_team_role_migration import ApiGroupToTeamRoleMigration +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.GroupsApi(api_client) + id = 'aGzFe3kLp9qR' # str | The ID of the legacy RBAC group to migrate. + api_group_to_team_role_migration = {"targetRoleId":"bXt7mNpQ2wYs"} # ApiGroupToTeamRoleMigration | + + try: + # Migrate a legacy RBAC group to the Team and Role model + api_instance.migrate_group_to_team_and_role(id, api_group_to_team_role_migration) + except Exception as e: + print("Exception when calling GroupsApi->migrate_group_to_team_and_role: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| The ID of the legacy RBAC group to migrate. | + **api_group_to_team_role_migration** | [**ApiGroupToTeamRoleMigration**](ApiGroupToTeamRoleMigration.md)| | + +### Return type + +void (empty response body) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: Not defined + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Migration completed successfully. The group has been converted to a team, all eligible members have been assigned the target role, and the original group has been permanently deleted. | - | +**400** | Bad request. Possible reasons: (1) the groupId refers to a protected system group which cannot be migrated; (2) the groupId and targetRoleId refer to the same entity; (3) the targetRoleId does not refer to an existing role. | - | +**404** | No group found for the given groupId in this tenant. | - | +**500** | An unexpected error occurred. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1294,10 +1380,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **update_group_mapping** -> GroupMapping update_group_mapping(id, group_mapping) +# **update_identity_provider** +> update_identity_provider(identity_provider_patch) -Update group mapping +Allow/Restrict users with empty Idp group mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. @@ -1308,7 +1394,7 @@ For more information on groups please access the https://developer.ibm.com/apis/ ```python import instana_client -from instana_client.models.group_mapping import GroupMapping +from instana_client.models.identity_provider_patch import IdentityProviderPatch from instana_client.rest import ApiException from pprint import pprint @@ -1333,16 +1419,13 @@ configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] with instana_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = instana_client.GroupsApi(api_client) - id = 'mappingId' # str | Id of the group mapping to update - group_mapping = {"id":"mappingId","key":"roles","value":"analyst","groupId":"-3"} # GroupMapping | + identity_provider_patch = {"restrictEmptyIdpGroups":false} # IdentityProviderPatch | try: - # Update group mapping - api_response = api_instance.update_group_mapping(id, group_mapping) - print("The response of GroupsApi->update_group_mapping:\n") - pprint(api_response) + # Allow/Restrict users with empty Idp group mapping + api_instance.update_identity_provider(identity_provider_patch) except Exception as e: - print("Exception when calling GroupsApi->update_group_mapping: %s\n" % e) + print("Exception when calling GroupsApi->update_identity_provider: %s\n" % e) ``` @@ -1352,12 +1435,11 @@ with instana_client.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **id** | **str**| Id of the group mapping to update | - **group_mapping** | [**GroupMapping**](GroupMapping.md)| | + **identity_provider_patch** | [**IdentityProviderPatch**](IdentityProviderPatch.md)| | ### Return type -[**GroupMapping**](GroupMapping.md) +void (empty response body) ### Authorization @@ -1366,20 +1448,21 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**412** | An IdP must be configured before this can be changed. | - | +**422** | Invalid request body. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **update_identity_provider** -> update_identity_provider(identity_provider_patch) +# **update_mapping** +> Mapping update_mapping(id, mapping) -Allow/Restrict users with empty Idp group mapping +Update mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. @@ -1390,7 +1473,7 @@ For more information on groups please access the https://developer.ibm.com/apis/ ```python import instana_client -from instana_client.models.identity_provider_patch import IdentityProviderPatch +from instana_client.models.mapping import Mapping from instana_client.rest import ApiException from pprint import pprint @@ -1415,13 +1498,16 @@ configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] with instana_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = instana_client.GroupsApi(api_client) - identity_provider_patch = {"restrictEmptyIdpGroups":true} # IdentityProviderPatch | + id = 'mappingId' # str | Id of the mapping to update + mapping = {"id":"mappingId","key":"roles","value":"analyst","groupId":"-3","teamId":null} # Mapping | try: - # Allow/Restrict users with empty Idp group mapping - api_instance.update_identity_provider(identity_provider_patch) + # Update mapping + api_response = api_instance.update_mapping(id, mapping) + print("The response of GroupsApi->update_mapping:\n") + pprint(api_response) except Exception as e: - print("Exception when calling GroupsApi->update_identity_provider: %s\n" % e) + print("Exception when calling GroupsApi->update_mapping: %s\n" % e) ``` @@ -1431,11 +1517,12 @@ with instana_client.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **identity_provider_patch** | [**IdentityProviderPatch**](IdentityProviderPatch.md)| | + **id** | **str**| Id of the mapping to update | + **mapping** | [**Mapping**](Mapping.md)| | ### Return type -void (empty response body) +[**Mapping**](Mapping.md) ### Authorization @@ -1450,7 +1537,9 @@ void (empty response body) | Status code | Description | Response headers | |-------------|-------------|------------------| -**0** | default response | - | +**200** | OK | - | +**412** | Attempting to upsert a mapping containing a teamId - without teams being available | - | +**422** | invalid request body | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/IPFilteringApi.md b/docs/IPFilteringApi.md index 7fbe443..a0fab25 100644 --- a/docs/IPFilteringApi.md +++ b/docs/IPFilteringApi.md @@ -86,11 +86,11 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **disable_ip_filtering** -> IPFiltering disable_ip_filtering() +> IPFiltering disable_ip_filtering(body) Disable the current ip-filtering -Disable and retrieve the currently configured ip-filtering for the current tenant unit. +Disable and retrieve the currently configured ip-filtering for the current tenant unit. Request body is ignored, but required by some clients. ### Example @@ -123,10 +123,11 @@ configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] with instana_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = instana_client.IPFilteringApi(api_client) + body = {"key":null} # object | try: # Disable the current ip-filtering - api_response = api_instance.disable_ip_filtering() + api_response = api_instance.disable_ip_filtering(body) print("The response of IPFilteringApi->disable_ip_filtering:\n") pprint(api_response) except Exception as e: @@ -137,7 +138,10 @@ with instana_client.ApiClient(configuration) as api_client: ### Parameters -This endpoint does not need any parameter. + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **object**| | ### Return type @@ -149,7 +153,7 @@ This endpoint does not need any parameter. ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -323,11 +327,11 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **verify_ip_filtering** -> IPFiltering verify_ip_filtering() +> IPFiltering verify_ip_filtering(body) Verify current ip-filtering -Verify and retrieve the currently configured ip-filtering for the current tenant unit. This action is required to promote a configuration from temporary active to permanently active. This action can only be performed whilst the configuration is temporary active. +Verify and retrieve the currently configured ip-filtering for the current tenant unit. This action is required to promote a configuration from temporary active to permanently active. This action can only be performed whilst the configuration is temporary active. Request body is ignored, but required by some clients. ### Example @@ -360,10 +364,11 @@ configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] with instana_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = instana_client.IPFilteringApi(api_client) + body = {"key":null} # object | try: # Verify current ip-filtering - api_response = api_instance.verify_ip_filtering() + api_response = api_instance.verify_ip_filtering(body) print("The response of IPFilteringApi->verify_ip_filtering:\n") pprint(api_response) except Exception as e: @@ -374,7 +379,10 @@ with instana_client.ApiClient(configuration) as api_client: ### Parameters -This endpoint does not need any parameter. + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **object**| | ### Return type @@ -386,7 +394,7 @@ This endpoint does not need any parameter. ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details diff --git a/docs/IdentityProviderPatch.md b/docs/IdentityProviderPatch.md index 30d5770..4773bd5 100644 --- a/docs/IdentityProviderPatch.md +++ b/docs/IdentityProviderPatch.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**restrict_empty_idp_groups** | **bool** | | [optional] +**restrict_empty_idp_groups** | **bool** | If IdP users need to be mapped to at least one group before being allowed to access Instana. | [optional] ## Example diff --git a/docs/LoggingAnalyzeApi.md b/docs/LoggingAnalyzeApi.md index 6b6c089..0cae22d 100644 --- a/docs/LoggingAnalyzeApi.md +++ b/docs/LoggingAnalyzeApi.md @@ -4,10 +4,265 @@ All URIs are relative to *https://unit-tenant.instana.io* Method | HTTP request | Description ------------- | ------------- | ------------- +[**create_logging_perspective**](LoggingAnalyzeApi.md#create_logging_perspective) | **POST** /api/logging/perspective/v1 | Create Log Perspective +[**delete_logging_perspective**](LoggingAnalyzeApi.md#delete_logging_perspective) | **DELETE** /api/logging/perspective/v1/{perspectiveId} | Delete Log Perspective +[**get_all_logging_perspectives**](LoggingAnalyzeApi.md#get_all_logging_perspectives) | **GET** /api/logging/perspective/v1 | Get All Log Perspectives [**get_log_volume_usage**](LoggingAnalyzeApi.md#get_log_volume_usage) | **GET** /api/logging/logs/getLogVolumeUsage | Get Log Volume Usage +[**get_logging_perspective**](LoggingAnalyzeApi.md#get_logging_perspective) | **GET** /api/logging/perspective/v1/{perspectiveId} | Get Log Perspective [**get_logs**](LoggingAnalyzeApi.md#get_logs) | **POST** /api/logging/logs/getLogs/v1 | Retrieve logs via REST API +[**update_logging_perspective**](LoggingAnalyzeApi.md#update_logging_perspective) | **PUT** /api/logging/perspective/v1/{perspectiveId} | Update Log Perspective +# **create_logging_perspective** +> LoggingPerspective create_logging_perspective(logging_perspective) + +Create Log Perspective + +Creates a new log perspective for the caller's tenant unit. + +- `perspectiveId` is **not** required — the server assigns it automatically. +- `perspectiveName` must be unique. +- `filter` accepts at least 1 and at most 10 elements. The `REGEX_MATCH` operator is not supported. + + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.logging_perspective import LoggingPerspective +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.LoggingAnalyzeApi(api_client) + logging_perspective = {"perspectiveName":"Production Errors (k8s)","description":"ERROR logs scoped to the production Kubernetes namespace","filter":{"type":"EXPRESSION","logicalOperator":"AND","elements":[{"type":"TAG_FILTER","name":"log.level","operator":"EQUALS","entity":"NOT_APPLICABLE","value":"ERROR"},{"type":"TAG_FILTER","name":"kubernetes.namespace.name","operator":"EQUALS","entity":"NOT_APPLICABLE","value":"production"}]}} # LoggingPerspective | The log perspective to create. + + try: + # Create Log Perspective + api_response = api_instance.create_logging_perspective(logging_perspective) + print("The response of LoggingAnalyzeApi->create_logging_perspective:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling LoggingAnalyzeApi->create_logging_perspective: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **logging_perspective** | [**LoggingPerspective**](LoggingPerspective.md)| The log perspective to create. | + +### Return type + +[**LoggingPerspective**](LoggingPerspective.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Perspective created successfully. Returns the persisted perspective including the server-assigned `perspectiveId`. | - | +**400** | Validation failed. Possible reasons: - `perspectiveName` is missing or blank. - `perspectiveName` is `\"All logs\"` — this is a reserved name. - `filter` is missing, empty, or cannot be parsed. - The filter contains more than 10 elements. - The filter contains a `REGEX_MATCH` operator. - A perspective with the same name already exists. - The reserved ID `\"0\"` (\"All logs\") was provided. | - | +**403** | Possible reasons: - Insufficient permissions to configure log perspectives. - The tenant unit has reached its maximum number of allowed perspectives. | - | +**404** | Tenant unit not found. | - | +**500** | Internal server error. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_logging_perspective** +> delete_logging_perspective(perspective_id) + +Delete Log Perspective + +Deletes an existing log perspective by its ID. + +The reserved **"All logs"** perspective (id=`"0"`) cannot be deleted. + + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.LoggingAnalyzeApi(api_client) + perspective_id = 'perspective_id_example' # str | + + try: + # Delete Log Perspective + api_instance.delete_logging_perspective(perspective_id) + except Exception as e: + print("Exception when calling LoggingAnalyzeApi->delete_logging_perspective: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **perspective_id** | **str**| | + +### Return type + +void (empty response body) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | Perspective deleted successfully. | - | +**400** | Attempted to delete the reserved perspective \"0\" (\"All logs\"). | - | +**403** | Insufficient permissions to delete this perspective. | - | +**404** | Tenant unit not found. | - | +**500** | Internal server error. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_all_logging_perspectives** +> List[LoggingPerspective] get_all_logging_perspectives() + +Get All Log Perspectives + +Returns all log perspectives that belong to the authenticated caller's tenant unit. + + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.logging_perspective import LoggingPerspective +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.LoggingAnalyzeApi(api_client) + + try: + # Get All Log Perspectives + api_response = api_instance.get_all_logging_perspectives() + print("The response of LoggingAnalyzeApi->get_all_logging_perspectives:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling LoggingAnalyzeApi->get_all_logging_perspectives: %s\n" % e) +``` + + + +### Parameters + +This endpoint does not need any parameter. + +### Return type + +[**List[LoggingPerspective]**](LoggingPerspective.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successfully retrieved all log perspectives for the tenant unit. | - | +**403** | Insufficient permissions to view logs. | - | +**404** | Tenant unit not found. | - | +**500** | Internal server error. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_log_volume_usage** > LogVolumeUsageResult get_log_volume_usage(from_ts, to_ts, grouping_tag=grouping_tag) @@ -51,7 +306,7 @@ with instana_client.ApiClient(configuration) as api_client: api_instance = instana_client.LoggingAnalyzeApi(api_client) from_ts = 1682899200 # int | Start timestamp in seconds. Must be <= `toTs`. to_ts = 1682899201 # int | End timestamp in seconds. Must be >= `fromTs`. - grouping_tag = 'zone' # str | Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`. (optional) + grouping_tag = 'zone' # str | Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`, `perspective_id`. (optional) try: # Get Log Volume Usage @@ -71,7 +326,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **from_ts** | **int**| Start timestamp in seconds. Must be <= `toTs`. | **to_ts** | **int**| End timestamp in seconds. Must be >= `fromTs`. | - **grouping_tag** | **str**| Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`. | [optional] + **grouping_tag** | **str**| Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`, `perspective_id`. | [optional] ### Return type @@ -96,6 +351,89 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_logging_perspective** +> LoggingPerspective get_logging_perspective(perspective_id) + +Get Log Perspective + +Retrieves a single log perspective by its ID. + + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.logging_perspective import LoggingPerspective +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.LoggingAnalyzeApi(api_client) + perspective_id = 'perspective_id_example' # str | + + try: + # Get Log Perspective + api_response = api_instance.get_logging_perspective(perspective_id) + print("The response of LoggingAnalyzeApi->get_logging_perspective:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling LoggingAnalyzeApi->get_logging_perspective: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **perspective_id** | **str**| | + +### Return type + +[**LoggingPerspective**](LoggingPerspective.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successfully retrieved the log perspective. | - | +**403** | Insufficient permissions to view this perspective. | - | +**404** | Logging perspective not found or tenant unit not found. | - | +**500** | Internal server error. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_logs** > LogsApiResponse get_logs(logs_query) @@ -300,3 +638,98 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **update_logging_perspective** +> LoggingPerspective update_logging_perspective(perspective_id, logging_perspective) + +Update Log Perspective + +Replaces an existing log perspective with the provided values. + +**Updatable fields:** +- `perspectiveName` — new display name; must be unique within the tenant unit. +- `description` — free-text description shown in the UI. Set to `null` to clear. +- `filter` — accepts at most 10 elements; the `REGEX_MATCH` operator is not supported. + +**Rules:** +- `perspectiveId` in the request body must match the `{perspectiveId}` path parameter. +- The reserved perspective `"0"` ("All logs") cannot be updated. + + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.logging_perspective import LoggingPerspective +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.LoggingAnalyzeApi(api_client) + perspective_id = 'perspective_id_example' # str | + logging_perspective = {"perspectiveId":"RuuEJgfYQ3qF_Ma9IcEV4g","perspectiveName":"Production Errors (Updated)","description":"ERROR-level logs scoped to the production Kubernetes namespace","filter":{"type":"EXPRESSION","logicalOperator":"AND","elements":[{"type":"TAG_FILTER","name":"log.level","operator":"EQUALS","entity":"NOT_APPLICABLE","value":"ERROR"},{"type":"TAG_FILTER","name":"kubernetes.namespace.name","operator":"EQUALS","entity":"NOT_APPLICABLE","value":"production"}]}} # LoggingPerspective | Full log perspective object. `perspectiveId` must be present and match the path parameter. + + try: + # Update Log Perspective + api_response = api_instance.update_logging_perspective(perspective_id, logging_perspective) + print("The response of LoggingAnalyzeApi->update_logging_perspective:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling LoggingAnalyzeApi->update_logging_perspective: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **perspective_id** | **str**| | + **logging_perspective** | [**LoggingPerspective**](LoggingPerspective.md)| Full log perspective object. `perspectiveId` must be present and match the path parameter. | + +### Return type + +[**LoggingPerspective**](LoggingPerspective.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Perspective updated successfully. Returns the persisted perspective. | - | +**400** | Validation failed. Possible reasons: - `perspectiveId` in the body does not match the path parameter. - `perspectiveName` is missing or blank. - `perspectiveName` is `\"All logs\"` — this is a reserved name. - `filter` is missing, empty, or cannot be parsed. - The filter contains more than 10 elements. - The filter contains a `REGEX_MATCH` operator. - A different perspective with the same name already exists in this tenant unit. - Attempted to update the reserved perspective `\"0\"` (\"All logs\"). | - | +**403** | Insufficient permissions to update this perspective. | - | +**404** | Perspective not found or tenant unit not found. | - | +**500** | Internal server error. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/LoggingPerspective.md b/docs/LoggingPerspective.md new file mode 100644 index 0000000..5fa3fc3 --- /dev/null +++ b/docs/LoggingPerspective.md @@ -0,0 +1,33 @@ +# LoggingPerspective + +A filtered view of logs defined by a tag filter expression. Referred to as a Log Perspective in the UI. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**description** | **str** | Optional free-text description shown in the UI. Set to null to clear. | [optional] +**filter** | [**TagFilterExpressionElement**](TagFilterExpressionElement.md) | | +**perspective_id** | **str** | Server-assigned unique identifier. Omit on create (POST). Must match the path parameter on update (PUT). | [optional] +**perspective_name** | **str** | Display name of the perspective. Must be unique. `Required`. | + +## Example + +```python +from instana_client.models.logging_perspective import LoggingPerspective + +# TODO update the JSON string below +json = "{}" +# create an instance of LoggingPerspective from a JSON string +logging_perspective_instance = LoggingPerspective.from_json(json) +# print the JSON string representation of the object +print(LoggingPerspective.to_json()) + +# convert the object into a dict +logging_perspective_dict = logging_perspective_instance.to_dict() +# create an instance of LoggingPerspective from a dict +logging_perspective_from_dict = LoggingPerspective.from_dict(logging_perspective_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Mapping.md b/docs/Mapping.md new file mode 100644 index 0000000..178663e --- /dev/null +++ b/docs/Mapping.md @@ -0,0 +1,33 @@ +# Mapping + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**group_id** | **str** | ID of role or group to be assigned if the mapping is matched. | +**id** | **str** | ID of the current mapping. | [optional] +**key** | **str** | Key (in the IdPs \"user-profile\" to be checked for mapping. | +**team_id** | **str** | Optional, ID of team, to which the role assignment is scoped. If absent mapping is unit scoped. | [optional] +**value** | **str** | Value (of the key in the IdPs \"user-profile\" to be compared for mapping. | + +## Example + +```python +from instana_client.models.mapping import Mapping + +# TODO update the JSON string below +json = "{}" +# create an instance of Mapping from a JSON string +mapping_instance = Mapping.from_json(json) +# print the JSON string representation of the object +print(Mapping.to_json()) + +# convert the object into a dict +mapping_dict = mapping_instance.to_dict() +# create an instance of Mapping from a dict +mapping_from_dict = Mapping.from_dict(mapping_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/MappingOverview.md b/docs/MappingOverview.md new file mode 100644 index 0000000..69b509c --- /dev/null +++ b/docs/MappingOverview.md @@ -0,0 +1,33 @@ +# MappingOverview + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | ID of the current mapping. | [optional] +**key** | **str** | Key (in the IdPs \"user-profile\" to be checked for mapping. | [optional] +**role** | **str** | Name of role or group to be assigned if the mapping is matched. | [optional] +**team** | **str** | Optional, Name of team, to which the role assignment is scoped. If absent mapping is unit scoped. | [optional] +**value** | **str** | Value (of the key in the IdPs \"user-profile\" to be compared for mapping. | [optional] + +## Example + +```python +from instana_client.models.mapping_overview import MappingOverview + +# TODO update the JSON string below +json = "{}" +# create an instance of MappingOverview from a JSON string +mapping_overview_instance = MappingOverview.from_json(json) +# print the JSON string representation of the object +print(MappingOverview.to_json()) + +# convert the object into a dict +mapping_overview_dict = mapping_overview_instance.to_dict() +# create an instance of MappingOverview from a dict +mapping_overview_from_dict = MappingOverview.from_dict(mapping_overview_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/RolesApi.md b/docs/RolesApi.md index 38d5b12..434f562 100644 --- a/docs/RolesApi.md +++ b/docs/RolesApi.md @@ -4,14 +4,103 @@ All URIs are relative to *https://unit-tenant.instana.io* Method | HTTP request | Description ------------- | ------------- | ------------- +[**create_mapping**](RolesApi.md#create_mapping) | **POST** /api/settings/rbac/mappings | Create mapping [**create_role**](RolesApi.md#create_role) | **POST** /api/settings/rbac/roles | Create role +[**delete_mapping**](RolesApi.md#delete_mapping) | **DELETE** /api/settings/rbac/mappings/{id} | Delete mapping [**delete_role**](RolesApi.md#delete_role) | **DELETE** /api/settings/rbac/roles/{id} | Delete role +[**get_identity_provider_patch**](RolesApi.md#get_identity_provider_patch) | **GET** /api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups | Check user restrictions for empty Idp mapping +[**get_mapping**](RolesApi.md#get_mapping) | **GET** /api/settings/rbac/mappings/{id} | Get mapping +[**get_mappings**](RolesApi.md#get_mappings) | **GET** /api/settings/rbac/mappings | Get all mappings +[**get_mappings_overview**](RolesApi.md#get_mappings_overview) | **GET** /api/settings/rbac/mappings/overview | Get all mappings overview [**get_role**](RolesApi.md#get_role) | **GET** /api/settings/rbac/roles/{id} | Get role by ID [**get_role_mappings**](RolesApi.md#get_role_mappings) | **GET** /api/settings/rbac/roles/{roleId}/mappings | Get role mappings [**get_roles**](RolesApi.md#get_roles) | **GET** /api/settings/rbac/roles | Get all roles +[**update_mapping**](RolesApi.md#update_mapping) | **PUT** /api/settings/rbac/mappings/{id} | Update mapping [**update_role**](RolesApi.md#update_role) | **PUT** /api/settings/rbac/roles/{id} | Update role +# **create_mapping** +> Mapping create_mapping(mapping) + +Create mapping + + +For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.mapping import Mapping +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.RolesApi(api_client) + mapping = {"id":"mappingId","key":"roles","value":"analyst","groupId":"-3","teamId":null} # Mapping | + + try: + # Create mapping + api_response = api_instance.create_mapping(mapping) + print("The response of RolesApi->create_mapping:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling RolesApi->create_mapping: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **mapping** | [**Mapping**](Mapping.md)| | + +### Return type + +[**Mapping**](Mapping.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**412** | Attempting to upsert a mapping containing a teamId - without teams being available | - | +**422** | invalid request body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **create_role** > ApiRole create_role(api_create_role) @@ -93,6 +182,83 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **delete_mapping** +> delete_mapping(id) + +Delete mapping + + +For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.RolesApi(api_client) + id = 'mappingId' # str | Id of the mapping to delete + + try: + # Delete mapping + api_instance.delete_mapping(id) + except Exception as e: + print("Exception when calling RolesApi->delete_mapping: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| Id of the mapping to delete | + +### Return type + +void (empty response body) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**0** | default response | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **delete_role** > delete_role(id) @@ -171,6 +337,318 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_identity_provider_patch** +> IdentityProviderPatch get_identity_provider_patch() + +Check user restrictions for empty Idp mapping + + +For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.identity_provider_patch import IdentityProviderPatch +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.RolesApi(api_client) + + try: + # Check user restrictions for empty Idp mapping + api_response = api_instance.get_identity_provider_patch() + print("The response of RolesApi->get_identity_provider_patch:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling RolesApi->get_identity_provider_patch: %s\n" % e) +``` + + + +### Parameters + +This endpoint does not need any parameter. + +### Return type + +[**IdentityProviderPatch**](IdentityProviderPatch.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**404** | No mapping restriction found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_mapping** +> Mapping get_mapping(id) + +Get mapping + + +For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.mapping import Mapping +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.RolesApi(api_client) + id = 'id_example' # str | + + try: + # Get mapping + api_response = api_instance.get_mapping(id) + print("The response of RolesApi->get_mapping:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling RolesApi->get_mapping: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + +### Return type + +[**Mapping**](Mapping.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**404** | No mapping found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_mappings** +> List[Mapping] get_mappings() + +Get all mappings + + +For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.mapping import Mapping +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.RolesApi(api_client) + + try: + # Get all mappings + api_response = api_instance.get_mappings() + print("The response of RolesApi->get_mappings:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling RolesApi->get_mappings: %s\n" % e) +``` + + + +### Parameters + +This endpoint does not need any parameter. + +### Return type + +[**List[Mapping]**](Mapping.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**404** | No mapping found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_mappings_overview** +> List[MappingOverview] get_mappings_overview() + +Get all mappings overview + + +For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.mapping_overview import MappingOverview +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.RolesApi(api_client) + + try: + # Get all mappings overview + api_response = api_instance.get_mappings_overview() + print("The response of RolesApi->get_mappings_overview:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling RolesApi->get_mappings_overview: %s\n" % e) +``` + + + +### Parameters + +This endpoint does not need any parameter. + +### Return type + +[**List[MappingOverview]**](MappingOverview.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**404** | No group mapping overviews found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_role** > ApiRole get_role(id, include_team_usage=include_team_usage) @@ -409,6 +887,90 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **update_mapping** +> Mapping update_mapping(id, mapping) + +Update mapping + + +For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.mapping import Mapping +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.RolesApi(api_client) + id = 'mappingId' # str | Id of the mapping to update + mapping = {"id":"mappingId","key":"roles","value":"analyst","groupId":"-3","teamId":null} # Mapping | + + try: + # Update mapping + api_response = api_instance.update_mapping(id, mapping) + print("The response of RolesApi->update_mapping:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling RolesApi->update_mapping: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| Id of the mapping to update | + **mapping** | [**Mapping**](Mapping.md)| | + +### Return type + +[**Mapping**](Mapping.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**412** | Attempting to upsert a mapping containing a teamId - without teams being available | - | +**422** | invalid request body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **update_role** > ApiRole update_role(id, api_role) diff --git a/docs/SLOConfigurationsApi.md b/docs/SLOConfigurationsApi.md index 907f3f7..9013579 100644 --- a/docs/SLOConfigurationsApi.md +++ b/docs/SLOConfigurationsApi.md @@ -9,6 +9,7 @@ Method | HTTP request | Description [**get_all_slo_config_tags**](SLOConfigurationsApi.md#get_all_slo_config_tags) | **GET** /api/settings/slo/tags | Get All SLO Config tags [**get_all_slo_configs**](SLOConfigurationsApi.md#get_all_slo_configs) | **GET** /api/settings/slo | Get All SLO Configs [**get_slo_config_by_id**](SLOConfigurationsApi.md#get_slo_config_by_id) | **GET** /api/settings/slo/{id} | Get an existing SLO Config +[**get_slo_health_snapshot**](SLOConfigurationsApi.md#get_slo_health_snapshot) | **GET** /api/settings/slo/health-snapshot | Get SLO Health Snapshot [**update_slo_config**](SLOConfigurationsApi.md#update_slo_config) | **PUT** /api/settings/slo/{id} | Update an existing SLO Config @@ -245,7 +246,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_all_slo_configs** -> PaginatedResult get_all_slo_configs(page_size=page_size, page=page, order_by=order_by, order_direction=order_direction, query=query, tag=tag, entity_type=entity_type, infra_entity_types=infra_entity_types, kubernetes_cluster_uuid=kubernetes_cluster_uuid, blueprint=blueprint, slo_ids=slo_ids, slo_status=slo_status, entity_ids=entity_ids, grouped=grouped, refresh=refresh, rbac_tags=rbac_tags) +> PaginatedResult get_all_slo_configs(page_size=page_size, page=page, order_by=order_by, order_direction=order_direction, query=query, tag=tag, entity_type=entity_type, infra_entity_types=infra_entity_types, kubernetes_cluster_uuid=kubernetes_cluster_uuid, blueprint=blueprint, slo_ids=slo_ids, slo_status=slo_status, slo_health_state=slo_health_state, entity_ids=entity_ids, grouped=grouped, refresh=refresh, rbac_tags=rbac_tags) Get All SLO Configs @@ -292,6 +293,7 @@ with instana_client.ApiClient(configuration) as api_client: blueprint = ['latency'] # List[str] | (optional) slo_ids = ['SLOdCTspkHlS_OzNOATQWgsuw'] # List[str] | (optional) slo_status = 'green' # str | (optional) + slo_health_state = 'HEALTHY' # str | (optional) entity_ids = ['adsewby312sdfd1'] # List[str] | (optional) grouped = false # bool | (optional) refresh = false # bool | (optional) @@ -299,7 +301,7 @@ with instana_client.ApiClient(configuration) as api_client: try: # Get All SLO Configs - api_response = api_instance.get_all_slo_configs(page_size=page_size, page=page, order_by=order_by, order_direction=order_direction, query=query, tag=tag, entity_type=entity_type, infra_entity_types=infra_entity_types, kubernetes_cluster_uuid=kubernetes_cluster_uuid, blueprint=blueprint, slo_ids=slo_ids, slo_status=slo_status, entity_ids=entity_ids, grouped=grouped, refresh=refresh, rbac_tags=rbac_tags) + api_response = api_instance.get_all_slo_configs(page_size=page_size, page=page, order_by=order_by, order_direction=order_direction, query=query, tag=tag, entity_type=entity_type, infra_entity_types=infra_entity_types, kubernetes_cluster_uuid=kubernetes_cluster_uuid, blueprint=blueprint, slo_ids=slo_ids, slo_status=slo_status, slo_health_state=slo_health_state, entity_ids=entity_ids, grouped=grouped, refresh=refresh, rbac_tags=rbac_tags) print("The response of SLOConfigurationsApi->get_all_slo_configs:\n") pprint(api_response) except Exception as e: @@ -325,6 +327,7 @@ Name | Type | Description | Notes **blueprint** | [**List[str]**](str.md)| | [optional] **slo_ids** | [**List[str]**](str.md)| | [optional] **slo_status** | **str**| | [optional] + **slo_health_state** | **str**| | [optional] **entity_ids** | [**List[str]**](str.md)| | [optional] **grouped** | **bool**| | [optional] **refresh** | **bool**| | [optional] @@ -431,6 +434,96 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_slo_health_snapshot** +> SloHealthSnapshot get_slo_health_snapshot(query=query, tag=tag, entity_type=entity_type, blueprint=blueprint, slo_health_state=slo_health_state, slo_ids=slo_ids, rbac_tags=rbac_tags) + +Get SLO Health Snapshot + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.slo_health_snapshot import SloHealthSnapshot +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.SLOConfigurationsApi(api_client) + query = 'checkout' # str | (optional) + tag = ['team:payments'] # List[str] | (optional) + entity_type = ['application'] # List[str] | (optional) + blueprint = ['latency'] # List[str] | (optional) + slo_health_state = 'AT_RISK' # str | (optional) + slo_ids = ['SLOdCTspkHlS_OzNOATQWgsuw'] # List[str] | (optional) + rbac_tags = ['team:payments'] # List[str] | (optional) + + try: + # Get SLO Health Snapshot + api_response = api_instance.get_slo_health_snapshot(query=query, tag=tag, entity_type=entity_type, blueprint=blueprint, slo_health_state=slo_health_state, slo_ids=slo_ids, rbac_tags=rbac_tags) + print("The response of SLOConfigurationsApi->get_slo_health_snapshot:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling SLOConfigurationsApi->get_slo_health_snapshot: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **query** | **str**| | [optional] + **tag** | [**List[str]**](str.md)| | [optional] + **entity_type** | [**List[str]**](str.md)| | [optional] + **blueprint** | [**List[str]**](str.md)| | [optional] + **slo_health_state** | **str**| | [optional] + **slo_ids** | [**List[str]**](str.md)| | [optional] + **rbac_tags** | [**List[str]**](str.md)| | [optional] + +### Return type + +[**SloHealthSnapshot**](SloHealthSnapshot.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Health snapshot for all matching SLOs | - | +**503** | Health metrics temporarily unavailable | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **update_slo_config** > SLOConfigWithRBACTag update_slo_config(id, slo_config_with_rbac_tag) diff --git a/docs/SloHealthSnapshot.md b/docs/SloHealthSnapshot.md new file mode 100644 index 0000000..d825d42 --- /dev/null +++ b/docs/SloHealthSnapshot.md @@ -0,0 +1,31 @@ +# SloHealthSnapshot + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**items** | [**List[SloHealthSnapshotItem]**](SloHealthSnapshotItem.md) | | [optional] +**state_counts** | **Dict[str, int]** | | [optional] +**total_count** | **int** | | [optional] + +## Example + +```python +from instana_client.models.slo_health_snapshot import SloHealthSnapshot + +# TODO update the JSON string below +json = "{}" +# create an instance of SloHealthSnapshot from a JSON string +slo_health_snapshot_instance = SloHealthSnapshot.from_json(json) +# print the JSON string representation of the object +print(SloHealthSnapshot.to_json()) + +# convert the object into a dict +slo_health_snapshot_dict = slo_health_snapshot_instance.to_dict() +# create an instance of SloHealthSnapshot from a dict +slo_health_snapshot_from_dict = SloHealthSnapshot.from_dict(slo_health_snapshot_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SloHealthSnapshotItem.md b/docs/SloHealthSnapshotItem.md new file mode 100644 index 0000000..8d9f8d1 --- /dev/null +++ b/docs/SloHealthSnapshotItem.md @@ -0,0 +1,41 @@ +# SloHealthSnapshotItem + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**blueprint** | **str** | | [optional] +**entity_type** | **str** | | [optional] +**health_score** | **int** | | [optional] +**health_state** | **str** | | [optional] +**id** | **str** | | [optional] +**name** | **str** | | [optional] +**primary_reason** | **str** | | [optional] +**tags** | **List[str]** | | [optional] +**target** | **float** | | [optional] +**trend** | **str** | | [optional] +**window_duration** | **int** | | [optional] +**window_duration_unit** | **str** | | [optional] +**window_type** | **str** | | [optional] + +## Example + +```python +from instana_client.models.slo_health_snapshot_item import SloHealthSnapshotItem + +# TODO update the JSON string below +json = "{}" +# create an instance of SloHealthSnapshotItem from a JSON string +slo_health_snapshot_item_instance = SloHealthSnapshotItem.from_json(json) +# print the JSON string representation of the object +print(SloHealthSnapshotItem.to_json()) + +# convert the object into a dict +slo_health_snapshot_item_dict = slo_health_snapshot_item_instance.to_dict() +# create an instance of SloHealthSnapshotItem from a dict +slo_health_snapshot_item_from_dict = SloHealthSnapshotItem.from_dict(slo_health_snapshot_item_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SloReport.md b/docs/SloReport.md index e9d5040..be28891 100644 --- a/docs/SloReport.md +++ b/docs/SloReport.md @@ -13,6 +13,10 @@ Name | Type | Description | Notes **error_burn_rate_chart** | **Dict[str, int]** | Budget Rate value of SLO configuration in different timestamps from starting to ending point | [optional] **error_chart** | **Dict[str, int]** | Value indicating presence of bad minutes/events of SLO configuration in different timestamps from starting to ending point | [optional] **from_timestamp** | **int** | Starting point of the data retrieval, specified as 13 digit Unix Timestamp milliseconds | [optional] +**health_score** | **int** | Health score of the SLO (0–100), null when state is INSUFFICIENT_DATA or NOT_EVALUATED | [optional] +**health_score_primary_reason** | **str** | Primary reason code driving the current health state | [optional] +**health_score_trend** | **str** | Burn rate trend direction (IMPROVING, CONSTANT, DEGRADING, UNKNOWN) | [optional] +**health_state** | **str** | Health state of the SLO (HEALTHY, AT_RISK, BREACHED, INSUFFICIENT_DATA, NOT_EVALUATED) | [optional] **sli** | **float** | Latest Status value of SLO Configuration | [optional] **slo** | **float** | Target status of SLO Configuration | [optional] **to_timestamp** | **int** | Ending point of the data retrieval, specified as 13 digit Unix Timestamp milliseconds | [optional] diff --git a/docs/TeamsApi.md b/docs/TeamsApi.md index 1688752..54d89d8 100644 --- a/docs/TeamsApi.md +++ b/docs/TeamsApi.md @@ -4,14 +4,103 @@ All URIs are relative to *https://unit-tenant.instana.io* Method | HTTP request | Description ------------- | ------------- | ------------- +[**create_mapping**](TeamsApi.md#create_mapping) | **POST** /api/settings/rbac/mappings | Create mapping [**create_team**](TeamsApi.md#create_team) | **POST** /api/settings/rbac/teams | Create team +[**delete_mapping**](TeamsApi.md#delete_mapping) | **DELETE** /api/settings/rbac/mappings/{id} | Delete mapping [**delete_team**](TeamsApi.md#delete_team) | **DELETE** /api/settings/rbac/teams/{id} | Delete team +[**get_identity_provider_patch**](TeamsApi.md#get_identity_provider_patch) | **GET** /api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups | Check user restrictions for empty Idp mapping +[**get_mapping**](TeamsApi.md#get_mapping) | **GET** /api/settings/rbac/mappings/{id} | Get mapping +[**get_mappings**](TeamsApi.md#get_mappings) | **GET** /api/settings/rbac/mappings | Get all mappings +[**get_mappings_overview**](TeamsApi.md#get_mappings_overview) | **GET** /api/settings/rbac/mappings/overview | Get all mappings overview [**get_team**](TeamsApi.md#get_team) | **GET** /api/settings/rbac/teams/{id} | Get team by ID [**get_team_role_mappings**](TeamsApi.md#get_team_role_mappings) | **GET** /api/settings/rbac/teams/{teamId}/mappings | Get team role mappings [**get_teams**](TeamsApi.md#get_teams) | **GET** /api/settings/rbac/teams | Get all teams +[**update_mapping**](TeamsApi.md#update_mapping) | **PUT** /api/settings/rbac/mappings/{id} | Update mapping [**update_team**](TeamsApi.md#update_team) | **PUT** /api/settings/rbac/teams/{id} | Update team +# **create_mapping** +> Mapping create_mapping(mapping) + +Create mapping + + +For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.mapping import Mapping +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.TeamsApi(api_client) + mapping = {"id":"mappingId","key":"roles","value":"analyst","groupId":"-3","teamId":null} # Mapping | + + try: + # Create mapping + api_response = api_instance.create_mapping(mapping) + print("The response of TeamsApi->create_mapping:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TeamsApi->create_mapping: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **mapping** | [**Mapping**](Mapping.md)| | + +### Return type + +[**Mapping**](Mapping.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**412** | Attempting to upsert a mapping containing a teamId - without teams being available | - | +**422** | invalid request body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **create_team** > create_team(api_team) @@ -89,6 +178,83 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **delete_mapping** +> delete_mapping(id) + +Delete mapping + + +For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.TeamsApi(api_client) + id = 'mappingId' # str | Id of the mapping to delete + + try: + # Delete mapping + api_instance.delete_mapping(id) + except Exception as e: + print("Exception when calling TeamsApi->delete_mapping: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| Id of the mapping to delete | + +### Return type + +void (empty response body) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**0** | default response | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **delete_team** > delete_team(id) @@ -165,6 +331,318 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_identity_provider_patch** +> IdentityProviderPatch get_identity_provider_patch() + +Check user restrictions for empty Idp mapping + + +For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.identity_provider_patch import IdentityProviderPatch +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.TeamsApi(api_client) + + try: + # Check user restrictions for empty Idp mapping + api_response = api_instance.get_identity_provider_patch() + print("The response of TeamsApi->get_identity_provider_patch:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TeamsApi->get_identity_provider_patch: %s\n" % e) +``` + + + +### Parameters + +This endpoint does not need any parameter. + +### Return type + +[**IdentityProviderPatch**](IdentityProviderPatch.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**404** | No mapping restriction found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_mapping** +> Mapping get_mapping(id) + +Get mapping + + +For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.mapping import Mapping +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.TeamsApi(api_client) + id = 'id_example' # str | + + try: + # Get mapping + api_response = api_instance.get_mapping(id) + print("The response of TeamsApi->get_mapping:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TeamsApi->get_mapping: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + +### Return type + +[**Mapping**](Mapping.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**404** | No mapping found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_mappings** +> List[Mapping] get_mappings() + +Get all mappings + + +For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.mapping import Mapping +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.TeamsApi(api_client) + + try: + # Get all mappings + api_response = api_instance.get_mappings() + print("The response of TeamsApi->get_mappings:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TeamsApi->get_mappings: %s\n" % e) +``` + + + +### Parameters + +This endpoint does not need any parameter. + +### Return type + +[**List[Mapping]**](Mapping.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**404** | No mapping found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_mappings_overview** +> List[MappingOverview] get_mappings_overview() + +Get all mappings overview + + +For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.mapping_overview import MappingOverview +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.TeamsApi(api_client) + + try: + # Get all mappings overview + api_response = api_instance.get_mappings_overview() + print("The response of TeamsApi->get_mappings_overview:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TeamsApi->get_mappings_overview: %s\n" % e) +``` + + + +### Parameters + +This endpoint does not need any parameter. + +### Return type + +[**List[MappingOverview]**](MappingOverview.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**404** | No group mapping overviews found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_team** > ApiTeam get_team(id, include_team_usage=include_team_usage) @@ -403,6 +881,90 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **update_mapping** +> Mapping update_mapping(id, mapping) + +Update mapping + + +For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.mapping import Mapping +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.TeamsApi(api_client) + id = 'mappingId' # str | Id of the mapping to update + mapping = {"id":"mappingId","key":"roles","value":"analyst","groupId":"-3","teamId":null} # Mapping | + + try: + # Update mapping + api_response = api_instance.update_mapping(id, mapping) + print("The response of TeamsApi->update_mapping:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TeamsApi->update_mapping: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| Id of the mapping to update | + **mapping** | [**Mapping**](Mapping.md)| | + +### Return type + +[**Mapping**](Mapping.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**412** | Attempting to upsert a mapping containing a teamId - without teams being available | - | +**422** | invalid request body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **update_team** > update_team(id, api_team) diff --git a/docs/TestCommonProperties.md b/docs/TestCommonProperties.md index 92bd16d..36fe6a2 100644 --- a/docs/TestCommonProperties.md +++ b/docs/TestCommonProperties.md @@ -22,6 +22,7 @@ Name | Type | Description | Notes **mobile_application_ids** | **List[str]** | | [optional] **mobile_application_labels** | **List[str]** | | [optional] **modified_at** | **int** | | [optional] +**profiles** | **List[str]** | | [optional] **rbac_tags** | [**List[ApiTag]**](ApiTag.md) | | [optional] **service_id** | **str** | | [optional] **type** | **str** | | diff --git a/docs/WebsiteMonitoringBeacon.md b/docs/WebsiteMonitoringBeacon.md index 51937cc..76ac6d0 100644 --- a/docs/WebsiteMonitoringBeacon.md +++ b/docs/WebsiteMonitoringBeacon.md @@ -87,6 +87,7 @@ Name | Type | Description | Notes **resource_type** | **str** | | [optional] **response_time** | **int** | | [optional] **session_id** | **str** | | [optional] +**session_replay_status** | **int** | | [optional] **snippet_version** | **str** | | [optional] **ssl_time** | **int** | | [optional] **stack_trace** | **str** | | [optional] diff --git a/docs/openapi-issues/filters.md b/docs/openapi-issues/filters.md new file mode 100644 index 0000000..062b06a --- /dev/null +++ b/docs/openapi-issues/filters.md @@ -0,0 +1,112 @@ +# OpenAPI Issue Note: Filters API + +**Spec file:** `openapi.yaml` (OpenAPI 3.0.1, spec version 1.328.1128) +**Related generated code:** `instana_client/api/default_api.py` +**Part of:** Problem 2, "Multiple API operations are poorly documented" +**Status:** Analysis only. No spec or SDK files were changed. + +## 1. Affected operations + +| Method | Path | operationId | Spec location | +|---|---|---|---| +| GET | `/api/filters` | `get` | `openapi.yaml` line 12856 | +| POST | `/api/filters` | `post` | `openapi.yaml` line 12864 | +| PUT | `/api/filters/{id}` | `put` | `openapi.yaml` line 12887 | +| DELETE | `/api/filters/{id}` | `delete` | `openapi.yaml` line 12873 | + +## 2. What the spec contains today + +Each of the four operations is defined only like this: + +```yaml +/api/filters: + get: + operationId: get + responses: + default: + content: + application/json: {} + description: default response +``` + +The `{id}` operations also have one path parameter, `id`, typed as a string and with no description. + +The following are not defined for any of the four operations: + +- summary +- description +- tags +- `security` +- `requestBody` (POST and PUT) +- success response (200, 201 or 204) and its schema +- error responses (400, 401, 403, 404) +- examples +- a description for the `id` parameter + +There is also no global `security` in the spec, so nothing supplies a default. + +## 3. Impact on the generated Python SDK + +These points come from reading the generated code in `instana_client/api/default_api.py`. I did not run the calls against a live server. + +### 3.1 Credentials are not sent +The spec has no `security` block on these operations, so the generator emits an empty auth list for every one of them: + +```python +_auth_settings: List[str] = [ +] +``` + +For example, `DELETE /api/filters/{id}` at `default_api.py` line 277 and `GET /api/filters` at line 1031. The `Authorization: apikey ...` header is therefore not attached, even when an API token is configured. If the server requires authentication, the calls would be rejected with 401. A caller has to work around this per call with `_request_auth` or `_headers`. + +### 3.2 Filters cannot be created or updated +`POST /api/filters` and `PUT /api/filters/{id}` have no `requestBody`. The generated `post()` method takes no body argument, and `put()` takes only `id`. The SDK has no normal way to send a filter definition. + +### 3.3 Nothing can be read back +The `default` response has an empty content object and no schema, so the response type map is empty (`_response_types_map = {}`) and every method is typed `-> None`. This means: + +- `get()` returns no list of filters. +- `post()` and `put()` return no created or updated filter. + +### 3.4 Method names are unusable +The generic operation IDs `get`, `post`, `put` and `delete` put these methods in `DefaultApi`, next to `get1`, `get2`, `get3` and `put1`, which belong to unrelated endpoints (license, terms of service, user settings). The numeric suffixes depend on the order of operations in the spec, so they can change between spec versions and silently break callers. + +### 3.5 No error contract +No 400, 401, 403 or 404 is documented, so a client cannot tell a missing filter from a permission problem or an invalid payload. + +## 4. Required changes + +| # | Change | Depends on | +|---|---|---| +| 1 | Add `security: [{ApiKeyAuth: []}]` to all four operations | Backend team confirms which permission guards filters | +| 2 | Add a tag such as `Filters`, which moves the operations out of `DefaultApi` | None | +| 3 | Replace the generic operation IDs with unique, meaningful ones, for example `getFilters`, `createFilter`, `updateFilter`, `deleteFilter` | None. Note that this renames SDK methods and is a breaking change for callers. | +| 4 | Add a summary and description for each operation | Backend or documentation team | +| 5 | Define a `Filter` schema and add it as the `requestBody` of POST and PUT | Backend team supplies the real filter shape | +| 6 | Add typed success responses: 200 with an array of `Filter` for GET, 200 or 201 with `Filter` for POST and PUT, and 204 or 200 for DELETE | Backend team confirms the status codes | +| 7 | Add 400, 401, 403 and 404 responses, referencing a shared error schema | Backend team defines the error shape | +| 8 | Describe the `id` path parameter and add examples for it and for each request and response body | Documentation team | + +Items 1 to 4 and 7 are structural and don't depend on the filter schema, so they can be done first. + +## 5. Open questions + +1. What does a filter look like? Nothing in the spec or this repository defines it. I cannot propose the `Filter` schema without guessing, so it must come from the owning team or from a real response. +2. Which permission guards the filters endpoints? +3. What status code does each operation return on success, and what does POST return: the created object, its ID, or nothing? +4. What error body does the API return, and is there a shared error schema to reference? +5. Is `id` a UUID, a numeric string or another format? Does `PUT` require the same body as `POST`? + +## 6. Information requested from the backend team + +- One real `GET /api/filters` response. +- One `POST /api/filters` request and response pair. +- The status codes and error bodies returned for an unauthorized call and for an unknown `id`. + +With these, items 5 and 6 can be written from real data. + +## 7. Notes on the evidence + +- The spec facts in sections 2 and 4 come from reading `openapi.yaml`. +- The SDK behaviour in section 3 comes from reading the generated `default_api.py`. It has not been verified at runtime, and the 401 behaviour in 3.1 is inferred from the empty auth settings. +- The working tree already contained many uncommitted changes to `openapi.yaml` and the generated SDK before this analysis. The line numbers above refer to that current state and may differ in other revisions. diff --git a/instana_client/__init__.py b/instana_client/__init__.py index 336968b..913e16d 100644 --- a/instana_client/__init__.py +++ b/instana_client/__init__.py @@ -7,7 +7,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -15,658 +15,1997 @@ """ # noqa: E501 -__version__ = "1.1.3" +__version__ = "1.1.4" -# import apis into sdk package -from instana_client.api.ai_management_api import AIManagementApi -from instana_client.api.api_token_api import APITokenApi -from instana_client.api.action_catalog_api import ActionCatalogApi -from instana_client.api.action_history_api import ActionHistoryApi -from instana_client.api.apdex_report_api import ApdexReportApi -from instana_client.api.apdex_settings_api import ApdexSettingsApi -from instana_client.api.application_alert_configuration_api import ApplicationAlertConfigurationApi -from instana_client.api.application_analyze_api import ApplicationAnalyzeApi -from instana_client.api.application_catalog_api import ApplicationCatalogApi -from instana_client.api.application_metrics_api import ApplicationMetricsApi -from instana_client.api.application_resources_api import ApplicationResourcesApi -from instana_client.api.application_settings_api import ApplicationSettingsApi -from instana_client.api.application_topology_api import ApplicationTopologyApi -from instana_client.api.audit_log_api import AuditLogApi -from instana_client.api.authentication_api import AuthenticationApi -from instana_client.api.business_monitoring_api import BusinessMonitoringApi -from instana_client.api.custom_dashboards_api import CustomDashboardsApi -from instana_client.api.custom_entities_api import CustomEntitiesApi -from instana_client.api.end_user_monitoring_api import EndUserMonitoringApi -from instana_client.api.event_settings_api import EventSettingsApi -from instana_client.api.events_api import EventsApi -from instana_client.api.global_application_alert_configuration_api import GlobalApplicationAlertConfigurationApi -from instana_client.api.groups_api import GroupsApi -from instana_client.api.health_api import HealthApi -from instana_client.api.host_agent_api import HostAgentApi -from instana_client.api.ip_filtering_api import IPFilteringApi -from instana_client.api.infrastructure_alert_configuration_api import InfrastructureAlertConfigurationApi -from instana_client.api.infrastructure_analyze_api import InfrastructureAnalyzeApi -from instana_client.api.infrastructure_catalog_api import InfrastructureCatalogApi -from instana_client.api.infrastructure_metrics_api import InfrastructureMetricsApi -from instana_client.api.infrastructure_resources_api import InfrastructureResourcesApi -from instana_client.api.infrastructure_topology_api import InfrastructureTopologyApi -from instana_client.api.llm_evaluation_api import LLMEvaluationApi -from instana_client.api.llm_price_configuration_api import LLMPriceConfigurationApi -from instana_client.api.log_alert_configuration_api import LogAlertConfigurationApi -from instana_client.api.logging_analyze_api import LoggingAnalyzeApi -from instana_client.api.maintenance_configuration_api import MaintenanceConfigurationApi -from instana_client.api.mobile_app_analyze_api import MobileAppAnalyzeApi -from instana_client.api.mobile_app_catalog_api import MobileAppCatalogApi -from instana_client.api.mobile_app_configuration_api import MobileAppConfigurationApi -from instana_client.api.mobile_app_metrics_api import MobileAppMetricsApi -from instana_client.api.mobile_app_session_replay_api import MobileAppSessionReplayApi -from instana_client.api.policies_api import PoliciesApi -from instana_client.api.releases_api import ReleasesApi -from instana_client.api.roles_api import RolesApi -from instana_client.api.sli_report_api import SLIReportApi -from instana_client.api.sli_settings_api import SLISettingsApi -from instana_client.api.slo_catalog_for_mobile_app_api import SLOCatalogForMobileAppApi -from instana_client.api.slo_configurations_api import SLOConfigurationsApi -from instana_client.api.slo_correction_configurations_api import SLOCorrectionConfigurationsApi -from instana_client.api.slo_correction_windows_api import SLOCorrectionWindowsApi -from instana_client.api.service_levels_alert_configuration_api import ServiceLevelsAlertConfigurationApi -from instana_client.api.service_levels_objective_slo_report_api import ServiceLevelsObjectiveSLOReportApi -from instana_client.api.session_settings_api import SessionSettingsApi -from instana_client.api.synthetic_alert_configuration_api import SyntheticAlertConfigurationApi -from instana_client.api.synthetic_calls_api import SyntheticCallsApi -from instana_client.api.synthetic_catalog_api import SyntheticCatalogApi -from instana_client.api.synthetic_metrics_api import SyntheticMetricsApi -from instana_client.api.synthetic_settings_api import SyntheticSettingsApi -from instana_client.api.synthetic_test_playback_results_api import SyntheticTestPlaybackResultsApi -from instana_client.api.teams_api import TeamsApi -from instana_client.api.usage_api import UsageApi -from instana_client.api.user_api import UserApi -from instana_client.api.website_analyze_api import WebsiteAnalyzeApi -from instana_client.api.website_catalog_api import WebsiteCatalogApi -from instana_client.api.website_configuration_api import WebsiteConfigurationApi -from instana_client.api.website_metrics_api import WebsiteMetricsApi -from instana_client.api.default_api import DefaultApi +# Define package exports +__all__ = [ + "AIManagementApi", + "APITokenApi", + "ActionCatalogApi", + "ActionHistoryApi", + "ApdexReportApi", + "ApdexSettingsApi", + "ApplicationAlertConfigurationApi", + "ApplicationAnalyzeApi", + "ApplicationCatalogApi", + "ApplicationMetricsApi", + "ApplicationResourcesApi", + "ApplicationSettingsApi", + "ApplicationTopologyApi", + "AuditLogApi", + "AuthenticationApi", + "BusinessMonitoringApi", + "CustomDashboardsApi", + "CustomEntitiesApi", + "EndUserMonitoringApi", + "EventSettingsApi", + "EventsApi", + "GlobalApplicationAlertConfigurationApi", + "GroupsApi", + "HealthApi", + "HostAgentApi", + "IPFilteringApi", + "InfrastructureAlertConfigurationApi", + "InfrastructureAnalyzeApi", + "InfrastructureCatalogApi", + "InfrastructureMetricsApi", + "InfrastructureResourcesApi", + "InfrastructureTopologyApi", + "LLMEvaluationApi", + "LLMPriceConfigurationApi", + "LogAlertConfigurationApi", + "LoggingAnalyzeApi", + "MaintenanceConfigurationApi", + "MobileAppAnalyzeApi", + "MobileAppCatalogApi", + "MobileAppConfigurationApi", + "MobileAppMetricsApi", + "MobileAppSessionReplayApi", + "PoliciesApi", + "ReleasesApi", + "RolesApi", + "SLIReportApi", + "SLISettingsApi", + "SLOCatalogForMobileAppApi", + "SLOConfigurationsApi", + "SLOCorrectionConfigurationsApi", + "SLOCorrectionWindowsApi", + "ServiceLevelsAlertConfigurationApi", + "ServiceLevelsObjectiveSLOReportApi", + "SessionSettingsApi", + "SyntheticAlertConfigurationApi", + "SyntheticCallsApi", + "SyntheticCatalogApi", + "SyntheticMetricsApi", + "SyntheticSettingsApi", + "SyntheticTestPlaybackResultsApi", + "TeamsApi", + "UsageApi", + "UserApi", + "WebsiteAnalyzeApi", + "WebsiteCatalogApi", + "WebsiteConfigurationApi", + "WebsiteMetricsApi", + "DefaultApi", + "ApiResponse", + "ApiClient", + "Configuration", + "OpenApiException", + "ApiTypeError", + "ApiValueError", + "ApiKeyError", + "ApiAttributeError", + "ApiException", + "AbstractIntegration", + "AbstractRule", + "AccessRule", + "Action", + "ActionBeacon", + "ActionConfiguration", + "ActionInstance", + "ActionInstanceMetadataEntry", + "ActionInstanceParameter", + "ActionInstanceRequest", + "ActionInstanceRequestParameters", + "ActionMatch", + "ActionSearchSpace", + "AdaptiveBaseline", + "AdaptiveThresholdRule", + "AdjustedTimeframe", + "AdvancedCustomBlueprintIndicator", + "AdvancedFilter", + "AgentConfigurationUpdate", + "AgentModeUpdate", + "AlertingConfiguration", + "AlertingConfigurationWithLastUpdated", + "AlertingTimeWindow", + "ApdexAlertRule", + "ApdexConfigWithRBACTag", + "ApdexConfiguration", + "ApdexConfigurationInput", + "ApdexEntity", + "ApdexLevel", + "ApdexReport", + "ApiCreateGroup", + "ApiCreateRole", + "ApiGroup", + "ApiGroupToTeamRoleMigration", + "ApiLogItem", + "ApiLogTag", + "ApiMember", + "ApiPermissionSet", + "ApiRestrictedApplicationFilter", + "ApiRole", + "ApiTag", + "ApiTeam", + "ApiTeamInfo", + "ApiTeamMember", + "ApiTeamRole", + "ApiTeamScope", + "ApiToken", + "AppDataMetricConfiguration", + "Application", + "ApplicationAlertConfig", + "ApplicationAlertConfigWithMetadata", + "ApplicationAlertRule", + "ApplicationApdexEntity", + "ApplicationBatchBusinessCriticalityUpdate", + "ApplicationConfig", + "ApplicationEventResult", + "ApplicationItem", + "ApplicationMetricResult", + "ApplicationNode", + "ApplicationResult", + "ApplicationScope", + "ApplicationScopeWithMetadata", + "ApplicationSliEntity", + "ApplicationSloEntity", + "ApplicationTimeThreshold", + "AuditLogUiResponse", + "Author", + "AvailabilityBlueprintIndicator", + "AvailabilitySliEntity", + "AvailableMetrics", + "AvailablePlugins", + "BackendTraceReference", + "BidirectionalMsTeamsAppIntegration", + "BidirectionalSlackAppIntegration", + "BinaryOperatorDTO", + "BrowserScriptConfiguration", + "BrowserScriptConfigurationUpdate", + "BuiltInEventSpecification", + "BuiltInEventSpecificationWithLastUpdated", + "BulkAlertConfigRequest", + "BusinessActivity", + "BusinessPerspectiveConfig", + "CallGroupsItem", + "CallGroupsResult", + "CallRelation", + "CallsEventResult", + "ChangeSummary", + "CloudfoundryPhysicalContext", + "Condition", + "ConfigVersion", + "Correction", + "CorrectionConfiguration", + "CorrectionScheduling", + "CorrectionWindow", + "CrashMobileAppAlertRule", + "CreateEvaluationRequest", + "CreateEvaluationResponse", + "CreateWebsiteRequestInner", + "CursorPaginatedBusinessActivityItem", + "CursorPagination", + "CursorPaginationWithUiCursorInfraExploreCursor", + "CustomBlueprintIndicator", + "CustomDashboard", + "CustomDashboardPreview", + "CustomDashboardWithUserSpecificInformation", + "CustomDependency", + "CustomEmailSubjectPrefix", + "CustomEntityModel", + "CustomEntityWithMetadata", + "CustomEventMobileAppAlertRule", + "CustomEventSpecification", + "CustomEventSpecificationWithLastUpdated", + "CustomEventWebsiteAlertRule", + "CustomMetric", + "CustomMetricApplicationAlertRule", + "CustomPayloadConfiguration", + "CustomPayloadField", + "CustomPayloadWithLastUpdated", + "CustomPayloadWithVersion", + "CustomTag", + "CustomerEmail", + "DNSConfiguration", + "DNSConfigurationUpdate", + "DNSFilterQueryTime", + "DNSFilterTargetValue", + "DashboardApiToken", + "DatabaseIntegration", + "DeprecatedTagFilter", + "Duration", + "DynamicField", + "DynamicFieldValue", + "DynamicParameter", + "DynamicTag", + "EditUser", + "EmailIntegration", + "EmptyConfiguration", + "Endpoint", + "EndpointConfig", + "EndpointEventResult", + "EndpointItem", + "EndpointMetricResult", + "EndpointNode", + "EndpointResult", + "EndpointSimple", + "EntityCountRule", + "EntityCountVerificationRule", + "EntityHealthInfo", + "EntityId", + "EntityMetric", + "EntityMetricScope", + "EntityVerificationRule", + "ErrorBudgetAlertRule", + "ErrorsApplicationAlertRule", + "EvaluationDetailResponse", + "EvaluationListItem", + "EvaluationListResponse", + "Evaluator", + "Event", + "EventFilteringConfiguration", + "EventResult", + "EventSpecificationInfo", + "ExtendedService", + "FailureSyntheticAlertRule", + "FilterInterface", + "FixedHttpPathSegmentMatchingRule", + "FixedTimeWindow", + "GatewayStatusResponse", + "GenericInfraAlertRule", + "GeoLocationConfiguration", + "GeoMappingRule", + "GeoSubdivision", + "GetActionBeaconsResult", + "GetActivities", + "GetApplicationMetrics", + "GetApplications", + "GetAvailableMetricsQuery", + "GetAvailablePluginsQuery", + "GetCallGroups", + "GetCombinedMetrics", + "GetDynamicParameterValues", + "GetEndpoints", + "GetInfrastructureGroupsQuery", + "GetInfrastructureQuery", + "GetMetricsResult", + "GetMobileAppBeaconGroups", + "GetMobileAppBeacons", + "GetMobileAppMetrics", + "GetMobileAppMetricsV2", + "GetPayloadKeysResult", + "GetServices", + "GetSessionReplayMetadataResult", + "GetSnapshotsQuery", + "GetTestResult", + "GetTestResultAnalytic", + "GetTestResultBase", + "GetTestResultList", + "GetTestSummaryResult", + "GetTraceDownloadResultItem", + "GetTraceGroups", + "GetTraces", + "GetWebsiteBeaconGroups", + "GetWebsiteBeacons", + "GetWebsiteMetrics", + "GetWebsiteMetricsV2", + "GitHubConfiguration", + "GlobalApplicationAlertConfigWithMetadata", + "GlobalApplicationsAlertConfig", + "GoogleChatIntegration", + "GraphEdge", + "GraphNode", + "Group", + "GroupByTag", + "HealthState", + "HistoricBaseline", + "HostAvailabilityRule", + "HttpActionConfiguration", + "HttpActionConfigurationUpdate", + "HttpEndpointConfig", + "HttpEndpointRule", + "HttpPathSegmentMatchingRule", + "HttpScriptConfiguration", + "HttpScriptConfigurationUpdate", + "HyperParam", + "ICMPConfiguration", + "ICMPConfigurationUpdate", + "ICMPValidation", + "IPFiltering", + "IPFilteringRuleDto", + "IPFilteringUpsert", + "IdentityProviderPatch", + "IdpStatusUpdate", + "ImpactedBeaconInfo", + "InfraAlertConfig", + "InfraAlertConfigWithMetadata", + "InfraAlertRule", + "InfraEventResult", + "InfraSloEntity", + "InfraTimeThreshold", + "InfrastructureEntitiesResult", + "InfrastructureGroup", + "InfrastructureGroupsResult", + "InfrastructureItem", + "InfrastructureMetricResult", + "InstanaVersionInfo", + "IntegrationOverview", + "Invitation", + "InvitationResponse", + "InvitationResult", + "IpMaskingConfiguration", + "JsStackTraceLine", + "KubernetesPhysicalContext", + "LLMEgressGateway", + "LLMGatewayCapability", + "LLMGatewayModel", + "LLMGatewayService", + "LLMGatewayTestConnectionRequest", + "LatencyBlueprintIndicator", + "LlmModelPrice", + "LlmModelPriceMetadata", + "LocationStatus", + "LogAlertConfig", + "LogAlertConfigWithMetadata", + "LogAlertRule", + "LogCountAlertRule", + "LogEventResult", + "LogTimeThreshold", + "LogVolumeGroup", + "LogVolumeUsageItem", + "LogVolumeUsageResult", + "LoggingPerspective", + "LogsApiResponse", + "LogsApplicationAlertRule", + "LogsQuery", + "MaintenanceConfig", + "MaintenanceConfigScheduling", + "MaintenanceConfigV2", + "MaintenanceConfigV2WithStateAndOccurrence", + "MaintenanceConfigWithLastUpdated", + "MaintenanceWindow", + "ManualAlertingChannelConfiguration", + "ManualCloseInfo", + "ManualServiceConfig", + "Mapping", + "MappingOverview", + "MatchAllHttpPathSegmentMatchingRule", + "MatchExpressionDTO", + "MetaData", + "MetricAPIResult", + "MetricConfig", + "MetricConfiguration", + "MetricDescription", + "MetricField", + "MetricFieldValue", + "MetricInstance", + "MetricItem", + "MetricMetadata", + "MetricPattern", + "MetricsResult", + "MetricsResultItem", + "MetricsTestResultItem", + "MobileApp", + "MobileAppAlertConfig", + "MobileAppAlertConfigWithRBACTag", + "MobileAppAlertRule", + "MobileAppBeaconGroupsItem", + "MobileAppBeaconGroupsResult", + "MobileAppBeaconResult", + "MobileAppBeaconTagGroup", + "MobileAppBeaconsItem", + "MobileAppEventResult", + "MobileAppMetricResult", + "MobileAppMonitoringBeacon", + "MobileAppMonitoringMetricDescription", + "MobileAppMonitoringMetricsConfiguration", + "MobileAppTimeThreshold", + "MobileSloEntity", + "ModelField", + "MonitoredEntitiesStats", + "MonitoringState", + "MultipleScriptsConfiguration", + "NS1Integration", + "NewApplicationConfig", + "NewBusinessPerspectiveConfig", + "NewManualServiceConfig", + "Notification", + "OAuthConfig", + "OAuthIntegration", + "OAuthToken", + "Occurrence", + "Office365Integration", + "OneTimeMaintenanceWindow", + "OpsgenieIntegration", + "Order", + "PagerdutyIntegration", + "PaginatedResult", + "Pagination", + "Parameter", + "ParameterValue", + "PathParameterHttpPathSegmentMatchingRule", + "PhysicalContext", + "PluginResult", + "Policy", + "PolicyRunnable", + "PolicyScheduling", + "PostMobileAppSourceMapConfigRequest", + "PostSnapshotsResult", + "PrefixObject", + "Problem", + "PrometheusWebhookIntegration", + "RbacRestrictions", + "RecurrentMaintenanceWindow", + "Release", + "ReleaseScope", + "ReleaseWithMetadata", + "RetentionPeriod", + "RoleMappingOverview", + "RollingTimeWindow", + "RuleInput", + "RuleWithThresholdApplicationAlertRule", + "RuleWithThresholdInfraAlertRule", + "RuleWithThresholdLogAlertRule", + "RuleWithThresholdMobileAppAlertRule", + "RuleWithThresholdWebsiteAlertRule", + "RunConfiguration", + "RunEvaluationResponse", + "SLOConfigWithRBACTag", + "SSLCertificateConfiguration", + "SSLCertificateConfigurationUpdate", + "SSLCertificateValidation", + "SalesforceIntegration", + "SamplingMetadata", + "SaturationBlueprintIndicator", + "ScopeBinding", + "SearchFieldResult", + "Service", + "ServiceConfig", + "ServiceEventResult", + "ServiceItem", + "ServiceLevelIndicator", + "ServiceLevelObjectiveAlertRule", + "ServiceLevelsAlertConfig", + "ServiceLevelsAlertConfigWithRBACTag", + "ServiceLevelsAlertRule", + "ServiceLevelsBurnRateConfig", + "ServiceLevelsBurnRateTimeWindows", + "ServiceLevelsStaticThresholdConfig", + "ServiceLevelsTimeThreshold", + "ServiceLevelseAlertConfigWithMetadata", + "ServiceMap", + "ServiceMapConnection", + "ServiceMatchingRule", + "ServiceMetricResult", + "ServiceNode", + "ServiceNowEnhancedIntegration", + "ServiceNowIntegration", + "ServiceResult", + "ServiceScope", + "ServiceScopeWithMetadata", + "ServiceScopedTo", + "ServiceScopedToWithMetadata", + "ServiceSimple", + "SessionReplayMetadata", + "SessionReplayTimestamps", + "SessionSettings", + "SimpleMetricConfiguration", + "SlackIntegration", + "SliConfiguration", + "SliConfigurationWithLastUpdated", + "SliEntity", + "SliReport", + "SloEntity", + "SloHealthSnapshot", + "SloHealthSnapshotItem", + "SloReport", + "SlownessApplicationAlertRule", + "SlownessMobileAppAlertRule", + "SlownessWebsiteAlertRule", + "SnapshotItem", + "SnapshotPreview", + "SnapshotResult", + "SoftwareUser", + "SoftwareVersion", + "SourceMapFileBlob", + "SourceMapFileMeta", + "SourceMapUploadConfig", + "SourceMapUploadConfigs", + "SpanExcerpt", + "SpanRelation", + "SpecificJsErrorsWebsiteAlertRule", + "SplunkIntegration", + "StackTraceItem", + "StackTraceLine", + "StaticBaselineThresholdRule", + "StaticStringField", + "StaticThreshold", + "StaticThresholdRule", + "StatusCodeApplicationAlertRule", + "StatusCodeMobileAppAlertRule", + "StatusCodeWebsiteAlertRule", + "SyntheticAlertConfig", + "SyntheticAlertConfigWithMetadata", + "SyntheticAlertConfigWithRBACTag", + "SyntheticAlertRule", + "SyntheticBulkResponse", + "SyntheticCallConfig", + "SyntheticCallRule", + "SyntheticCallWithDefaultsConfig", + "SyntheticConfiguration", + "SyntheticConfigurationUpdate", + "SyntheticCredential", + "SyntheticDatacenter", + "SyntheticDatacenterConfiguration", + "SyntheticGeoPoint", + "SyntheticLocation", + "SyntheticLocationConfiguration", + "SyntheticMetricConfiguration", + "SyntheticMetricTagGroup", + "SyntheticPlaybackCapabilities", + "SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue", + "SyntheticResourceUpdateListICMPValidationListICMPValidation", + "SyntheticResourceUpdateListNetworkProfileListNetworkProfile", + "SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation", + "SyntheticResourceUpdateListStringListString", + "SyntheticResourceUpdateMapStringStringListString", + "SyntheticSloEntity", + "SyntheticTest", + "SyntheticTestCICD", + "SyntheticTestCICDCustomization", + "SyntheticTestCICDItem", + "SyntheticTestCICDResponse", + "SyntheticTestDeepUpdate", + "SyntheticTestShallowUpdate", + "SyntheticTestUpdate", + "SyntheticTimeThreshold", + "SyntheticTypeConfiguration", + "SyntheticTypeConfigurationUpdate", + "SyntheticsEventResult", + "SystemRule", + "SystemRuleLabel", + "Tag", + "TagCatalog", + "TagFilter", + "TagFilterExpression", + "TagFilterExpressionElement", + "TagMatcherDTO", + "TagTreeLevel", + "TagTreeNode", + "TagTreeTag", + "TestCommonProperties", + "TestConnectionResponse", + "TestLastError", + "TestResult", + "TestResultCommonProperties", + "TestResultDetailData", + "TestResultItem", + "TestResultListItem", + "TestResultListResult", + "TestResultMetadata", + "TestResultSubtransaction", + "Threshold", + "ThresholdConfigRule", + "ThresholdRule", + "ThroughputApplicationAlertRule", + "ThroughputMobileAppAlertRule", + "ThroughputWebsiteAlertRule", + "TimeConfig", + "TimeFrame", + "TimeWindow", + "Topology", + "Trace", + "TraceActivityTreeNodeDetails", + "TraceDownloadResult", + "TraceGroupsItem", + "TraceGroupsResult", + "TraceImpactApplicationTimeThreshold", + "TraceItem", + "TraceResult", + "TraceSamplingConfig", + "TrafficBlueprintIndicator", + "Trigger", + "TypeConfiguration", + "UnifiedBeacon", + "UnsupportedHttpPathSegmentMatchingRule", + "UpdateEvaluationRequest", + "UpdatedBusinessPerspectiveConfig", + "UsageResult", + "UsageResultItems", + "UserBasicResult", + "UserImpactMobileAppTimeThreshold", + "UserImpactWebsiteTimeThreshold", + "UserResult", + "UsersResult", + "ValidatedAlertingChannelInputInfo", + "ValidatedAlertingConfiguration", + "ValidatedMaintenanceConfigV2WithStateAndOccurrence", + "ValidatedMaintenanceConfigWithStatus", + "VictorOpsIntegration", + "ViolationsInPeriodApplicationTimeThreshold", + "ViolationsInPeriodMobileAppTimeThreshold", + "ViolationsInPeriodWebsiteTimeThreshold", + "ViolationsInSequenceApplicationTimeThreshold", + "ViolationsInSequenceInfraTimeThreshold", + "ViolationsInSequenceLogTimeThreshold", + "ViolationsInSequenceMobileAppTimeThreshold", + "ViolationsInSequenceSyntheticTimeThreshold", + "ViolationsInSequenceWebsiteTimeThreshold", + "WatsonAIOpsWebhookIntegration", + "WebexTeamsWebhookIntegration", + "WebhookIntegration", + "WebpageActionConfiguration", + "WebpageActionConfigurationUpdate", + "WebpageScriptConfiguration", + "WebpageScriptConfigurationUpdate", + "Website", + "WebsiteAlertConfig", + "WebsiteAlertConfigWithMetadata", + "WebsiteAlertConfigWithRBACTag", + "WebsiteAlertRule", + "WebsiteApdexEntity", + "WebsiteBeaconGroupsItem", + "WebsiteBeaconGroupsResult", + "WebsiteBeaconResult", + "WebsiteBeaconTagGroup", + "WebsiteBeaconsItem", + "WebsiteEventBasedSliEntity", + "WebsiteEventResult", + "WebsiteMetricResult", + "WebsiteMonitoringBeacon", + "WebsiteMonitoringMetricDescription", + "WebsiteMonitoringMetricsConfiguration", + "WebsiteSloEntity", + "WebsiteTimeBasedSliEntity", + "WebsiteTimeThreshold", + "Widget", + "WithMetaData", + "WithResolvedName", + "ZChatOpsIntegration", +] + +if __import__("typing").TYPE_CHECKING: + # import apis into sdk package + from instana_client.api.ai_management_api import AIManagementApi as AIManagementApi + from instana_client.api.api_token_api import APITokenApi as APITokenApi + from instana_client.api.action_catalog_api import ActionCatalogApi as ActionCatalogApi + from instana_client.api.action_history_api import ActionHistoryApi as ActionHistoryApi + from instana_client.api.apdex_report_api import ApdexReportApi as ApdexReportApi + from instana_client.api.apdex_settings_api import ApdexSettingsApi as ApdexSettingsApi + from instana_client.api.application_alert_configuration_api import ApplicationAlertConfigurationApi as ApplicationAlertConfigurationApi + from instana_client.api.application_analyze_api import ApplicationAnalyzeApi as ApplicationAnalyzeApi + from instana_client.api.application_catalog_api import ApplicationCatalogApi as ApplicationCatalogApi + from instana_client.api.application_metrics_api import ApplicationMetricsApi as ApplicationMetricsApi + from instana_client.api.application_resources_api import ApplicationResourcesApi as ApplicationResourcesApi + from instana_client.api.application_settings_api import ApplicationSettingsApi as ApplicationSettingsApi + from instana_client.api.application_topology_api import ApplicationTopologyApi as ApplicationTopologyApi + from instana_client.api.audit_log_api import AuditLogApi as AuditLogApi + from instana_client.api.authentication_api import AuthenticationApi as AuthenticationApi + from instana_client.api.business_monitoring_api import BusinessMonitoringApi as BusinessMonitoringApi + from instana_client.api.custom_dashboards_api import CustomDashboardsApi as CustomDashboardsApi + from instana_client.api.custom_entities_api import CustomEntitiesApi as CustomEntitiesApi + from instana_client.api.end_user_monitoring_api import EndUserMonitoringApi as EndUserMonitoringApi + from instana_client.api.event_settings_api import EventSettingsApi as EventSettingsApi + from instana_client.api.events_api import EventsApi as EventsApi + from instana_client.api.global_application_alert_configuration_api import GlobalApplicationAlertConfigurationApi as GlobalApplicationAlertConfigurationApi + from instana_client.api.groups_api import GroupsApi as GroupsApi + from instana_client.api.health_api import HealthApi as HealthApi + from instana_client.api.host_agent_api import HostAgentApi as HostAgentApi + from instana_client.api.ip_filtering_api import IPFilteringApi as IPFilteringApi + from instana_client.api.infrastructure_alert_configuration_api import InfrastructureAlertConfigurationApi as InfrastructureAlertConfigurationApi + from instana_client.api.infrastructure_analyze_api import InfrastructureAnalyzeApi as InfrastructureAnalyzeApi + from instana_client.api.infrastructure_catalog_api import InfrastructureCatalogApi as InfrastructureCatalogApi + from instana_client.api.infrastructure_metrics_api import InfrastructureMetricsApi as InfrastructureMetricsApi + from instana_client.api.infrastructure_resources_api import InfrastructureResourcesApi as InfrastructureResourcesApi + from instana_client.api.infrastructure_topology_api import InfrastructureTopologyApi as InfrastructureTopologyApi + from instana_client.api.llm_evaluation_api import LLMEvaluationApi as LLMEvaluationApi + from instana_client.api.llm_price_configuration_api import LLMPriceConfigurationApi as LLMPriceConfigurationApi + from instana_client.api.log_alert_configuration_api import LogAlertConfigurationApi as LogAlertConfigurationApi + from instana_client.api.logging_analyze_api import LoggingAnalyzeApi as LoggingAnalyzeApi + from instana_client.api.maintenance_configuration_api import MaintenanceConfigurationApi as MaintenanceConfigurationApi + from instana_client.api.mobile_app_analyze_api import MobileAppAnalyzeApi as MobileAppAnalyzeApi + from instana_client.api.mobile_app_catalog_api import MobileAppCatalogApi as MobileAppCatalogApi + from instana_client.api.mobile_app_configuration_api import MobileAppConfigurationApi as MobileAppConfigurationApi + from instana_client.api.mobile_app_metrics_api import MobileAppMetricsApi as MobileAppMetricsApi + from instana_client.api.mobile_app_session_replay_api import MobileAppSessionReplayApi as MobileAppSessionReplayApi + from instana_client.api.policies_api import PoliciesApi as PoliciesApi + from instana_client.api.releases_api import ReleasesApi as ReleasesApi + from instana_client.api.roles_api import RolesApi as RolesApi + from instana_client.api.sli_report_api import SLIReportApi as SLIReportApi + from instana_client.api.sli_settings_api import SLISettingsApi as SLISettingsApi + from instana_client.api.slo_catalog_for_mobile_app_api import SLOCatalogForMobileAppApi as SLOCatalogForMobileAppApi + from instana_client.api.slo_configurations_api import SLOConfigurationsApi as SLOConfigurationsApi + from instana_client.api.slo_correction_configurations_api import SLOCorrectionConfigurationsApi as SLOCorrectionConfigurationsApi + from instana_client.api.slo_correction_windows_api import SLOCorrectionWindowsApi as SLOCorrectionWindowsApi + from instana_client.api.service_levels_alert_configuration_api import ServiceLevelsAlertConfigurationApi as ServiceLevelsAlertConfigurationApi + from instana_client.api.service_levels_objective_slo_report_api import ServiceLevelsObjectiveSLOReportApi as ServiceLevelsObjectiveSLOReportApi + from instana_client.api.session_settings_api import SessionSettingsApi as SessionSettingsApi + from instana_client.api.synthetic_alert_configuration_api import SyntheticAlertConfigurationApi as SyntheticAlertConfigurationApi + from instana_client.api.synthetic_calls_api import SyntheticCallsApi as SyntheticCallsApi + from instana_client.api.synthetic_catalog_api import SyntheticCatalogApi as SyntheticCatalogApi + from instana_client.api.synthetic_metrics_api import SyntheticMetricsApi as SyntheticMetricsApi + from instana_client.api.synthetic_settings_api import SyntheticSettingsApi as SyntheticSettingsApi + from instana_client.api.synthetic_test_playback_results_api import SyntheticTestPlaybackResultsApi as SyntheticTestPlaybackResultsApi + from instana_client.api.teams_api import TeamsApi as TeamsApi + from instana_client.api.usage_api import UsageApi as UsageApi + from instana_client.api.user_api import UserApi as UserApi + from instana_client.api.website_analyze_api import WebsiteAnalyzeApi as WebsiteAnalyzeApi + from instana_client.api.website_catalog_api import WebsiteCatalogApi as WebsiteCatalogApi + from instana_client.api.website_configuration_api import WebsiteConfigurationApi as WebsiteConfigurationApi + from instana_client.api.website_metrics_api import WebsiteMetricsApi as WebsiteMetricsApi + from instana_client.api.default_api import DefaultApi as DefaultApi + + # import ApiClient + from instana_client.api_response import ApiResponse as ApiResponse + from instana_client.api_client import ApiClient as ApiClient + from instana_client.configuration import Configuration as Configuration + from instana_client.exceptions import OpenApiException as OpenApiException + from instana_client.exceptions import ApiTypeError as ApiTypeError + from instana_client.exceptions import ApiValueError as ApiValueError + from instana_client.exceptions import ApiKeyError as ApiKeyError + from instana_client.exceptions import ApiAttributeError as ApiAttributeError + from instana_client.exceptions import ApiException as ApiException + + # import models into sdk package + from instana_client.models.abstract_integration import AbstractIntegration as AbstractIntegration + from instana_client.models.abstract_rule import AbstractRule as AbstractRule + from instana_client.models.access_rule import AccessRule as AccessRule + from instana_client.models.action import Action as Action + from instana_client.models.action_beacon import ActionBeacon as ActionBeacon + from instana_client.models.action_configuration import ActionConfiguration as ActionConfiguration + from instana_client.models.action_instance import ActionInstance as ActionInstance + from instana_client.models.action_instance_metadata_entry import ActionInstanceMetadataEntry as ActionInstanceMetadataEntry + from instana_client.models.action_instance_parameter import ActionInstanceParameter as ActionInstanceParameter + from instana_client.models.action_instance_request import ActionInstanceRequest as ActionInstanceRequest + from instana_client.models.action_instance_request_parameters import ActionInstanceRequestParameters as ActionInstanceRequestParameters + from instana_client.models.action_match import ActionMatch as ActionMatch + from instana_client.models.action_search_space import ActionSearchSpace as ActionSearchSpace + from instana_client.models.adaptive_baseline import AdaptiveBaseline as AdaptiveBaseline + from instana_client.models.adaptive_threshold_rule import AdaptiveThresholdRule as AdaptiveThresholdRule + from instana_client.models.adjusted_timeframe import AdjustedTimeframe as AdjustedTimeframe + from instana_client.models.advanced_custom_blueprint_indicator import AdvancedCustomBlueprintIndicator as AdvancedCustomBlueprintIndicator + from instana_client.models.advanced_filter import AdvancedFilter as AdvancedFilter + from instana_client.models.agent_configuration_update import AgentConfigurationUpdate as AgentConfigurationUpdate + from instana_client.models.agent_mode_update import AgentModeUpdate as AgentModeUpdate + from instana_client.models.alerting_configuration import AlertingConfiguration as AlertingConfiguration + from instana_client.models.alerting_configuration_with_last_updated import AlertingConfigurationWithLastUpdated as AlertingConfigurationWithLastUpdated + from instana_client.models.alerting_time_window import AlertingTimeWindow as AlertingTimeWindow + from instana_client.models.apdex_alert_rule import ApdexAlertRule as ApdexAlertRule + from instana_client.models.apdex_config_with_rbac_tag import ApdexConfigWithRBACTag as ApdexConfigWithRBACTag + from instana_client.models.apdex_configuration import ApdexConfiguration as ApdexConfiguration + from instana_client.models.apdex_configuration_input import ApdexConfigurationInput as ApdexConfigurationInput + from instana_client.models.apdex_entity import ApdexEntity as ApdexEntity + from instana_client.models.apdex_level import ApdexLevel as ApdexLevel + from instana_client.models.apdex_report import ApdexReport as ApdexReport + from instana_client.models.api_create_group import ApiCreateGroup as ApiCreateGroup + from instana_client.models.api_create_role import ApiCreateRole as ApiCreateRole + from instana_client.models.api_group import ApiGroup as ApiGroup + from instana_client.models.api_group_to_team_role_migration import ApiGroupToTeamRoleMigration as ApiGroupToTeamRoleMigration + from instana_client.models.api_log_item import ApiLogItem as ApiLogItem + from instana_client.models.api_log_tag import ApiLogTag as ApiLogTag + from instana_client.models.api_member import ApiMember as ApiMember + from instana_client.models.api_permission_set import ApiPermissionSet as ApiPermissionSet + from instana_client.models.api_restricted_application_filter import ApiRestrictedApplicationFilter as ApiRestrictedApplicationFilter + from instana_client.models.api_role import ApiRole as ApiRole + from instana_client.models.api_tag import ApiTag as ApiTag + from instana_client.models.api_team import ApiTeam as ApiTeam + from instana_client.models.api_team_info import ApiTeamInfo as ApiTeamInfo + from instana_client.models.api_team_member import ApiTeamMember as ApiTeamMember + from instana_client.models.api_team_role import ApiTeamRole as ApiTeamRole + from instana_client.models.api_team_scope import ApiTeamScope as ApiTeamScope + from instana_client.models.api_token import ApiToken as ApiToken + from instana_client.models.app_data_metric_configuration import AppDataMetricConfiguration as AppDataMetricConfiguration + from instana_client.models.application import Application as Application + from instana_client.models.application_alert_config import ApplicationAlertConfig as ApplicationAlertConfig + from instana_client.models.application_alert_config_with_metadata import ApplicationAlertConfigWithMetadata as ApplicationAlertConfigWithMetadata + from instana_client.models.application_alert_rule import ApplicationAlertRule as ApplicationAlertRule + from instana_client.models.application_apdex_entity import ApplicationApdexEntity as ApplicationApdexEntity + from instana_client.models.application_batch_business_criticality_update import ApplicationBatchBusinessCriticalityUpdate as ApplicationBatchBusinessCriticalityUpdate + from instana_client.models.application_config import ApplicationConfig as ApplicationConfig + from instana_client.models.application_event_result import ApplicationEventResult as ApplicationEventResult + from instana_client.models.application_item import ApplicationItem as ApplicationItem + from instana_client.models.application_metric_result import ApplicationMetricResult as ApplicationMetricResult + from instana_client.models.application_node import ApplicationNode as ApplicationNode + from instana_client.models.application_result import ApplicationResult as ApplicationResult + from instana_client.models.application_scope import ApplicationScope as ApplicationScope + from instana_client.models.application_scope_with_metadata import ApplicationScopeWithMetadata as ApplicationScopeWithMetadata + from instana_client.models.application_sli_entity import ApplicationSliEntity as ApplicationSliEntity + from instana_client.models.application_slo_entity import ApplicationSloEntity as ApplicationSloEntity + from instana_client.models.application_time_threshold import ApplicationTimeThreshold as ApplicationTimeThreshold + from instana_client.models.audit_log_ui_response import AuditLogUiResponse as AuditLogUiResponse + from instana_client.models.author import Author as Author + from instana_client.models.availability_blueprint_indicator import AvailabilityBlueprintIndicator as AvailabilityBlueprintIndicator + from instana_client.models.availability_sli_entity import AvailabilitySliEntity as AvailabilitySliEntity + from instana_client.models.available_metrics import AvailableMetrics as AvailableMetrics + from instana_client.models.available_plugins import AvailablePlugins as AvailablePlugins + from instana_client.models.backend_trace_reference import BackendTraceReference as BackendTraceReference + from instana_client.models.bidirectional_ms_teams_app_integration import BidirectionalMsTeamsAppIntegration as BidirectionalMsTeamsAppIntegration + from instana_client.models.bidirectional_slack_app_integration import BidirectionalSlackAppIntegration as BidirectionalSlackAppIntegration + from instana_client.models.binary_operator_dto import BinaryOperatorDTO as BinaryOperatorDTO + from instana_client.models.browser_script_configuration import BrowserScriptConfiguration as BrowserScriptConfiguration + from instana_client.models.browser_script_configuration_update import BrowserScriptConfigurationUpdate as BrowserScriptConfigurationUpdate + from instana_client.models.built_in_event_specification import BuiltInEventSpecification as BuiltInEventSpecification + from instana_client.models.built_in_event_specification_with_last_updated import BuiltInEventSpecificationWithLastUpdated as BuiltInEventSpecificationWithLastUpdated + from instana_client.models.bulk_alert_config_request import BulkAlertConfigRequest as BulkAlertConfigRequest + from instana_client.models.business_activity import BusinessActivity as BusinessActivity + from instana_client.models.business_perspective_config import BusinessPerspectiveConfig as BusinessPerspectiveConfig + from instana_client.models.call_groups_item import CallGroupsItem as CallGroupsItem + from instana_client.models.call_groups_result import CallGroupsResult as CallGroupsResult + from instana_client.models.call_relation import CallRelation as CallRelation + from instana_client.models.calls_event_result import CallsEventResult as CallsEventResult + from instana_client.models.change_summary import ChangeSummary as ChangeSummary + from instana_client.models.cloudfoundry_physical_context import CloudfoundryPhysicalContext as CloudfoundryPhysicalContext + from instana_client.models.condition import Condition as Condition + from instana_client.models.config_version import ConfigVersion as ConfigVersion + from instana_client.models.correction import Correction as Correction + from instana_client.models.correction_configuration import CorrectionConfiguration as CorrectionConfiguration + from instana_client.models.correction_scheduling import CorrectionScheduling as CorrectionScheduling + from instana_client.models.correction_window import CorrectionWindow as CorrectionWindow + from instana_client.models.crash_mobile_app_alert_rule import CrashMobileAppAlertRule as CrashMobileAppAlertRule + from instana_client.models.create_evaluation_request import CreateEvaluationRequest as CreateEvaluationRequest + from instana_client.models.create_evaluation_response import CreateEvaluationResponse as CreateEvaluationResponse + from instana_client.models.create_website_request_inner import CreateWebsiteRequestInner as CreateWebsiteRequestInner + from instana_client.models.cursor_paginated_business_activity_item import CursorPaginatedBusinessActivityItem as CursorPaginatedBusinessActivityItem + from instana_client.models.cursor_pagination import CursorPagination as CursorPagination + from instana_client.models.cursor_pagination_with_ui_cursor_infra_explore_cursor import CursorPaginationWithUiCursorInfraExploreCursor as CursorPaginationWithUiCursorInfraExploreCursor + from instana_client.models.custom_blueprint_indicator import CustomBlueprintIndicator as CustomBlueprintIndicator + from instana_client.models.custom_dashboard import CustomDashboard as CustomDashboard + from instana_client.models.custom_dashboard_preview import CustomDashboardPreview as CustomDashboardPreview + from instana_client.models.custom_dashboard_with_user_specific_information import CustomDashboardWithUserSpecificInformation as CustomDashboardWithUserSpecificInformation + from instana_client.models.custom_dependency import CustomDependency as CustomDependency + from instana_client.models.custom_email_subject_prefix import CustomEmailSubjectPrefix as CustomEmailSubjectPrefix + from instana_client.models.custom_entity_model import CustomEntityModel as CustomEntityModel + from instana_client.models.custom_entity_with_metadata import CustomEntityWithMetadata as CustomEntityWithMetadata + from instana_client.models.custom_event_mobile_app_alert_rule import CustomEventMobileAppAlertRule as CustomEventMobileAppAlertRule + from instana_client.models.custom_event_specification import CustomEventSpecification as CustomEventSpecification + from instana_client.models.custom_event_specification_with_last_updated import CustomEventSpecificationWithLastUpdated as CustomEventSpecificationWithLastUpdated + from instana_client.models.custom_event_website_alert_rule import CustomEventWebsiteAlertRule as CustomEventWebsiteAlertRule + from instana_client.models.custom_metric import CustomMetric as CustomMetric + from instana_client.models.custom_metric_application_alert_rule import CustomMetricApplicationAlertRule as CustomMetricApplicationAlertRule + from instana_client.models.custom_payload_configuration import CustomPayloadConfiguration as CustomPayloadConfiguration + from instana_client.models.custom_payload_field import CustomPayloadField as CustomPayloadField + from instana_client.models.custom_payload_with_last_updated import CustomPayloadWithLastUpdated as CustomPayloadWithLastUpdated + from instana_client.models.custom_payload_with_version import CustomPayloadWithVersion as CustomPayloadWithVersion + from instana_client.models.custom_tag import CustomTag as CustomTag + from instana_client.models.customer_email import CustomerEmail as CustomerEmail + from instana_client.models.dns_configuration import DNSConfiguration as DNSConfiguration + from instana_client.models.dns_configuration_update import DNSConfigurationUpdate as DNSConfigurationUpdate + from instana_client.models.dns_filter_query_time import DNSFilterQueryTime as DNSFilterQueryTime + from instana_client.models.dns_filter_target_value import DNSFilterTargetValue as DNSFilterTargetValue + from instana_client.models.dashboard_api_token import DashboardApiToken as DashboardApiToken + from instana_client.models.database_integration import DatabaseIntegration as DatabaseIntegration + from instana_client.models.deprecated_tag_filter import DeprecatedTagFilter as DeprecatedTagFilter + from instana_client.models.duration import Duration as Duration + from instana_client.models.dynamic_field import DynamicField as DynamicField + from instana_client.models.dynamic_field_value import DynamicFieldValue as DynamicFieldValue + from instana_client.models.dynamic_parameter import DynamicParameter as DynamicParameter + from instana_client.models.dynamic_tag import DynamicTag as DynamicTag + from instana_client.models.edit_user import EditUser as EditUser + from instana_client.models.email_integration import EmailIntegration as EmailIntegration + from instana_client.models.empty_configuration import EmptyConfiguration as EmptyConfiguration + from instana_client.models.endpoint import Endpoint as Endpoint + from instana_client.models.endpoint_config import EndpointConfig as EndpointConfig + from instana_client.models.endpoint_event_result import EndpointEventResult as EndpointEventResult + from instana_client.models.endpoint_item import EndpointItem as EndpointItem + from instana_client.models.endpoint_metric_result import EndpointMetricResult as EndpointMetricResult + from instana_client.models.endpoint_node import EndpointNode as EndpointNode + from instana_client.models.endpoint_result import EndpointResult as EndpointResult + from instana_client.models.endpoint_simple import EndpointSimple as EndpointSimple + from instana_client.models.entity_count_rule import EntityCountRule as EntityCountRule + from instana_client.models.entity_count_verification_rule import EntityCountVerificationRule as EntityCountVerificationRule + from instana_client.models.entity_health_info import EntityHealthInfo as EntityHealthInfo + from instana_client.models.entity_id import EntityId as EntityId + from instana_client.models.entity_metric import EntityMetric as EntityMetric + from instana_client.models.entity_metric_scope import EntityMetricScope as EntityMetricScope + from instana_client.models.entity_verification_rule import EntityVerificationRule as EntityVerificationRule + from instana_client.models.error_budget_alert_rule import ErrorBudgetAlertRule as ErrorBudgetAlertRule + from instana_client.models.errors_application_alert_rule import ErrorsApplicationAlertRule as ErrorsApplicationAlertRule + from instana_client.models.evaluation_detail_response import EvaluationDetailResponse as EvaluationDetailResponse + from instana_client.models.evaluation_list_item import EvaluationListItem as EvaluationListItem + from instana_client.models.evaluation_list_response import EvaluationListResponse as EvaluationListResponse + from instana_client.models.evaluator import Evaluator as Evaluator + from instana_client.models.event import Event as Event + from instana_client.models.event_filtering_configuration import EventFilteringConfiguration as EventFilteringConfiguration + from instana_client.models.event_result import EventResult as EventResult + from instana_client.models.event_specification_info import EventSpecificationInfo as EventSpecificationInfo + from instana_client.models.extended_service import ExtendedService as ExtendedService + from instana_client.models.failure_synthetic_alert_rule import FailureSyntheticAlertRule as FailureSyntheticAlertRule + from instana_client.models.filter_interface import FilterInterface as FilterInterface + from instana_client.models.fixed_http_path_segment_matching_rule import FixedHttpPathSegmentMatchingRule as FixedHttpPathSegmentMatchingRule + from instana_client.models.fixed_time_window import FixedTimeWindow as FixedTimeWindow + from instana_client.models.gateway_status_response import GatewayStatusResponse as GatewayStatusResponse + from instana_client.models.generic_infra_alert_rule import GenericInfraAlertRule as GenericInfraAlertRule + from instana_client.models.geo_location_configuration import GeoLocationConfiguration as GeoLocationConfiguration + from instana_client.models.geo_mapping_rule import GeoMappingRule as GeoMappingRule + from instana_client.models.geo_subdivision import GeoSubdivision as GeoSubdivision + from instana_client.models.get_action_beacons_result import GetActionBeaconsResult as GetActionBeaconsResult + from instana_client.models.get_activities import GetActivities as GetActivities + from instana_client.models.get_application_metrics import GetApplicationMetrics as GetApplicationMetrics + from instana_client.models.get_applications import GetApplications as GetApplications + from instana_client.models.get_available_metrics_query import GetAvailableMetricsQuery as GetAvailableMetricsQuery + from instana_client.models.get_available_plugins_query import GetAvailablePluginsQuery as GetAvailablePluginsQuery + from instana_client.models.get_call_groups import GetCallGroups as GetCallGroups + from instana_client.models.get_combined_metrics import GetCombinedMetrics as GetCombinedMetrics + from instana_client.models.get_dynamic_parameter_values import GetDynamicParameterValues as GetDynamicParameterValues + from instana_client.models.get_endpoints import GetEndpoints as GetEndpoints + from instana_client.models.get_infrastructure_groups_query import GetInfrastructureGroupsQuery as GetInfrastructureGroupsQuery + from instana_client.models.get_infrastructure_query import GetInfrastructureQuery as GetInfrastructureQuery + from instana_client.models.get_metrics_result import GetMetricsResult as GetMetricsResult + from instana_client.models.get_mobile_app_beacon_groups import GetMobileAppBeaconGroups as GetMobileAppBeaconGroups + from instana_client.models.get_mobile_app_beacons import GetMobileAppBeacons as GetMobileAppBeacons + from instana_client.models.get_mobile_app_metrics import GetMobileAppMetrics as GetMobileAppMetrics + from instana_client.models.get_mobile_app_metrics_v2 import GetMobileAppMetricsV2 as GetMobileAppMetricsV2 + from instana_client.models.get_payload_keys_result import GetPayloadKeysResult as GetPayloadKeysResult + from instana_client.models.get_services import GetServices as GetServices + from instana_client.models.get_session_replay_metadata_result import GetSessionReplayMetadataResult as GetSessionReplayMetadataResult + from instana_client.models.get_snapshots_query import GetSnapshotsQuery as GetSnapshotsQuery + from instana_client.models.get_test_result import GetTestResult as GetTestResult + from instana_client.models.get_test_result_analytic import GetTestResultAnalytic as GetTestResultAnalytic + from instana_client.models.get_test_result_base import GetTestResultBase as GetTestResultBase + from instana_client.models.get_test_result_list import GetTestResultList as GetTestResultList + from instana_client.models.get_test_summary_result import GetTestSummaryResult as GetTestSummaryResult + from instana_client.models.get_trace_download_result_item import GetTraceDownloadResultItem as GetTraceDownloadResultItem + from instana_client.models.get_trace_groups import GetTraceGroups as GetTraceGroups + from instana_client.models.get_traces import GetTraces as GetTraces + from instana_client.models.get_website_beacon_groups import GetWebsiteBeaconGroups as GetWebsiteBeaconGroups + from instana_client.models.get_website_beacons import GetWebsiteBeacons as GetWebsiteBeacons + from instana_client.models.get_website_metrics import GetWebsiteMetrics as GetWebsiteMetrics + from instana_client.models.get_website_metrics_v2 import GetWebsiteMetricsV2 as GetWebsiteMetricsV2 + from instana_client.models.git_hub_configuration import GitHubConfiguration as GitHubConfiguration + from instana_client.models.global_application_alert_config_with_metadata import GlobalApplicationAlertConfigWithMetadata as GlobalApplicationAlertConfigWithMetadata + from instana_client.models.global_applications_alert_config import GlobalApplicationsAlertConfig as GlobalApplicationsAlertConfig + from instana_client.models.google_chat_integration import GoogleChatIntegration as GoogleChatIntegration + from instana_client.models.graph_edge import GraphEdge as GraphEdge + from instana_client.models.graph_node import GraphNode as GraphNode + from instana_client.models.group import Group as Group + from instana_client.models.group_by_tag import GroupByTag as GroupByTag + from instana_client.models.health_state import HealthState as HealthState + from instana_client.models.historic_baseline import HistoricBaseline as HistoricBaseline + from instana_client.models.host_availability_rule import HostAvailabilityRule as HostAvailabilityRule + from instana_client.models.http_action_configuration import HttpActionConfiguration as HttpActionConfiguration + from instana_client.models.http_action_configuration_update import HttpActionConfigurationUpdate as HttpActionConfigurationUpdate + from instana_client.models.http_endpoint_config import HttpEndpointConfig as HttpEndpointConfig + from instana_client.models.http_endpoint_rule import HttpEndpointRule as HttpEndpointRule + from instana_client.models.http_path_segment_matching_rule import HttpPathSegmentMatchingRule as HttpPathSegmentMatchingRule + from instana_client.models.http_script_configuration import HttpScriptConfiguration as HttpScriptConfiguration + from instana_client.models.http_script_configuration_update import HttpScriptConfigurationUpdate as HttpScriptConfigurationUpdate + from instana_client.models.hyper_param import HyperParam as HyperParam + from instana_client.models.icmp_configuration import ICMPConfiguration as ICMPConfiguration + from instana_client.models.icmp_configuration_update import ICMPConfigurationUpdate as ICMPConfigurationUpdate + from instana_client.models.icmp_validation import ICMPValidation as ICMPValidation + from instana_client.models.ip_filtering import IPFiltering as IPFiltering + from instana_client.models.ip_filtering_rule_dto import IPFilteringRuleDto as IPFilteringRuleDto + from instana_client.models.ip_filtering_upsert import IPFilteringUpsert as IPFilteringUpsert + from instana_client.models.identity_provider_patch import IdentityProviderPatch as IdentityProviderPatch + from instana_client.models.idp_status_update import IdpStatusUpdate as IdpStatusUpdate + from instana_client.models.impacted_beacon_info import ImpactedBeaconInfo as ImpactedBeaconInfo + from instana_client.models.infra_alert_config import InfraAlertConfig as InfraAlertConfig + from instana_client.models.infra_alert_config_with_metadata import InfraAlertConfigWithMetadata as InfraAlertConfigWithMetadata + from instana_client.models.infra_alert_rule import InfraAlertRule as InfraAlertRule + from instana_client.models.infra_event_result import InfraEventResult as InfraEventResult + from instana_client.models.infra_slo_entity import InfraSloEntity as InfraSloEntity + from instana_client.models.infra_time_threshold import InfraTimeThreshold as InfraTimeThreshold + from instana_client.models.infrastructure_entities_result import InfrastructureEntitiesResult as InfrastructureEntitiesResult + from instana_client.models.infrastructure_group import InfrastructureGroup as InfrastructureGroup + from instana_client.models.infrastructure_groups_result import InfrastructureGroupsResult as InfrastructureGroupsResult + from instana_client.models.infrastructure_item import InfrastructureItem as InfrastructureItem + from instana_client.models.infrastructure_metric_result import InfrastructureMetricResult as InfrastructureMetricResult + from instana_client.models.instana_version_info import InstanaVersionInfo as InstanaVersionInfo + from instana_client.models.integration_overview import IntegrationOverview as IntegrationOverview + from instana_client.models.invitation import Invitation as Invitation + from instana_client.models.invitation_response import InvitationResponse as InvitationResponse + from instana_client.models.invitation_result import InvitationResult as InvitationResult + from instana_client.models.ip_masking_configuration import IpMaskingConfiguration as IpMaskingConfiguration + from instana_client.models.js_stack_trace_line import JsStackTraceLine as JsStackTraceLine + from instana_client.models.kubernetes_physical_context import KubernetesPhysicalContext as KubernetesPhysicalContext + from instana_client.models.llm_egress_gateway import LLMEgressGateway as LLMEgressGateway + from instana_client.models.llm_gateway_capability import LLMGatewayCapability as LLMGatewayCapability + from instana_client.models.llm_gateway_model import LLMGatewayModel as LLMGatewayModel + from instana_client.models.llm_gateway_service import LLMGatewayService as LLMGatewayService + from instana_client.models.llm_gateway_test_connection_request import LLMGatewayTestConnectionRequest as LLMGatewayTestConnectionRequest + from instana_client.models.latency_blueprint_indicator import LatencyBlueprintIndicator as LatencyBlueprintIndicator + from instana_client.models.llm_model_price import LlmModelPrice as LlmModelPrice + from instana_client.models.llm_model_price_metadata import LlmModelPriceMetadata as LlmModelPriceMetadata + from instana_client.models.location_status import LocationStatus as LocationStatus + from instana_client.models.log_alert_config import LogAlertConfig as LogAlertConfig + from instana_client.models.log_alert_config_with_metadata import LogAlertConfigWithMetadata as LogAlertConfigWithMetadata + from instana_client.models.log_alert_rule import LogAlertRule as LogAlertRule + from instana_client.models.log_count_alert_rule import LogCountAlertRule as LogCountAlertRule + from instana_client.models.log_event_result import LogEventResult as LogEventResult + from instana_client.models.log_time_threshold import LogTimeThreshold as LogTimeThreshold + from instana_client.models.log_volume_group import LogVolumeGroup as LogVolumeGroup + from instana_client.models.log_volume_usage_item import LogVolumeUsageItem as LogVolumeUsageItem + from instana_client.models.log_volume_usage_result import LogVolumeUsageResult as LogVolumeUsageResult + from instana_client.models.logging_perspective import LoggingPerspective as LoggingPerspective + from instana_client.models.logs_api_response import LogsApiResponse as LogsApiResponse + from instana_client.models.logs_application_alert_rule import LogsApplicationAlertRule as LogsApplicationAlertRule + from instana_client.models.logs_query import LogsQuery as LogsQuery + from instana_client.models.maintenance_config import MaintenanceConfig as MaintenanceConfig + from instana_client.models.maintenance_config_scheduling import MaintenanceConfigScheduling as MaintenanceConfigScheduling + from instana_client.models.maintenance_config_v2 import MaintenanceConfigV2 as MaintenanceConfigV2 + from instana_client.models.maintenance_config_v2_with_state_and_occurrence import MaintenanceConfigV2WithStateAndOccurrence as MaintenanceConfigV2WithStateAndOccurrence + from instana_client.models.maintenance_config_with_last_updated import MaintenanceConfigWithLastUpdated as MaintenanceConfigWithLastUpdated + from instana_client.models.maintenance_window import MaintenanceWindow as MaintenanceWindow + from instana_client.models.manual_alerting_channel_configuration import ManualAlertingChannelConfiguration as ManualAlertingChannelConfiguration + from instana_client.models.manual_close_info import ManualCloseInfo as ManualCloseInfo + from instana_client.models.manual_service_config import ManualServiceConfig as ManualServiceConfig + from instana_client.models.mapping import Mapping as Mapping + from instana_client.models.mapping_overview import MappingOverview as MappingOverview + from instana_client.models.match_all_http_path_segment_matching_rule import MatchAllHttpPathSegmentMatchingRule as MatchAllHttpPathSegmentMatchingRule + from instana_client.models.match_expression_dto import MatchExpressionDTO as MatchExpressionDTO + from instana_client.models.meta_data import MetaData as MetaData + from instana_client.models.metric_api_result import MetricAPIResult as MetricAPIResult + from instana_client.models.metric_config import MetricConfig as MetricConfig + from instana_client.models.metric_configuration import MetricConfiguration as MetricConfiguration + from instana_client.models.metric_description import MetricDescription as MetricDescription + from instana_client.models.metric_field import MetricField as MetricField + from instana_client.models.metric_field_value import MetricFieldValue as MetricFieldValue + from instana_client.models.metric_instance import MetricInstance as MetricInstance + from instana_client.models.metric_item import MetricItem as MetricItem + from instana_client.models.metric_metadata import MetricMetadata as MetricMetadata + from instana_client.models.metric_pattern import MetricPattern as MetricPattern + from instana_client.models.metrics_result import MetricsResult as MetricsResult + from instana_client.models.metrics_result_item import MetricsResultItem as MetricsResultItem + from instana_client.models.metrics_test_result_item import MetricsTestResultItem as MetricsTestResultItem + from instana_client.models.mobile_app import MobileApp as MobileApp + from instana_client.models.mobile_app_alert_config import MobileAppAlertConfig as MobileAppAlertConfig + from instana_client.models.mobile_app_alert_config_with_rbac_tag import MobileAppAlertConfigWithRBACTag as MobileAppAlertConfigWithRBACTag + from instana_client.models.mobile_app_alert_rule import MobileAppAlertRule as MobileAppAlertRule + from instana_client.models.mobile_app_beacon_groups_item import MobileAppBeaconGroupsItem as MobileAppBeaconGroupsItem + from instana_client.models.mobile_app_beacon_groups_result import MobileAppBeaconGroupsResult as MobileAppBeaconGroupsResult + from instana_client.models.mobile_app_beacon_result import MobileAppBeaconResult as MobileAppBeaconResult + from instana_client.models.mobile_app_beacon_tag_group import MobileAppBeaconTagGroup as MobileAppBeaconTagGroup + from instana_client.models.mobile_app_beacons_item import MobileAppBeaconsItem as MobileAppBeaconsItem + from instana_client.models.mobile_app_event_result import MobileAppEventResult as MobileAppEventResult + from instana_client.models.mobile_app_metric_result import MobileAppMetricResult as MobileAppMetricResult + from instana_client.models.mobile_app_monitoring_beacon import MobileAppMonitoringBeacon as MobileAppMonitoringBeacon + from instana_client.models.mobile_app_monitoring_metric_description import MobileAppMonitoringMetricDescription as MobileAppMonitoringMetricDescription + from instana_client.models.mobile_app_monitoring_metrics_configuration import MobileAppMonitoringMetricsConfiguration as MobileAppMonitoringMetricsConfiguration + from instana_client.models.mobile_app_time_threshold import MobileAppTimeThreshold as MobileAppTimeThreshold + from instana_client.models.mobile_slo_entity import MobileSloEntity as MobileSloEntity + from instana_client.models.model_field import ModelField as ModelField + from instana_client.models.monitored_entities_stats import MonitoredEntitiesStats as MonitoredEntitiesStats + from instana_client.models.monitoring_state import MonitoringState as MonitoringState + from instana_client.models.multiple_scripts_configuration import MultipleScriptsConfiguration as MultipleScriptsConfiguration + from instana_client.models.ns1_integration import NS1Integration as NS1Integration + from instana_client.models.new_application_config import NewApplicationConfig as NewApplicationConfig + from instana_client.models.new_business_perspective_config import NewBusinessPerspectiveConfig as NewBusinessPerspectiveConfig + from instana_client.models.new_manual_service_config import NewManualServiceConfig as NewManualServiceConfig + from instana_client.models.notification import Notification as Notification + from instana_client.models.o_auth_config import OAuthConfig as OAuthConfig + from instana_client.models.o_auth_integration import OAuthIntegration as OAuthIntegration + from instana_client.models.o_auth_token import OAuthToken as OAuthToken + from instana_client.models.occurrence import Occurrence as Occurrence + from instana_client.models.office365_integration import Office365Integration as Office365Integration + from instana_client.models.one_time_maintenance_window import OneTimeMaintenanceWindow as OneTimeMaintenanceWindow + from instana_client.models.opsgenie_integration import OpsgenieIntegration as OpsgenieIntegration + from instana_client.models.order import Order as Order + from instana_client.models.pagerduty_integration import PagerdutyIntegration as PagerdutyIntegration + from instana_client.models.paginated_result import PaginatedResult as PaginatedResult + from instana_client.models.pagination import Pagination as Pagination + from instana_client.models.parameter import Parameter as Parameter + from instana_client.models.parameter_value import ParameterValue as ParameterValue + from instana_client.models.path_parameter_http_path_segment_matching_rule import PathParameterHttpPathSegmentMatchingRule as PathParameterHttpPathSegmentMatchingRule + from instana_client.models.physical_context import PhysicalContext as PhysicalContext + from instana_client.models.plugin_result import PluginResult as PluginResult + from instana_client.models.policy import Policy as Policy + from instana_client.models.policy_runnable import PolicyRunnable as PolicyRunnable + from instana_client.models.policy_scheduling import PolicyScheduling as PolicyScheduling + from instana_client.models.post_mobile_app_source_map_config_request import PostMobileAppSourceMapConfigRequest as PostMobileAppSourceMapConfigRequest + from instana_client.models.post_snapshots_result import PostSnapshotsResult as PostSnapshotsResult + from instana_client.models.prefix_object import PrefixObject as PrefixObject + from instana_client.models.problem import Problem as Problem + from instana_client.models.prometheus_webhook_integration import PrometheusWebhookIntegration as PrometheusWebhookIntegration + from instana_client.models.rbac_restrictions import RbacRestrictions as RbacRestrictions + from instana_client.models.recurrent_maintenance_window import RecurrentMaintenanceWindow as RecurrentMaintenanceWindow + from instana_client.models.release import Release as Release + from instana_client.models.release_scope import ReleaseScope as ReleaseScope + from instana_client.models.release_with_metadata import ReleaseWithMetadata as ReleaseWithMetadata + from instana_client.models.retention_period import RetentionPeriod as RetentionPeriod + from instana_client.models.role_mapping_overview import RoleMappingOverview as RoleMappingOverview + from instana_client.models.rolling_time_window import RollingTimeWindow as RollingTimeWindow + from instana_client.models.rule_input import RuleInput as RuleInput + from instana_client.models.rule_with_threshold_application_alert_rule import RuleWithThresholdApplicationAlertRule as RuleWithThresholdApplicationAlertRule + from instana_client.models.rule_with_threshold_infra_alert_rule import RuleWithThresholdInfraAlertRule as RuleWithThresholdInfraAlertRule + from instana_client.models.rule_with_threshold_log_alert_rule import RuleWithThresholdLogAlertRule as RuleWithThresholdLogAlertRule + from instana_client.models.rule_with_threshold_mobile_app_alert_rule import RuleWithThresholdMobileAppAlertRule as RuleWithThresholdMobileAppAlertRule + from instana_client.models.rule_with_threshold_website_alert_rule import RuleWithThresholdWebsiteAlertRule as RuleWithThresholdWebsiteAlertRule + from instana_client.models.run_configuration import RunConfiguration as RunConfiguration + from instana_client.models.run_evaluation_response import RunEvaluationResponse as RunEvaluationResponse + from instana_client.models.slo_config_with_rbac_tag import SLOConfigWithRBACTag as SLOConfigWithRBACTag + from instana_client.models.ssl_certificate_configuration import SSLCertificateConfiguration as SSLCertificateConfiguration + from instana_client.models.ssl_certificate_configuration_update import SSLCertificateConfigurationUpdate as SSLCertificateConfigurationUpdate + from instana_client.models.ssl_certificate_validation import SSLCertificateValidation as SSLCertificateValidation + from instana_client.models.salesforce_integration import SalesforceIntegration as SalesforceIntegration + from instana_client.models.sampling_metadata import SamplingMetadata as SamplingMetadata + from instana_client.models.saturation_blueprint_indicator import SaturationBlueprintIndicator as SaturationBlueprintIndicator + from instana_client.models.scope_binding import ScopeBinding as ScopeBinding + from instana_client.models.search_field_result import SearchFieldResult as SearchFieldResult + from instana_client.models.service import Service as Service + from instana_client.models.service_config import ServiceConfig as ServiceConfig + from instana_client.models.service_event_result import ServiceEventResult as ServiceEventResult + from instana_client.models.service_item import ServiceItem as ServiceItem + from instana_client.models.service_level_indicator import ServiceLevelIndicator as ServiceLevelIndicator + from instana_client.models.service_level_objective_alert_rule import ServiceLevelObjectiveAlertRule as ServiceLevelObjectiveAlertRule + from instana_client.models.service_levels_alert_config import ServiceLevelsAlertConfig as ServiceLevelsAlertConfig + from instana_client.models.service_levels_alert_config_with_rbac_tag import ServiceLevelsAlertConfigWithRBACTag as ServiceLevelsAlertConfigWithRBACTag + from instana_client.models.service_levels_alert_rule import ServiceLevelsAlertRule as ServiceLevelsAlertRule + from instana_client.models.service_levels_burn_rate_config import ServiceLevelsBurnRateConfig as ServiceLevelsBurnRateConfig + from instana_client.models.service_levels_burn_rate_time_windows import ServiceLevelsBurnRateTimeWindows as ServiceLevelsBurnRateTimeWindows + from instana_client.models.service_levels_static_threshold_config import ServiceLevelsStaticThresholdConfig as ServiceLevelsStaticThresholdConfig + from instana_client.models.service_levels_time_threshold import ServiceLevelsTimeThreshold as ServiceLevelsTimeThreshold + from instana_client.models.service_levelse_alert_config_with_metadata import ServiceLevelseAlertConfigWithMetadata as ServiceLevelseAlertConfigWithMetadata + from instana_client.models.service_map import ServiceMap as ServiceMap + from instana_client.models.service_map_connection import ServiceMapConnection as ServiceMapConnection + from instana_client.models.service_matching_rule import ServiceMatchingRule as ServiceMatchingRule + from instana_client.models.service_metric_result import ServiceMetricResult as ServiceMetricResult + from instana_client.models.service_node import ServiceNode as ServiceNode + from instana_client.models.service_now_enhanced_integration import ServiceNowEnhancedIntegration as ServiceNowEnhancedIntegration + from instana_client.models.service_now_integration import ServiceNowIntegration as ServiceNowIntegration + from instana_client.models.service_result import ServiceResult as ServiceResult + from instana_client.models.service_scope import ServiceScope as ServiceScope + from instana_client.models.service_scope_with_metadata import ServiceScopeWithMetadata as ServiceScopeWithMetadata + from instana_client.models.service_scoped_to import ServiceScopedTo as ServiceScopedTo + from instana_client.models.service_scoped_to_with_metadata import ServiceScopedToWithMetadata as ServiceScopedToWithMetadata + from instana_client.models.service_simple import ServiceSimple as ServiceSimple + from instana_client.models.session_replay_metadata import SessionReplayMetadata as SessionReplayMetadata + from instana_client.models.session_replay_timestamps import SessionReplayTimestamps as SessionReplayTimestamps + from instana_client.models.session_settings import SessionSettings as SessionSettings + from instana_client.models.simple_metric_configuration import SimpleMetricConfiguration as SimpleMetricConfiguration + from instana_client.models.slack_integration import SlackIntegration as SlackIntegration + from instana_client.models.sli_configuration import SliConfiguration as SliConfiguration + from instana_client.models.sli_configuration_with_last_updated import SliConfigurationWithLastUpdated as SliConfigurationWithLastUpdated + from instana_client.models.sli_entity import SliEntity as SliEntity + from instana_client.models.sli_report import SliReport as SliReport + from instana_client.models.slo_entity import SloEntity as SloEntity + from instana_client.models.slo_health_snapshot import SloHealthSnapshot as SloHealthSnapshot + from instana_client.models.slo_health_snapshot_item import SloHealthSnapshotItem as SloHealthSnapshotItem + from instana_client.models.slo_report import SloReport as SloReport + from instana_client.models.slowness_application_alert_rule import SlownessApplicationAlertRule as SlownessApplicationAlertRule + from instana_client.models.slowness_mobile_app_alert_rule import SlownessMobileAppAlertRule as SlownessMobileAppAlertRule + from instana_client.models.slowness_website_alert_rule import SlownessWebsiteAlertRule as SlownessWebsiteAlertRule + from instana_client.models.snapshot_item import SnapshotItem as SnapshotItem + from instana_client.models.snapshot_preview import SnapshotPreview as SnapshotPreview + from instana_client.models.snapshot_result import SnapshotResult as SnapshotResult + from instana_client.models.software_user import SoftwareUser as SoftwareUser + from instana_client.models.software_version import SoftwareVersion as SoftwareVersion + from instana_client.models.source_map_file_blob import SourceMapFileBlob as SourceMapFileBlob + from instana_client.models.source_map_file_meta import SourceMapFileMeta as SourceMapFileMeta + from instana_client.models.source_map_upload_config import SourceMapUploadConfig as SourceMapUploadConfig + from instana_client.models.source_map_upload_configs import SourceMapUploadConfigs as SourceMapUploadConfigs + from instana_client.models.span_excerpt import SpanExcerpt as SpanExcerpt + from instana_client.models.span_relation import SpanRelation as SpanRelation + from instana_client.models.specific_js_errors_website_alert_rule import SpecificJsErrorsWebsiteAlertRule as SpecificJsErrorsWebsiteAlertRule + from instana_client.models.splunk_integration import SplunkIntegration as SplunkIntegration + from instana_client.models.stack_trace_item import StackTraceItem as StackTraceItem + from instana_client.models.stack_trace_line import StackTraceLine as StackTraceLine + from instana_client.models.static_baseline_threshold_rule import StaticBaselineThresholdRule as StaticBaselineThresholdRule + from instana_client.models.static_string_field import StaticStringField as StaticStringField + from instana_client.models.static_threshold import StaticThreshold as StaticThreshold + from instana_client.models.static_threshold_rule import StaticThresholdRule as StaticThresholdRule + from instana_client.models.status_code_application_alert_rule import StatusCodeApplicationAlertRule as StatusCodeApplicationAlertRule + from instana_client.models.status_code_mobile_app_alert_rule import StatusCodeMobileAppAlertRule as StatusCodeMobileAppAlertRule + from instana_client.models.status_code_website_alert_rule import StatusCodeWebsiteAlertRule as StatusCodeWebsiteAlertRule + from instana_client.models.synthetic_alert_config import SyntheticAlertConfig as SyntheticAlertConfig + from instana_client.models.synthetic_alert_config_with_metadata import SyntheticAlertConfigWithMetadata as SyntheticAlertConfigWithMetadata + from instana_client.models.synthetic_alert_config_with_rbac_tag import SyntheticAlertConfigWithRBACTag as SyntheticAlertConfigWithRBACTag + from instana_client.models.synthetic_alert_rule import SyntheticAlertRule as SyntheticAlertRule + from instana_client.models.synthetic_bulk_response import SyntheticBulkResponse as SyntheticBulkResponse + from instana_client.models.synthetic_call_config import SyntheticCallConfig as SyntheticCallConfig + from instana_client.models.synthetic_call_rule import SyntheticCallRule as SyntheticCallRule + from instana_client.models.synthetic_call_with_defaults_config import SyntheticCallWithDefaultsConfig as SyntheticCallWithDefaultsConfig + from instana_client.models.synthetic_configuration import SyntheticConfiguration as SyntheticConfiguration + from instana_client.models.synthetic_configuration_update import SyntheticConfigurationUpdate as SyntheticConfigurationUpdate + from instana_client.models.synthetic_credential import SyntheticCredential as SyntheticCredential + from instana_client.models.synthetic_datacenter import SyntheticDatacenter as SyntheticDatacenter + from instana_client.models.synthetic_datacenter_configuration import SyntheticDatacenterConfiguration as SyntheticDatacenterConfiguration + from instana_client.models.synthetic_geo_point import SyntheticGeoPoint as SyntheticGeoPoint + from instana_client.models.synthetic_location import SyntheticLocation as SyntheticLocation + from instana_client.models.synthetic_location_configuration import SyntheticLocationConfiguration as SyntheticLocationConfiguration + from instana_client.models.synthetic_metric_configuration import SyntheticMetricConfiguration as SyntheticMetricConfiguration + from instana_client.models.synthetic_metric_tag_group import SyntheticMetricTagGroup as SyntheticMetricTagGroup + from instana_client.models.synthetic_playback_capabilities import SyntheticPlaybackCapabilities as SyntheticPlaybackCapabilities + from instana_client.models.synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value import SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue as SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue + from instana_client.models.synthetic_resource_update_list_icmp_validation_list_icmp_validation import SyntheticResourceUpdateListICMPValidationListICMPValidation as SyntheticResourceUpdateListICMPValidationListICMPValidation + from instana_client.models.synthetic_resource_update_list_network_profile_list_network_profile import SyntheticResourceUpdateListNetworkProfileListNetworkProfile as SyntheticResourceUpdateListNetworkProfileListNetworkProfile + from instana_client.models.synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation import SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation as SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation + from instana_client.models.synthetic_resource_update_list_string_list_string import SyntheticResourceUpdateListStringListString as SyntheticResourceUpdateListStringListString + from instana_client.models.synthetic_resource_update_map_string_string_list_string import SyntheticResourceUpdateMapStringStringListString as SyntheticResourceUpdateMapStringStringListString + from instana_client.models.synthetic_slo_entity import SyntheticSloEntity as SyntheticSloEntity + from instana_client.models.synthetic_test import SyntheticTest as SyntheticTest + from instana_client.models.synthetic_test_cicd import SyntheticTestCICD as SyntheticTestCICD + from instana_client.models.synthetic_test_cicd_customization import SyntheticTestCICDCustomization as SyntheticTestCICDCustomization + from instana_client.models.synthetic_test_cicd_item import SyntheticTestCICDItem as SyntheticTestCICDItem + from instana_client.models.synthetic_test_cicd_response import SyntheticTestCICDResponse as SyntheticTestCICDResponse + from instana_client.models.synthetic_test_deep_update import SyntheticTestDeepUpdate as SyntheticTestDeepUpdate + from instana_client.models.synthetic_test_shallow_update import SyntheticTestShallowUpdate as SyntheticTestShallowUpdate + from instana_client.models.synthetic_test_update import SyntheticTestUpdate as SyntheticTestUpdate + from instana_client.models.synthetic_time_threshold import SyntheticTimeThreshold as SyntheticTimeThreshold + from instana_client.models.synthetic_type_configuration import SyntheticTypeConfiguration as SyntheticTypeConfiguration + from instana_client.models.synthetic_type_configuration_update import SyntheticTypeConfigurationUpdate as SyntheticTypeConfigurationUpdate + from instana_client.models.synthetics_event_result import SyntheticsEventResult as SyntheticsEventResult + from instana_client.models.system_rule import SystemRule as SystemRule + from instana_client.models.system_rule_label import SystemRuleLabel as SystemRuleLabel + from instana_client.models.tag import Tag as Tag + from instana_client.models.tag_catalog import TagCatalog as TagCatalog + from instana_client.models.tag_filter import TagFilter as TagFilter + from instana_client.models.tag_filter_expression import TagFilterExpression as TagFilterExpression + from instana_client.models.tag_filter_expression_element import TagFilterExpressionElement as TagFilterExpressionElement + from instana_client.models.tag_matcher_dto import TagMatcherDTO as TagMatcherDTO + from instana_client.models.tag_tree_level import TagTreeLevel as TagTreeLevel + from instana_client.models.tag_tree_node import TagTreeNode as TagTreeNode + from instana_client.models.tag_tree_tag import TagTreeTag as TagTreeTag + from instana_client.models.test_common_properties import TestCommonProperties as TestCommonProperties + from instana_client.models.test_connection_response import TestConnectionResponse as TestConnectionResponse + from instana_client.models.test_last_error import TestLastError as TestLastError + from instana_client.models.test_result import TestResult as TestResult + from instana_client.models.test_result_common_properties import TestResultCommonProperties as TestResultCommonProperties + from instana_client.models.test_result_detail_data import TestResultDetailData as TestResultDetailData + from instana_client.models.test_result_item import TestResultItem as TestResultItem + from instana_client.models.test_result_list_item import TestResultListItem as TestResultListItem + from instana_client.models.test_result_list_result import TestResultListResult as TestResultListResult + from instana_client.models.test_result_metadata import TestResultMetadata as TestResultMetadata + from instana_client.models.test_result_subtransaction import TestResultSubtransaction as TestResultSubtransaction + from instana_client.models.threshold import Threshold as Threshold + from instana_client.models.threshold_config_rule import ThresholdConfigRule as ThresholdConfigRule + from instana_client.models.threshold_rule import ThresholdRule as ThresholdRule + from instana_client.models.throughput_application_alert_rule import ThroughputApplicationAlertRule as ThroughputApplicationAlertRule + from instana_client.models.throughput_mobile_app_alert_rule import ThroughputMobileAppAlertRule as ThroughputMobileAppAlertRule + from instana_client.models.throughput_website_alert_rule import ThroughputWebsiteAlertRule as ThroughputWebsiteAlertRule + from instana_client.models.time_config import TimeConfig as TimeConfig + from instana_client.models.time_frame import TimeFrame as TimeFrame + from instana_client.models.time_window import TimeWindow as TimeWindow + from instana_client.models.topology import Topology as Topology + from instana_client.models.trace import Trace as Trace + from instana_client.models.trace_activity_tree_node_details import TraceActivityTreeNodeDetails as TraceActivityTreeNodeDetails + from instana_client.models.trace_download_result import TraceDownloadResult as TraceDownloadResult + from instana_client.models.trace_groups_item import TraceGroupsItem as TraceGroupsItem + from instana_client.models.trace_groups_result import TraceGroupsResult as TraceGroupsResult + from instana_client.models.trace_impact_application_time_threshold import TraceImpactApplicationTimeThreshold as TraceImpactApplicationTimeThreshold + from instana_client.models.trace_item import TraceItem as TraceItem + from instana_client.models.trace_result import TraceResult as TraceResult + from instana_client.models.trace_sampling_config import TraceSamplingConfig as TraceSamplingConfig + from instana_client.models.traffic_blueprint_indicator import TrafficBlueprintIndicator as TrafficBlueprintIndicator + from instana_client.models.trigger import Trigger as Trigger + from instana_client.models.type_configuration import TypeConfiguration as TypeConfiguration + from instana_client.models.unified_beacon import UnifiedBeacon as UnifiedBeacon + from instana_client.models.unsupported_http_path_segment_matching_rule import UnsupportedHttpPathSegmentMatchingRule as UnsupportedHttpPathSegmentMatchingRule + from instana_client.models.update_evaluation_request import UpdateEvaluationRequest as UpdateEvaluationRequest + from instana_client.models.updated_business_perspective_config import UpdatedBusinessPerspectiveConfig as UpdatedBusinessPerspectiveConfig + from instana_client.models.usage_result import UsageResult as UsageResult + from instana_client.models.usage_result_items import UsageResultItems as UsageResultItems + from instana_client.models.user_basic_result import UserBasicResult as UserBasicResult + from instana_client.models.user_impact_mobile_app_time_threshold import UserImpactMobileAppTimeThreshold as UserImpactMobileAppTimeThreshold + from instana_client.models.user_impact_website_time_threshold import UserImpactWebsiteTimeThreshold as UserImpactWebsiteTimeThreshold + from instana_client.models.user_result import UserResult as UserResult + from instana_client.models.users_result import UsersResult as UsersResult + from instana_client.models.validated_alerting_channel_input_info import ValidatedAlertingChannelInputInfo as ValidatedAlertingChannelInputInfo + from instana_client.models.validated_alerting_configuration import ValidatedAlertingConfiguration as ValidatedAlertingConfiguration + from instana_client.models.validated_maintenance_config_v2_with_state_and_occurrence import ValidatedMaintenanceConfigV2WithStateAndOccurrence as ValidatedMaintenanceConfigV2WithStateAndOccurrence + from instana_client.models.validated_maintenance_config_with_status import ValidatedMaintenanceConfigWithStatus as ValidatedMaintenanceConfigWithStatus + from instana_client.models.victor_ops_integration import VictorOpsIntegration as VictorOpsIntegration + from instana_client.models.violations_in_period_application_time_threshold import ViolationsInPeriodApplicationTimeThreshold as ViolationsInPeriodApplicationTimeThreshold + from instana_client.models.violations_in_period_mobile_app_time_threshold import ViolationsInPeriodMobileAppTimeThreshold as ViolationsInPeriodMobileAppTimeThreshold + from instana_client.models.violations_in_period_website_time_threshold import ViolationsInPeriodWebsiteTimeThreshold as ViolationsInPeriodWebsiteTimeThreshold + from instana_client.models.violations_in_sequence_application_time_threshold import ViolationsInSequenceApplicationTimeThreshold as ViolationsInSequenceApplicationTimeThreshold + from instana_client.models.violations_in_sequence_infra_time_threshold import ViolationsInSequenceInfraTimeThreshold as ViolationsInSequenceInfraTimeThreshold + from instana_client.models.violations_in_sequence_log_time_threshold import ViolationsInSequenceLogTimeThreshold as ViolationsInSequenceLogTimeThreshold + from instana_client.models.violations_in_sequence_mobile_app_time_threshold import ViolationsInSequenceMobileAppTimeThreshold as ViolationsInSequenceMobileAppTimeThreshold + from instana_client.models.violations_in_sequence_synthetic_time_threshold import ViolationsInSequenceSyntheticTimeThreshold as ViolationsInSequenceSyntheticTimeThreshold + from instana_client.models.violations_in_sequence_website_time_threshold import ViolationsInSequenceWebsiteTimeThreshold as ViolationsInSequenceWebsiteTimeThreshold + from instana_client.models.watson_ai_ops_webhook_integration import WatsonAIOpsWebhookIntegration as WatsonAIOpsWebhookIntegration + from instana_client.models.webex_teams_webhook_integration import WebexTeamsWebhookIntegration as WebexTeamsWebhookIntegration + from instana_client.models.webhook_integration import WebhookIntegration as WebhookIntegration + from instana_client.models.webpage_action_configuration import WebpageActionConfiguration as WebpageActionConfiguration + from instana_client.models.webpage_action_configuration_update import WebpageActionConfigurationUpdate as WebpageActionConfigurationUpdate + from instana_client.models.webpage_script_configuration import WebpageScriptConfiguration as WebpageScriptConfiguration + from instana_client.models.webpage_script_configuration_update import WebpageScriptConfigurationUpdate as WebpageScriptConfigurationUpdate + from instana_client.models.website import Website as Website + from instana_client.models.website_alert_config import WebsiteAlertConfig as WebsiteAlertConfig + from instana_client.models.website_alert_config_with_metadata import WebsiteAlertConfigWithMetadata as WebsiteAlertConfigWithMetadata + from instana_client.models.website_alert_config_with_rbac_tag import WebsiteAlertConfigWithRBACTag as WebsiteAlertConfigWithRBACTag + from instana_client.models.website_alert_rule import WebsiteAlertRule as WebsiteAlertRule + from instana_client.models.website_apdex_entity import WebsiteApdexEntity as WebsiteApdexEntity + from instana_client.models.website_beacon_groups_item import WebsiteBeaconGroupsItem as WebsiteBeaconGroupsItem + from instana_client.models.website_beacon_groups_result import WebsiteBeaconGroupsResult as WebsiteBeaconGroupsResult + from instana_client.models.website_beacon_result import WebsiteBeaconResult as WebsiteBeaconResult + from instana_client.models.website_beacon_tag_group import WebsiteBeaconTagGroup as WebsiteBeaconTagGroup + from instana_client.models.website_beacons_item import WebsiteBeaconsItem as WebsiteBeaconsItem + from instana_client.models.website_event_based_sli_entity import WebsiteEventBasedSliEntity as WebsiteEventBasedSliEntity + from instana_client.models.website_event_result import WebsiteEventResult as WebsiteEventResult + from instana_client.models.website_metric_result import WebsiteMetricResult as WebsiteMetricResult + from instana_client.models.website_monitoring_beacon import WebsiteMonitoringBeacon as WebsiteMonitoringBeacon + from instana_client.models.website_monitoring_metric_description import WebsiteMonitoringMetricDescription as WebsiteMonitoringMetricDescription + from instana_client.models.website_monitoring_metrics_configuration import WebsiteMonitoringMetricsConfiguration as WebsiteMonitoringMetricsConfiguration + from instana_client.models.website_slo_entity import WebsiteSloEntity as WebsiteSloEntity + from instana_client.models.website_time_based_sli_entity import WebsiteTimeBasedSliEntity as WebsiteTimeBasedSliEntity + from instana_client.models.website_time_threshold import WebsiteTimeThreshold as WebsiteTimeThreshold + from instana_client.models.widget import Widget as Widget + from instana_client.models.with_meta_data import WithMetaData as WithMetaData + from instana_client.models.with_resolved_name import WithResolvedName as WithResolvedName + from instana_client.models.z_chat_ops_integration import ZChatOpsIntegration as ZChatOpsIntegration + +else: + from lazy_imports import LazyModule, as_package, load + + load( + LazyModule( + *as_package(__file__), + ("__version__", __version__), + ("__all__", __all__), + """# import apis into sdk package +from instana_client.api.ai_management_api import AIManagementApi as AIManagementApi +from instana_client.api.api_token_api import APITokenApi as APITokenApi +from instana_client.api.action_catalog_api import ActionCatalogApi as ActionCatalogApi +from instana_client.api.action_history_api import ActionHistoryApi as ActionHistoryApi +from instana_client.api.apdex_report_api import ApdexReportApi as ApdexReportApi +from instana_client.api.apdex_settings_api import ApdexSettingsApi as ApdexSettingsApi +from instana_client.api.application_alert_configuration_api import ApplicationAlertConfigurationApi as ApplicationAlertConfigurationApi +from instana_client.api.application_analyze_api import ApplicationAnalyzeApi as ApplicationAnalyzeApi +from instana_client.api.application_catalog_api import ApplicationCatalogApi as ApplicationCatalogApi +from instana_client.api.application_metrics_api import ApplicationMetricsApi as ApplicationMetricsApi +from instana_client.api.application_resources_api import ApplicationResourcesApi as ApplicationResourcesApi +from instana_client.api.application_settings_api import ApplicationSettingsApi as ApplicationSettingsApi +from instana_client.api.application_topology_api import ApplicationTopologyApi as ApplicationTopologyApi +from instana_client.api.audit_log_api import AuditLogApi as AuditLogApi +from instana_client.api.authentication_api import AuthenticationApi as AuthenticationApi +from instana_client.api.business_monitoring_api import BusinessMonitoringApi as BusinessMonitoringApi +from instana_client.api.custom_dashboards_api import CustomDashboardsApi as CustomDashboardsApi +from instana_client.api.custom_entities_api import CustomEntitiesApi as CustomEntitiesApi +from instana_client.api.end_user_monitoring_api import EndUserMonitoringApi as EndUserMonitoringApi +from instana_client.api.event_settings_api import EventSettingsApi as EventSettingsApi +from instana_client.api.events_api import EventsApi as EventsApi +from instana_client.api.global_application_alert_configuration_api import GlobalApplicationAlertConfigurationApi as GlobalApplicationAlertConfigurationApi +from instana_client.api.groups_api import GroupsApi as GroupsApi +from instana_client.api.health_api import HealthApi as HealthApi +from instana_client.api.host_agent_api import HostAgentApi as HostAgentApi +from instana_client.api.ip_filtering_api import IPFilteringApi as IPFilteringApi +from instana_client.api.infrastructure_alert_configuration_api import InfrastructureAlertConfigurationApi as InfrastructureAlertConfigurationApi +from instana_client.api.infrastructure_analyze_api import InfrastructureAnalyzeApi as InfrastructureAnalyzeApi +from instana_client.api.infrastructure_catalog_api import InfrastructureCatalogApi as InfrastructureCatalogApi +from instana_client.api.infrastructure_metrics_api import InfrastructureMetricsApi as InfrastructureMetricsApi +from instana_client.api.infrastructure_resources_api import InfrastructureResourcesApi as InfrastructureResourcesApi +from instana_client.api.infrastructure_topology_api import InfrastructureTopologyApi as InfrastructureTopologyApi +from instana_client.api.llm_evaluation_api import LLMEvaluationApi as LLMEvaluationApi +from instana_client.api.llm_price_configuration_api import LLMPriceConfigurationApi as LLMPriceConfigurationApi +from instana_client.api.log_alert_configuration_api import LogAlertConfigurationApi as LogAlertConfigurationApi +from instana_client.api.logging_analyze_api import LoggingAnalyzeApi as LoggingAnalyzeApi +from instana_client.api.maintenance_configuration_api import MaintenanceConfigurationApi as MaintenanceConfigurationApi +from instana_client.api.mobile_app_analyze_api import MobileAppAnalyzeApi as MobileAppAnalyzeApi +from instana_client.api.mobile_app_catalog_api import MobileAppCatalogApi as MobileAppCatalogApi +from instana_client.api.mobile_app_configuration_api import MobileAppConfigurationApi as MobileAppConfigurationApi +from instana_client.api.mobile_app_metrics_api import MobileAppMetricsApi as MobileAppMetricsApi +from instana_client.api.mobile_app_session_replay_api import MobileAppSessionReplayApi as MobileAppSessionReplayApi +from instana_client.api.policies_api import PoliciesApi as PoliciesApi +from instana_client.api.releases_api import ReleasesApi as ReleasesApi +from instana_client.api.roles_api import RolesApi as RolesApi +from instana_client.api.sli_report_api import SLIReportApi as SLIReportApi +from instana_client.api.sli_settings_api import SLISettingsApi as SLISettingsApi +from instana_client.api.slo_catalog_for_mobile_app_api import SLOCatalogForMobileAppApi as SLOCatalogForMobileAppApi +from instana_client.api.slo_configurations_api import SLOConfigurationsApi as SLOConfigurationsApi +from instana_client.api.slo_correction_configurations_api import SLOCorrectionConfigurationsApi as SLOCorrectionConfigurationsApi +from instana_client.api.slo_correction_windows_api import SLOCorrectionWindowsApi as SLOCorrectionWindowsApi +from instana_client.api.service_levels_alert_configuration_api import ServiceLevelsAlertConfigurationApi as ServiceLevelsAlertConfigurationApi +from instana_client.api.service_levels_objective_slo_report_api import ServiceLevelsObjectiveSLOReportApi as ServiceLevelsObjectiveSLOReportApi +from instana_client.api.session_settings_api import SessionSettingsApi as SessionSettingsApi +from instana_client.api.synthetic_alert_configuration_api import SyntheticAlertConfigurationApi as SyntheticAlertConfigurationApi +from instana_client.api.synthetic_calls_api import SyntheticCallsApi as SyntheticCallsApi +from instana_client.api.synthetic_catalog_api import SyntheticCatalogApi as SyntheticCatalogApi +from instana_client.api.synthetic_metrics_api import SyntheticMetricsApi as SyntheticMetricsApi +from instana_client.api.synthetic_settings_api import SyntheticSettingsApi as SyntheticSettingsApi +from instana_client.api.synthetic_test_playback_results_api import SyntheticTestPlaybackResultsApi as SyntheticTestPlaybackResultsApi +from instana_client.api.teams_api import TeamsApi as TeamsApi +from instana_client.api.usage_api import UsageApi as UsageApi +from instana_client.api.user_api import UserApi as UserApi +from instana_client.api.website_analyze_api import WebsiteAnalyzeApi as WebsiteAnalyzeApi +from instana_client.api.website_catalog_api import WebsiteCatalogApi as WebsiteCatalogApi +from instana_client.api.website_configuration_api import WebsiteConfigurationApi as WebsiteConfigurationApi +from instana_client.api.website_metrics_api import WebsiteMetricsApi as WebsiteMetricsApi +from instana_client.api.default_api import DefaultApi as DefaultApi # import ApiClient -from instana_client.api_response import ApiResponse -from instana_client.api_client import ApiClient -from instana_client.configuration import Configuration -from instana_client.exceptions import OpenApiException -from instana_client.exceptions import ApiTypeError -from instana_client.exceptions import ApiValueError -from instana_client.exceptions import ApiKeyError -from instana_client.exceptions import ApiAttributeError -from instana_client.exceptions import ApiException +from instana_client.api_response import ApiResponse as ApiResponse +from instana_client.api_client import ApiClient as ApiClient +from instana_client.configuration import Configuration as Configuration +from instana_client.exceptions import OpenApiException as OpenApiException +from instana_client.exceptions import ApiTypeError as ApiTypeError +from instana_client.exceptions import ApiValueError as ApiValueError +from instana_client.exceptions import ApiKeyError as ApiKeyError +from instana_client.exceptions import ApiAttributeError as ApiAttributeError +from instana_client.exceptions import ApiException as ApiException # import models into sdk package -from instana_client.models.abstract_integration import AbstractIntegration -from instana_client.models.abstract_rule import AbstractRule -from instana_client.models.access_rule import AccessRule -from instana_client.models.action import Action -from instana_client.models.action_beacon import ActionBeacon -from instana_client.models.action_configuration import ActionConfiguration -from instana_client.models.action_instance import ActionInstance -from instana_client.models.action_instance_metadata_entry import ActionInstanceMetadataEntry -from instana_client.models.action_instance_parameter import ActionInstanceParameter -from instana_client.models.action_instance_request import ActionInstanceRequest -from instana_client.models.action_instance_request_parameters import ActionInstanceRequestParameters -from instana_client.models.action_match import ActionMatch -from instana_client.models.action_search_space import ActionSearchSpace -from instana_client.models.adaptive_baseline import AdaptiveBaseline -from instana_client.models.adaptive_threshold_rule import AdaptiveThresholdRule -from instana_client.models.adjusted_timeframe import AdjustedTimeframe -from instana_client.models.advanced_custom_blueprint_indicator import AdvancedCustomBlueprintIndicator -from instana_client.models.advanced_filter import AdvancedFilter -from instana_client.models.agent_configuration_update import AgentConfigurationUpdate -from instana_client.models.agent_mode_update import AgentModeUpdate -from instana_client.models.alerting_configuration import AlertingConfiguration -from instana_client.models.alerting_configuration_with_last_updated import AlertingConfigurationWithLastUpdated -from instana_client.models.alerting_time_window import AlertingTimeWindow -from instana_client.models.apdex_alert_rule import ApdexAlertRule -from instana_client.models.apdex_config_with_rbac_tag import ApdexConfigWithRBACTag -from instana_client.models.apdex_configuration import ApdexConfiguration -from instana_client.models.apdex_configuration_input import ApdexConfigurationInput -from instana_client.models.apdex_entity import ApdexEntity -from instana_client.models.apdex_level import ApdexLevel -from instana_client.models.apdex_report import ApdexReport -from instana_client.models.api_create_group import ApiCreateGroup -from instana_client.models.api_create_role import ApiCreateRole -from instana_client.models.api_group import ApiGroup -from instana_client.models.api_log_item import ApiLogItem -from instana_client.models.api_log_tag import ApiLogTag -from instana_client.models.api_member import ApiMember -from instana_client.models.api_permission_set import ApiPermissionSet -from instana_client.models.api_restricted_application_filter import ApiRestrictedApplicationFilter -from instana_client.models.api_role import ApiRole -from instana_client.models.api_tag import ApiTag -from instana_client.models.api_team import ApiTeam -from instana_client.models.api_team_info import ApiTeamInfo -from instana_client.models.api_team_member import ApiTeamMember -from instana_client.models.api_team_role import ApiTeamRole -from instana_client.models.api_team_scope import ApiTeamScope -from instana_client.models.api_token import ApiToken -from instana_client.models.app_data_metric_configuration import AppDataMetricConfiguration -from instana_client.models.application import Application -from instana_client.models.application_alert_config import ApplicationAlertConfig -from instana_client.models.application_alert_config_with_metadata import ApplicationAlertConfigWithMetadata -from instana_client.models.application_alert_rule import ApplicationAlertRule -from instana_client.models.application_apdex_entity import ApplicationApdexEntity -from instana_client.models.application_config import ApplicationConfig -from instana_client.models.application_event_result import ApplicationEventResult -from instana_client.models.application_item import ApplicationItem -from instana_client.models.application_metric_result import ApplicationMetricResult -from instana_client.models.application_node import ApplicationNode -from instana_client.models.application_result import ApplicationResult -from instana_client.models.application_scope import ApplicationScope -from instana_client.models.application_scope_with_metadata import ApplicationScopeWithMetadata -from instana_client.models.application_sli_entity import ApplicationSliEntity -from instana_client.models.application_slo_entity import ApplicationSloEntity -from instana_client.models.application_time_threshold import ApplicationTimeThreshold -from instana_client.models.audit_log_ui_response import AuditLogUiResponse -from instana_client.models.author import Author -from instana_client.models.availability_blueprint_indicator import AvailabilityBlueprintIndicator -from instana_client.models.availability_sli_entity import AvailabilitySliEntity -from instana_client.models.available_metrics import AvailableMetrics -from instana_client.models.available_plugins import AvailablePlugins -from instana_client.models.backend_trace_reference import BackendTraceReference -from instana_client.models.bidirectional_ms_teams_app_integration import BidirectionalMsTeamsAppIntegration -from instana_client.models.bidirectional_slack_app_integration import BidirectionalSlackAppIntegration -from instana_client.models.binary_operator_dto import BinaryOperatorDTO -from instana_client.models.browser_script_configuration import BrowserScriptConfiguration -from instana_client.models.browser_script_configuration_update import BrowserScriptConfigurationUpdate -from instana_client.models.built_in_event_specification import BuiltInEventSpecification -from instana_client.models.built_in_event_specification_with_last_updated import BuiltInEventSpecificationWithLastUpdated -from instana_client.models.bulk_alert_config_request import BulkAlertConfigRequest -from instana_client.models.business_activity import BusinessActivity -from instana_client.models.business_perspective_config import BusinessPerspectiveConfig -from instana_client.models.call_groups_item import CallGroupsItem -from instana_client.models.call_groups_result import CallGroupsResult -from instana_client.models.call_relation import CallRelation -from instana_client.models.change_summary import ChangeSummary -from instana_client.models.cloudfoundry_physical_context import CloudfoundryPhysicalContext -from instana_client.models.condition import Condition -from instana_client.models.config_version import ConfigVersion -from instana_client.models.correction import Correction -from instana_client.models.correction_configuration import CorrectionConfiguration -from instana_client.models.correction_scheduling import CorrectionScheduling -from instana_client.models.correction_window import CorrectionWindow -from instana_client.models.crash_mobile_app_alert_rule import CrashMobileAppAlertRule -from instana_client.models.create_evaluation_request import CreateEvaluationRequest -from instana_client.models.create_evaluation_response import CreateEvaluationResponse -from instana_client.models.create_website_request_inner import CreateWebsiteRequestInner -from instana_client.models.cursor_paginated_business_activity_item import CursorPaginatedBusinessActivityItem -from instana_client.models.cursor_pagination import CursorPagination -from instana_client.models.cursor_pagination_with_ui_cursor_infra_explore_cursor import CursorPaginationWithUiCursorInfraExploreCursor -from instana_client.models.custom_blueprint_indicator import CustomBlueprintIndicator -from instana_client.models.custom_dashboard import CustomDashboard -from instana_client.models.custom_dashboard_preview import CustomDashboardPreview -from instana_client.models.custom_dashboard_with_user_specific_information import CustomDashboardWithUserSpecificInformation -from instana_client.models.custom_dependency import CustomDependency -from instana_client.models.custom_email_subject_prefix import CustomEmailSubjectPrefix -from instana_client.models.custom_entity_model import CustomEntityModel -from instana_client.models.custom_entity_with_metadata import CustomEntityWithMetadata -from instana_client.models.custom_event_mobile_app_alert_rule import CustomEventMobileAppAlertRule -from instana_client.models.custom_event_specification import CustomEventSpecification -from instana_client.models.custom_event_specification_with_last_updated import CustomEventSpecificationWithLastUpdated -from instana_client.models.custom_event_website_alert_rule import CustomEventWebsiteAlertRule -from instana_client.models.custom_metric import CustomMetric -from instana_client.models.custom_metric_application_alert_rule import CustomMetricApplicationAlertRule -from instana_client.models.custom_payload_configuration import CustomPayloadConfiguration -from instana_client.models.custom_payload_field import CustomPayloadField -from instana_client.models.custom_payload_with_last_updated import CustomPayloadWithLastUpdated -from instana_client.models.custom_payload_with_version import CustomPayloadWithVersion -from instana_client.models.custom_tag import CustomTag -from instana_client.models.customer_email import CustomerEmail -from instana_client.models.dns_configuration import DNSConfiguration -from instana_client.models.dns_configuration_update import DNSConfigurationUpdate -from instana_client.models.dns_filter_query_time import DNSFilterQueryTime -from instana_client.models.dns_filter_target_value import DNSFilterTargetValue -from instana_client.models.dashboard_api_token import DashboardApiToken -from instana_client.models.database_integration import DatabaseIntegration -from instana_client.models.deprecated_tag_filter import DeprecatedTagFilter -from instana_client.models.duration import Duration -from instana_client.models.dynamic_field import DynamicField -from instana_client.models.dynamic_field_value import DynamicFieldValue -from instana_client.models.dynamic_parameter import DynamicParameter -from instana_client.models.dynamic_tag import DynamicTag -from instana_client.models.edit_user import EditUser -from instana_client.models.email_integration import EmailIntegration -from instana_client.models.empty_configuration import EmptyConfiguration -from instana_client.models.endpoint import Endpoint -from instana_client.models.endpoint_config import EndpointConfig -from instana_client.models.endpoint_event_result import EndpointEventResult -from instana_client.models.endpoint_item import EndpointItem -from instana_client.models.endpoint_metric_result import EndpointMetricResult -from instana_client.models.endpoint_node import EndpointNode -from instana_client.models.endpoint_result import EndpointResult -from instana_client.models.endpoint_simple import EndpointSimple -from instana_client.models.entity_count_rule import EntityCountRule -from instana_client.models.entity_count_verification_rule import EntityCountVerificationRule -from instana_client.models.entity_health_info import EntityHealthInfo -from instana_client.models.entity_id import EntityId -from instana_client.models.entity_metric import EntityMetric -from instana_client.models.entity_metric_scope import EntityMetricScope -from instana_client.models.entity_verification_rule import EntityVerificationRule -from instana_client.models.error_budget_alert_rule import ErrorBudgetAlertRule -from instana_client.models.errors_application_alert_rule import ErrorsApplicationAlertRule -from instana_client.models.evaluation_detail_response import EvaluationDetailResponse -from instana_client.models.evaluation_list_item import EvaluationListItem -from instana_client.models.evaluation_list_response import EvaluationListResponse -from instana_client.models.evaluator import Evaluator -from instana_client.models.event import Event -from instana_client.models.event_filtering_configuration import EventFilteringConfiguration -from instana_client.models.event_result import EventResult -from instana_client.models.event_specification_info import EventSpecificationInfo -from instana_client.models.extended_service import ExtendedService -from instana_client.models.failure_synthetic_alert_rule import FailureSyntheticAlertRule -from instana_client.models.filter_interface import FilterInterface -from instana_client.models.fixed_http_path_segment_matching_rule import FixedHttpPathSegmentMatchingRule -from instana_client.models.fixed_time_window import FixedTimeWindow -from instana_client.models.gateway_status_response import GatewayStatusResponse -from instana_client.models.generic_infra_alert_rule import GenericInfraAlertRule -from instana_client.models.geo_location_configuration import GeoLocationConfiguration -from instana_client.models.geo_mapping_rule import GeoMappingRule -from instana_client.models.geo_subdivision import GeoSubdivision -from instana_client.models.get_action_beacons_result import GetActionBeaconsResult -from instana_client.models.get_activities import GetActivities -from instana_client.models.get_application_metrics import GetApplicationMetrics -from instana_client.models.get_applications import GetApplications -from instana_client.models.get_available_metrics_query import GetAvailableMetricsQuery -from instana_client.models.get_available_plugins_query import GetAvailablePluginsQuery -from instana_client.models.get_call_groups import GetCallGroups -from instana_client.models.get_combined_metrics import GetCombinedMetrics -from instana_client.models.get_dynamic_parameter_values import GetDynamicParameterValues -from instana_client.models.get_endpoints import GetEndpoints -from instana_client.models.get_infrastructure_groups_query import GetInfrastructureGroupsQuery -from instana_client.models.get_infrastructure_query import GetInfrastructureQuery -from instana_client.models.get_metrics_result import GetMetricsResult -from instana_client.models.get_mobile_app_beacon_groups import GetMobileAppBeaconGroups -from instana_client.models.get_mobile_app_beacons import GetMobileAppBeacons -from instana_client.models.get_mobile_app_metrics import GetMobileAppMetrics -from instana_client.models.get_mobile_app_metrics_v2 import GetMobileAppMetricsV2 -from instana_client.models.get_payload_keys_result import GetPayloadKeysResult -from instana_client.models.get_services import GetServices -from instana_client.models.get_session_replay_metadata_result import GetSessionReplayMetadataResult -from instana_client.models.get_snapshots_query import GetSnapshotsQuery -from instana_client.models.get_test_result import GetTestResult -from instana_client.models.get_test_result_analytic import GetTestResultAnalytic -from instana_client.models.get_test_result_base import GetTestResultBase -from instana_client.models.get_test_result_list import GetTestResultList -from instana_client.models.get_test_summary_result import GetTestSummaryResult -from instana_client.models.get_trace_download_result_item import GetTraceDownloadResultItem -from instana_client.models.get_trace_groups import GetTraceGroups -from instana_client.models.get_traces import GetTraces -from instana_client.models.get_website_beacon_groups import GetWebsiteBeaconGroups -from instana_client.models.get_website_beacons import GetWebsiteBeacons -from instana_client.models.get_website_metrics import GetWebsiteMetrics -from instana_client.models.get_website_metrics_v2 import GetWebsiteMetricsV2 -from instana_client.models.git_hub_configuration import GitHubConfiguration -from instana_client.models.global_application_alert_config_with_metadata import GlobalApplicationAlertConfigWithMetadata -from instana_client.models.global_applications_alert_config import GlobalApplicationsAlertConfig -from instana_client.models.google_chat_integration import GoogleChatIntegration -from instana_client.models.graph_edge import GraphEdge -from instana_client.models.graph_node import GraphNode -from instana_client.models.group import Group -from instana_client.models.group_by_tag import GroupByTag -from instana_client.models.group_mapping import GroupMapping -from instana_client.models.group_mapping_overview import GroupMappingOverview -from instana_client.models.health_state import HealthState -from instana_client.models.historic_baseline import HistoricBaseline -from instana_client.models.host_availability_rule import HostAvailabilityRule -from instana_client.models.http_action_configuration import HttpActionConfiguration -from instana_client.models.http_action_configuration_update import HttpActionConfigurationUpdate -from instana_client.models.http_endpoint_config import HttpEndpointConfig -from instana_client.models.http_endpoint_rule import HttpEndpointRule -from instana_client.models.http_path_segment_matching_rule import HttpPathSegmentMatchingRule -from instana_client.models.http_script_configuration import HttpScriptConfiguration -from instana_client.models.http_script_configuration_update import HttpScriptConfigurationUpdate -from instana_client.models.hyper_param import HyperParam -from instana_client.models.icmp_configuration import ICMPConfiguration -from instana_client.models.icmp_configuration_update import ICMPConfigurationUpdate -from instana_client.models.icmp_validation import ICMPValidation -from instana_client.models.ip_filtering import IPFiltering -from instana_client.models.ip_filtering_rule_dto import IPFilteringRuleDto -from instana_client.models.ip_filtering_upsert import IPFilteringUpsert -from instana_client.models.identity_provider_patch import IdentityProviderPatch -from instana_client.models.idp_status_update import IdpStatusUpdate -from instana_client.models.impacted_beacon_info import ImpactedBeaconInfo -from instana_client.models.infra_alert_config import InfraAlertConfig -from instana_client.models.infra_alert_config_with_metadata import InfraAlertConfigWithMetadata -from instana_client.models.infra_alert_rule import InfraAlertRule -from instana_client.models.infra_event_result import InfraEventResult -from instana_client.models.infra_slo_entity import InfraSloEntity -from instana_client.models.infra_time_threshold import InfraTimeThreshold -from instana_client.models.infrastructure_entities_result import InfrastructureEntitiesResult -from instana_client.models.infrastructure_group import InfrastructureGroup -from instana_client.models.infrastructure_groups_result import InfrastructureGroupsResult -from instana_client.models.infrastructure_item import InfrastructureItem -from instana_client.models.infrastructure_metric_result import InfrastructureMetricResult -from instana_client.models.instana_version_info import InstanaVersionInfo -from instana_client.models.integration_overview import IntegrationOverview -from instana_client.models.invitation import Invitation -from instana_client.models.invitation_response import InvitationResponse -from instana_client.models.invitation_result import InvitationResult -from instana_client.models.ip_masking_configuration import IpMaskingConfiguration -from instana_client.models.js_stack_trace_line import JsStackTraceLine -from instana_client.models.kubernetes_physical_context import KubernetesPhysicalContext -from instana_client.models.llm_egress_gateway import LLMEgressGateway -from instana_client.models.llm_gateway_capability import LLMGatewayCapability -from instana_client.models.llm_gateway_model import LLMGatewayModel -from instana_client.models.llm_gateway_service import LLMGatewayService -from instana_client.models.llm_gateway_test_connection_request import LLMGatewayTestConnectionRequest -from instana_client.models.latency_blueprint_indicator import LatencyBlueprintIndicator -from instana_client.models.llm_model_price import LlmModelPrice -from instana_client.models.llm_model_price_metadata import LlmModelPriceMetadata -from instana_client.models.location_status import LocationStatus -from instana_client.models.log_alert_config import LogAlertConfig -from instana_client.models.log_alert_config_with_metadata import LogAlertConfigWithMetadata -from instana_client.models.log_alert_rule import LogAlertRule -from instana_client.models.log_count_alert_rule import LogCountAlertRule -from instana_client.models.log_event_result import LogEventResult -from instana_client.models.log_time_threshold import LogTimeThreshold -from instana_client.models.log_volume_group import LogVolumeGroup -from instana_client.models.log_volume_usage_item import LogVolumeUsageItem -from instana_client.models.log_volume_usage_result import LogVolumeUsageResult -from instana_client.models.logs_api_response import LogsApiResponse -from instana_client.models.logs_application_alert_rule import LogsApplicationAlertRule -from instana_client.models.logs_query import LogsQuery -from instana_client.models.maintenance_config import MaintenanceConfig -from instana_client.models.maintenance_config_scheduling import MaintenanceConfigScheduling -from instana_client.models.maintenance_config_v2 import MaintenanceConfigV2 -from instana_client.models.maintenance_config_v2_with_state_and_occurrence import MaintenanceConfigV2WithStateAndOccurrence -from instana_client.models.maintenance_config_with_last_updated import MaintenanceConfigWithLastUpdated -from instana_client.models.maintenance_window import MaintenanceWindow -from instana_client.models.manual_alerting_channel_configuration import ManualAlertingChannelConfiguration -from instana_client.models.manual_close_info import ManualCloseInfo -from instana_client.models.manual_service_config import ManualServiceConfig -from instana_client.models.match_all_http_path_segment_matching_rule import MatchAllHttpPathSegmentMatchingRule -from instana_client.models.match_expression_dto import MatchExpressionDTO -from instana_client.models.meta_data import MetaData -from instana_client.models.metric_api_result import MetricAPIResult -from instana_client.models.metric_config import MetricConfig -from instana_client.models.metric_configuration import MetricConfiguration -from instana_client.models.metric_description import MetricDescription -from instana_client.models.metric_field import MetricField -from instana_client.models.metric_field_value import MetricFieldValue -from instana_client.models.metric_instance import MetricInstance -from instana_client.models.metric_item import MetricItem -from instana_client.models.metric_metadata import MetricMetadata -from instana_client.models.metric_pattern import MetricPattern -from instana_client.models.metrics_result import MetricsResult -from instana_client.models.metrics_result_item import MetricsResultItem -from instana_client.models.metrics_test_result_item import MetricsTestResultItem -from instana_client.models.mobile_app import MobileApp -from instana_client.models.mobile_app_alert_config import MobileAppAlertConfig -from instana_client.models.mobile_app_alert_config_with_rbac_tag import MobileAppAlertConfigWithRBACTag -from instana_client.models.mobile_app_alert_rule import MobileAppAlertRule -from instana_client.models.mobile_app_beacon_groups_item import MobileAppBeaconGroupsItem -from instana_client.models.mobile_app_beacon_groups_result import MobileAppBeaconGroupsResult -from instana_client.models.mobile_app_beacon_result import MobileAppBeaconResult -from instana_client.models.mobile_app_beacon_tag_group import MobileAppBeaconTagGroup -from instana_client.models.mobile_app_beacons_item import MobileAppBeaconsItem -from instana_client.models.mobile_app_event_result import MobileAppEventResult -from instana_client.models.mobile_app_metric_result import MobileAppMetricResult -from instana_client.models.mobile_app_monitoring_beacon import MobileAppMonitoringBeacon -from instana_client.models.mobile_app_monitoring_metric_description import MobileAppMonitoringMetricDescription -from instana_client.models.mobile_app_monitoring_metrics_configuration import MobileAppMonitoringMetricsConfiguration -from instana_client.models.mobile_app_time_threshold import MobileAppTimeThreshold -from instana_client.models.mobile_slo_entity import MobileSloEntity -from instana_client.models.model_field import ModelField -from instana_client.models.monitored_entities_stats import MonitoredEntitiesStats -from instana_client.models.monitoring_state import MonitoringState -from instana_client.models.multiple_scripts_configuration import MultipleScriptsConfiguration -from instana_client.models.ns1_integration import NS1Integration -from instana_client.models.new_application_config import NewApplicationConfig -from instana_client.models.new_business_perspective_config import NewBusinessPerspectiveConfig -from instana_client.models.new_manual_service_config import NewManualServiceConfig -from instana_client.models.notification import Notification -from instana_client.models.o_auth_config import OAuthConfig -from instana_client.models.o_auth_integration import OAuthIntegration -from instana_client.models.o_auth_token import OAuthToken -from instana_client.models.occurrence import Occurrence -from instana_client.models.office365_integration import Office365Integration -from instana_client.models.one_time_maintenance_window import OneTimeMaintenanceWindow -from instana_client.models.opsgenie_integration import OpsgenieIntegration -from instana_client.models.order import Order -from instana_client.models.pagerduty_integration import PagerdutyIntegration -from instana_client.models.paginated_result import PaginatedResult -from instana_client.models.pagination import Pagination -from instana_client.models.parameter import Parameter -from instana_client.models.parameter_value import ParameterValue -from instana_client.models.path_parameter_http_path_segment_matching_rule import PathParameterHttpPathSegmentMatchingRule -from instana_client.models.physical_context import PhysicalContext -from instana_client.models.plugin_result import PluginResult -from instana_client.models.policy import Policy -from instana_client.models.policy_runnable import PolicyRunnable -from instana_client.models.policy_scheduling import PolicyScheduling -from instana_client.models.post_mobile_app_source_map_config_request import PostMobileAppSourceMapConfigRequest -from instana_client.models.post_snapshots_result import PostSnapshotsResult -from instana_client.models.prefix_object import PrefixObject -from instana_client.models.problem import Problem -from instana_client.models.prometheus_webhook_integration import PrometheusWebhookIntegration -from instana_client.models.rbac_restrictions import RbacRestrictions -from instana_client.models.recurrent_maintenance_window import RecurrentMaintenanceWindow -from instana_client.models.release import Release -from instana_client.models.release_scope import ReleaseScope -from instana_client.models.release_with_metadata import ReleaseWithMetadata -from instana_client.models.retention_period import RetentionPeriod -from instana_client.models.role_mapping_overview import RoleMappingOverview -from instana_client.models.rolling_time_window import RollingTimeWindow -from instana_client.models.rule_input import RuleInput -from instana_client.models.rule_with_threshold_application_alert_rule import RuleWithThresholdApplicationAlertRule -from instana_client.models.rule_with_threshold_infra_alert_rule import RuleWithThresholdInfraAlertRule -from instana_client.models.rule_with_threshold_log_alert_rule import RuleWithThresholdLogAlertRule -from instana_client.models.rule_with_threshold_mobile_app_alert_rule import RuleWithThresholdMobileAppAlertRule -from instana_client.models.rule_with_threshold_website_alert_rule import RuleWithThresholdWebsiteAlertRule -from instana_client.models.run_configuration import RunConfiguration -from instana_client.models.run_evaluation_response import RunEvaluationResponse -from instana_client.models.slo_config_with_rbac_tag import SLOConfigWithRBACTag -from instana_client.models.ssl_certificate_configuration import SSLCertificateConfiguration -from instana_client.models.ssl_certificate_configuration_update import SSLCertificateConfigurationUpdate -from instana_client.models.ssl_certificate_validation import SSLCertificateValidation -from instana_client.models.salesforce_integration import SalesforceIntegration -from instana_client.models.sampling_metadata import SamplingMetadata -from instana_client.models.saturation_blueprint_indicator import SaturationBlueprintIndicator -from instana_client.models.scope_binding import ScopeBinding -from instana_client.models.search_field_result import SearchFieldResult -from instana_client.models.service import Service -from instana_client.models.service_config import ServiceConfig -from instana_client.models.service_event_result import ServiceEventResult -from instana_client.models.service_item import ServiceItem -from instana_client.models.service_level_indicator import ServiceLevelIndicator -from instana_client.models.service_level_objective_alert_rule import ServiceLevelObjectiveAlertRule -from instana_client.models.service_levels_alert_config import ServiceLevelsAlertConfig -from instana_client.models.service_levels_alert_config_with_rbac_tag import ServiceLevelsAlertConfigWithRBACTag -from instana_client.models.service_levels_alert_rule import ServiceLevelsAlertRule -from instana_client.models.service_levels_burn_rate_config import ServiceLevelsBurnRateConfig -from instana_client.models.service_levels_burn_rate_time_windows import ServiceLevelsBurnRateTimeWindows -from instana_client.models.service_levels_static_threshold_config import ServiceLevelsStaticThresholdConfig -from instana_client.models.service_levels_time_threshold import ServiceLevelsTimeThreshold -from instana_client.models.service_levelse_alert_config_with_metadata import ServiceLevelseAlertConfigWithMetadata -from instana_client.models.service_map import ServiceMap -from instana_client.models.service_map_connection import ServiceMapConnection -from instana_client.models.service_matching_rule import ServiceMatchingRule -from instana_client.models.service_metric_result import ServiceMetricResult -from instana_client.models.service_node import ServiceNode -from instana_client.models.service_now_enhanced_integration import ServiceNowEnhancedIntegration -from instana_client.models.service_now_integration import ServiceNowIntegration -from instana_client.models.service_result import ServiceResult -from instana_client.models.service_scope import ServiceScope -from instana_client.models.service_scope_with_metadata import ServiceScopeWithMetadata -from instana_client.models.service_scoped_to import ServiceScopedTo -from instana_client.models.service_scoped_to_with_metadata import ServiceScopedToWithMetadata -from instana_client.models.service_simple import ServiceSimple -from instana_client.models.session_replay_metadata import SessionReplayMetadata -from instana_client.models.session_replay_timestamps import SessionReplayTimestamps -from instana_client.models.session_settings import SessionSettings -from instana_client.models.simple_metric_configuration import SimpleMetricConfiguration -from instana_client.models.slack_integration import SlackIntegration -from instana_client.models.sli_configuration import SliConfiguration -from instana_client.models.sli_configuration_with_last_updated import SliConfigurationWithLastUpdated -from instana_client.models.sli_entity import SliEntity -from instana_client.models.sli_report import SliReport -from instana_client.models.slo_entity import SloEntity -from instana_client.models.slo_report import SloReport -from instana_client.models.slowness_application_alert_rule import SlownessApplicationAlertRule -from instana_client.models.slowness_mobile_app_alert_rule import SlownessMobileAppAlertRule -from instana_client.models.slowness_website_alert_rule import SlownessWebsiteAlertRule -from instana_client.models.snapshot_item import SnapshotItem -from instana_client.models.snapshot_preview import SnapshotPreview -from instana_client.models.snapshot_result import SnapshotResult -from instana_client.models.software_user import SoftwareUser -from instana_client.models.software_version import SoftwareVersion -from instana_client.models.source_map_file_blob import SourceMapFileBlob -from instana_client.models.source_map_file_meta import SourceMapFileMeta -from instana_client.models.source_map_upload_config import SourceMapUploadConfig -from instana_client.models.source_map_upload_configs import SourceMapUploadConfigs -from instana_client.models.span_excerpt import SpanExcerpt -from instana_client.models.span_relation import SpanRelation -from instana_client.models.specific_js_errors_website_alert_rule import SpecificJsErrorsWebsiteAlertRule -from instana_client.models.splunk_integration import SplunkIntegration -from instana_client.models.stack_trace_item import StackTraceItem -from instana_client.models.stack_trace_line import StackTraceLine -from instana_client.models.static_baseline_threshold_rule import StaticBaselineThresholdRule -from instana_client.models.static_string_field import StaticStringField -from instana_client.models.static_threshold import StaticThreshold -from instana_client.models.static_threshold_rule import StaticThresholdRule -from instana_client.models.status_code_application_alert_rule import StatusCodeApplicationAlertRule -from instana_client.models.status_code_mobile_app_alert_rule import StatusCodeMobileAppAlertRule -from instana_client.models.status_code_website_alert_rule import StatusCodeWebsiteAlertRule -from instana_client.models.synthetic_alert_config import SyntheticAlertConfig -from instana_client.models.synthetic_alert_config_with_metadata import SyntheticAlertConfigWithMetadata -from instana_client.models.synthetic_alert_config_with_rbac_tag import SyntheticAlertConfigWithRBACTag -from instana_client.models.synthetic_alert_rule import SyntheticAlertRule -from instana_client.models.synthetic_bulk_response import SyntheticBulkResponse -from instana_client.models.synthetic_call_config import SyntheticCallConfig -from instana_client.models.synthetic_call_rule import SyntheticCallRule -from instana_client.models.synthetic_call_with_defaults_config import SyntheticCallWithDefaultsConfig -from instana_client.models.synthetic_configuration import SyntheticConfiguration -from instana_client.models.synthetic_configuration_update import SyntheticConfigurationUpdate -from instana_client.models.synthetic_credential import SyntheticCredential -from instana_client.models.synthetic_datacenter import SyntheticDatacenter -from instana_client.models.synthetic_datacenter_configuration import SyntheticDatacenterConfiguration -from instana_client.models.synthetic_geo_point import SyntheticGeoPoint -from instana_client.models.synthetic_location import SyntheticLocation -from instana_client.models.synthetic_location_configuration import SyntheticLocationConfiguration -from instana_client.models.synthetic_metric_configuration import SyntheticMetricConfiguration -from instana_client.models.synthetic_metric_tag_group import SyntheticMetricTagGroup -from instana_client.models.synthetic_playback_capabilities import SyntheticPlaybackCapabilities -from instana_client.models.synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value import SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue -from instana_client.models.synthetic_resource_update_list_icmp_validation_list_icmp_validation import SyntheticResourceUpdateListICMPValidationListICMPValidation -from instana_client.models.synthetic_resource_update_list_network_profile_list_network_profile import SyntheticResourceUpdateListNetworkProfileListNetworkProfile -from instana_client.models.synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation import SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation -from instana_client.models.synthetic_resource_update_list_string_list_string import SyntheticResourceUpdateListStringListString -from instana_client.models.synthetic_resource_update_map_string_string_list_string import SyntheticResourceUpdateMapStringStringListString -from instana_client.models.synthetic_slo_entity import SyntheticSloEntity -from instana_client.models.synthetic_test import SyntheticTest -from instana_client.models.synthetic_test_cicd import SyntheticTestCICD -from instana_client.models.synthetic_test_cicd_customization import SyntheticTestCICDCustomization -from instana_client.models.synthetic_test_cicd_item import SyntheticTestCICDItem -from instana_client.models.synthetic_test_cicd_response import SyntheticTestCICDResponse -from instana_client.models.synthetic_test_deep_update import SyntheticTestDeepUpdate -from instana_client.models.synthetic_test_shallow_update import SyntheticTestShallowUpdate -from instana_client.models.synthetic_test_update import SyntheticTestUpdate -from instana_client.models.synthetic_time_threshold import SyntheticTimeThreshold -from instana_client.models.synthetic_type_configuration import SyntheticTypeConfiguration -from instana_client.models.synthetic_type_configuration_update import SyntheticTypeConfigurationUpdate -from instana_client.models.synthetics_event_result import SyntheticsEventResult -from instana_client.models.system_rule import SystemRule -from instana_client.models.system_rule_label import SystemRuleLabel -from instana_client.models.tag import Tag -from instana_client.models.tag_catalog import TagCatalog -from instana_client.models.tag_filter import TagFilter -from instana_client.models.tag_filter_expression import TagFilterExpression -from instana_client.models.tag_filter_expression_element import TagFilterExpressionElement -from instana_client.models.tag_matcher_dto import TagMatcherDTO -from instana_client.models.tag_tree_level import TagTreeLevel -from instana_client.models.tag_tree_node import TagTreeNode -from instana_client.models.tag_tree_tag import TagTreeTag -from instana_client.models.test_common_properties import TestCommonProperties -from instana_client.models.test_connection_response import TestConnectionResponse -from instana_client.models.test_last_error import TestLastError -from instana_client.models.test_result import TestResult -from instana_client.models.test_result_common_properties import TestResultCommonProperties -from instana_client.models.test_result_detail_data import TestResultDetailData -from instana_client.models.test_result_item import TestResultItem -from instana_client.models.test_result_list_item import TestResultListItem -from instana_client.models.test_result_list_result import TestResultListResult -from instana_client.models.test_result_metadata import TestResultMetadata -from instana_client.models.test_result_subtransaction import TestResultSubtransaction -from instana_client.models.threshold import Threshold -from instana_client.models.threshold_config_rule import ThresholdConfigRule -from instana_client.models.threshold_rule import ThresholdRule -from instana_client.models.throughput_application_alert_rule import ThroughputApplicationAlertRule -from instana_client.models.throughput_mobile_app_alert_rule import ThroughputMobileAppAlertRule -from instana_client.models.throughput_website_alert_rule import ThroughputWebsiteAlertRule -from instana_client.models.time_config import TimeConfig -from instana_client.models.time_frame import TimeFrame -from instana_client.models.time_window import TimeWindow -from instana_client.models.topology import Topology -from instana_client.models.trace import Trace -from instana_client.models.trace_activity_tree_node_details import TraceActivityTreeNodeDetails -from instana_client.models.trace_download_result import TraceDownloadResult -from instana_client.models.trace_groups_item import TraceGroupsItem -from instana_client.models.trace_groups_result import TraceGroupsResult -from instana_client.models.trace_impact_application_time_threshold import TraceImpactApplicationTimeThreshold -from instana_client.models.trace_item import TraceItem -from instana_client.models.trace_result import TraceResult -from instana_client.models.trace_sampling_config import TraceSamplingConfig -from instana_client.models.traffic_blueprint_indicator import TrafficBlueprintIndicator -from instana_client.models.trigger import Trigger -from instana_client.models.type_configuration import TypeConfiguration -from instana_client.models.unified_beacon import UnifiedBeacon -from instana_client.models.unsupported_http_path_segment_matching_rule import UnsupportedHttpPathSegmentMatchingRule -from instana_client.models.update_evaluation_request import UpdateEvaluationRequest -from instana_client.models.updated_business_perspective_config import UpdatedBusinessPerspectiveConfig -from instana_client.models.usage_result import UsageResult -from instana_client.models.usage_result_items import UsageResultItems -from instana_client.models.user_basic_result import UserBasicResult -from instana_client.models.user_impact_mobile_app_time_threshold import UserImpactMobileAppTimeThreshold -from instana_client.models.user_impact_website_time_threshold import UserImpactWebsiteTimeThreshold -from instana_client.models.user_result import UserResult -from instana_client.models.users_result import UsersResult -from instana_client.models.validated_alerting_channel_input_info import ValidatedAlertingChannelInputInfo -from instana_client.models.validated_alerting_configuration import ValidatedAlertingConfiguration -from instana_client.models.validated_maintenance_config_v2_with_state_and_occurrence import ValidatedMaintenanceConfigV2WithStateAndOccurrence -from instana_client.models.validated_maintenance_config_with_status import ValidatedMaintenanceConfigWithStatus -from instana_client.models.victor_ops_integration import VictorOpsIntegration -from instana_client.models.violations_in_period_application_time_threshold import ViolationsInPeriodApplicationTimeThreshold -from instana_client.models.violations_in_period_mobile_app_time_threshold import ViolationsInPeriodMobileAppTimeThreshold -from instana_client.models.violations_in_period_website_time_threshold import ViolationsInPeriodWebsiteTimeThreshold -from instana_client.models.violations_in_sequence_application_time_threshold import ViolationsInSequenceApplicationTimeThreshold -from instana_client.models.violations_in_sequence_infra_time_threshold import ViolationsInSequenceInfraTimeThreshold -from instana_client.models.violations_in_sequence_log_time_threshold import ViolationsInSequenceLogTimeThreshold -from instana_client.models.violations_in_sequence_mobile_app_time_threshold import ViolationsInSequenceMobileAppTimeThreshold -from instana_client.models.violations_in_sequence_synthetic_time_threshold import ViolationsInSequenceSyntheticTimeThreshold -from instana_client.models.violations_in_sequence_website_time_threshold import ViolationsInSequenceWebsiteTimeThreshold -from instana_client.models.watson_ai_ops_webhook_integration import WatsonAIOpsWebhookIntegration -from instana_client.models.webex_teams_webhook_integration import WebexTeamsWebhookIntegration -from instana_client.models.webhook_integration import WebhookIntegration -from instana_client.models.webpage_action_configuration import WebpageActionConfiguration -from instana_client.models.webpage_action_configuration_update import WebpageActionConfigurationUpdate -from instana_client.models.webpage_script_configuration import WebpageScriptConfiguration -from instana_client.models.webpage_script_configuration_update import WebpageScriptConfigurationUpdate -from instana_client.models.website import Website -from instana_client.models.website_alert_config import WebsiteAlertConfig -from instana_client.models.website_alert_config_with_metadata import WebsiteAlertConfigWithMetadata -from instana_client.models.website_alert_config_with_rbac_tag import WebsiteAlertConfigWithRBACTag -from instana_client.models.website_alert_rule import WebsiteAlertRule -from instana_client.models.website_apdex_entity import WebsiteApdexEntity -from instana_client.models.website_beacon_groups_item import WebsiteBeaconGroupsItem -from instana_client.models.website_beacon_groups_result import WebsiteBeaconGroupsResult -from instana_client.models.website_beacon_result import WebsiteBeaconResult -from instana_client.models.website_beacon_tag_group import WebsiteBeaconTagGroup -from instana_client.models.website_beacons_item import WebsiteBeaconsItem -from instana_client.models.website_event_based_sli_entity import WebsiteEventBasedSliEntity -from instana_client.models.website_event_result import WebsiteEventResult -from instana_client.models.website_metric_result import WebsiteMetricResult -from instana_client.models.website_monitoring_beacon import WebsiteMonitoringBeacon -from instana_client.models.website_monitoring_metric_description import WebsiteMonitoringMetricDescription -from instana_client.models.website_monitoring_metrics_configuration import WebsiteMonitoringMetricsConfiguration -from instana_client.models.website_slo_entity import WebsiteSloEntity -from instana_client.models.website_time_based_sli_entity import WebsiteTimeBasedSliEntity -from instana_client.models.website_time_threshold import WebsiteTimeThreshold -from instana_client.models.widget import Widget -from instana_client.models.with_meta_data import WithMetaData -from instana_client.models.with_resolved_name import WithResolvedName -from instana_client.models.z_chat_ops_integration import ZChatOpsIntegration +from instana_client.models.abstract_integration import AbstractIntegration as AbstractIntegration +from instana_client.models.abstract_rule import AbstractRule as AbstractRule +from instana_client.models.access_rule import AccessRule as AccessRule +from instana_client.models.action import Action as Action +from instana_client.models.action_beacon import ActionBeacon as ActionBeacon +from instana_client.models.action_configuration import ActionConfiguration as ActionConfiguration +from instana_client.models.action_instance import ActionInstance as ActionInstance +from instana_client.models.action_instance_metadata_entry import ActionInstanceMetadataEntry as ActionInstanceMetadataEntry +from instana_client.models.action_instance_parameter import ActionInstanceParameter as ActionInstanceParameter +from instana_client.models.action_instance_request import ActionInstanceRequest as ActionInstanceRequest +from instana_client.models.action_instance_request_parameters import ActionInstanceRequestParameters as ActionInstanceRequestParameters +from instana_client.models.action_match import ActionMatch as ActionMatch +from instana_client.models.action_search_space import ActionSearchSpace as ActionSearchSpace +from instana_client.models.adaptive_baseline import AdaptiveBaseline as AdaptiveBaseline +from instana_client.models.adaptive_threshold_rule import AdaptiveThresholdRule as AdaptiveThresholdRule +from instana_client.models.adjusted_timeframe import AdjustedTimeframe as AdjustedTimeframe +from instana_client.models.advanced_custom_blueprint_indicator import AdvancedCustomBlueprintIndicator as AdvancedCustomBlueprintIndicator +from instana_client.models.advanced_filter import AdvancedFilter as AdvancedFilter +from instana_client.models.agent_configuration_update import AgentConfigurationUpdate as AgentConfigurationUpdate +from instana_client.models.agent_mode_update import AgentModeUpdate as AgentModeUpdate +from instana_client.models.alerting_configuration import AlertingConfiguration as AlertingConfiguration +from instana_client.models.alerting_configuration_with_last_updated import AlertingConfigurationWithLastUpdated as AlertingConfigurationWithLastUpdated +from instana_client.models.alerting_time_window import AlertingTimeWindow as AlertingTimeWindow +from instana_client.models.apdex_alert_rule import ApdexAlertRule as ApdexAlertRule +from instana_client.models.apdex_config_with_rbac_tag import ApdexConfigWithRBACTag as ApdexConfigWithRBACTag +from instana_client.models.apdex_configuration import ApdexConfiguration as ApdexConfiguration +from instana_client.models.apdex_configuration_input import ApdexConfigurationInput as ApdexConfigurationInput +from instana_client.models.apdex_entity import ApdexEntity as ApdexEntity +from instana_client.models.apdex_level import ApdexLevel as ApdexLevel +from instana_client.models.apdex_report import ApdexReport as ApdexReport +from instana_client.models.api_create_group import ApiCreateGroup as ApiCreateGroup +from instana_client.models.api_create_role import ApiCreateRole as ApiCreateRole +from instana_client.models.api_group import ApiGroup as ApiGroup +from instana_client.models.api_group_to_team_role_migration import ApiGroupToTeamRoleMigration as ApiGroupToTeamRoleMigration +from instana_client.models.api_log_item import ApiLogItem as ApiLogItem +from instana_client.models.api_log_tag import ApiLogTag as ApiLogTag +from instana_client.models.api_member import ApiMember as ApiMember +from instana_client.models.api_permission_set import ApiPermissionSet as ApiPermissionSet +from instana_client.models.api_restricted_application_filter import ApiRestrictedApplicationFilter as ApiRestrictedApplicationFilter +from instana_client.models.api_role import ApiRole as ApiRole +from instana_client.models.api_tag import ApiTag as ApiTag +from instana_client.models.api_team import ApiTeam as ApiTeam +from instana_client.models.api_team_info import ApiTeamInfo as ApiTeamInfo +from instana_client.models.api_team_member import ApiTeamMember as ApiTeamMember +from instana_client.models.api_team_role import ApiTeamRole as ApiTeamRole +from instana_client.models.api_team_scope import ApiTeamScope as ApiTeamScope +from instana_client.models.api_token import ApiToken as ApiToken +from instana_client.models.app_data_metric_configuration import AppDataMetricConfiguration as AppDataMetricConfiguration +from instana_client.models.application import Application as Application +from instana_client.models.application_alert_config import ApplicationAlertConfig as ApplicationAlertConfig +from instana_client.models.application_alert_config_with_metadata import ApplicationAlertConfigWithMetadata as ApplicationAlertConfigWithMetadata +from instana_client.models.application_alert_rule import ApplicationAlertRule as ApplicationAlertRule +from instana_client.models.application_apdex_entity import ApplicationApdexEntity as ApplicationApdexEntity +from instana_client.models.application_batch_business_criticality_update import ApplicationBatchBusinessCriticalityUpdate as ApplicationBatchBusinessCriticalityUpdate +from instana_client.models.application_config import ApplicationConfig as ApplicationConfig +from instana_client.models.application_event_result import ApplicationEventResult as ApplicationEventResult +from instana_client.models.application_item import ApplicationItem as ApplicationItem +from instana_client.models.application_metric_result import ApplicationMetricResult as ApplicationMetricResult +from instana_client.models.application_node import ApplicationNode as ApplicationNode +from instana_client.models.application_result import ApplicationResult as ApplicationResult +from instana_client.models.application_scope import ApplicationScope as ApplicationScope +from instana_client.models.application_scope_with_metadata import ApplicationScopeWithMetadata as ApplicationScopeWithMetadata +from instana_client.models.application_sli_entity import ApplicationSliEntity as ApplicationSliEntity +from instana_client.models.application_slo_entity import ApplicationSloEntity as ApplicationSloEntity +from instana_client.models.application_time_threshold import ApplicationTimeThreshold as ApplicationTimeThreshold +from instana_client.models.audit_log_ui_response import AuditLogUiResponse as AuditLogUiResponse +from instana_client.models.author import Author as Author +from instana_client.models.availability_blueprint_indicator import AvailabilityBlueprintIndicator as AvailabilityBlueprintIndicator +from instana_client.models.availability_sli_entity import AvailabilitySliEntity as AvailabilitySliEntity +from instana_client.models.available_metrics import AvailableMetrics as AvailableMetrics +from instana_client.models.available_plugins import AvailablePlugins as AvailablePlugins +from instana_client.models.backend_trace_reference import BackendTraceReference as BackendTraceReference +from instana_client.models.bidirectional_ms_teams_app_integration import BidirectionalMsTeamsAppIntegration as BidirectionalMsTeamsAppIntegration +from instana_client.models.bidirectional_slack_app_integration import BidirectionalSlackAppIntegration as BidirectionalSlackAppIntegration +from instana_client.models.binary_operator_dto import BinaryOperatorDTO as BinaryOperatorDTO +from instana_client.models.browser_script_configuration import BrowserScriptConfiguration as BrowserScriptConfiguration +from instana_client.models.browser_script_configuration_update import BrowserScriptConfigurationUpdate as BrowserScriptConfigurationUpdate +from instana_client.models.built_in_event_specification import BuiltInEventSpecification as BuiltInEventSpecification +from instana_client.models.built_in_event_specification_with_last_updated import BuiltInEventSpecificationWithLastUpdated as BuiltInEventSpecificationWithLastUpdated +from instana_client.models.bulk_alert_config_request import BulkAlertConfigRequest as BulkAlertConfigRequest +from instana_client.models.business_activity import BusinessActivity as BusinessActivity +from instana_client.models.business_perspective_config import BusinessPerspectiveConfig as BusinessPerspectiveConfig +from instana_client.models.call_groups_item import CallGroupsItem as CallGroupsItem +from instana_client.models.call_groups_result import CallGroupsResult as CallGroupsResult +from instana_client.models.call_relation import CallRelation as CallRelation +from instana_client.models.calls_event_result import CallsEventResult as CallsEventResult +from instana_client.models.change_summary import ChangeSummary as ChangeSummary +from instana_client.models.cloudfoundry_physical_context import CloudfoundryPhysicalContext as CloudfoundryPhysicalContext +from instana_client.models.condition import Condition as Condition +from instana_client.models.config_version import ConfigVersion as ConfigVersion +from instana_client.models.correction import Correction as Correction +from instana_client.models.correction_configuration import CorrectionConfiguration as CorrectionConfiguration +from instana_client.models.correction_scheduling import CorrectionScheduling as CorrectionScheduling +from instana_client.models.correction_window import CorrectionWindow as CorrectionWindow +from instana_client.models.crash_mobile_app_alert_rule import CrashMobileAppAlertRule as CrashMobileAppAlertRule +from instana_client.models.create_evaluation_request import CreateEvaluationRequest as CreateEvaluationRequest +from instana_client.models.create_evaluation_response import CreateEvaluationResponse as CreateEvaluationResponse +from instana_client.models.create_website_request_inner import CreateWebsiteRequestInner as CreateWebsiteRequestInner +from instana_client.models.cursor_paginated_business_activity_item import CursorPaginatedBusinessActivityItem as CursorPaginatedBusinessActivityItem +from instana_client.models.cursor_pagination import CursorPagination as CursorPagination +from instana_client.models.cursor_pagination_with_ui_cursor_infra_explore_cursor import CursorPaginationWithUiCursorInfraExploreCursor as CursorPaginationWithUiCursorInfraExploreCursor +from instana_client.models.custom_blueprint_indicator import CustomBlueprintIndicator as CustomBlueprintIndicator +from instana_client.models.custom_dashboard import CustomDashboard as CustomDashboard +from instana_client.models.custom_dashboard_preview import CustomDashboardPreview as CustomDashboardPreview +from instana_client.models.custom_dashboard_with_user_specific_information import CustomDashboardWithUserSpecificInformation as CustomDashboardWithUserSpecificInformation +from instana_client.models.custom_dependency import CustomDependency as CustomDependency +from instana_client.models.custom_email_subject_prefix import CustomEmailSubjectPrefix as CustomEmailSubjectPrefix +from instana_client.models.custom_entity_model import CustomEntityModel as CustomEntityModel +from instana_client.models.custom_entity_with_metadata import CustomEntityWithMetadata as CustomEntityWithMetadata +from instana_client.models.custom_event_mobile_app_alert_rule import CustomEventMobileAppAlertRule as CustomEventMobileAppAlertRule +from instana_client.models.custom_event_specification import CustomEventSpecification as CustomEventSpecification +from instana_client.models.custom_event_specification_with_last_updated import CustomEventSpecificationWithLastUpdated as CustomEventSpecificationWithLastUpdated +from instana_client.models.custom_event_website_alert_rule import CustomEventWebsiteAlertRule as CustomEventWebsiteAlertRule +from instana_client.models.custom_metric import CustomMetric as CustomMetric +from instana_client.models.custom_metric_application_alert_rule import CustomMetricApplicationAlertRule as CustomMetricApplicationAlertRule +from instana_client.models.custom_payload_configuration import CustomPayloadConfiguration as CustomPayloadConfiguration +from instana_client.models.custom_payload_field import CustomPayloadField as CustomPayloadField +from instana_client.models.custom_payload_with_last_updated import CustomPayloadWithLastUpdated as CustomPayloadWithLastUpdated +from instana_client.models.custom_payload_with_version import CustomPayloadWithVersion as CustomPayloadWithVersion +from instana_client.models.custom_tag import CustomTag as CustomTag +from instana_client.models.customer_email import CustomerEmail as CustomerEmail +from instana_client.models.dns_configuration import DNSConfiguration as DNSConfiguration +from instana_client.models.dns_configuration_update import DNSConfigurationUpdate as DNSConfigurationUpdate +from instana_client.models.dns_filter_query_time import DNSFilterQueryTime as DNSFilterQueryTime +from instana_client.models.dns_filter_target_value import DNSFilterTargetValue as DNSFilterTargetValue +from instana_client.models.dashboard_api_token import DashboardApiToken as DashboardApiToken +from instana_client.models.database_integration import DatabaseIntegration as DatabaseIntegration +from instana_client.models.deprecated_tag_filter import DeprecatedTagFilter as DeprecatedTagFilter +from instana_client.models.duration import Duration as Duration +from instana_client.models.dynamic_field import DynamicField as DynamicField +from instana_client.models.dynamic_field_value import DynamicFieldValue as DynamicFieldValue +from instana_client.models.dynamic_parameter import DynamicParameter as DynamicParameter +from instana_client.models.dynamic_tag import DynamicTag as DynamicTag +from instana_client.models.edit_user import EditUser as EditUser +from instana_client.models.email_integration import EmailIntegration as EmailIntegration +from instana_client.models.empty_configuration import EmptyConfiguration as EmptyConfiguration +from instana_client.models.endpoint import Endpoint as Endpoint +from instana_client.models.endpoint_config import EndpointConfig as EndpointConfig +from instana_client.models.endpoint_event_result import EndpointEventResult as EndpointEventResult +from instana_client.models.endpoint_item import EndpointItem as EndpointItem +from instana_client.models.endpoint_metric_result import EndpointMetricResult as EndpointMetricResult +from instana_client.models.endpoint_node import EndpointNode as EndpointNode +from instana_client.models.endpoint_result import EndpointResult as EndpointResult +from instana_client.models.endpoint_simple import EndpointSimple as EndpointSimple +from instana_client.models.entity_count_rule import EntityCountRule as EntityCountRule +from instana_client.models.entity_count_verification_rule import EntityCountVerificationRule as EntityCountVerificationRule +from instana_client.models.entity_health_info import EntityHealthInfo as EntityHealthInfo +from instana_client.models.entity_id import EntityId as EntityId +from instana_client.models.entity_metric import EntityMetric as EntityMetric +from instana_client.models.entity_metric_scope import EntityMetricScope as EntityMetricScope +from instana_client.models.entity_verification_rule import EntityVerificationRule as EntityVerificationRule +from instana_client.models.error_budget_alert_rule import ErrorBudgetAlertRule as ErrorBudgetAlertRule +from instana_client.models.errors_application_alert_rule import ErrorsApplicationAlertRule as ErrorsApplicationAlertRule +from instana_client.models.evaluation_detail_response import EvaluationDetailResponse as EvaluationDetailResponse +from instana_client.models.evaluation_list_item import EvaluationListItem as EvaluationListItem +from instana_client.models.evaluation_list_response import EvaluationListResponse as EvaluationListResponse +from instana_client.models.evaluator import Evaluator as Evaluator +from instana_client.models.event import Event as Event +from instana_client.models.event_filtering_configuration import EventFilteringConfiguration as EventFilteringConfiguration +from instana_client.models.event_result import EventResult as EventResult +from instana_client.models.event_specification_info import EventSpecificationInfo as EventSpecificationInfo +from instana_client.models.extended_service import ExtendedService as ExtendedService +from instana_client.models.failure_synthetic_alert_rule import FailureSyntheticAlertRule as FailureSyntheticAlertRule +from instana_client.models.filter_interface import FilterInterface as FilterInterface +from instana_client.models.fixed_http_path_segment_matching_rule import FixedHttpPathSegmentMatchingRule as FixedHttpPathSegmentMatchingRule +from instana_client.models.fixed_time_window import FixedTimeWindow as FixedTimeWindow +from instana_client.models.gateway_status_response import GatewayStatusResponse as GatewayStatusResponse +from instana_client.models.generic_infra_alert_rule import GenericInfraAlertRule as GenericInfraAlertRule +from instana_client.models.geo_location_configuration import GeoLocationConfiguration as GeoLocationConfiguration +from instana_client.models.geo_mapping_rule import GeoMappingRule as GeoMappingRule +from instana_client.models.geo_subdivision import GeoSubdivision as GeoSubdivision +from instana_client.models.get_action_beacons_result import GetActionBeaconsResult as GetActionBeaconsResult +from instana_client.models.get_activities import GetActivities as GetActivities +from instana_client.models.get_application_metrics import GetApplicationMetrics as GetApplicationMetrics +from instana_client.models.get_applications import GetApplications as GetApplications +from instana_client.models.get_available_metrics_query import GetAvailableMetricsQuery as GetAvailableMetricsQuery +from instana_client.models.get_available_plugins_query import GetAvailablePluginsQuery as GetAvailablePluginsQuery +from instana_client.models.get_call_groups import GetCallGroups as GetCallGroups +from instana_client.models.get_combined_metrics import GetCombinedMetrics as GetCombinedMetrics +from instana_client.models.get_dynamic_parameter_values import GetDynamicParameterValues as GetDynamicParameterValues +from instana_client.models.get_endpoints import GetEndpoints as GetEndpoints +from instana_client.models.get_infrastructure_groups_query import GetInfrastructureGroupsQuery as GetInfrastructureGroupsQuery +from instana_client.models.get_infrastructure_query import GetInfrastructureQuery as GetInfrastructureQuery +from instana_client.models.get_metrics_result import GetMetricsResult as GetMetricsResult +from instana_client.models.get_mobile_app_beacon_groups import GetMobileAppBeaconGroups as GetMobileAppBeaconGroups +from instana_client.models.get_mobile_app_beacons import GetMobileAppBeacons as GetMobileAppBeacons +from instana_client.models.get_mobile_app_metrics import GetMobileAppMetrics as GetMobileAppMetrics +from instana_client.models.get_mobile_app_metrics_v2 import GetMobileAppMetricsV2 as GetMobileAppMetricsV2 +from instana_client.models.get_payload_keys_result import GetPayloadKeysResult as GetPayloadKeysResult +from instana_client.models.get_services import GetServices as GetServices +from instana_client.models.get_session_replay_metadata_result import GetSessionReplayMetadataResult as GetSessionReplayMetadataResult +from instana_client.models.get_snapshots_query import GetSnapshotsQuery as GetSnapshotsQuery +from instana_client.models.get_test_result import GetTestResult as GetTestResult +from instana_client.models.get_test_result_analytic import GetTestResultAnalytic as GetTestResultAnalytic +from instana_client.models.get_test_result_base import GetTestResultBase as GetTestResultBase +from instana_client.models.get_test_result_list import GetTestResultList as GetTestResultList +from instana_client.models.get_test_summary_result import GetTestSummaryResult as GetTestSummaryResult +from instana_client.models.get_trace_download_result_item import GetTraceDownloadResultItem as GetTraceDownloadResultItem +from instana_client.models.get_trace_groups import GetTraceGroups as GetTraceGroups +from instana_client.models.get_traces import GetTraces as GetTraces +from instana_client.models.get_website_beacon_groups import GetWebsiteBeaconGroups as GetWebsiteBeaconGroups +from instana_client.models.get_website_beacons import GetWebsiteBeacons as GetWebsiteBeacons +from instana_client.models.get_website_metrics import GetWebsiteMetrics as GetWebsiteMetrics +from instana_client.models.get_website_metrics_v2 import GetWebsiteMetricsV2 as GetWebsiteMetricsV2 +from instana_client.models.git_hub_configuration import GitHubConfiguration as GitHubConfiguration +from instana_client.models.global_application_alert_config_with_metadata import GlobalApplicationAlertConfigWithMetadata as GlobalApplicationAlertConfigWithMetadata +from instana_client.models.global_applications_alert_config import GlobalApplicationsAlertConfig as GlobalApplicationsAlertConfig +from instana_client.models.google_chat_integration import GoogleChatIntegration as GoogleChatIntegration +from instana_client.models.graph_edge import GraphEdge as GraphEdge +from instana_client.models.graph_node import GraphNode as GraphNode +from instana_client.models.group import Group as Group +from instana_client.models.group_by_tag import GroupByTag as GroupByTag +from instana_client.models.health_state import HealthState as HealthState +from instana_client.models.historic_baseline import HistoricBaseline as HistoricBaseline +from instana_client.models.host_availability_rule import HostAvailabilityRule as HostAvailabilityRule +from instana_client.models.http_action_configuration import HttpActionConfiguration as HttpActionConfiguration +from instana_client.models.http_action_configuration_update import HttpActionConfigurationUpdate as HttpActionConfigurationUpdate +from instana_client.models.http_endpoint_config import HttpEndpointConfig as HttpEndpointConfig +from instana_client.models.http_endpoint_rule import HttpEndpointRule as HttpEndpointRule +from instana_client.models.http_path_segment_matching_rule import HttpPathSegmentMatchingRule as HttpPathSegmentMatchingRule +from instana_client.models.http_script_configuration import HttpScriptConfiguration as HttpScriptConfiguration +from instana_client.models.http_script_configuration_update import HttpScriptConfigurationUpdate as HttpScriptConfigurationUpdate +from instana_client.models.hyper_param import HyperParam as HyperParam +from instana_client.models.icmp_configuration import ICMPConfiguration as ICMPConfiguration +from instana_client.models.icmp_configuration_update import ICMPConfigurationUpdate as ICMPConfigurationUpdate +from instana_client.models.icmp_validation import ICMPValidation as ICMPValidation +from instana_client.models.ip_filtering import IPFiltering as IPFiltering +from instana_client.models.ip_filtering_rule_dto import IPFilteringRuleDto as IPFilteringRuleDto +from instana_client.models.ip_filtering_upsert import IPFilteringUpsert as IPFilteringUpsert +from instana_client.models.identity_provider_patch import IdentityProviderPatch as IdentityProviderPatch +from instana_client.models.idp_status_update import IdpStatusUpdate as IdpStatusUpdate +from instana_client.models.impacted_beacon_info import ImpactedBeaconInfo as ImpactedBeaconInfo +from instana_client.models.infra_alert_config import InfraAlertConfig as InfraAlertConfig +from instana_client.models.infra_alert_config_with_metadata import InfraAlertConfigWithMetadata as InfraAlertConfigWithMetadata +from instana_client.models.infra_alert_rule import InfraAlertRule as InfraAlertRule +from instana_client.models.infra_event_result import InfraEventResult as InfraEventResult +from instana_client.models.infra_slo_entity import InfraSloEntity as InfraSloEntity +from instana_client.models.infra_time_threshold import InfraTimeThreshold as InfraTimeThreshold +from instana_client.models.infrastructure_entities_result import InfrastructureEntitiesResult as InfrastructureEntitiesResult +from instana_client.models.infrastructure_group import InfrastructureGroup as InfrastructureGroup +from instana_client.models.infrastructure_groups_result import InfrastructureGroupsResult as InfrastructureGroupsResult +from instana_client.models.infrastructure_item import InfrastructureItem as InfrastructureItem +from instana_client.models.infrastructure_metric_result import InfrastructureMetricResult as InfrastructureMetricResult +from instana_client.models.instana_version_info import InstanaVersionInfo as InstanaVersionInfo +from instana_client.models.integration_overview import IntegrationOverview as IntegrationOverview +from instana_client.models.invitation import Invitation as Invitation +from instana_client.models.invitation_response import InvitationResponse as InvitationResponse +from instana_client.models.invitation_result import InvitationResult as InvitationResult +from instana_client.models.ip_masking_configuration import IpMaskingConfiguration as IpMaskingConfiguration +from instana_client.models.js_stack_trace_line import JsStackTraceLine as JsStackTraceLine +from instana_client.models.kubernetes_physical_context import KubernetesPhysicalContext as KubernetesPhysicalContext +from instana_client.models.llm_egress_gateway import LLMEgressGateway as LLMEgressGateway +from instana_client.models.llm_gateway_capability import LLMGatewayCapability as LLMGatewayCapability +from instana_client.models.llm_gateway_model import LLMGatewayModel as LLMGatewayModel +from instana_client.models.llm_gateway_service import LLMGatewayService as LLMGatewayService +from instana_client.models.llm_gateway_test_connection_request import LLMGatewayTestConnectionRequest as LLMGatewayTestConnectionRequest +from instana_client.models.latency_blueprint_indicator import LatencyBlueprintIndicator as LatencyBlueprintIndicator +from instana_client.models.llm_model_price import LlmModelPrice as LlmModelPrice +from instana_client.models.llm_model_price_metadata import LlmModelPriceMetadata as LlmModelPriceMetadata +from instana_client.models.location_status import LocationStatus as LocationStatus +from instana_client.models.log_alert_config import LogAlertConfig as LogAlertConfig +from instana_client.models.log_alert_config_with_metadata import LogAlertConfigWithMetadata as LogAlertConfigWithMetadata +from instana_client.models.log_alert_rule import LogAlertRule as LogAlertRule +from instana_client.models.log_count_alert_rule import LogCountAlertRule as LogCountAlertRule +from instana_client.models.log_event_result import LogEventResult as LogEventResult +from instana_client.models.log_time_threshold import LogTimeThreshold as LogTimeThreshold +from instana_client.models.log_volume_group import LogVolumeGroup as LogVolumeGroup +from instana_client.models.log_volume_usage_item import LogVolumeUsageItem as LogVolumeUsageItem +from instana_client.models.log_volume_usage_result import LogVolumeUsageResult as LogVolumeUsageResult +from instana_client.models.logging_perspective import LoggingPerspective as LoggingPerspective +from instana_client.models.logs_api_response import LogsApiResponse as LogsApiResponse +from instana_client.models.logs_application_alert_rule import LogsApplicationAlertRule as LogsApplicationAlertRule +from instana_client.models.logs_query import LogsQuery as LogsQuery +from instana_client.models.maintenance_config import MaintenanceConfig as MaintenanceConfig +from instana_client.models.maintenance_config_scheduling import MaintenanceConfigScheduling as MaintenanceConfigScheduling +from instana_client.models.maintenance_config_v2 import MaintenanceConfigV2 as MaintenanceConfigV2 +from instana_client.models.maintenance_config_v2_with_state_and_occurrence import MaintenanceConfigV2WithStateAndOccurrence as MaintenanceConfigV2WithStateAndOccurrence +from instana_client.models.maintenance_config_with_last_updated import MaintenanceConfigWithLastUpdated as MaintenanceConfigWithLastUpdated +from instana_client.models.maintenance_window import MaintenanceWindow as MaintenanceWindow +from instana_client.models.manual_alerting_channel_configuration import ManualAlertingChannelConfiguration as ManualAlertingChannelConfiguration +from instana_client.models.manual_close_info import ManualCloseInfo as ManualCloseInfo +from instana_client.models.manual_service_config import ManualServiceConfig as ManualServiceConfig +from instana_client.models.mapping import Mapping as Mapping +from instana_client.models.mapping_overview import MappingOverview as MappingOverview +from instana_client.models.match_all_http_path_segment_matching_rule import MatchAllHttpPathSegmentMatchingRule as MatchAllHttpPathSegmentMatchingRule +from instana_client.models.match_expression_dto import MatchExpressionDTO as MatchExpressionDTO +from instana_client.models.meta_data import MetaData as MetaData +from instana_client.models.metric_api_result import MetricAPIResult as MetricAPIResult +from instana_client.models.metric_config import MetricConfig as MetricConfig +from instana_client.models.metric_configuration import MetricConfiguration as MetricConfiguration +from instana_client.models.metric_description import MetricDescription as MetricDescription +from instana_client.models.metric_field import MetricField as MetricField +from instana_client.models.metric_field_value import MetricFieldValue as MetricFieldValue +from instana_client.models.metric_instance import MetricInstance as MetricInstance +from instana_client.models.metric_item import MetricItem as MetricItem +from instana_client.models.metric_metadata import MetricMetadata as MetricMetadata +from instana_client.models.metric_pattern import MetricPattern as MetricPattern +from instana_client.models.metrics_result import MetricsResult as MetricsResult +from instana_client.models.metrics_result_item import MetricsResultItem as MetricsResultItem +from instana_client.models.metrics_test_result_item import MetricsTestResultItem as MetricsTestResultItem +from instana_client.models.mobile_app import MobileApp as MobileApp +from instana_client.models.mobile_app_alert_config import MobileAppAlertConfig as MobileAppAlertConfig +from instana_client.models.mobile_app_alert_config_with_rbac_tag import MobileAppAlertConfigWithRBACTag as MobileAppAlertConfigWithRBACTag +from instana_client.models.mobile_app_alert_rule import MobileAppAlertRule as MobileAppAlertRule +from instana_client.models.mobile_app_beacon_groups_item import MobileAppBeaconGroupsItem as MobileAppBeaconGroupsItem +from instana_client.models.mobile_app_beacon_groups_result import MobileAppBeaconGroupsResult as MobileAppBeaconGroupsResult +from instana_client.models.mobile_app_beacon_result import MobileAppBeaconResult as MobileAppBeaconResult +from instana_client.models.mobile_app_beacon_tag_group import MobileAppBeaconTagGroup as MobileAppBeaconTagGroup +from instana_client.models.mobile_app_beacons_item import MobileAppBeaconsItem as MobileAppBeaconsItem +from instana_client.models.mobile_app_event_result import MobileAppEventResult as MobileAppEventResult +from instana_client.models.mobile_app_metric_result import MobileAppMetricResult as MobileAppMetricResult +from instana_client.models.mobile_app_monitoring_beacon import MobileAppMonitoringBeacon as MobileAppMonitoringBeacon +from instana_client.models.mobile_app_monitoring_metric_description import MobileAppMonitoringMetricDescription as MobileAppMonitoringMetricDescription +from instana_client.models.mobile_app_monitoring_metrics_configuration import MobileAppMonitoringMetricsConfiguration as MobileAppMonitoringMetricsConfiguration +from instana_client.models.mobile_app_time_threshold import MobileAppTimeThreshold as MobileAppTimeThreshold +from instana_client.models.mobile_slo_entity import MobileSloEntity as MobileSloEntity +from instana_client.models.model_field import ModelField as ModelField +from instana_client.models.monitored_entities_stats import MonitoredEntitiesStats as MonitoredEntitiesStats +from instana_client.models.monitoring_state import MonitoringState as MonitoringState +from instana_client.models.multiple_scripts_configuration import MultipleScriptsConfiguration as MultipleScriptsConfiguration +from instana_client.models.ns1_integration import NS1Integration as NS1Integration +from instana_client.models.new_application_config import NewApplicationConfig as NewApplicationConfig +from instana_client.models.new_business_perspective_config import NewBusinessPerspectiveConfig as NewBusinessPerspectiveConfig +from instana_client.models.new_manual_service_config import NewManualServiceConfig as NewManualServiceConfig +from instana_client.models.notification import Notification as Notification +from instana_client.models.o_auth_config import OAuthConfig as OAuthConfig +from instana_client.models.o_auth_integration import OAuthIntegration as OAuthIntegration +from instana_client.models.o_auth_token import OAuthToken as OAuthToken +from instana_client.models.occurrence import Occurrence as Occurrence +from instana_client.models.office365_integration import Office365Integration as Office365Integration +from instana_client.models.one_time_maintenance_window import OneTimeMaintenanceWindow as OneTimeMaintenanceWindow +from instana_client.models.opsgenie_integration import OpsgenieIntegration as OpsgenieIntegration +from instana_client.models.order import Order as Order +from instana_client.models.pagerduty_integration import PagerdutyIntegration as PagerdutyIntegration +from instana_client.models.paginated_result import PaginatedResult as PaginatedResult +from instana_client.models.pagination import Pagination as Pagination +from instana_client.models.parameter import Parameter as Parameter +from instana_client.models.parameter_value import ParameterValue as ParameterValue +from instana_client.models.path_parameter_http_path_segment_matching_rule import PathParameterHttpPathSegmentMatchingRule as PathParameterHttpPathSegmentMatchingRule +from instana_client.models.physical_context import PhysicalContext as PhysicalContext +from instana_client.models.plugin_result import PluginResult as PluginResult +from instana_client.models.policy import Policy as Policy +from instana_client.models.policy_runnable import PolicyRunnable as PolicyRunnable +from instana_client.models.policy_scheduling import PolicyScheduling as PolicyScheduling +from instana_client.models.post_mobile_app_source_map_config_request import PostMobileAppSourceMapConfigRequest as PostMobileAppSourceMapConfigRequest +from instana_client.models.post_snapshots_result import PostSnapshotsResult as PostSnapshotsResult +from instana_client.models.prefix_object import PrefixObject as PrefixObject +from instana_client.models.problem import Problem as Problem +from instana_client.models.prometheus_webhook_integration import PrometheusWebhookIntegration as PrometheusWebhookIntegration +from instana_client.models.rbac_restrictions import RbacRestrictions as RbacRestrictions +from instana_client.models.recurrent_maintenance_window import RecurrentMaintenanceWindow as RecurrentMaintenanceWindow +from instana_client.models.release import Release as Release +from instana_client.models.release_scope import ReleaseScope as ReleaseScope +from instana_client.models.release_with_metadata import ReleaseWithMetadata as ReleaseWithMetadata +from instana_client.models.retention_period import RetentionPeriod as RetentionPeriod +from instana_client.models.role_mapping_overview import RoleMappingOverview as RoleMappingOverview +from instana_client.models.rolling_time_window import RollingTimeWindow as RollingTimeWindow +from instana_client.models.rule_input import RuleInput as RuleInput +from instana_client.models.rule_with_threshold_application_alert_rule import RuleWithThresholdApplicationAlertRule as RuleWithThresholdApplicationAlertRule +from instana_client.models.rule_with_threshold_infra_alert_rule import RuleWithThresholdInfraAlertRule as RuleWithThresholdInfraAlertRule +from instana_client.models.rule_with_threshold_log_alert_rule import RuleWithThresholdLogAlertRule as RuleWithThresholdLogAlertRule +from instana_client.models.rule_with_threshold_mobile_app_alert_rule import RuleWithThresholdMobileAppAlertRule as RuleWithThresholdMobileAppAlertRule +from instana_client.models.rule_with_threshold_website_alert_rule import RuleWithThresholdWebsiteAlertRule as RuleWithThresholdWebsiteAlertRule +from instana_client.models.run_configuration import RunConfiguration as RunConfiguration +from instana_client.models.run_evaluation_response import RunEvaluationResponse as RunEvaluationResponse +from instana_client.models.slo_config_with_rbac_tag import SLOConfigWithRBACTag as SLOConfigWithRBACTag +from instana_client.models.ssl_certificate_configuration import SSLCertificateConfiguration as SSLCertificateConfiguration +from instana_client.models.ssl_certificate_configuration_update import SSLCertificateConfigurationUpdate as SSLCertificateConfigurationUpdate +from instana_client.models.ssl_certificate_validation import SSLCertificateValidation as SSLCertificateValidation +from instana_client.models.salesforce_integration import SalesforceIntegration as SalesforceIntegration +from instana_client.models.sampling_metadata import SamplingMetadata as SamplingMetadata +from instana_client.models.saturation_blueprint_indicator import SaturationBlueprintIndicator as SaturationBlueprintIndicator +from instana_client.models.scope_binding import ScopeBinding as ScopeBinding +from instana_client.models.search_field_result import SearchFieldResult as SearchFieldResult +from instana_client.models.service import Service as Service +from instana_client.models.service_config import ServiceConfig as ServiceConfig +from instana_client.models.service_event_result import ServiceEventResult as ServiceEventResult +from instana_client.models.service_item import ServiceItem as ServiceItem +from instana_client.models.service_level_indicator import ServiceLevelIndicator as ServiceLevelIndicator +from instana_client.models.service_level_objective_alert_rule import ServiceLevelObjectiveAlertRule as ServiceLevelObjectiveAlertRule +from instana_client.models.service_levels_alert_config import ServiceLevelsAlertConfig as ServiceLevelsAlertConfig +from instana_client.models.service_levels_alert_config_with_rbac_tag import ServiceLevelsAlertConfigWithRBACTag as ServiceLevelsAlertConfigWithRBACTag +from instana_client.models.service_levels_alert_rule import ServiceLevelsAlertRule as ServiceLevelsAlertRule +from instana_client.models.service_levels_burn_rate_config import ServiceLevelsBurnRateConfig as ServiceLevelsBurnRateConfig +from instana_client.models.service_levels_burn_rate_time_windows import ServiceLevelsBurnRateTimeWindows as ServiceLevelsBurnRateTimeWindows +from instana_client.models.service_levels_static_threshold_config import ServiceLevelsStaticThresholdConfig as ServiceLevelsStaticThresholdConfig +from instana_client.models.service_levels_time_threshold import ServiceLevelsTimeThreshold as ServiceLevelsTimeThreshold +from instana_client.models.service_levelse_alert_config_with_metadata import ServiceLevelseAlertConfigWithMetadata as ServiceLevelseAlertConfigWithMetadata +from instana_client.models.service_map import ServiceMap as ServiceMap +from instana_client.models.service_map_connection import ServiceMapConnection as ServiceMapConnection +from instana_client.models.service_matching_rule import ServiceMatchingRule as ServiceMatchingRule +from instana_client.models.service_metric_result import ServiceMetricResult as ServiceMetricResult +from instana_client.models.service_node import ServiceNode as ServiceNode +from instana_client.models.service_now_enhanced_integration import ServiceNowEnhancedIntegration as ServiceNowEnhancedIntegration +from instana_client.models.service_now_integration import ServiceNowIntegration as ServiceNowIntegration +from instana_client.models.service_result import ServiceResult as ServiceResult +from instana_client.models.service_scope import ServiceScope as ServiceScope +from instana_client.models.service_scope_with_metadata import ServiceScopeWithMetadata as ServiceScopeWithMetadata +from instana_client.models.service_scoped_to import ServiceScopedTo as ServiceScopedTo +from instana_client.models.service_scoped_to_with_metadata import ServiceScopedToWithMetadata as ServiceScopedToWithMetadata +from instana_client.models.service_simple import ServiceSimple as ServiceSimple +from instana_client.models.session_replay_metadata import SessionReplayMetadata as SessionReplayMetadata +from instana_client.models.session_replay_timestamps import SessionReplayTimestamps as SessionReplayTimestamps +from instana_client.models.session_settings import SessionSettings as SessionSettings +from instana_client.models.simple_metric_configuration import SimpleMetricConfiguration as SimpleMetricConfiguration +from instana_client.models.slack_integration import SlackIntegration as SlackIntegration +from instana_client.models.sli_configuration import SliConfiguration as SliConfiguration +from instana_client.models.sli_configuration_with_last_updated import SliConfigurationWithLastUpdated as SliConfigurationWithLastUpdated +from instana_client.models.sli_entity import SliEntity as SliEntity +from instana_client.models.sli_report import SliReport as SliReport +from instana_client.models.slo_entity import SloEntity as SloEntity +from instana_client.models.slo_health_snapshot import SloHealthSnapshot as SloHealthSnapshot +from instana_client.models.slo_health_snapshot_item import SloHealthSnapshotItem as SloHealthSnapshotItem +from instana_client.models.slo_report import SloReport as SloReport +from instana_client.models.slowness_application_alert_rule import SlownessApplicationAlertRule as SlownessApplicationAlertRule +from instana_client.models.slowness_mobile_app_alert_rule import SlownessMobileAppAlertRule as SlownessMobileAppAlertRule +from instana_client.models.slowness_website_alert_rule import SlownessWebsiteAlertRule as SlownessWebsiteAlertRule +from instana_client.models.snapshot_item import SnapshotItem as SnapshotItem +from instana_client.models.snapshot_preview import SnapshotPreview as SnapshotPreview +from instana_client.models.snapshot_result import SnapshotResult as SnapshotResult +from instana_client.models.software_user import SoftwareUser as SoftwareUser +from instana_client.models.software_version import SoftwareVersion as SoftwareVersion +from instana_client.models.source_map_file_blob import SourceMapFileBlob as SourceMapFileBlob +from instana_client.models.source_map_file_meta import SourceMapFileMeta as SourceMapFileMeta +from instana_client.models.source_map_upload_config import SourceMapUploadConfig as SourceMapUploadConfig +from instana_client.models.source_map_upload_configs import SourceMapUploadConfigs as SourceMapUploadConfigs +from instana_client.models.span_excerpt import SpanExcerpt as SpanExcerpt +from instana_client.models.span_relation import SpanRelation as SpanRelation +from instana_client.models.specific_js_errors_website_alert_rule import SpecificJsErrorsWebsiteAlertRule as SpecificJsErrorsWebsiteAlertRule +from instana_client.models.splunk_integration import SplunkIntegration as SplunkIntegration +from instana_client.models.stack_trace_item import StackTraceItem as StackTraceItem +from instana_client.models.stack_trace_line import StackTraceLine as StackTraceLine +from instana_client.models.static_baseline_threshold_rule import StaticBaselineThresholdRule as StaticBaselineThresholdRule +from instana_client.models.static_string_field import StaticStringField as StaticStringField +from instana_client.models.static_threshold import StaticThreshold as StaticThreshold +from instana_client.models.static_threshold_rule import StaticThresholdRule as StaticThresholdRule +from instana_client.models.status_code_application_alert_rule import StatusCodeApplicationAlertRule as StatusCodeApplicationAlertRule +from instana_client.models.status_code_mobile_app_alert_rule import StatusCodeMobileAppAlertRule as StatusCodeMobileAppAlertRule +from instana_client.models.status_code_website_alert_rule import StatusCodeWebsiteAlertRule as StatusCodeWebsiteAlertRule +from instana_client.models.synthetic_alert_config import SyntheticAlertConfig as SyntheticAlertConfig +from instana_client.models.synthetic_alert_config_with_metadata import SyntheticAlertConfigWithMetadata as SyntheticAlertConfigWithMetadata +from instana_client.models.synthetic_alert_config_with_rbac_tag import SyntheticAlertConfigWithRBACTag as SyntheticAlertConfigWithRBACTag +from instana_client.models.synthetic_alert_rule import SyntheticAlertRule as SyntheticAlertRule +from instana_client.models.synthetic_bulk_response import SyntheticBulkResponse as SyntheticBulkResponse +from instana_client.models.synthetic_call_config import SyntheticCallConfig as SyntheticCallConfig +from instana_client.models.synthetic_call_rule import SyntheticCallRule as SyntheticCallRule +from instana_client.models.synthetic_call_with_defaults_config import SyntheticCallWithDefaultsConfig as SyntheticCallWithDefaultsConfig +from instana_client.models.synthetic_configuration import SyntheticConfiguration as SyntheticConfiguration +from instana_client.models.synthetic_configuration_update import SyntheticConfigurationUpdate as SyntheticConfigurationUpdate +from instana_client.models.synthetic_credential import SyntheticCredential as SyntheticCredential +from instana_client.models.synthetic_datacenter import SyntheticDatacenter as SyntheticDatacenter +from instana_client.models.synthetic_datacenter_configuration import SyntheticDatacenterConfiguration as SyntheticDatacenterConfiguration +from instana_client.models.synthetic_geo_point import SyntheticGeoPoint as SyntheticGeoPoint +from instana_client.models.synthetic_location import SyntheticLocation as SyntheticLocation +from instana_client.models.synthetic_location_configuration import SyntheticLocationConfiguration as SyntheticLocationConfiguration +from instana_client.models.synthetic_metric_configuration import SyntheticMetricConfiguration as SyntheticMetricConfiguration +from instana_client.models.synthetic_metric_tag_group import SyntheticMetricTagGroup as SyntheticMetricTagGroup +from instana_client.models.synthetic_playback_capabilities import SyntheticPlaybackCapabilities as SyntheticPlaybackCapabilities +from instana_client.models.synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value import SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue as SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue +from instana_client.models.synthetic_resource_update_list_icmp_validation_list_icmp_validation import SyntheticResourceUpdateListICMPValidationListICMPValidation as SyntheticResourceUpdateListICMPValidationListICMPValidation +from instana_client.models.synthetic_resource_update_list_network_profile_list_network_profile import SyntheticResourceUpdateListNetworkProfileListNetworkProfile as SyntheticResourceUpdateListNetworkProfileListNetworkProfile +from instana_client.models.synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation import SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation as SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation +from instana_client.models.synthetic_resource_update_list_string_list_string import SyntheticResourceUpdateListStringListString as SyntheticResourceUpdateListStringListString +from instana_client.models.synthetic_resource_update_map_string_string_list_string import SyntheticResourceUpdateMapStringStringListString as SyntheticResourceUpdateMapStringStringListString +from instana_client.models.synthetic_slo_entity import SyntheticSloEntity as SyntheticSloEntity +from instana_client.models.synthetic_test import SyntheticTest as SyntheticTest +from instana_client.models.synthetic_test_cicd import SyntheticTestCICD as SyntheticTestCICD +from instana_client.models.synthetic_test_cicd_customization import SyntheticTestCICDCustomization as SyntheticTestCICDCustomization +from instana_client.models.synthetic_test_cicd_item import SyntheticTestCICDItem as SyntheticTestCICDItem +from instana_client.models.synthetic_test_cicd_response import SyntheticTestCICDResponse as SyntheticTestCICDResponse +from instana_client.models.synthetic_test_deep_update import SyntheticTestDeepUpdate as SyntheticTestDeepUpdate +from instana_client.models.synthetic_test_shallow_update import SyntheticTestShallowUpdate as SyntheticTestShallowUpdate +from instana_client.models.synthetic_test_update import SyntheticTestUpdate as SyntheticTestUpdate +from instana_client.models.synthetic_time_threshold import SyntheticTimeThreshold as SyntheticTimeThreshold +from instana_client.models.synthetic_type_configuration import SyntheticTypeConfiguration as SyntheticTypeConfiguration +from instana_client.models.synthetic_type_configuration_update import SyntheticTypeConfigurationUpdate as SyntheticTypeConfigurationUpdate +from instana_client.models.synthetics_event_result import SyntheticsEventResult as SyntheticsEventResult +from instana_client.models.system_rule import SystemRule as SystemRule +from instana_client.models.system_rule_label import SystemRuleLabel as SystemRuleLabel +from instana_client.models.tag import Tag as Tag +from instana_client.models.tag_catalog import TagCatalog as TagCatalog +from instana_client.models.tag_filter import TagFilter as TagFilter +from instana_client.models.tag_filter_expression import TagFilterExpression as TagFilterExpression +from instana_client.models.tag_filter_expression_element import TagFilterExpressionElement as TagFilterExpressionElement +from instana_client.models.tag_matcher_dto import TagMatcherDTO as TagMatcherDTO +from instana_client.models.tag_tree_level import TagTreeLevel as TagTreeLevel +from instana_client.models.tag_tree_node import TagTreeNode as TagTreeNode +from instana_client.models.tag_tree_tag import TagTreeTag as TagTreeTag +from instana_client.models.test_common_properties import TestCommonProperties as TestCommonProperties +from instana_client.models.test_connection_response import TestConnectionResponse as TestConnectionResponse +from instana_client.models.test_last_error import TestLastError as TestLastError +from instana_client.models.test_result import TestResult as TestResult +from instana_client.models.test_result_common_properties import TestResultCommonProperties as TestResultCommonProperties +from instana_client.models.test_result_detail_data import TestResultDetailData as TestResultDetailData +from instana_client.models.test_result_item import TestResultItem as TestResultItem +from instana_client.models.test_result_list_item import TestResultListItem as TestResultListItem +from instana_client.models.test_result_list_result import TestResultListResult as TestResultListResult +from instana_client.models.test_result_metadata import TestResultMetadata as TestResultMetadata +from instana_client.models.test_result_subtransaction import TestResultSubtransaction as TestResultSubtransaction +from instana_client.models.threshold import Threshold as Threshold +from instana_client.models.threshold_config_rule import ThresholdConfigRule as ThresholdConfigRule +from instana_client.models.threshold_rule import ThresholdRule as ThresholdRule +from instana_client.models.throughput_application_alert_rule import ThroughputApplicationAlertRule as ThroughputApplicationAlertRule +from instana_client.models.throughput_mobile_app_alert_rule import ThroughputMobileAppAlertRule as ThroughputMobileAppAlertRule +from instana_client.models.throughput_website_alert_rule import ThroughputWebsiteAlertRule as ThroughputWebsiteAlertRule +from instana_client.models.time_config import TimeConfig as TimeConfig +from instana_client.models.time_frame import TimeFrame as TimeFrame +from instana_client.models.time_window import TimeWindow as TimeWindow +from instana_client.models.topology import Topology as Topology +from instana_client.models.trace import Trace as Trace +from instana_client.models.trace_activity_tree_node_details import TraceActivityTreeNodeDetails as TraceActivityTreeNodeDetails +from instana_client.models.trace_download_result import TraceDownloadResult as TraceDownloadResult +from instana_client.models.trace_groups_item import TraceGroupsItem as TraceGroupsItem +from instana_client.models.trace_groups_result import TraceGroupsResult as TraceGroupsResult +from instana_client.models.trace_impact_application_time_threshold import TraceImpactApplicationTimeThreshold as TraceImpactApplicationTimeThreshold +from instana_client.models.trace_item import TraceItem as TraceItem +from instana_client.models.trace_result import TraceResult as TraceResult +from instana_client.models.trace_sampling_config import TraceSamplingConfig as TraceSamplingConfig +from instana_client.models.traffic_blueprint_indicator import TrafficBlueprintIndicator as TrafficBlueprintIndicator +from instana_client.models.trigger import Trigger as Trigger +from instana_client.models.type_configuration import TypeConfiguration as TypeConfiguration +from instana_client.models.unified_beacon import UnifiedBeacon as UnifiedBeacon +from instana_client.models.unsupported_http_path_segment_matching_rule import UnsupportedHttpPathSegmentMatchingRule as UnsupportedHttpPathSegmentMatchingRule +from instana_client.models.update_evaluation_request import UpdateEvaluationRequest as UpdateEvaluationRequest +from instana_client.models.updated_business_perspective_config import UpdatedBusinessPerspectiveConfig as UpdatedBusinessPerspectiveConfig +from instana_client.models.usage_result import UsageResult as UsageResult +from instana_client.models.usage_result_items import UsageResultItems as UsageResultItems +from instana_client.models.user_basic_result import UserBasicResult as UserBasicResult +from instana_client.models.user_impact_mobile_app_time_threshold import UserImpactMobileAppTimeThreshold as UserImpactMobileAppTimeThreshold +from instana_client.models.user_impact_website_time_threshold import UserImpactWebsiteTimeThreshold as UserImpactWebsiteTimeThreshold +from instana_client.models.user_result import UserResult as UserResult +from instana_client.models.users_result import UsersResult as UsersResult +from instana_client.models.validated_alerting_channel_input_info import ValidatedAlertingChannelInputInfo as ValidatedAlertingChannelInputInfo +from instana_client.models.validated_alerting_configuration import ValidatedAlertingConfiguration as ValidatedAlertingConfiguration +from instana_client.models.validated_maintenance_config_v2_with_state_and_occurrence import ValidatedMaintenanceConfigV2WithStateAndOccurrence as ValidatedMaintenanceConfigV2WithStateAndOccurrence +from instana_client.models.validated_maintenance_config_with_status import ValidatedMaintenanceConfigWithStatus as ValidatedMaintenanceConfigWithStatus +from instana_client.models.victor_ops_integration import VictorOpsIntegration as VictorOpsIntegration +from instana_client.models.violations_in_period_application_time_threshold import ViolationsInPeriodApplicationTimeThreshold as ViolationsInPeriodApplicationTimeThreshold +from instana_client.models.violations_in_period_mobile_app_time_threshold import ViolationsInPeriodMobileAppTimeThreshold as ViolationsInPeriodMobileAppTimeThreshold +from instana_client.models.violations_in_period_website_time_threshold import ViolationsInPeriodWebsiteTimeThreshold as ViolationsInPeriodWebsiteTimeThreshold +from instana_client.models.violations_in_sequence_application_time_threshold import ViolationsInSequenceApplicationTimeThreshold as ViolationsInSequenceApplicationTimeThreshold +from instana_client.models.violations_in_sequence_infra_time_threshold import ViolationsInSequenceInfraTimeThreshold as ViolationsInSequenceInfraTimeThreshold +from instana_client.models.violations_in_sequence_log_time_threshold import ViolationsInSequenceLogTimeThreshold as ViolationsInSequenceLogTimeThreshold +from instana_client.models.violations_in_sequence_mobile_app_time_threshold import ViolationsInSequenceMobileAppTimeThreshold as ViolationsInSequenceMobileAppTimeThreshold +from instana_client.models.violations_in_sequence_synthetic_time_threshold import ViolationsInSequenceSyntheticTimeThreshold as ViolationsInSequenceSyntheticTimeThreshold +from instana_client.models.violations_in_sequence_website_time_threshold import ViolationsInSequenceWebsiteTimeThreshold as ViolationsInSequenceWebsiteTimeThreshold +from instana_client.models.watson_ai_ops_webhook_integration import WatsonAIOpsWebhookIntegration as WatsonAIOpsWebhookIntegration +from instana_client.models.webex_teams_webhook_integration import WebexTeamsWebhookIntegration as WebexTeamsWebhookIntegration +from instana_client.models.webhook_integration import WebhookIntegration as WebhookIntegration +from instana_client.models.webpage_action_configuration import WebpageActionConfiguration as WebpageActionConfiguration +from instana_client.models.webpage_action_configuration_update import WebpageActionConfigurationUpdate as WebpageActionConfigurationUpdate +from instana_client.models.webpage_script_configuration import WebpageScriptConfiguration as WebpageScriptConfiguration +from instana_client.models.webpage_script_configuration_update import WebpageScriptConfigurationUpdate as WebpageScriptConfigurationUpdate +from instana_client.models.website import Website as Website +from instana_client.models.website_alert_config import WebsiteAlertConfig as WebsiteAlertConfig +from instana_client.models.website_alert_config_with_metadata import WebsiteAlertConfigWithMetadata as WebsiteAlertConfigWithMetadata +from instana_client.models.website_alert_config_with_rbac_tag import WebsiteAlertConfigWithRBACTag as WebsiteAlertConfigWithRBACTag +from instana_client.models.website_alert_rule import WebsiteAlertRule as WebsiteAlertRule +from instana_client.models.website_apdex_entity import WebsiteApdexEntity as WebsiteApdexEntity +from instana_client.models.website_beacon_groups_item import WebsiteBeaconGroupsItem as WebsiteBeaconGroupsItem +from instana_client.models.website_beacon_groups_result import WebsiteBeaconGroupsResult as WebsiteBeaconGroupsResult +from instana_client.models.website_beacon_result import WebsiteBeaconResult as WebsiteBeaconResult +from instana_client.models.website_beacon_tag_group import WebsiteBeaconTagGroup as WebsiteBeaconTagGroup +from instana_client.models.website_beacons_item import WebsiteBeaconsItem as WebsiteBeaconsItem +from instana_client.models.website_event_based_sli_entity import WebsiteEventBasedSliEntity as WebsiteEventBasedSliEntity +from instana_client.models.website_event_result import WebsiteEventResult as WebsiteEventResult +from instana_client.models.website_metric_result import WebsiteMetricResult as WebsiteMetricResult +from instana_client.models.website_monitoring_beacon import WebsiteMonitoringBeacon as WebsiteMonitoringBeacon +from instana_client.models.website_monitoring_metric_description import WebsiteMonitoringMetricDescription as WebsiteMonitoringMetricDescription +from instana_client.models.website_monitoring_metrics_configuration import WebsiteMonitoringMetricsConfiguration as WebsiteMonitoringMetricsConfiguration +from instana_client.models.website_slo_entity import WebsiteSloEntity as WebsiteSloEntity +from instana_client.models.website_time_based_sli_entity import WebsiteTimeBasedSliEntity as WebsiteTimeBasedSliEntity +from instana_client.models.website_time_threshold import WebsiteTimeThreshold as WebsiteTimeThreshold +from instana_client.models.widget import Widget as Widget +from instana_client.models.with_meta_data import WithMetaData as WithMetaData +from instana_client.models.with_resolved_name import WithResolvedName as WithResolvedName +from instana_client.models.z_chat_ops_integration import ZChatOpsIntegration as ZChatOpsIntegration + +""", + name=__name__, + doc=__doc__, + ) + ) diff --git a/instana_client/api/__init__.py b/instana_client/api/__init__.py index fc155f5..2a0e25b 100644 --- a/instana_client/api/__init__.py +++ b/instana_client/api/__init__.py @@ -1,6 +1,83 @@ # flake8: noqa -# import apis into api package +if __import__("typing").TYPE_CHECKING: + # import apis into api package + from instana_client.api.ai_management_api import AIManagementApi + from instana_client.api.api_token_api import APITokenApi + from instana_client.api.action_catalog_api import ActionCatalogApi + from instana_client.api.action_history_api import ActionHistoryApi + from instana_client.api.apdex_report_api import ApdexReportApi + from instana_client.api.apdex_settings_api import ApdexSettingsApi + from instana_client.api.application_alert_configuration_api import ApplicationAlertConfigurationApi + from instana_client.api.application_analyze_api import ApplicationAnalyzeApi + from instana_client.api.application_catalog_api import ApplicationCatalogApi + from instana_client.api.application_metrics_api import ApplicationMetricsApi + from instana_client.api.application_resources_api import ApplicationResourcesApi + from instana_client.api.application_settings_api import ApplicationSettingsApi + from instana_client.api.application_topology_api import ApplicationTopologyApi + from instana_client.api.audit_log_api import AuditLogApi + from instana_client.api.authentication_api import AuthenticationApi + from instana_client.api.business_monitoring_api import BusinessMonitoringApi + from instana_client.api.custom_dashboards_api import CustomDashboardsApi + from instana_client.api.custom_entities_api import CustomEntitiesApi + from instana_client.api.end_user_monitoring_api import EndUserMonitoringApi + from instana_client.api.event_settings_api import EventSettingsApi + from instana_client.api.events_api import EventsApi + from instana_client.api.global_application_alert_configuration_api import GlobalApplicationAlertConfigurationApi + from instana_client.api.groups_api import GroupsApi + from instana_client.api.health_api import HealthApi + from instana_client.api.host_agent_api import HostAgentApi + from instana_client.api.ip_filtering_api import IPFilteringApi + from instana_client.api.infrastructure_alert_configuration_api import InfrastructureAlertConfigurationApi + from instana_client.api.infrastructure_analyze_api import InfrastructureAnalyzeApi + from instana_client.api.infrastructure_catalog_api import InfrastructureCatalogApi + from instana_client.api.infrastructure_metrics_api import InfrastructureMetricsApi + from instana_client.api.infrastructure_resources_api import InfrastructureResourcesApi + from instana_client.api.infrastructure_topology_api import InfrastructureTopologyApi + from instana_client.api.llm_evaluation_api import LLMEvaluationApi + from instana_client.api.llm_price_configuration_api import LLMPriceConfigurationApi + from instana_client.api.log_alert_configuration_api import LogAlertConfigurationApi + from instana_client.api.logging_analyze_api import LoggingAnalyzeApi + from instana_client.api.maintenance_configuration_api import MaintenanceConfigurationApi + from instana_client.api.mobile_app_analyze_api import MobileAppAnalyzeApi + from instana_client.api.mobile_app_catalog_api import MobileAppCatalogApi + from instana_client.api.mobile_app_configuration_api import MobileAppConfigurationApi + from instana_client.api.mobile_app_metrics_api import MobileAppMetricsApi + from instana_client.api.mobile_app_session_replay_api import MobileAppSessionReplayApi + from instana_client.api.policies_api import PoliciesApi + from instana_client.api.releases_api import ReleasesApi + from instana_client.api.roles_api import RolesApi + from instana_client.api.sli_report_api import SLIReportApi + from instana_client.api.sli_settings_api import SLISettingsApi + from instana_client.api.slo_catalog_for_mobile_app_api import SLOCatalogForMobileAppApi + from instana_client.api.slo_configurations_api import SLOConfigurationsApi + from instana_client.api.slo_correction_configurations_api import SLOCorrectionConfigurationsApi + from instana_client.api.slo_correction_windows_api import SLOCorrectionWindowsApi + from instana_client.api.service_levels_alert_configuration_api import ServiceLevelsAlertConfigurationApi + from instana_client.api.service_levels_objective_slo_report_api import ServiceLevelsObjectiveSLOReportApi + from instana_client.api.session_settings_api import SessionSettingsApi + from instana_client.api.synthetic_alert_configuration_api import SyntheticAlertConfigurationApi + from instana_client.api.synthetic_calls_api import SyntheticCallsApi + from instana_client.api.synthetic_catalog_api import SyntheticCatalogApi + from instana_client.api.synthetic_metrics_api import SyntheticMetricsApi + from instana_client.api.synthetic_settings_api import SyntheticSettingsApi + from instana_client.api.synthetic_test_playback_results_api import SyntheticTestPlaybackResultsApi + from instana_client.api.teams_api import TeamsApi + from instana_client.api.usage_api import UsageApi + from instana_client.api.user_api import UserApi + from instana_client.api.website_analyze_api import WebsiteAnalyzeApi + from instana_client.api.website_catalog_api import WebsiteCatalogApi + from instana_client.api.website_configuration_api import WebsiteConfigurationApi + from instana_client.api.website_metrics_api import WebsiteMetricsApi + from instana_client.api.default_api import DefaultApi + +else: + from lazy_imports import LazyModule, as_package, load + + load( + LazyModule( + *as_package(__file__), + """# import apis into api package from instana_client.api.ai_management_api import AIManagementApi from instana_client.api.api_token_api import APITokenApi from instana_client.api.action_catalog_api import ActionCatalogApi @@ -70,3 +147,8 @@ from instana_client.api.website_metrics_api import WebsiteMetricsApi from instana_client.api.default_api import DefaultApi +""", + name=__name__, + doc=__doc__, + ) + ) diff --git a/instana_client/api/action_catalog_api.py b/instana_client/api/action_catalog_api.py index 5c43b93..f72ffe1 100644 --- a/instana_client/api/action_catalog_api.py +++ b/instana_client/api/action_catalog_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/action_history_api.py b/instana_client/api/action_history_api.py index 606ac4e..2b8d951 100644 --- a/instana_client/api/action_history_api.py +++ b/instana_client/api/action_history_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/ai_management_api.py b/instana_client/api/ai_management_api.py index 720d18f..97b5f24 100644 --- a/instana_client/api/ai_management_api.py +++ b/instana_client/api/ai_management_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/apdex_report_api.py b/instana_client/api/apdex_report_api.py index 1543fcd..712dc95 100644 --- a/instana_client/api/apdex_report_api.py +++ b/instana_client/api/apdex_report_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/apdex_settings_api.py b/instana_client/api/apdex_settings_api.py index c808b6e..5f497af 100644 --- a/instana_client/api/apdex_settings_api.py +++ b/instana_client/api/apdex_settings_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/api_token_api.py b/instana_client/api/api_token_api.py index 07e6258..b799d4d 100644 --- a/instana_client/api/api_token_api.py +++ b/instana_client/api/api_token_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/application_alert_configuration_api.py b/instana_client/api/application_alert_configuration_api.py index 3dfb580..415515c 100644 --- a/instana_client/api/application_alert_configuration_api.py +++ b/instana_client/api/application_alert_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/application_analyze_api.py b/instana_client/api/application_analyze_api.py index 53edaf1..3810308 100644 --- a/instana_client/api/application_analyze_api.py +++ b/instana_client/api/application_analyze_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/application_catalog_api.py b/instana_client/api/application_catalog_api.py index 06e6113..e367d00 100644 --- a/instana_client/api/application_catalog_api.py +++ b/instana_client/api/application_catalog_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/application_metrics_api.py b/instana_client/api/application_metrics_api.py index e6e3dd2..05c5792 100644 --- a/instana_client/api/application_metrics_api.py +++ b/instana_client/api/application_metrics_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/application_resources_api.py b/instana_client/api/application_resources_api.py index 7152c81..6461863 100644 --- a/instana_client/api/application_resources_api.py +++ b/instana_client/api/application_resources_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/application_settings_api.py b/instana_client/api/application_settings_api.py index 1711d82..5a0ada5 100644 --- a/instana_client/api/application_settings_api.py +++ b/instana_client/api/application_settings_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -19,6 +19,7 @@ from pydantic import StrictStr from typing import List +from instana_client.models.application_batch_business_criticality_update import ApplicationBatchBusinessCriticalityUpdate from instana_client.models.application_config import ApplicationConfig from instana_client.models.endpoint_config import EndpointConfig from instana_client.models.http_endpoint_config import HttpEndpointConfig @@ -64,7 +65,7 @@ def add_application_config( ) -> ApplicationConfig: """Add application configuration - For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + Ignores the provided business criticality of the application; business criticality can only be set with the \"Batch update application business criticality\" API, which requires different permissions. For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. :param new_application_config: (required) :type new_application_config: NewApplicationConfig @@ -131,7 +132,7 @@ def add_application_config_with_http_info( ) -> ApiResponse[ApplicationConfig]: """Add application configuration - For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + Ignores the provided business criticality of the application; business criticality can only be set with the \"Batch update application business criticality\" API, which requires different permissions. For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. :param new_application_config: (required) :type new_application_config: NewApplicationConfig @@ -198,7 +199,7 @@ def add_application_config_without_preload_content( ) -> RESTResponseType: """Add application configuration - For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + Ignores the provided business criticality of the application; business criticality can only be set with the \"Batch update application business criticality\" API, which requires different permissions. For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. :param new_application_config: (required) :type new_application_config: NewApplicationConfig @@ -867,6 +868,285 @@ def _add_service_config_serialize( + @validate_call + def batch_update_application_business_criticality( + self, + application_batch_business_criticality_update: ApplicationBatchBusinessCriticalityUpdate, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> None: + """Batch update application business criticality + + Updates the business criticality of one or more Application Perspectives to a new value. + + :param application_batch_business_criticality_update: (required) + :type application_batch_business_criticality_update: ApplicationBatchBusinessCriticalityUpdate + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._batch_update_application_business_criticality_serialize( + application_batch_business_criticality_update=application_batch_business_criticality_update, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '401': None, + '403': None, + '404': None, + '422': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def batch_update_application_business_criticality_with_http_info( + self, + application_batch_business_criticality_update: ApplicationBatchBusinessCriticalityUpdate, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[None]: + """Batch update application business criticality + + Updates the business criticality of one or more Application Perspectives to a new value. + + :param application_batch_business_criticality_update: (required) + :type application_batch_business_criticality_update: ApplicationBatchBusinessCriticalityUpdate + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._batch_update_application_business_criticality_serialize( + application_batch_business_criticality_update=application_batch_business_criticality_update, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '401': None, + '403': None, + '404': None, + '422': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def batch_update_application_business_criticality_without_preload_content( + self, + application_batch_business_criticality_update: ApplicationBatchBusinessCriticalityUpdate, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Batch update application business criticality + + Updates the business criticality of one or more Application Perspectives to a new value. + + :param application_batch_business_criticality_update: (required) + :type application_batch_business_criticality_update: ApplicationBatchBusinessCriticalityUpdate + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._batch_update_application_business_criticality_serialize( + application_batch_business_criticality_update=application_batch_business_criticality_update, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '401': None, + '403': None, + '404': None, + '422': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _batch_update_application_business_criticality_serialize( + self, + application_batch_business_criticality_update, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if application_batch_business_criticality_update is not None: + _body_params = application_batch_business_criticality_update + + + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='PATCH', + resource_path='/api/application-monitoring/settings/application/batch-business-criticality', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def create_endpoint_config( self, @@ -5313,7 +5593,7 @@ def put_application_config( ) -> ApplicationConfig: """Update application configuration - For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + Does not allow changing the business criticality of an application; this must be done with the \"Batch update application business criticality\" API, which requires different permissions. For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. :param id: (required) :type id: str @@ -5384,7 +5664,7 @@ def put_application_config_with_http_info( ) -> ApiResponse[ApplicationConfig]: """Update application configuration - For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + Does not allow changing the business criticality of an application; this must be done with the \"Batch update application business criticality\" API, which requires different permissions. For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. :param id: (required) :type id: str @@ -5455,7 +5735,7 @@ def put_application_config_without_preload_content( ) -> RESTResponseType: """Update application configuration - For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + Does not allow changing the business criticality of an application; this must be done with the \"Batch update application business criticality\" API, which requires different permissions. For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. :param id: (required) :type id: str diff --git a/instana_client/api/application_topology_api.py b/instana_client/api/application_topology_api.py index 407fc2f..0313f3f 100644 --- a/instana_client/api/application_topology_api.py +++ b/instana_client/api/application_topology_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/audit_log_api.py b/instana_client/api/audit_log_api.py index 93e77c0..e1a3f2c 100644 --- a/instana_client/api/audit_log_api.py +++ b/instana_client/api/audit_log_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/authentication_api.py b/instana_client/api/authentication_api.py index ef2a10b..97185b1 100644 --- a/instana_client/api/authentication_api.py +++ b/instana_client/api/authentication_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/business_monitoring_api.py b/instana_client/api/business_monitoring_api.py index 51ac128..3630d3d 100644 --- a/instana_client/api/business_monitoring_api.py +++ b/instana_client/api/business_monitoring_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/custom_dashboards_api.py b/instana_client/api/custom_dashboards_api.py index 30a8f07..603496b 100644 --- a/instana_client/api/custom_dashboards_api.py +++ b/instana_client/api/custom_dashboards_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/custom_entities_api.py b/instana_client/api/custom_entities_api.py index 5031438..1134340 100644 --- a/instana_client/api/custom_entities_api.py +++ b/instana_client/api/custom_entities_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/default_api.py b/instana_client/api/default_api.py index 9e27031..6df44ee 100644 --- a/instana_client/api/default_api.py +++ b/instana_client/api/default_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/end_user_monitoring_api.py b/instana_client/api/end_user_monitoring_api.py index da538ec..3bbf9cd 100644 --- a/instana_client/api/end_user_monitoring_api.py +++ b/instana_client/api/end_user_monitoring_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/event_settings_api.py b/instana_client/api/event_settings_api.py index 8e1ad1f..c879cfd 100644 --- a/instana_client/api/event_settings_api.py +++ b/instana_client/api/event_settings_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/events_api.py b/instana_client/api/events_api.py index 2898640..e83ad0b 100644 --- a/instana_client/api/events_api.py +++ b/instana_client/api/events_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/global_application_alert_configuration_api.py b/instana_client/api/global_application_alert_configuration_api.py index c428426..b95795f 100644 --- a/instana_client/api/global_application_alert_configuration_api.py +++ b/instana_client/api/global_application_alert_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/groups_api.py b/instana_client/api/groups_api.py index 5df2fbd..6ec141f 100644 --- a/instana_client/api/groups_api.py +++ b/instana_client/api/groups_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -22,9 +22,10 @@ from typing_extensions import Annotated from instana_client.models.api_create_group import ApiCreateGroup from instana_client.models.api_group import ApiGroup -from instana_client.models.group_mapping import GroupMapping -from instana_client.models.group_mapping_overview import GroupMappingOverview +from instana_client.models.api_group_to_team_role_migration import ApiGroupToTeamRoleMigration from instana_client.models.identity_provider_patch import IdentityProviderPatch +from instana_client.models.mapping import Mapping +from instana_client.models.mapping_overview import MappingOverview from instana_client.api_client import ApiClient, RequestSerialized from instana_client.api_response import ApiResponse @@ -899,9 +900,9 @@ def _create_group_serialize( @validate_call - def create_group_mapping( + def create_mapping( self, - group_mapping: GroupMapping, + mapping: Mapping, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -914,13 +915,13 @@ def create_group_mapping( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> GroupMapping: - """Create group mapping + ) -> Mapping: + """Create mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param group_mapping: (required) - :type group_mapping: GroupMapping + :param mapping: (required) + :type mapping: Mapping :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -943,8 +944,8 @@ def create_group_mapping( :return: Returns the result object. """ # noqa: E501 - _param = self._create_group_mapping_serialize( - group_mapping=group_mapping, + _param = self._create_mapping_serialize( + mapping=mapping, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -952,7 +953,9 @@ def create_group_mapping( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "GroupMapping", + '200': "Mapping", + '412': "str", + '422': None, } response_data = self.api_client.call_api( *_param, @@ -966,9 +969,9 @@ def create_group_mapping( @validate_call - def create_group_mapping_with_http_info( + def create_mapping_with_http_info( self, - group_mapping: GroupMapping, + mapping: Mapping, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -981,13 +984,13 @@ def create_group_mapping_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[GroupMapping]: - """Create group mapping + ) -> ApiResponse[Mapping]: + """Create mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param group_mapping: (required) - :type group_mapping: GroupMapping + :param mapping: (required) + :type mapping: Mapping :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1010,8 +1013,8 @@ def create_group_mapping_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._create_group_mapping_serialize( - group_mapping=group_mapping, + _param = self._create_mapping_serialize( + mapping=mapping, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1019,7 +1022,9 @@ def create_group_mapping_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "GroupMapping", + '200': "Mapping", + '412': "str", + '422': None, } response_data = self.api_client.call_api( *_param, @@ -1033,9 +1038,9 @@ def create_group_mapping_with_http_info( @validate_call - def create_group_mapping_without_preload_content( + def create_mapping_without_preload_content( self, - group_mapping: GroupMapping, + mapping: Mapping, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1049,12 +1054,12 @@ def create_group_mapping_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Create group mapping + """Create mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param group_mapping: (required) - :type group_mapping: GroupMapping + :param mapping: (required) + :type mapping: Mapping :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1077,8 +1082,8 @@ def create_group_mapping_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._create_group_mapping_serialize( - group_mapping=group_mapping, + _param = self._create_mapping_serialize( + mapping=mapping, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1086,7 +1091,9 @@ def create_group_mapping_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "GroupMapping", + '200': "Mapping", + '412': "str", + '422': None, } response_data = self.api_client.call_api( *_param, @@ -1095,9 +1102,9 @@ def create_group_mapping_without_preload_content( return response_data.response - def _create_group_mapping_serialize( + def _create_mapping_serialize( self, - group_mapping, + mapping, _request_auth, _content_type, _headers, @@ -1123,8 +1130,8 @@ def _create_group_mapping_serialize( # process the header parameters # process the form parameters # process the body parameter - if group_mapping is not None: - _body_params = group_mapping + if mapping is not None: + _body_params = mapping # set the HTTP header `Accept` @@ -1437,9 +1444,9 @@ def _delete_group_serialize( @validate_call - def delete_group_mapping( + def delete_groups( self, - id: Annotated[StrictStr, Field(description="Id of the group mapping to delete")], + request_body: List[StrictStr], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1453,12 +1460,12 @@ def delete_group_mapping( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> None: - """Delete group mapping + """Delete groups - For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + Delete multiple groups For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param id: Id of the group mapping to delete (required) - :type id: str + :param request_body: (required) + :type request_body: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1481,8 +1488,8 @@ def delete_group_mapping( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_group_mapping_serialize( - id=id, + _param = self._delete_groups_serialize( + request_body=request_body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1503,9 +1510,9 @@ def delete_group_mapping( @validate_call - def delete_group_mapping_with_http_info( + def delete_groups_with_http_info( self, - id: Annotated[StrictStr, Field(description="Id of the group mapping to delete")], + request_body: List[StrictStr], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1519,12 +1526,12 @@ def delete_group_mapping_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[None]: - """Delete group mapping + """Delete groups - For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + Delete multiple groups For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param id: Id of the group mapping to delete (required) - :type id: str + :param request_body: (required) + :type request_body: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1547,8 +1554,8 @@ def delete_group_mapping_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_group_mapping_serialize( - id=id, + _param = self._delete_groups_serialize( + request_body=request_body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1569,9 +1576,9 @@ def delete_group_mapping_with_http_info( @validate_call - def delete_group_mapping_without_preload_content( + def delete_groups_without_preload_content( self, - id: Annotated[StrictStr, Field(description="Id of the group mapping to delete")], + request_body: List[StrictStr], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1585,12 +1592,12 @@ def delete_group_mapping_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Delete group mapping + """Delete groups - For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + Delete multiple groups For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param id: Id of the group mapping to delete (required) - :type id: str + :param request_body: (required) + :type request_body: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1613,8 +1620,8 @@ def delete_group_mapping_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_group_mapping_serialize( - id=id, + _param = self._delete_groups_serialize( + request_body=request_body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1630,9 +1637,9 @@ def delete_group_mapping_without_preload_content( return response_data.response - def _delete_group_mapping_serialize( + def _delete_groups_serialize( self, - id, + request_body, _request_auth, _content_type, _headers, @@ -1642,6 +1649,7 @@ def _delete_group_mapping_serialize( _host = None _collection_formats: Dict[str, str] = { + 'request_body': '', } _path_params: Dict[str, str] = {} @@ -1654,12 +1662,12 @@ def _delete_group_mapping_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters # process the form parameters # process the body parameter + if request_body is not None: + _body_params = request_body # set the HTTP header `Accept` @@ -1670,6 +1678,19 @@ def _delete_group_mapping_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -1677,8 +1698,8 @@ def _delete_group_mapping_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/api/settings/rbac/mappings/{id}', + method='PUT', + resource_path='/api/settings/rbac/groups/delete', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1695,9 +1716,9 @@ def _delete_group_mapping_serialize( @validate_call - def delete_groups( + def delete_mapping( self, - request_body: List[StrictStr], + id: Annotated[StrictStr, Field(description="Id of the mapping to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1711,12 +1732,12 @@ def delete_groups( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> None: - """Delete groups + """Delete mapping - Delete multiple groups For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param request_body: (required) - :type request_body: List[str] + :param id: Id of the mapping to delete (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1739,8 +1760,8 @@ def delete_groups( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_groups_serialize( - request_body=request_body, + _param = self._delete_mapping_serialize( + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1761,9 +1782,9 @@ def delete_groups( @validate_call - def delete_groups_with_http_info( + def delete_mapping_with_http_info( self, - request_body: List[StrictStr], + id: Annotated[StrictStr, Field(description="Id of the mapping to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1777,12 +1798,12 @@ def delete_groups_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[None]: - """Delete groups + """Delete mapping - Delete multiple groups For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param request_body: (required) - :type request_body: List[str] + :param id: Id of the mapping to delete (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1805,8 +1826,8 @@ def delete_groups_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_groups_serialize( - request_body=request_body, + _param = self._delete_mapping_serialize( + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1827,9 +1848,9 @@ def delete_groups_with_http_info( @validate_call - def delete_groups_without_preload_content( + def delete_mapping_without_preload_content( self, - request_body: List[StrictStr], + id: Annotated[StrictStr, Field(description="Id of the mapping to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1843,12 +1864,12 @@ def delete_groups_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Delete groups + """Delete mapping - Delete multiple groups For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param request_body: (required) - :type request_body: List[str] + :param id: Id of the mapping to delete (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1871,8 +1892,8 @@ def delete_groups_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_groups_serialize( - request_body=request_body, + _param = self._delete_mapping_serialize( + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1888,9 +1909,9 @@ def delete_groups_without_preload_content( return response_data.response - def _delete_groups_serialize( + def _delete_mapping_serialize( self, - request_body, + id, _request_auth, _content_type, _headers, @@ -1900,7 +1921,6 @@ def _delete_groups_serialize( _host = None _collection_formats: Dict[str, str] = { - 'request_body': '', } _path_params: Dict[str, str] = {} @@ -1913,12 +1933,12 @@ def _delete_groups_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters # process the form parameters # process the body parameter - if request_body is not None: - _body_params = request_body # set the HTTP header `Accept` @@ -1929,19 +1949,6 @@ def _delete_groups_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -1949,8 +1956,8 @@ def _delete_groups_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/api/settings/rbac/groups/delete', + method='DELETE', + resource_path='/api/settings/rbac/mappings/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2228,9 +2235,8 @@ def _get_group_serialize( @validate_call - def get_group_mapping( + def get_groups( self, - id: StrictStr, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2243,13 +2249,11 @@ def get_group_mapping( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> GroupMapping: - """Get group mapping + ) -> List[ApiGroup]: + """Get groups For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param id: (required) - :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2272,8 +2276,260 @@ def get_group_mapping( :return: Returns the result object. """ # noqa: E501 - _param = self._get_group_mapping_serialize( - id=id, + _param = self._get_groups_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[ApiGroup]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_groups_with_http_info( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[List[ApiGroup]]: + """Get groups + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_groups_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[ApiGroup]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_groups_without_preload_content( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get groups + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_groups_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[ApiGroup]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_groups_serialize( + self, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/rbac/groups', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_groups_by_user( + self, + email: Annotated[StrictStr, Field(description="Email of the user for retrieval")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> List[ApiGroup]: + """Get groups of a single user + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param email: Email of the user for retrieval (required) + :type email: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_groups_by_user_serialize( + email=email, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2281,7 +2537,7 @@ def get_group_mapping( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "GroupMapping", + '200': "List[ApiGroup]", '404': None, } response_data = self.api_client.call_api( @@ -2296,9 +2552,9 @@ def get_group_mapping( @validate_call - def get_group_mapping_with_http_info( + def get_groups_by_user_with_http_info( self, - id: StrictStr, + email: Annotated[StrictStr, Field(description="Email of the user for retrieval")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2311,13 +2567,13 @@ def get_group_mapping_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[GroupMapping]: - """Get group mapping + ) -> ApiResponse[List[ApiGroup]]: + """Get groups of a single user For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param id: (required) - :type id: str + :param email: Email of the user for retrieval (required) + :type email: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2340,8 +2596,8 @@ def get_group_mapping_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_group_mapping_serialize( - id=id, + _param = self._get_groups_by_user_serialize( + email=email, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2349,7 +2605,7 @@ def get_group_mapping_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "GroupMapping", + '200': "List[ApiGroup]", '404': None, } response_data = self.api_client.call_api( @@ -2364,9 +2620,9 @@ def get_group_mapping_with_http_info( @validate_call - def get_group_mapping_without_preload_content( + def get_groups_by_user_without_preload_content( self, - id: StrictStr, + email: Annotated[StrictStr, Field(description="Email of the user for retrieval")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2380,12 +2636,12 @@ def get_group_mapping_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get group mapping + """Get groups of a single user For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param id: (required) - :type id: str + :param email: Email of the user for retrieval (required) + :type email: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2408,8 +2664,8 @@ def get_group_mapping_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_group_mapping_serialize( - id=id, + _param = self._get_groups_by_user_serialize( + email=email, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2417,7 +2673,7 @@ def get_group_mapping_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "GroupMapping", + '200': "List[ApiGroup]", '404': None, } response_data = self.api_client.call_api( @@ -2427,9 +2683,9 @@ def get_group_mapping_without_preload_content( return response_data.response - def _get_group_mapping_serialize( + def _get_groups_by_user_serialize( self, - id, + email, _request_auth, _content_type, _headers, @@ -2451,8 +2707,8 @@ def _get_group_mapping_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id + if email is not None: + _path_params['email'] = email # process the query parameters # process the header parameters # process the form parameters @@ -2475,7 +2731,7 @@ def _get_group_mapping_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/api/settings/rbac/mappings/{id}', + resource_path='/api/settings/rbac/groups/user/{email}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2492,7 +2748,7 @@ def _get_group_mapping_serialize( @validate_call - def get_group_mappings( + def get_identity_provider_patch( self, _request_timeout: Union[ None, @@ -2506,8 +2762,8 @@ def get_group_mappings( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> List[GroupMapping]: - """Get all group mappings + ) -> IdentityProviderPatch: + """Check user restrictions for empty Idp mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. @@ -2533,7 +2789,7 @@ def get_group_mappings( :return: Returns the result object. """ # noqa: E501 - _param = self._get_group_mappings_serialize( + _param = self._get_identity_provider_patch_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2541,7 +2797,7 @@ def get_group_mappings( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[GroupMapping]", + '200': "IdentityProviderPatch", '404': None, } response_data = self.api_client.call_api( @@ -2556,7 +2812,7 @@ def get_group_mappings( @validate_call - def get_group_mappings_with_http_info( + def get_identity_provider_patch_with_http_info( self, _request_timeout: Union[ None, @@ -2570,8 +2826,8 @@ def get_group_mappings_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[List[GroupMapping]]: - """Get all group mappings + ) -> ApiResponse[IdentityProviderPatch]: + """Check user restrictions for empty Idp mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. @@ -2597,7 +2853,7 @@ def get_group_mappings_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_group_mappings_serialize( + _param = self._get_identity_provider_patch_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2605,7 +2861,7 @@ def get_group_mappings_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[GroupMapping]", + '200': "IdentityProviderPatch", '404': None, } response_data = self.api_client.call_api( @@ -2620,7 +2876,7 @@ def get_group_mappings_with_http_info( @validate_call - def get_group_mappings_without_preload_content( + def get_identity_provider_patch_without_preload_content( self, _request_timeout: Union[ None, @@ -2635,7 +2891,7 @@ def get_group_mappings_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get all group mappings + """Check user restrictions for empty Idp mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. @@ -2661,7 +2917,7 @@ def get_group_mappings_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_group_mappings_serialize( + _param = self._get_identity_provider_patch_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2669,7 +2925,7 @@ def get_group_mappings_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[GroupMapping]", + '200': "IdentityProviderPatch", '404': None, } response_data = self.api_client.call_api( @@ -2679,7 +2935,7 @@ def get_group_mappings_without_preload_content( return response_data.response - def _get_group_mappings_serialize( + def _get_identity_provider_patch_serialize( self, _request_auth, _content_type, @@ -2724,7 +2980,7 @@ def _get_group_mappings_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/api/settings/rbac/mappings', + resource_path='/api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2741,8 +2997,9 @@ def _get_group_mappings_serialize( @validate_call - def get_group_mappings_overview( + def get_mapping( self, + id: StrictStr, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2755,11 +3012,13 @@ def get_group_mappings_overview( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> List[GroupMappingOverview]: - """Get all group mappings overview + ) -> Mapping: + """Get mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + :param id: (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2782,7 +3041,8 @@ def get_group_mappings_overview( :return: Returns the result object. """ # noqa: E501 - _param = self._get_group_mappings_overview_serialize( + _param = self._get_mapping_serialize( + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2790,7 +3050,7 @@ def get_group_mappings_overview( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[GroupMappingOverview]", + '200': "Mapping", '404': None, } response_data = self.api_client.call_api( @@ -2805,8 +3065,9 @@ def get_group_mappings_overview( @validate_call - def get_group_mappings_overview_with_http_info( + def get_mapping_with_http_info( self, + id: StrictStr, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2819,11 +3080,13 @@ def get_group_mappings_overview_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[List[GroupMappingOverview]]: - """Get all group mappings overview + ) -> ApiResponse[Mapping]: + """Get mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + :param id: (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2846,7 +3109,8 @@ def get_group_mappings_overview_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_group_mappings_overview_serialize( + _param = self._get_mapping_serialize( + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2854,7 +3118,7 @@ def get_group_mappings_overview_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[GroupMappingOverview]", + '200': "Mapping", '404': None, } response_data = self.api_client.call_api( @@ -2869,8 +3133,9 @@ def get_group_mappings_overview_with_http_info( @validate_call - def get_group_mappings_overview_without_preload_content( + def get_mapping_without_preload_content( self, + id: StrictStr, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2884,10 +3149,12 @@ def get_group_mappings_overview_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get all group mappings overview + """Get mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + :param id: (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2910,7 +3177,8 @@ def get_group_mappings_overview_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_group_mappings_overview_serialize( + _param = self._get_mapping_serialize( + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2918,7 +3186,7 @@ def get_group_mappings_overview_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[GroupMappingOverview]", + '200': "Mapping", '404': None, } response_data = self.api_client.call_api( @@ -2928,8 +3196,9 @@ def get_group_mappings_overview_without_preload_content( return response_data.response - def _get_group_mappings_overview_serialize( + def _get_mapping_serialize( self, + id, _request_auth, _content_type, _headers, @@ -2951,6 +3220,8 @@ def _get_group_mappings_overview_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters # process the form parameters @@ -2973,7 +3244,7 @@ def _get_group_mappings_overview_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/api/settings/rbac/mappings/overview', + resource_path='/api/settings/rbac/mappings/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2990,7 +3261,7 @@ def _get_group_mappings_overview_serialize( @validate_call - def get_groups( + def get_mappings( self, _request_timeout: Union[ None, @@ -3004,8 +3275,8 @@ def get_groups( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> List[ApiGroup]: - """Get groups + ) -> List[Mapping]: + """Get all mappings For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. @@ -3031,7 +3302,7 @@ def get_groups( :return: Returns the result object. """ # noqa: E501 - _param = self._get_groups_serialize( + _param = self._get_mappings_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3039,7 +3310,7 @@ def get_groups( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[ApiGroup]", + '200': "List[Mapping]", '404': None, } response_data = self.api_client.call_api( @@ -3054,7 +3325,7 @@ def get_groups( @validate_call - def get_groups_with_http_info( + def get_mappings_with_http_info( self, _request_timeout: Union[ None, @@ -3068,8 +3339,8 @@ def get_groups_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[List[ApiGroup]]: - """Get groups + ) -> ApiResponse[List[Mapping]]: + """Get all mappings For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. @@ -3095,7 +3366,7 @@ def get_groups_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_groups_serialize( + _param = self._get_mappings_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3103,7 +3374,7 @@ def get_groups_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[ApiGroup]", + '200': "List[Mapping]", '404': None, } response_data = self.api_client.call_api( @@ -3118,7 +3389,7 @@ def get_groups_with_http_info( @validate_call - def get_groups_without_preload_content( + def get_mappings_without_preload_content( self, _request_timeout: Union[ None, @@ -3133,7 +3404,7 @@ def get_groups_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get groups + """Get all mappings For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. @@ -3159,7 +3430,7 @@ def get_groups_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_groups_serialize( + _param = self._get_mappings_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3167,7 +3438,7 @@ def get_groups_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[ApiGroup]", + '200': "List[Mapping]", '404': None, } response_data = self.api_client.call_api( @@ -3177,7 +3448,7 @@ def get_groups_without_preload_content( return response_data.response - def _get_groups_serialize( + def _get_mappings_serialize( self, _request_auth, _content_type, @@ -3222,7 +3493,7 @@ def _get_groups_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/api/settings/rbac/groups', + resource_path='/api/settings/rbac/mappings', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -3239,9 +3510,8 @@ def _get_groups_serialize( @validate_call - def get_groups_by_user( + def get_mappings_overview( self, - email: Annotated[StrictStr, Field(description="Email of the user for retrieval")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3254,13 +3524,11 @@ def get_groups_by_user( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> List[ApiGroup]: - """Get groups of a single user + ) -> List[MappingOverview]: + """Get all mappings overview For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param email: Email of the user for retrieval (required) - :type email: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3283,8 +3551,7 @@ def get_groups_by_user( :return: Returns the result object. """ # noqa: E501 - _param = self._get_groups_by_user_serialize( - email=email, + _param = self._get_mappings_overview_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3292,7 +3559,7 @@ def get_groups_by_user( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[ApiGroup]", + '200': "List[MappingOverview]", '404': None, } response_data = self.api_client.call_api( @@ -3307,9 +3574,8 @@ def get_groups_by_user( @validate_call - def get_groups_by_user_with_http_info( + def get_mappings_overview_with_http_info( self, - email: Annotated[StrictStr, Field(description="Email of the user for retrieval")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3322,13 +3588,11 @@ def get_groups_by_user_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[List[ApiGroup]]: - """Get groups of a single user + ) -> ApiResponse[List[MappingOverview]]: + """Get all mappings overview For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param email: Email of the user for retrieval (required) - :type email: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3351,8 +3615,7 @@ def get_groups_by_user_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_groups_by_user_serialize( - email=email, + _param = self._get_mappings_overview_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3360,7 +3623,7 @@ def get_groups_by_user_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[ApiGroup]", + '200': "List[MappingOverview]", '404': None, } response_data = self.api_client.call_api( @@ -3375,9 +3638,8 @@ def get_groups_by_user_with_http_info( @validate_call - def get_groups_by_user_without_preload_content( + def get_mappings_overview_without_preload_content( self, - email: Annotated[StrictStr, Field(description="Email of the user for retrieval")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3391,12 +3653,10 @@ def get_groups_by_user_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get groups of a single user + """Get all mappings overview For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param email: Email of the user for retrieval (required) - :type email: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3419,8 +3679,7 @@ def get_groups_by_user_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_groups_by_user_serialize( - email=email, + _param = self._get_mappings_overview_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3428,7 +3687,7 @@ def get_groups_by_user_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[ApiGroup]", + '200': "List[MappingOverview]", '404': None, } response_data = self.api_client.call_api( @@ -3438,9 +3697,8 @@ def get_groups_by_user_without_preload_content( return response_data.response - def _get_groups_by_user_serialize( + def _get_mappings_overview_serialize( self, - email, _request_auth, _content_type, _headers, @@ -3462,8 +3720,6 @@ def _get_groups_by_user_serialize( _body_params: Optional[bytes] = None # process the path parameters - if email is not None: - _path_params['email'] = email # process the query parameters # process the header parameters # process the form parameters @@ -3486,7 +3742,7 @@ def _get_groups_by_user_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/api/settings/rbac/groups/user/{email}', + resource_path='/api/settings/rbac/mappings/overview', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -3503,8 +3759,10 @@ def _get_groups_by_user_serialize( @validate_call - def get_identity_provider_patch( + def migrate_group_to_team_and_role( self, + id: Annotated[StrictStr, Field(description="The ID of the legacy RBAC group to migrate.")], + api_group_to_team_role_migration: ApiGroupToTeamRoleMigration, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3517,11 +3775,15 @@ def get_identity_provider_patch( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> IdentityProviderPatch: - """Check user restrictions for empty Idp group mapping + ) -> None: + """Migrate a legacy RBAC group to the Team and Role model - For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + Migrates a legacy RBAC group to a team preserving the access scope, assigning all non-IdP members the specified target role. IdP group mappings are automatically converted to team mappings with the migrated team and target role. This is a tenant-wide, **irreversible** operation — the original group is permanently deleted on success. For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + :param id: The ID of the legacy RBAC group to migrate. (required) + :type id: str + :param api_group_to_team_role_migration: (required) + :type api_group_to_team_role_migration: ApiGroupToTeamRoleMigration :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3544,7 +3806,9 @@ def get_identity_provider_patch( :return: Returns the result object. """ # noqa: E501 - _param = self._get_identity_provider_patch_serialize( + _param = self._migrate_group_to_team_and_role_serialize( + id=id, + api_group_to_team_role_migration=api_group_to_team_role_migration, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3552,8 +3816,10 @@ def get_identity_provider_patch( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "IdentityProviderPatch", + '200': None, + '400': None, '404': None, + '500': None, } response_data = self.api_client.call_api( *_param, @@ -3567,8 +3833,10 @@ def get_identity_provider_patch( @validate_call - def get_identity_provider_patch_with_http_info( + def migrate_group_to_team_and_role_with_http_info( self, + id: Annotated[StrictStr, Field(description="The ID of the legacy RBAC group to migrate.")], + api_group_to_team_role_migration: ApiGroupToTeamRoleMigration, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3581,11 +3849,15 @@ def get_identity_provider_patch_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[IdentityProviderPatch]: - """Check user restrictions for empty Idp group mapping + ) -> ApiResponse[None]: + """Migrate a legacy RBAC group to the Team and Role model - For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + Migrates a legacy RBAC group to a team preserving the access scope, assigning all non-IdP members the specified target role. IdP group mappings are automatically converted to team mappings with the migrated team and target role. This is a tenant-wide, **irreversible** operation — the original group is permanently deleted on success. For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + :param id: The ID of the legacy RBAC group to migrate. (required) + :type id: str + :param api_group_to_team_role_migration: (required) + :type api_group_to_team_role_migration: ApiGroupToTeamRoleMigration :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3608,7 +3880,9 @@ def get_identity_provider_patch_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_identity_provider_patch_serialize( + _param = self._migrate_group_to_team_and_role_serialize( + id=id, + api_group_to_team_role_migration=api_group_to_team_role_migration, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3616,8 +3890,10 @@ def get_identity_provider_patch_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "IdentityProviderPatch", + '200': None, + '400': None, '404': None, + '500': None, } response_data = self.api_client.call_api( *_param, @@ -3631,8 +3907,10 @@ def get_identity_provider_patch_with_http_info( @validate_call - def get_identity_provider_patch_without_preload_content( + def migrate_group_to_team_and_role_without_preload_content( self, + id: Annotated[StrictStr, Field(description="The ID of the legacy RBAC group to migrate.")], + api_group_to_team_role_migration: ApiGroupToTeamRoleMigration, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3646,10 +3924,14 @@ def get_identity_provider_patch_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Check user restrictions for empty Idp group mapping + """Migrate a legacy RBAC group to the Team and Role model - For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + Migrates a legacy RBAC group to a team preserving the access scope, assigning all non-IdP members the specified target role. IdP group mappings are automatically converted to team mappings with the migrated team and target role. This is a tenant-wide, **irreversible** operation — the original group is permanently deleted on success. For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + :param id: The ID of the legacy RBAC group to migrate. (required) + :type id: str + :param api_group_to_team_role_migration: (required) + :type api_group_to_team_role_migration: ApiGroupToTeamRoleMigration :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3672,7 +3954,9 @@ def get_identity_provider_patch_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_identity_provider_patch_serialize( + _param = self._migrate_group_to_team_and_role_serialize( + id=id, + api_group_to_team_role_migration=api_group_to_team_role_migration, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3680,8 +3964,10 @@ def get_identity_provider_patch_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "IdentityProviderPatch", + '200': None, + '400': None, '404': None, + '500': None, } response_data = self.api_client.call_api( *_param, @@ -3690,8 +3976,10 @@ def get_identity_provider_patch_without_preload_content( return response_data.response - def _get_identity_provider_patch_serialize( + def _migrate_group_to_team_and_role_serialize( self, + id, + api_group_to_team_role_migration, _request_auth, _content_type, _headers, @@ -3713,20 +4001,30 @@ def _get_identity_provider_patch_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters # process the form parameters # process the body parameter + if api_group_to_team_role_migration is not None: + _body_params = api_group_to_team_role_migration - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -3734,8 +4032,8 @@ def _get_identity_provider_patch_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups', + method='PUT', + resource_path='/api/settings/rbac/groups/{id}/migrateToTeams', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -4320,10 +4618,9 @@ def _update_group_serialize( @validate_call - def update_group_mapping( + def update_identity_provider( self, - id: Annotated[StrictStr, Field(description="Id of the group mapping to update")], - group_mapping: GroupMapping, + identity_provider_patch: IdentityProviderPatch, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4336,15 +4633,13 @@ def update_group_mapping( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> GroupMapping: - """Update group mapping + ) -> None: + """Allow/Restrict users with empty Idp group mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param id: Id of the group mapping to update (required) - :type id: str - :param group_mapping: (required) - :type group_mapping: GroupMapping + :param identity_provider_patch: (required) + :type identity_provider_patch: IdentityProviderPatch :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4367,9 +4662,8 @@ def update_group_mapping( :return: Returns the result object. """ # noqa: E501 - _param = self._update_group_mapping_serialize( - id=id, - group_mapping=group_mapping, + _param = self._update_identity_provider_serialize( + identity_provider_patch=identity_provider_patch, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4377,7 +4671,8 @@ def update_group_mapping( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "GroupMapping", + '412': None, + '422': None, } response_data = self.api_client.call_api( *_param, @@ -4391,10 +4686,9 @@ def update_group_mapping( @validate_call - def update_group_mapping_with_http_info( + def update_identity_provider_with_http_info( self, - id: Annotated[StrictStr, Field(description="Id of the group mapping to update")], - group_mapping: GroupMapping, + identity_provider_patch: IdentityProviderPatch, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4407,15 +4701,13 @@ def update_group_mapping_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[GroupMapping]: - """Update group mapping + ) -> ApiResponse[None]: + """Allow/Restrict users with empty Idp group mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param id: Id of the group mapping to update (required) - :type id: str - :param group_mapping: (required) - :type group_mapping: GroupMapping + :param identity_provider_patch: (required) + :type identity_provider_patch: IdentityProviderPatch :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4438,9 +4730,8 @@ def update_group_mapping_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._update_group_mapping_serialize( - id=id, - group_mapping=group_mapping, + _param = self._update_identity_provider_serialize( + identity_provider_patch=identity_provider_patch, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4448,7 +4739,8 @@ def update_group_mapping_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "GroupMapping", + '412': None, + '422': None, } response_data = self.api_client.call_api( *_param, @@ -4462,10 +4754,9 @@ def update_group_mapping_with_http_info( @validate_call - def update_group_mapping_without_preload_content( + def update_identity_provider_without_preload_content( self, - id: Annotated[StrictStr, Field(description="Id of the group mapping to update")], - group_mapping: GroupMapping, + identity_provider_patch: IdentityProviderPatch, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4479,14 +4770,12 @@ def update_group_mapping_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Update group mapping + """Allow/Restrict users with empty Idp group mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param id: Id of the group mapping to update (required) - :type id: str - :param group_mapping: (required) - :type group_mapping: GroupMapping + :param identity_provider_patch: (required) + :type identity_provider_patch: IdentityProviderPatch :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4509,9 +4798,8 @@ def update_group_mapping_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._update_group_mapping_serialize( - id=id, - group_mapping=group_mapping, + _param = self._update_identity_provider_serialize( + identity_provider_patch=identity_provider_patch, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4519,7 +4807,8 @@ def update_group_mapping_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "GroupMapping", + '412': None, + '422': None, } response_data = self.api_client.call_api( *_param, @@ -4528,10 +4817,9 @@ def update_group_mapping_without_preload_content( return response_data.response - def _update_group_mapping_serialize( + def _update_identity_provider_serialize( self, - id, - group_mapping, + identity_provider_patch, _request_auth, _content_type, _headers, @@ -4553,23 +4841,14 @@ def _update_group_mapping_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters # process the form parameters # process the body parameter - if group_mapping is not None: - _body_params = group_mapping + if identity_provider_patch is not None: + _body_params = identity_provider_patch - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -4592,7 +4871,7 @@ def _update_group_mapping_serialize( return self.api_client.param_serialize( method='PUT', - resource_path='/api/settings/rbac/mappings/{id}', + resource_path='/api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -4609,9 +4888,10 @@ def _update_group_mapping_serialize( @validate_call - def update_identity_provider( + def update_mapping( self, - identity_provider_patch: IdentityProviderPatch, + id: Annotated[StrictStr, Field(description="Id of the mapping to update")], + mapping: Mapping, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4624,13 +4904,15 @@ def update_identity_provider( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """Allow/Restrict users with empty Idp group mapping + ) -> Mapping: + """Update mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param identity_provider_patch: (required) - :type identity_provider_patch: IdentityProviderPatch + :param id: Id of the mapping to update (required) + :type id: str + :param mapping: (required) + :type mapping: Mapping :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4653,8 +4935,9 @@ def update_identity_provider( :return: Returns the result object. """ # noqa: E501 - _param = self._update_identity_provider_serialize( - identity_provider_patch=identity_provider_patch, + _param = self._update_mapping_serialize( + id=id, + mapping=mapping, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4662,6 +4945,9 @@ def update_identity_provider( ) _response_types_map: Dict[str, Optional[str]] = { + '200': "Mapping", + '412': "str", + '422': None, } response_data = self.api_client.call_api( *_param, @@ -4675,9 +4961,10 @@ def update_identity_provider( @validate_call - def update_identity_provider_with_http_info( + def update_mapping_with_http_info( self, - identity_provider_patch: IdentityProviderPatch, + id: Annotated[StrictStr, Field(description="Id of the mapping to update")], + mapping: Mapping, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4690,13 +4977,15 @@ def update_identity_provider_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """Allow/Restrict users with empty Idp group mapping + ) -> ApiResponse[Mapping]: + """Update mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param identity_provider_patch: (required) - :type identity_provider_patch: IdentityProviderPatch + :param id: Id of the mapping to update (required) + :type id: str + :param mapping: (required) + :type mapping: Mapping :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4719,8 +5008,9 @@ def update_identity_provider_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._update_identity_provider_serialize( - identity_provider_patch=identity_provider_patch, + _param = self._update_mapping_serialize( + id=id, + mapping=mapping, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4728,6 +5018,9 @@ def update_identity_provider_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { + '200': "Mapping", + '412': "str", + '422': None, } response_data = self.api_client.call_api( *_param, @@ -4741,9 +5034,10 @@ def update_identity_provider_with_http_info( @validate_call - def update_identity_provider_without_preload_content( + def update_mapping_without_preload_content( self, - identity_provider_patch: IdentityProviderPatch, + id: Annotated[StrictStr, Field(description="Id of the mapping to update")], + mapping: Mapping, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4757,12 +5051,14 @@ def update_identity_provider_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Allow/Restrict users with empty Idp group mapping + """Update mapping For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param identity_provider_patch: (required) - :type identity_provider_patch: IdentityProviderPatch + :param id: Id of the mapping to update (required) + :type id: str + :param mapping: (required) + :type mapping: Mapping :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4785,8 +5081,9 @@ def update_identity_provider_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._update_identity_provider_serialize( - identity_provider_patch=identity_provider_patch, + _param = self._update_mapping_serialize( + id=id, + mapping=mapping, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4794,6 +5091,9 @@ def update_identity_provider_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { + '200': "Mapping", + '412': "str", + '422': None, } response_data = self.api_client.call_api( *_param, @@ -4802,9 +5102,10 @@ def update_identity_provider_without_preload_content( return response_data.response - def _update_identity_provider_serialize( + def _update_mapping_serialize( self, - identity_provider_patch, + id, + mapping, _request_auth, _content_type, _headers, @@ -4826,12 +5127,14 @@ def _update_identity_provider_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters # process the form parameters # process the body parameter - if identity_provider_patch is not None: - _body_params = identity_provider_patch + if mapping is not None: + _body_params = mapping # set the HTTP header `Accept` @@ -4863,7 +5166,7 @@ def _update_identity_provider_serialize( return self.api_client.param_serialize( method='PUT', - resource_path='/api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups', + resource_path='/api/settings/rbac/mappings/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, diff --git a/instana_client/api/health_api.py b/instana_client/api/health_api.py index 60b39ec..d83451f 100644 --- a/instana_client/api/health_api.py +++ b/instana_client/api/health_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/host_agent_api.py b/instana_client/api/host_agent_api.py index 02cdb68..ae3a2c6 100644 --- a/instana_client/api/host_agent_api.py +++ b/instana_client/api/host_agent_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/infrastructure_alert_configuration_api.py b/instana_client/api/infrastructure_alert_configuration_api.py index db42396..7521c26 100644 --- a/instana_client/api/infrastructure_alert_configuration_api.py +++ b/instana_client/api/infrastructure_alert_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/infrastructure_analyze_api.py b/instana_client/api/infrastructure_analyze_api.py index cae2df8..33f2bcd 100644 --- a/instana_client/api/infrastructure_analyze_api.py +++ b/instana_client/api/infrastructure_analyze_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/infrastructure_catalog_api.py b/instana_client/api/infrastructure_catalog_api.py index fab53fa..0d1ba4f 100644 --- a/instana_client/api/infrastructure_catalog_api.py +++ b/instana_client/api/infrastructure_catalog_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/infrastructure_metrics_api.py b/instana_client/api/infrastructure_metrics_api.py index 1699052..4dde811 100644 --- a/instana_client/api/infrastructure_metrics_api.py +++ b/instana_client/api/infrastructure_metrics_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/infrastructure_resources_api.py b/instana_client/api/infrastructure_resources_api.py index cb31468..cd284f8 100644 --- a/instana_client/api/infrastructure_resources_api.py +++ b/instana_client/api/infrastructure_resources_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/infrastructure_topology_api.py b/instana_client/api/infrastructure_topology_api.py index b59755b..eca5cda 100644 --- a/instana_client/api/infrastructure_topology_api.py +++ b/instana_client/api/infrastructure_topology_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/ip_filtering_api.py b/instana_client/api/ip_filtering_api.py index d51ec64..4c360c9 100644 --- a/instana_client/api/ip_filtering_api.py +++ b/instana_client/api/ip_filtering_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -17,6 +17,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated +from typing import Any, Dict from instana_client.models.ip_filtering import IPFiltering from instana_client.models.ip_filtering_upsert import IPFilteringUpsert @@ -293,6 +294,7 @@ def _delete_ip_filtering_serialize( @validate_call def disable_ip_filtering( self, + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -308,8 +310,10 @@ def disable_ip_filtering( ) -> IPFiltering: """Disable the current ip-filtering - Disable and retrieve the currently configured ip-filtering for the current tenant unit. + Disable and retrieve the currently configured ip-filtering for the current tenant unit. Request body is ignored, but required by some clients. + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -333,6 +337,7 @@ def disable_ip_filtering( """ # noqa: E501 _param = self._disable_ip_filtering_serialize( + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -358,6 +363,7 @@ def disable_ip_filtering( @validate_call def disable_ip_filtering_with_http_info( self, + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -373,8 +379,10 @@ def disable_ip_filtering_with_http_info( ) -> ApiResponse[IPFiltering]: """Disable the current ip-filtering - Disable and retrieve the currently configured ip-filtering for the current tenant unit. + Disable and retrieve the currently configured ip-filtering for the current tenant unit. Request body is ignored, but required by some clients. + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -398,6 +406,7 @@ def disable_ip_filtering_with_http_info( """ # noqa: E501 _param = self._disable_ip_filtering_serialize( + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -423,6 +432,7 @@ def disable_ip_filtering_with_http_info( @validate_call def disable_ip_filtering_without_preload_content( self, + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -438,8 +448,10 @@ def disable_ip_filtering_without_preload_content( ) -> RESTResponseType: """Disable the current ip-filtering - Disable and retrieve the currently configured ip-filtering for the current tenant unit. + Disable and retrieve the currently configured ip-filtering for the current tenant unit. Request body is ignored, but required by some clients. + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -463,6 +475,7 @@ def disable_ip_filtering_without_preload_content( """ # noqa: E501 _param = self._disable_ip_filtering_serialize( + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -483,6 +496,7 @@ def disable_ip_filtering_without_preload_content( def _disable_ip_filtering_serialize( self, + body, _request_auth, _content_type, _headers, @@ -508,6 +522,8 @@ def _disable_ip_filtering_serialize( # process the header parameters # process the form parameters # process the body parameter + if body is not None: + _body_params = body # set the HTTP header `Accept` @@ -518,6 +534,19 @@ def _disable_ip_filtering_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -1080,6 +1109,7 @@ def _upsert_ip_filtering_serialize( @validate_call def verify_ip_filtering( self, + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1095,8 +1125,10 @@ def verify_ip_filtering( ) -> IPFiltering: """Verify current ip-filtering - Verify and retrieve the currently configured ip-filtering for the current tenant unit. This action is required to promote a configuration from temporary active to permanently active. This action can only be performed whilst the configuration is temporary active. + Verify and retrieve the currently configured ip-filtering for the current tenant unit. This action is required to promote a configuration from temporary active to permanently active. This action can only be performed whilst the configuration is temporary active. Request body is ignored, but required by some clients. + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1120,6 +1152,7 @@ def verify_ip_filtering( """ # noqa: E501 _param = self._verify_ip_filtering_serialize( + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1145,6 +1178,7 @@ def verify_ip_filtering( @validate_call def verify_ip_filtering_with_http_info( self, + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1160,8 +1194,10 @@ def verify_ip_filtering_with_http_info( ) -> ApiResponse[IPFiltering]: """Verify current ip-filtering - Verify and retrieve the currently configured ip-filtering for the current tenant unit. This action is required to promote a configuration from temporary active to permanently active. This action can only be performed whilst the configuration is temporary active. + Verify and retrieve the currently configured ip-filtering for the current tenant unit. This action is required to promote a configuration from temporary active to permanently active. This action can only be performed whilst the configuration is temporary active. Request body is ignored, but required by some clients. + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1185,6 +1221,7 @@ def verify_ip_filtering_with_http_info( """ # noqa: E501 _param = self._verify_ip_filtering_serialize( + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1210,6 +1247,7 @@ def verify_ip_filtering_with_http_info( @validate_call def verify_ip_filtering_without_preload_content( self, + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1225,8 +1263,10 @@ def verify_ip_filtering_without_preload_content( ) -> RESTResponseType: """Verify current ip-filtering - Verify and retrieve the currently configured ip-filtering for the current tenant unit. This action is required to promote a configuration from temporary active to permanently active. This action can only be performed whilst the configuration is temporary active. + Verify and retrieve the currently configured ip-filtering for the current tenant unit. This action is required to promote a configuration from temporary active to permanently active. This action can only be performed whilst the configuration is temporary active. Request body is ignored, but required by some clients. + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1250,6 +1290,7 @@ def verify_ip_filtering_without_preload_content( """ # noqa: E501 _param = self._verify_ip_filtering_serialize( + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1270,6 +1311,7 @@ def verify_ip_filtering_without_preload_content( def _verify_ip_filtering_serialize( self, + body, _request_auth, _content_type, _headers, @@ -1295,6 +1337,8 @@ def _verify_ip_filtering_serialize( # process the header parameters # process the form parameters # process the body parameter + if body is not None: + _body_params = body # set the HTTP header `Accept` @@ -1305,6 +1349,19 @@ def _verify_ip_filtering_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ diff --git a/instana_client/api/llm_evaluation_api.py b/instana_client/api/llm_evaluation_api.py index b5afe96..4083c69 100644 --- a/instana_client/api/llm_evaluation_api.py +++ b/instana_client/api/llm_evaluation_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/llm_price_configuration_api.py b/instana_client/api/llm_price_configuration_api.py index 4db3635..c6aa476 100644 --- a/instana_client/api/llm_price_configuration_api.py +++ b/instana_client/api/llm_price_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/log_alert_configuration_api.py b/instana_client/api/log_alert_configuration_api.py index 84e9c66..4cb9fe0 100644 --- a/instana_client/api/log_alert_configuration_api.py +++ b/instana_client/api/log_alert_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/logging_analyze_api.py b/instana_client/api/logging_analyze_api.py index 9546426..0f663b1 100644 --- a/instana_client/api/logging_analyze_api.py +++ b/instana_client/api/logging_analyze_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -18,9 +18,10 @@ from typing_extensions import Annotated from pydantic import Field, StrictInt, StrictStr -from typing import Optional +from typing import List, Optional from typing_extensions import Annotated from instana_client.models.log_volume_usage_result import LogVolumeUsageResult +from instana_client.models.logging_perspective import LoggingPerspective from instana_client.models.logs_api_response import LogsApiResponse from instana_client.models.logs_query import LogsQuery @@ -42,12 +43,1390 @@ def __init__(self, api_client=None) -> None: self.api_client = api_client + @validate_call + def create_logging_perspective( + self, + logging_perspective: Annotated[LoggingPerspective, Field(description="The log perspective to create.")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> LoggingPerspective: + """Create Log Perspective + + Creates a new log perspective for the caller's tenant unit. - `perspectiveId` is **not** required — the server assigns it automatically. - `perspectiveName` must be unique. - `filter` accepts at least 1 and at most 10 elements. The `REGEX_MATCH` operator is not supported. + + :param logging_perspective: The log perspective to create. (required) + :type logging_perspective: LoggingPerspective + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._create_logging_perspective_serialize( + logging_perspective=logging_perspective, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "LoggingPerspective", + '400': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def create_logging_perspective_with_http_info( + self, + logging_perspective: Annotated[LoggingPerspective, Field(description="The log perspective to create.")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[LoggingPerspective]: + """Create Log Perspective + + Creates a new log perspective for the caller's tenant unit. - `perspectiveId` is **not** required — the server assigns it automatically. - `perspectiveName` must be unique. - `filter` accepts at least 1 and at most 10 elements. The `REGEX_MATCH` operator is not supported. + + :param logging_perspective: The log perspective to create. (required) + :type logging_perspective: LoggingPerspective + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._create_logging_perspective_serialize( + logging_perspective=logging_perspective, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "LoggingPerspective", + '400': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def create_logging_perspective_without_preload_content( + self, + logging_perspective: Annotated[LoggingPerspective, Field(description="The log perspective to create.")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Create Log Perspective + + Creates a new log perspective for the caller's tenant unit. - `perspectiveId` is **not** required — the server assigns it automatically. - `perspectiveName` must be unique. - `filter` accepts at least 1 and at most 10 elements. The `REGEX_MATCH` operator is not supported. + + :param logging_perspective: The log perspective to create. (required) + :type logging_perspective: LoggingPerspective + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._create_logging_perspective_serialize( + logging_perspective=logging_perspective, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "LoggingPerspective", + '400': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _create_logging_perspective_serialize( + self, + logging_perspective, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if logging_perspective is not None: + _body_params = logging_perspective + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/api/logging/perspective/v1', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def delete_logging_perspective( + self, + perspective_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> None: + """Delete Log Perspective + + Deletes an existing log perspective by its ID. The reserved **\"All logs\"** perspective (id=`\"0\"`) cannot be deleted. + + :param perspective_id: (required) + :type perspective_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._delete_logging_perspective_serialize( + perspective_id=perspective_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '400': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def delete_logging_perspective_with_http_info( + self, + perspective_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[None]: + """Delete Log Perspective + + Deletes an existing log perspective by its ID. The reserved **\"All logs\"** perspective (id=`\"0\"`) cannot be deleted. + + :param perspective_id: (required) + :type perspective_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._delete_logging_perspective_serialize( + perspective_id=perspective_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '400': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def delete_logging_perspective_without_preload_content( + self, + perspective_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Delete Log Perspective + + Deletes an existing log perspective by its ID. The reserved **\"All logs\"** perspective (id=`\"0\"`) cannot be deleted. + + :param perspective_id: (required) + :type perspective_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._delete_logging_perspective_serialize( + perspective_id=perspective_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '400': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _delete_logging_perspective_serialize( + self, + perspective_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if perspective_id is not None: + _path_params['perspectiveId'] = perspective_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='DELETE', + resource_path='/api/logging/perspective/v1/{perspectiveId}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_all_logging_perspectives( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> List[LoggingPerspective]: + """Get All Log Perspectives + + Returns all log perspectives that belong to the authenticated caller's tenant unit. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_all_logging_perspectives_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[LoggingPerspective]", + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_all_logging_perspectives_with_http_info( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[List[LoggingPerspective]]: + """Get All Log Perspectives + + Returns all log perspectives that belong to the authenticated caller's tenant unit. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_all_logging_perspectives_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[LoggingPerspective]", + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_all_logging_perspectives_without_preload_content( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get All Log Perspectives + + Returns all log perspectives that belong to the authenticated caller's tenant unit. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_all_logging_perspectives_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[LoggingPerspective]", + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_all_logging_perspectives_serialize( + self, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/logging/perspective/v1', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def get_log_volume_usage( self, - from_ts: Annotated[StrictInt, Field(description="Start timestamp in seconds. Must be <= `toTs`.")], - to_ts: Annotated[StrictInt, Field(description="End timestamp in seconds. Must be >= `fromTs`.")], - grouping_tag: Annotated[Optional[StrictStr], Field(description="Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`. ")] = None, + from_ts: Annotated[StrictInt, Field(description="Start timestamp in seconds. Must be <= `toTs`.")], + to_ts: Annotated[StrictInt, Field(description="End timestamp in seconds. Must be >= `fromTs`.")], + grouping_tag: Annotated[Optional[StrictStr], Field(description="Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`, `perspective_id`. ")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> LogVolumeUsageResult: + """Get Log Volume Usage + + Returns aggregated log volume usage data for a specified time range and optional grouping tag. `fromTs` and `toTs` are required and must define a valid time range (i.e., `fromTs` <= `toTs`). Refer to the query parameter description for valid `groupingTag` values. + + :param from_ts: Start timestamp in seconds. Must be <= `toTs`. (required) + :type from_ts: int + :param to_ts: End timestamp in seconds. Must be >= `fromTs`. (required) + :type to_ts: int + :param grouping_tag: Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`, `perspective_id`. + :type grouping_tag: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_log_volume_usage_serialize( + from_ts=from_ts, + to_ts=to_ts, + grouping_tag=grouping_tag, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "LogVolumeUsageResult", + '400': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_log_volume_usage_with_http_info( + self, + from_ts: Annotated[StrictInt, Field(description="Start timestamp in seconds. Must be <= `toTs`.")], + to_ts: Annotated[StrictInt, Field(description="End timestamp in seconds. Must be >= `fromTs`.")], + grouping_tag: Annotated[Optional[StrictStr], Field(description="Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`, `perspective_id`. ")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[LogVolumeUsageResult]: + """Get Log Volume Usage + + Returns aggregated log volume usage data for a specified time range and optional grouping tag. `fromTs` and `toTs` are required and must define a valid time range (i.e., `fromTs` <= `toTs`). Refer to the query parameter description for valid `groupingTag` values. + + :param from_ts: Start timestamp in seconds. Must be <= `toTs`. (required) + :type from_ts: int + :param to_ts: End timestamp in seconds. Must be >= `fromTs`. (required) + :type to_ts: int + :param grouping_tag: Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`, `perspective_id`. + :type grouping_tag: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_log_volume_usage_serialize( + from_ts=from_ts, + to_ts=to_ts, + grouping_tag=grouping_tag, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "LogVolumeUsageResult", + '400': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_log_volume_usage_without_preload_content( + self, + from_ts: Annotated[StrictInt, Field(description="Start timestamp in seconds. Must be <= `toTs`.")], + to_ts: Annotated[StrictInt, Field(description="End timestamp in seconds. Must be >= `fromTs`.")], + grouping_tag: Annotated[Optional[StrictStr], Field(description="Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`, `perspective_id`. ")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get Log Volume Usage + + Returns aggregated log volume usage data for a specified time range and optional grouping tag. `fromTs` and `toTs` are required and must define a valid time range (i.e., `fromTs` <= `toTs`). Refer to the query parameter description for valid `groupingTag` values. + + :param from_ts: Start timestamp in seconds. Must be <= `toTs`. (required) + :type from_ts: int + :param to_ts: End timestamp in seconds. Must be >= `fromTs`. (required) + :type to_ts: int + :param grouping_tag: Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`, `perspective_id`. + :type grouping_tag: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_log_volume_usage_serialize( + from_ts=from_ts, + to_ts=to_ts, + grouping_tag=grouping_tag, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "LogVolumeUsageResult", + '400': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_log_volume_usage_serialize( + self, + from_ts, + to_ts, + grouping_tag, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + if from_ts is not None: + + _query_params.append(('fromTs', from_ts)) + + if to_ts is not None: + + _query_params.append(('toTs', to_ts)) + + if grouping_tag is not None: + + _query_params.append(('groupingTag', grouping_tag)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/logging/logs/getLogVolumeUsage', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_logging_perspective( + self, + perspective_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> LoggingPerspective: + """Get Log Perspective + + Retrieves a single log perspective by its ID. + + :param perspective_id: (required) + :type perspective_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_logging_perspective_serialize( + perspective_id=perspective_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "LoggingPerspective", + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_logging_perspective_with_http_info( + self, + perspective_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[LoggingPerspective]: + """Get Log Perspective + + Retrieves a single log perspective by its ID. + + :param perspective_id: (required) + :type perspective_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_logging_perspective_serialize( + perspective_id=perspective_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "LoggingPerspective", + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_logging_perspective_without_preload_content( + self, + perspective_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get Log Perspective + + Retrieves a single log perspective by its ID. + + :param perspective_id: (required) + :type perspective_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_logging_perspective_serialize( + perspective_id=perspective_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "LoggingPerspective", + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_logging_perspective_serialize( + self, + perspective_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if perspective_id is not None: + _path_params['perspectiveId'] = perspective_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/logging/perspective/v1/{perspectiveId}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_logs( + self, + logs_query: LogsQuery, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -60,17 +1439,13 @@ def get_log_volume_usage( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> LogVolumeUsageResult: - """Get Log Volume Usage + ) -> LogsApiResponse: + """Retrieve logs via REST API - Returns aggregated log volume usage data for a specified time range and optional grouping tag. `fromTs` and `toTs` are required and must define a valid time range (i.e., `fromTs` <= `toTs`). Refer to the query parameter description for valid `groupingTag` values. + Returns logs (up to the specified retrievalSize) for a given time range with optional filters to help users efficiently troubleshoot and resolve issues. **The JSON payload must include:** - `timeConfig`: Time range configuration with `to` (Unix timestamp in milliseconds) and `windowSize` (duration in ms). - `retrievalSize`: Maximum number of logs to return per request (required, range: `1`-`200`). * If you specify a value > `200`, it will be automatically reduced to `200`. * Returns `HTTP 500 Internal Server Error` for values < `0`, non-integer types, or if missing. - `orderDirection`: Sort order - \"ASC\" (oldest first) or \"DESC\" (newest first). - `offset`: (Optional) Pagination offset specifies the number of log entries to skip before returning results. * Defaults to `0`, with permitted value range: [`0`,`2000`]. * This field controls pagination by skipping a specified number of logs from the beginning of the result set. * Example: With retrievalSize=`200` and offset=`0`, you get logs `1`-`200`. To get the next page, set offset=`200` to skip the first `200` logs and retrieve logs `201`-`400`. * Example: Setting offset=10 skips the first `10` log entries and starts returning results from the 11th entry onwards * Returns `HTTP 500 Internal Server Error` response if value is negative or non-integer. - `tagFilterExpression`: (Optional) Filter criteria for log attributes. - `requestedTags`: Array of tag names to include in the response. * You can select up to 10 tags from the available list: ``` aws.ecs.containerId aws.ecs.containerName containerd.containerId crio.containerId docker.containerId docker.containerName expiration.ts.seconds garden.containerId host.name kubernetes.cluster.name kubernetes.container.name kubernetes.deployment.name kubernetes.namespace.name kubernetes.node.name kubernetes.pod.name log.applications log.custom log.exception.message log.exception.stackTrace log.exception.type log.file.path log.hostId log.level log.message log.streamName log.timestamp log.traceId process.id ``` **Response Payload Fields:** - `items`: Array of log entries matching the query criteria. - `totalHits`: Total number of log entries matching the query across all pages (not just the current page). * Use this value to calculate total pages or display result counts to users. * Example: If totalHits=`450` and retrievalSize=`200`, you have 3 pages total (200 + 200 + 50). - `canLoadMore`: Boolean indicating whether more log entries are available beyond the current page. * When true, increment the offset parameter to retrieve the next page. * Example: If retrievalSize=`200`, offset=`0`, and canLoadMore=`true`, set offset=`200` for the next request. * When false, you have reached the end of the result set. - `adjustedTimeFrame`: Reserved for future use (currently always null). * This field may be used in the future to indicate if the requested time range was automatically adjusted. Refer to the RequestBody section for the complete LogsQuery schema. When using the UI to construct the curl request, select the desired filters and time window, then click the \"API Query\" button to automatically generate a curl request with current UI selections. By default, 4 tags are always included in requests generated by the \"API Query\" button, but may be changed as needed. ```\"log.timestamp\", \"log.level\", \"log.message\", \"log.custom\"``` Example curl request (can be auto-generated via the \"API Query\" button in the Instana UI): ``` curl -X POST /api/logging/logs/getLogs/v1 \\ -H \"Authorization: apiToken YOUR_API_TOKEN\" \\ -H \"Content-Type: application/json\" \\ -d '{ \"timeConfig\": { \"to\": 1711800000000, \"focusedMoment\": 1711800000000, \"autoRefresh\": false, \"windowSize\": 3600000 }, \"requestedTags\": [ \"log.traceId\", \"log.applications\", \"process.id\", \"host.name\", \"docker.containerName\", \"kubernetes.pod.name\" ], \"tagFilterExpression\": { \"type\": \"EXPRESSION\", \"logicalOperator\": \"AND\", \"elements\": [ { \"type\": \"TAG_FILTER\", \"name\": \"log.streamName\", \"operator\": \"EQUALS\", \"entity\": \"NOT_APPLICABLE\", \"value\": \"log.go\" }, { \"type\": \"TAG_FILTER\", \"name\": \"service.name\", \"operator\": \"EQUALS\", \"entity\": \"DESTINATION\", \"value\": \"dispatch\" } ] }, \"retrievalSize\": 200, \"offset\": 0, \"orderDirection\": \"DESC\" }' ``` - :param from_ts: Start timestamp in seconds. Must be <= `toTs`. (required) - :type from_ts: int - :param to_ts: End timestamp in seconds. Must be >= `fromTs`. (required) - :type to_ts: int - :param grouping_tag: Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`. - :type grouping_tag: str + :param logs_query: (required) + :type logs_query: LogsQuery :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -93,10 +1468,8 @@ def get_log_volume_usage( :return: Returns the result object. """ # noqa: E501 - _param = self._get_log_volume_usage_serialize( - from_ts=from_ts, - to_ts=to_ts, - grouping_tag=grouping_tag, + _param = self._get_logs_serialize( + logs_query=logs_query, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -104,9 +1477,9 @@ def get_log_volume_usage( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "LogVolumeUsageResult", - '400': None, + '200': "LogsApiResponse", '500': None, + '503': None, } response_data = self.api_client.call_api( *_param, @@ -120,11 +1493,9 @@ def get_log_volume_usage( @validate_call - def get_log_volume_usage_with_http_info( + def get_logs_with_http_info( self, - from_ts: Annotated[StrictInt, Field(description="Start timestamp in seconds. Must be <= `toTs`.")], - to_ts: Annotated[StrictInt, Field(description="End timestamp in seconds. Must be >= `fromTs`.")], - grouping_tag: Annotated[Optional[StrictStr], Field(description="Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`. ")] = None, + logs_query: LogsQuery, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -137,17 +1508,13 @@ def get_log_volume_usage_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[LogVolumeUsageResult]: - """Get Log Volume Usage + ) -> ApiResponse[LogsApiResponse]: + """Retrieve logs via REST API - Returns aggregated log volume usage data for a specified time range and optional grouping tag. `fromTs` and `toTs` are required and must define a valid time range (i.e., `fromTs` <= `toTs`). Refer to the query parameter description for valid `groupingTag` values. + Returns logs (up to the specified retrievalSize) for a given time range with optional filters to help users efficiently troubleshoot and resolve issues. **The JSON payload must include:** - `timeConfig`: Time range configuration with `to` (Unix timestamp in milliseconds) and `windowSize` (duration in ms). - `retrievalSize`: Maximum number of logs to return per request (required, range: `1`-`200`). * If you specify a value > `200`, it will be automatically reduced to `200`. * Returns `HTTP 500 Internal Server Error` for values < `0`, non-integer types, or if missing. - `orderDirection`: Sort order - \"ASC\" (oldest first) or \"DESC\" (newest first). - `offset`: (Optional) Pagination offset specifies the number of log entries to skip before returning results. * Defaults to `0`, with permitted value range: [`0`,`2000`]. * This field controls pagination by skipping a specified number of logs from the beginning of the result set. * Example: With retrievalSize=`200` and offset=`0`, you get logs `1`-`200`. To get the next page, set offset=`200` to skip the first `200` logs and retrieve logs `201`-`400`. * Example: Setting offset=10 skips the first `10` log entries and starts returning results from the 11th entry onwards * Returns `HTTP 500 Internal Server Error` response if value is negative or non-integer. - `tagFilterExpression`: (Optional) Filter criteria for log attributes. - `requestedTags`: Array of tag names to include in the response. * You can select up to 10 tags from the available list: ``` aws.ecs.containerId aws.ecs.containerName containerd.containerId crio.containerId docker.containerId docker.containerName expiration.ts.seconds garden.containerId host.name kubernetes.cluster.name kubernetes.container.name kubernetes.deployment.name kubernetes.namespace.name kubernetes.node.name kubernetes.pod.name log.applications log.custom log.exception.message log.exception.stackTrace log.exception.type log.file.path log.hostId log.level log.message log.streamName log.timestamp log.traceId process.id ``` **Response Payload Fields:** - `items`: Array of log entries matching the query criteria. - `totalHits`: Total number of log entries matching the query across all pages (not just the current page). * Use this value to calculate total pages or display result counts to users. * Example: If totalHits=`450` and retrievalSize=`200`, you have 3 pages total (200 + 200 + 50). - `canLoadMore`: Boolean indicating whether more log entries are available beyond the current page. * When true, increment the offset parameter to retrieve the next page. * Example: If retrievalSize=`200`, offset=`0`, and canLoadMore=`true`, set offset=`200` for the next request. * When false, you have reached the end of the result set. - `adjustedTimeFrame`: Reserved for future use (currently always null). * This field may be used in the future to indicate if the requested time range was automatically adjusted. Refer to the RequestBody section for the complete LogsQuery schema. When using the UI to construct the curl request, select the desired filters and time window, then click the \"API Query\" button to automatically generate a curl request with current UI selections. By default, 4 tags are always included in requests generated by the \"API Query\" button, but may be changed as needed. ```\"log.timestamp\", \"log.level\", \"log.message\", \"log.custom\"``` Example curl request (can be auto-generated via the \"API Query\" button in the Instana UI): ``` curl -X POST /api/logging/logs/getLogs/v1 \\ -H \"Authorization: apiToken YOUR_API_TOKEN\" \\ -H \"Content-Type: application/json\" \\ -d '{ \"timeConfig\": { \"to\": 1711800000000, \"focusedMoment\": 1711800000000, \"autoRefresh\": false, \"windowSize\": 3600000 }, \"requestedTags\": [ \"log.traceId\", \"log.applications\", \"process.id\", \"host.name\", \"docker.containerName\", \"kubernetes.pod.name\" ], \"tagFilterExpression\": { \"type\": \"EXPRESSION\", \"logicalOperator\": \"AND\", \"elements\": [ { \"type\": \"TAG_FILTER\", \"name\": \"log.streamName\", \"operator\": \"EQUALS\", \"entity\": \"NOT_APPLICABLE\", \"value\": \"log.go\" }, { \"type\": \"TAG_FILTER\", \"name\": \"service.name\", \"operator\": \"EQUALS\", \"entity\": \"DESTINATION\", \"value\": \"dispatch\" } ] }, \"retrievalSize\": 200, \"offset\": 0, \"orderDirection\": \"DESC\" }' ``` - :param from_ts: Start timestamp in seconds. Must be <= `toTs`. (required) - :type from_ts: int - :param to_ts: End timestamp in seconds. Must be >= `fromTs`. (required) - :type to_ts: int - :param grouping_tag: Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`. - :type grouping_tag: str + :param logs_query: (required) + :type logs_query: LogsQuery :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -170,10 +1537,8 @@ def get_log_volume_usage_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_log_volume_usage_serialize( - from_ts=from_ts, - to_ts=to_ts, - grouping_tag=grouping_tag, + _param = self._get_logs_serialize( + logs_query=logs_query, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -181,9 +1546,9 @@ def get_log_volume_usage_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "LogVolumeUsageResult", - '400': None, + '200': "LogsApiResponse", '500': None, + '503': None, } response_data = self.api_client.call_api( *_param, @@ -197,11 +1562,9 @@ def get_log_volume_usage_with_http_info( @validate_call - def get_log_volume_usage_without_preload_content( + def get_logs_without_preload_content( self, - from_ts: Annotated[StrictInt, Field(description="Start timestamp in seconds. Must be <= `toTs`.")], - to_ts: Annotated[StrictInt, Field(description="End timestamp in seconds. Must be >= `fromTs`.")], - grouping_tag: Annotated[Optional[StrictStr], Field(description="Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`. ")] = None, + logs_query: LogsQuery, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -215,16 +1578,12 @@ def get_log_volume_usage_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get Log Volume Usage + """Retrieve logs via REST API - Returns aggregated log volume usage data for a specified time range and optional grouping tag. `fromTs` and `toTs` are required and must define a valid time range (i.e., `fromTs` <= `toTs`). Refer to the query parameter description for valid `groupingTag` values. + Returns logs (up to the specified retrievalSize) for a given time range with optional filters to help users efficiently troubleshoot and resolve issues. **The JSON payload must include:** - `timeConfig`: Time range configuration with `to` (Unix timestamp in milliseconds) and `windowSize` (duration in ms). - `retrievalSize`: Maximum number of logs to return per request (required, range: `1`-`200`). * If you specify a value > `200`, it will be automatically reduced to `200`. * Returns `HTTP 500 Internal Server Error` for values < `0`, non-integer types, or if missing. - `orderDirection`: Sort order - \"ASC\" (oldest first) or \"DESC\" (newest first). - `offset`: (Optional) Pagination offset specifies the number of log entries to skip before returning results. * Defaults to `0`, with permitted value range: [`0`,`2000`]. * This field controls pagination by skipping a specified number of logs from the beginning of the result set. * Example: With retrievalSize=`200` and offset=`0`, you get logs `1`-`200`. To get the next page, set offset=`200` to skip the first `200` logs and retrieve logs `201`-`400`. * Example: Setting offset=10 skips the first `10` log entries and starts returning results from the 11th entry onwards * Returns `HTTP 500 Internal Server Error` response if value is negative or non-integer. - `tagFilterExpression`: (Optional) Filter criteria for log attributes. - `requestedTags`: Array of tag names to include in the response. * You can select up to 10 tags from the available list: ``` aws.ecs.containerId aws.ecs.containerName containerd.containerId crio.containerId docker.containerId docker.containerName expiration.ts.seconds garden.containerId host.name kubernetes.cluster.name kubernetes.container.name kubernetes.deployment.name kubernetes.namespace.name kubernetes.node.name kubernetes.pod.name log.applications log.custom log.exception.message log.exception.stackTrace log.exception.type log.file.path log.hostId log.level log.message log.streamName log.timestamp log.traceId process.id ``` **Response Payload Fields:** - `items`: Array of log entries matching the query criteria. - `totalHits`: Total number of log entries matching the query across all pages (not just the current page). * Use this value to calculate total pages or display result counts to users. * Example: If totalHits=`450` and retrievalSize=`200`, you have 3 pages total (200 + 200 + 50). - `canLoadMore`: Boolean indicating whether more log entries are available beyond the current page. * When true, increment the offset parameter to retrieve the next page. * Example: If retrievalSize=`200`, offset=`0`, and canLoadMore=`true`, set offset=`200` for the next request. * When false, you have reached the end of the result set. - `adjustedTimeFrame`: Reserved for future use (currently always null). * This field may be used in the future to indicate if the requested time range was automatically adjusted. Refer to the RequestBody section for the complete LogsQuery schema. When using the UI to construct the curl request, select the desired filters and time window, then click the \"API Query\" button to automatically generate a curl request with current UI selections. By default, 4 tags are always included in requests generated by the \"API Query\" button, but may be changed as needed. ```\"log.timestamp\", \"log.level\", \"log.message\", \"log.custom\"``` Example curl request (can be auto-generated via the \"API Query\" button in the Instana UI): ``` curl -X POST /api/logging/logs/getLogs/v1 \\ -H \"Authorization: apiToken YOUR_API_TOKEN\" \\ -H \"Content-Type: application/json\" \\ -d '{ \"timeConfig\": { \"to\": 1711800000000, \"focusedMoment\": 1711800000000, \"autoRefresh\": false, \"windowSize\": 3600000 }, \"requestedTags\": [ \"log.traceId\", \"log.applications\", \"process.id\", \"host.name\", \"docker.containerName\", \"kubernetes.pod.name\" ], \"tagFilterExpression\": { \"type\": \"EXPRESSION\", \"logicalOperator\": \"AND\", \"elements\": [ { \"type\": \"TAG_FILTER\", \"name\": \"log.streamName\", \"operator\": \"EQUALS\", \"entity\": \"NOT_APPLICABLE\", \"value\": \"log.go\" }, { \"type\": \"TAG_FILTER\", \"name\": \"service.name\", \"operator\": \"EQUALS\", \"entity\": \"DESTINATION\", \"value\": \"dispatch\" } ] }, \"retrievalSize\": 200, \"offset\": 0, \"orderDirection\": \"DESC\" }' ``` - :param from_ts: Start timestamp in seconds. Must be <= `toTs`. (required) - :type from_ts: int - :param to_ts: End timestamp in seconds. Must be >= `fromTs`. (required) - :type to_ts: int - :param grouping_tag: Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, `kubernetes_deployment_name`, `host_name`, `zone`. - :type grouping_tag: str + :param logs_query: (required) + :type logs_query: LogsQuery :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -247,10 +1606,8 @@ def get_log_volume_usage_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_log_volume_usage_serialize( - from_ts=from_ts, - to_ts=to_ts, - grouping_tag=grouping_tag, + _param = self._get_logs_serialize( + logs_query=logs_query, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -258,9 +1615,9 @@ def get_log_volume_usage_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "LogVolumeUsageResult", - '400': None, + '200': "LogsApiResponse", '500': None, + '503': None, } response_data = self.api_client.call_api( *_param, @@ -269,11 +1626,9 @@ def get_log_volume_usage_without_preload_content( return response_data.response - def _get_log_volume_usage_serialize( + def _get_logs_serialize( self, - from_ts, - to_ts, - grouping_tag, + logs_query, _request_auth, _content_type, _headers, @@ -296,21 +1651,11 @@ def _get_log_volume_usage_serialize( # process the path parameters # process the query parameters - if from_ts is not None: - - _query_params.append(('fromTs', from_ts)) - - if to_ts is not None: - - _query_params.append(('toTs', to_ts)) - - if grouping_tag is not None: - - _query_params.append(('groupingTag', grouping_tag)) - # process the header parameters # process the form parameters # process the body parameter + if logs_query is not None: + _body_params = logs_query # set the HTTP header `Accept` @@ -321,6 +1666,19 @@ def _get_log_volume_usage_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -328,8 +1686,8 @@ def _get_log_volume_usage_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/api/logging/logs/getLogVolumeUsage', + method='POST', + resource_path='/api/logging/logs/getLogs/v1', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -346,9 +1704,10 @@ def _get_log_volume_usage_serialize( @validate_call - def get_logs( + def update_logging_perspective( self, - logs_query: LogsQuery, + perspective_id: StrictStr, + logging_perspective: Annotated[LoggingPerspective, Field(description="Full log perspective object. `perspectiveId` must be present and match the path parameter.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -361,13 +1720,15 @@ def get_logs( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> LogsApiResponse: - """Retrieve logs via REST API + ) -> LoggingPerspective: + """Update Log Perspective - Returns logs (up to the specified retrievalSize) for a given time range with optional filters to help users efficiently troubleshoot and resolve issues. **The JSON payload must include:** - `timeConfig`: Time range configuration with `to` (Unix timestamp in milliseconds) and `windowSize` (duration in ms). - `retrievalSize`: Maximum number of logs to return per request (required, range: `1`-`200`). * If you specify a value > `200`, it will be automatically reduced to `200`. * Returns `HTTP 500 Internal Server Error` for values < `0`, non-integer types, or if missing. - `orderDirection`: Sort order - \"ASC\" (oldest first) or \"DESC\" (newest first). - `offset`: (Optional) Pagination offset specifies the number of log entries to skip before returning results. * Defaults to `0`, with permitted value range: [`0`,`2000`]. * This field controls pagination by skipping a specified number of logs from the beginning of the result set. * Example: With retrievalSize=`200` and offset=`0`, you get logs `1`-`200`. To get the next page, set offset=`200` to skip the first `200` logs and retrieve logs `201`-`400`. * Example: Setting offset=10 skips the first `10` log entries and starts returning results from the 11th entry onwards * Returns `HTTP 500 Internal Server Error` response if value is negative or non-integer. - `tagFilterExpression`: (Optional) Filter criteria for log attributes. - `requestedTags`: Array of tag names to include in the response. * You can select up to 10 tags from the available list: ``` aws.ecs.containerId aws.ecs.containerName containerd.containerId crio.containerId docker.containerId docker.containerName expiration.ts.seconds garden.containerId host.name kubernetes.cluster.name kubernetes.container.name kubernetes.deployment.name kubernetes.namespace.name kubernetes.node.name kubernetes.pod.name log.applications log.custom log.exception.message log.exception.stackTrace log.exception.type log.file.path log.hostId log.level log.message log.streamName log.timestamp log.traceId process.id ``` **Response Payload Fields:** - `items`: Array of log entries matching the query criteria. - `totalHits`: Total number of log entries matching the query across all pages (not just the current page). * Use this value to calculate total pages or display result counts to users. * Example: If totalHits=`450` and retrievalSize=`200`, you have 3 pages total (200 + 200 + 50). - `canLoadMore`: Boolean indicating whether more log entries are available beyond the current page. * When true, increment the offset parameter to retrieve the next page. * Example: If retrievalSize=`200`, offset=`0`, and canLoadMore=`true`, set offset=`200` for the next request. * When false, you have reached the end of the result set. - `adjustedTimeFrame`: Reserved for future use (currently always null). * This field may be used in the future to indicate if the requested time range was automatically adjusted. Refer to the RequestBody section for the complete LogsQuery schema. When using the UI to construct the curl request, select the desired filters and time window, then click the \"API Query\" button to automatically generate a curl request with current UI selections. By default, 4 tags are always included in requests generated by the \"API Query\" button, but may be changed as needed. ```\"log.timestamp\", \"log.level\", \"log.message\", \"log.custom\"``` Example curl request (can be auto-generated via the \"API Query\" button in the Instana UI): ``` curl -X POST /api/logging/logs/getLogs/v1 \\ -H \"Authorization: apiToken YOUR_API_TOKEN\" \\ -H \"Content-Type: application/json\" \\ -d '{ \"timeConfig\": { \"to\": 1711800000000, \"focusedMoment\": 1711800000000, \"autoRefresh\": false, \"windowSize\": 3600000 }, \"requestedTags\": [ \"log.traceId\", \"log.applications\", \"process.id\", \"host.name\", \"docker.containerName\", \"kubernetes.pod.name\" ], \"tagFilterExpression\": { \"type\": \"EXPRESSION\", \"logicalOperator\": \"AND\", \"elements\": [ { \"type\": \"TAG_FILTER\", \"name\": \"log.streamName\", \"operator\": \"EQUALS\", \"entity\": \"NOT_APPLICABLE\", \"value\": \"log.go\" }, { \"type\": \"TAG_FILTER\", \"name\": \"service.name\", \"operator\": \"EQUALS\", \"entity\": \"DESTINATION\", \"value\": \"dispatch\" } ] }, \"retrievalSize\": 200, \"offset\": 0, \"orderDirection\": \"DESC\" }' ``` + Replaces an existing log perspective with the provided values. **Updatable fields:** - `perspectiveName` — new display name; must be unique within the tenant unit. - `description` — free-text description shown in the UI. Set to `null` to clear. - `filter` — accepts at most 10 elements; the `REGEX_MATCH` operator is not supported. **Rules:** - `perspectiveId` in the request body must match the `{perspectiveId}` path parameter. - The reserved perspective `\"0\"` (\"All logs\") cannot be updated. - :param logs_query: (required) - :type logs_query: LogsQuery + :param perspective_id: (required) + :type perspective_id: str + :param logging_perspective: Full log perspective object. `perspectiveId` must be present and match the path parameter. (required) + :type logging_perspective: LoggingPerspective :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -390,8 +1751,9 @@ def get_logs( :return: Returns the result object. """ # noqa: E501 - _param = self._get_logs_serialize( - logs_query=logs_query, + _param = self._update_logging_perspective_serialize( + perspective_id=perspective_id, + logging_perspective=logging_perspective, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -399,9 +1761,11 @@ def get_logs( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "LogsApiResponse", + '200': "LoggingPerspective", + '400': None, + '403': None, + '404': None, '500': None, - '503': None, } response_data = self.api_client.call_api( *_param, @@ -415,9 +1779,10 @@ def get_logs( @validate_call - def get_logs_with_http_info( + def update_logging_perspective_with_http_info( self, - logs_query: LogsQuery, + perspective_id: StrictStr, + logging_perspective: Annotated[LoggingPerspective, Field(description="Full log perspective object. `perspectiveId` must be present and match the path parameter.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -430,13 +1795,15 @@ def get_logs_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[LogsApiResponse]: - """Retrieve logs via REST API + ) -> ApiResponse[LoggingPerspective]: + """Update Log Perspective - Returns logs (up to the specified retrievalSize) for a given time range with optional filters to help users efficiently troubleshoot and resolve issues. **The JSON payload must include:** - `timeConfig`: Time range configuration with `to` (Unix timestamp in milliseconds) and `windowSize` (duration in ms). - `retrievalSize`: Maximum number of logs to return per request (required, range: `1`-`200`). * If you specify a value > `200`, it will be automatically reduced to `200`. * Returns `HTTP 500 Internal Server Error` for values < `0`, non-integer types, or if missing. - `orderDirection`: Sort order - \"ASC\" (oldest first) or \"DESC\" (newest first). - `offset`: (Optional) Pagination offset specifies the number of log entries to skip before returning results. * Defaults to `0`, with permitted value range: [`0`,`2000`]. * This field controls pagination by skipping a specified number of logs from the beginning of the result set. * Example: With retrievalSize=`200` and offset=`0`, you get logs `1`-`200`. To get the next page, set offset=`200` to skip the first `200` logs and retrieve logs `201`-`400`. * Example: Setting offset=10 skips the first `10` log entries and starts returning results from the 11th entry onwards * Returns `HTTP 500 Internal Server Error` response if value is negative or non-integer. - `tagFilterExpression`: (Optional) Filter criteria for log attributes. - `requestedTags`: Array of tag names to include in the response. * You can select up to 10 tags from the available list: ``` aws.ecs.containerId aws.ecs.containerName containerd.containerId crio.containerId docker.containerId docker.containerName expiration.ts.seconds garden.containerId host.name kubernetes.cluster.name kubernetes.container.name kubernetes.deployment.name kubernetes.namespace.name kubernetes.node.name kubernetes.pod.name log.applications log.custom log.exception.message log.exception.stackTrace log.exception.type log.file.path log.hostId log.level log.message log.streamName log.timestamp log.traceId process.id ``` **Response Payload Fields:** - `items`: Array of log entries matching the query criteria. - `totalHits`: Total number of log entries matching the query across all pages (not just the current page). * Use this value to calculate total pages or display result counts to users. * Example: If totalHits=`450` and retrievalSize=`200`, you have 3 pages total (200 + 200 + 50). - `canLoadMore`: Boolean indicating whether more log entries are available beyond the current page. * When true, increment the offset parameter to retrieve the next page. * Example: If retrievalSize=`200`, offset=`0`, and canLoadMore=`true`, set offset=`200` for the next request. * When false, you have reached the end of the result set. - `adjustedTimeFrame`: Reserved for future use (currently always null). * This field may be used in the future to indicate if the requested time range was automatically adjusted. Refer to the RequestBody section for the complete LogsQuery schema. When using the UI to construct the curl request, select the desired filters and time window, then click the \"API Query\" button to automatically generate a curl request with current UI selections. By default, 4 tags are always included in requests generated by the \"API Query\" button, but may be changed as needed. ```\"log.timestamp\", \"log.level\", \"log.message\", \"log.custom\"``` Example curl request (can be auto-generated via the \"API Query\" button in the Instana UI): ``` curl -X POST /api/logging/logs/getLogs/v1 \\ -H \"Authorization: apiToken YOUR_API_TOKEN\" \\ -H \"Content-Type: application/json\" \\ -d '{ \"timeConfig\": { \"to\": 1711800000000, \"focusedMoment\": 1711800000000, \"autoRefresh\": false, \"windowSize\": 3600000 }, \"requestedTags\": [ \"log.traceId\", \"log.applications\", \"process.id\", \"host.name\", \"docker.containerName\", \"kubernetes.pod.name\" ], \"tagFilterExpression\": { \"type\": \"EXPRESSION\", \"logicalOperator\": \"AND\", \"elements\": [ { \"type\": \"TAG_FILTER\", \"name\": \"log.streamName\", \"operator\": \"EQUALS\", \"entity\": \"NOT_APPLICABLE\", \"value\": \"log.go\" }, { \"type\": \"TAG_FILTER\", \"name\": \"service.name\", \"operator\": \"EQUALS\", \"entity\": \"DESTINATION\", \"value\": \"dispatch\" } ] }, \"retrievalSize\": 200, \"offset\": 0, \"orderDirection\": \"DESC\" }' ``` + Replaces an existing log perspective with the provided values. **Updatable fields:** - `perspectiveName` — new display name; must be unique within the tenant unit. - `description` — free-text description shown in the UI. Set to `null` to clear. - `filter` — accepts at most 10 elements; the `REGEX_MATCH` operator is not supported. **Rules:** - `perspectiveId` in the request body must match the `{perspectiveId}` path parameter. - The reserved perspective `\"0\"` (\"All logs\") cannot be updated. - :param logs_query: (required) - :type logs_query: LogsQuery + :param perspective_id: (required) + :type perspective_id: str + :param logging_perspective: Full log perspective object. `perspectiveId` must be present and match the path parameter. (required) + :type logging_perspective: LoggingPerspective :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -459,8 +1826,9 @@ def get_logs_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_logs_serialize( - logs_query=logs_query, + _param = self._update_logging_perspective_serialize( + perspective_id=perspective_id, + logging_perspective=logging_perspective, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -468,9 +1836,11 @@ def get_logs_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "LogsApiResponse", + '200': "LoggingPerspective", + '400': None, + '403': None, + '404': None, '500': None, - '503': None, } response_data = self.api_client.call_api( *_param, @@ -484,9 +1854,10 @@ def get_logs_with_http_info( @validate_call - def get_logs_without_preload_content( + def update_logging_perspective_without_preload_content( self, - logs_query: LogsQuery, + perspective_id: StrictStr, + logging_perspective: Annotated[LoggingPerspective, Field(description="Full log perspective object. `perspectiveId` must be present and match the path parameter.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -500,12 +1871,14 @@ def get_logs_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve logs via REST API + """Update Log Perspective - Returns logs (up to the specified retrievalSize) for a given time range with optional filters to help users efficiently troubleshoot and resolve issues. **The JSON payload must include:** - `timeConfig`: Time range configuration with `to` (Unix timestamp in milliseconds) and `windowSize` (duration in ms). - `retrievalSize`: Maximum number of logs to return per request (required, range: `1`-`200`). * If you specify a value > `200`, it will be automatically reduced to `200`. * Returns `HTTP 500 Internal Server Error` for values < `0`, non-integer types, or if missing. - `orderDirection`: Sort order - \"ASC\" (oldest first) or \"DESC\" (newest first). - `offset`: (Optional) Pagination offset specifies the number of log entries to skip before returning results. * Defaults to `0`, with permitted value range: [`0`,`2000`]. * This field controls pagination by skipping a specified number of logs from the beginning of the result set. * Example: With retrievalSize=`200` and offset=`0`, you get logs `1`-`200`. To get the next page, set offset=`200` to skip the first `200` logs and retrieve logs `201`-`400`. * Example: Setting offset=10 skips the first `10` log entries and starts returning results from the 11th entry onwards * Returns `HTTP 500 Internal Server Error` response if value is negative or non-integer. - `tagFilterExpression`: (Optional) Filter criteria for log attributes. - `requestedTags`: Array of tag names to include in the response. * You can select up to 10 tags from the available list: ``` aws.ecs.containerId aws.ecs.containerName containerd.containerId crio.containerId docker.containerId docker.containerName expiration.ts.seconds garden.containerId host.name kubernetes.cluster.name kubernetes.container.name kubernetes.deployment.name kubernetes.namespace.name kubernetes.node.name kubernetes.pod.name log.applications log.custom log.exception.message log.exception.stackTrace log.exception.type log.file.path log.hostId log.level log.message log.streamName log.timestamp log.traceId process.id ``` **Response Payload Fields:** - `items`: Array of log entries matching the query criteria. - `totalHits`: Total number of log entries matching the query across all pages (not just the current page). * Use this value to calculate total pages or display result counts to users. * Example: If totalHits=`450` and retrievalSize=`200`, you have 3 pages total (200 + 200 + 50). - `canLoadMore`: Boolean indicating whether more log entries are available beyond the current page. * When true, increment the offset parameter to retrieve the next page. * Example: If retrievalSize=`200`, offset=`0`, and canLoadMore=`true`, set offset=`200` for the next request. * When false, you have reached the end of the result set. - `adjustedTimeFrame`: Reserved for future use (currently always null). * This field may be used in the future to indicate if the requested time range was automatically adjusted. Refer to the RequestBody section for the complete LogsQuery schema. When using the UI to construct the curl request, select the desired filters and time window, then click the \"API Query\" button to automatically generate a curl request with current UI selections. By default, 4 tags are always included in requests generated by the \"API Query\" button, but may be changed as needed. ```\"log.timestamp\", \"log.level\", \"log.message\", \"log.custom\"``` Example curl request (can be auto-generated via the \"API Query\" button in the Instana UI): ``` curl -X POST /api/logging/logs/getLogs/v1 \\ -H \"Authorization: apiToken YOUR_API_TOKEN\" \\ -H \"Content-Type: application/json\" \\ -d '{ \"timeConfig\": { \"to\": 1711800000000, \"focusedMoment\": 1711800000000, \"autoRefresh\": false, \"windowSize\": 3600000 }, \"requestedTags\": [ \"log.traceId\", \"log.applications\", \"process.id\", \"host.name\", \"docker.containerName\", \"kubernetes.pod.name\" ], \"tagFilterExpression\": { \"type\": \"EXPRESSION\", \"logicalOperator\": \"AND\", \"elements\": [ { \"type\": \"TAG_FILTER\", \"name\": \"log.streamName\", \"operator\": \"EQUALS\", \"entity\": \"NOT_APPLICABLE\", \"value\": \"log.go\" }, { \"type\": \"TAG_FILTER\", \"name\": \"service.name\", \"operator\": \"EQUALS\", \"entity\": \"DESTINATION\", \"value\": \"dispatch\" } ] }, \"retrievalSize\": 200, \"offset\": 0, \"orderDirection\": \"DESC\" }' ``` + Replaces an existing log perspective with the provided values. **Updatable fields:** - `perspectiveName` — new display name; must be unique within the tenant unit. - `description` — free-text description shown in the UI. Set to `null` to clear. - `filter` — accepts at most 10 elements; the `REGEX_MATCH` operator is not supported. **Rules:** - `perspectiveId` in the request body must match the `{perspectiveId}` path parameter. - The reserved perspective `\"0\"` (\"All logs\") cannot be updated. - :param logs_query: (required) - :type logs_query: LogsQuery + :param perspective_id: (required) + :type perspective_id: str + :param logging_perspective: Full log perspective object. `perspectiveId` must be present and match the path parameter. (required) + :type logging_perspective: LoggingPerspective :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -528,8 +1901,9 @@ def get_logs_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_logs_serialize( - logs_query=logs_query, + _param = self._update_logging_perspective_serialize( + perspective_id=perspective_id, + logging_perspective=logging_perspective, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -537,9 +1911,11 @@ def get_logs_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "LogsApiResponse", + '200': "LoggingPerspective", + '400': None, + '403': None, + '404': None, '500': None, - '503': None, } response_data = self.api_client.call_api( *_param, @@ -548,9 +1924,10 @@ def get_logs_without_preload_content( return response_data.response - def _get_logs_serialize( + def _update_logging_perspective_serialize( self, - logs_query, + perspective_id, + logging_perspective, _request_auth, _content_type, _headers, @@ -572,12 +1949,14 @@ def _get_logs_serialize( _body_params: Optional[bytes] = None # process the path parameters + if perspective_id is not None: + _path_params['perspectiveId'] = perspective_id # process the query parameters # process the header parameters # process the form parameters # process the body parameter - if logs_query is not None: - _body_params = logs_query + if logging_perspective is not None: + _body_params = logging_perspective # set the HTTP header `Accept` @@ -608,8 +1987,8 @@ def _get_logs_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/api/logging/logs/getLogs/v1', + method='PUT', + resource_path='/api/logging/perspective/v1/{perspectiveId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, diff --git a/instana_client/api/maintenance_configuration_api.py b/instana_client/api/maintenance_configuration_api.py index fc2c71c..4eed72a 100644 --- a/instana_client/api/maintenance_configuration_api.py +++ b/instana_client/api/maintenance_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/mobile_app_analyze_api.py b/instana_client/api/mobile_app_analyze_api.py index 92901b8..cbd8237 100644 --- a/instana_client/api/mobile_app_analyze_api.py +++ b/instana_client/api/mobile_app_analyze_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/mobile_app_catalog_api.py b/instana_client/api/mobile_app_catalog_api.py index 5e65b76..7dea571 100644 --- a/instana_client/api/mobile_app_catalog_api.py +++ b/instana_client/api/mobile_app_catalog_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/mobile_app_configuration_api.py b/instana_client/api/mobile_app_configuration_api.py index 9a98917..1c899c7 100644 --- a/instana_client/api/mobile_app_configuration_api.py +++ b/instana_client/api/mobile_app_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/mobile_app_metrics_api.py b/instana_client/api/mobile_app_metrics_api.py index 60fff6f..d1b2608 100644 --- a/instana_client/api/mobile_app_metrics_api.py +++ b/instana_client/api/mobile_app_metrics_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/mobile_app_session_replay_api.py b/instana_client/api/mobile_app_session_replay_api.py index b80b82d..325adbb 100644 --- a/instana_client/api/mobile_app_session_replay_api.py +++ b/instana_client/api/mobile_app_session_replay_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/policies_api.py b/instana_client/api/policies_api.py index d1e38f8..933ad1b 100644 --- a/instana_client/api/policies_api.py +++ b/instana_client/api/policies_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/releases_api.py b/instana_client/api/releases_api.py index b9aceed..515cc33 100644 --- a/instana_client/api/releases_api.py +++ b/instana_client/api/releases_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/roles_api.py b/instana_client/api/roles_api.py index 09e3b9f..92a8c7a 100644 --- a/instana_client/api/roles_api.py +++ b/instana_client/api/roles_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -22,6 +22,9 @@ from typing_extensions import Annotated from instana_client.models.api_create_role import ApiCreateRole from instana_client.models.api_role import ApiRole +from instana_client.models.identity_provider_patch import IdentityProviderPatch +from instana_client.models.mapping import Mapping +from instana_client.models.mapping_overview import MappingOverview from instana_client.models.role_mapping_overview import RoleMappingOverview from instana_client.api_client import ApiClient, RequestSerialized @@ -43,9 +46,9 @@ def __init__(self, api_client=None) -> None: @validate_call - def create_role( + def create_mapping( self, - api_create_role: Annotated[ApiCreateRole, Field(description="Role to create")], + mapping: Mapping, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -58,13 +61,13 @@ def create_role( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiRole: - """Create role + ) -> Mapping: + """Create mapping - Create a new role. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param api_create_role: Role to create (required) - :type api_create_role: ApiCreateRole + :param mapping: (required) + :type mapping: Mapping :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -87,8 +90,8 @@ def create_role( :return: Returns the result object. """ # noqa: E501 - _param = self._create_role_serialize( - api_create_role=api_create_role, + _param = self._create_mapping_serialize( + mapping=mapping, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -96,7 +99,8 @@ def create_role( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ApiRole", + '200': "Mapping", + '412': "str", '422': None, } response_data = self.api_client.call_api( @@ -111,9 +115,9 @@ def create_role( @validate_call - def create_role_with_http_info( + def create_mapping_with_http_info( self, - api_create_role: Annotated[ApiCreateRole, Field(description="Role to create")], + mapping: Mapping, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -126,13 +130,13 @@ def create_role_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ApiRole]: - """Create role + ) -> ApiResponse[Mapping]: + """Create mapping - Create a new role. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param api_create_role: Role to create (required) - :type api_create_role: ApiCreateRole + :param mapping: (required) + :type mapping: Mapping :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -155,8 +159,8 @@ def create_role_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._create_role_serialize( - api_create_role=api_create_role, + _param = self._create_mapping_serialize( + mapping=mapping, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -164,7 +168,8 @@ def create_role_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ApiRole", + '200': "Mapping", + '412': "str", '422': None, } response_data = self.api_client.call_api( @@ -179,9 +184,9 @@ def create_role_with_http_info( @validate_call - def create_role_without_preload_content( + def create_mapping_without_preload_content( self, - api_create_role: Annotated[ApiCreateRole, Field(description="Role to create")], + mapping: Mapping, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -195,12 +200,12 @@ def create_role_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Create role + """Create mapping - Create a new role. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param api_create_role: Role to create (required) - :type api_create_role: ApiCreateRole + :param mapping: (required) + :type mapping: Mapping :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -223,8 +228,8 @@ def create_role_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._create_role_serialize( - api_create_role=api_create_role, + _param = self._create_mapping_serialize( + mapping=mapping, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -232,7 +237,8 @@ def create_role_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ApiRole", + '200': "Mapping", + '412': "str", '422': None, } response_data = self.api_client.call_api( @@ -242,9 +248,9 @@ def create_role_without_preload_content( return response_data.response - def _create_role_serialize( + def _create_mapping_serialize( self, - api_create_role, + mapping, _request_auth, _content_type, _headers, @@ -270,8 +276,8 @@ def _create_role_serialize( # process the header parameters # process the form parameters # process the body parameter - if api_create_role is not None: - _body_params = api_create_role + if mapping is not None: + _body_params = mapping # set the HTTP header `Accept` @@ -303,7 +309,7 @@ def _create_role_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/api/settings/rbac/roles', + resource_path='/api/settings/rbac/mappings', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -320,9 +326,9 @@ def _create_role_serialize( @validate_call - def delete_role( + def create_role( self, - id: Annotated[StrictStr, Field(description="Id of the role to delete")], + api_create_role: Annotated[ApiCreateRole, Field(description="Role to create")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -335,13 +341,13 @@ def delete_role( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """Delete role + ) -> ApiRole: + """Create role - Delete a role by ID. + Create a new role. - :param id: Id of the role to delete (required) - :type id: str + :param api_create_role: Role to create (required) + :type api_create_role: ApiCreateRole :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -364,8 +370,8 @@ def delete_role( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_role_serialize( - id=id, + _param = self._create_role_serialize( + api_create_role=api_create_role, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -373,9 +379,8 @@ def delete_role( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, - '404': None, - '412': "str", + '200': "ApiRole", + '422': None, } response_data = self.api_client.call_api( *_param, @@ -389,9 +394,9 @@ def delete_role( @validate_call - def delete_role_with_http_info( + def create_role_with_http_info( self, - id: Annotated[StrictStr, Field(description="Id of the role to delete")], + api_create_role: Annotated[ApiCreateRole, Field(description="Role to create")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -404,13 +409,13 @@ def delete_role_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """Delete role + ) -> ApiResponse[ApiRole]: + """Create role - Delete a role by ID. + Create a new role. - :param id: Id of the role to delete (required) - :type id: str + :param api_create_role: Role to create (required) + :type api_create_role: ApiCreateRole :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -433,8 +438,8 @@ def delete_role_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_role_serialize( - id=id, + _param = self._create_role_serialize( + api_create_role=api_create_role, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -442,9 +447,8 @@ def delete_role_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, - '404': None, - '412': "str", + '200': "ApiRole", + '422': None, } response_data = self.api_client.call_api( *_param, @@ -458,9 +462,9 @@ def delete_role_with_http_info( @validate_call - def delete_role_without_preload_content( + def create_role_without_preload_content( self, - id: Annotated[StrictStr, Field(description="Id of the role to delete")], + api_create_role: Annotated[ApiCreateRole, Field(description="Role to create")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -474,12 +478,12 @@ def delete_role_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Delete role + """Create role - Delete a role by ID. + Create a new role. - :param id: Id of the role to delete (required) - :type id: str + :param api_create_role: Role to create (required) + :type api_create_role: ApiCreateRole :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -502,8 +506,8 @@ def delete_role_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_role_serialize( - id=id, + _param = self._create_role_serialize( + api_create_role=api_create_role, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -511,9 +515,8 @@ def delete_role_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, - '404': None, - '412': "str", + '200': "ApiRole", + '422': None, } response_data = self.api_client.call_api( *_param, @@ -522,9 +525,9 @@ def delete_role_without_preload_content( return response_data.response - def _delete_role_serialize( + def _create_role_serialize( self, - id, + api_create_role, _request_auth, _content_type, _headers, @@ -546,12 +549,12 @@ def _delete_role_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters # process the form parameters # process the body parameter + if api_create_role is not None: + _body_params = api_create_role # set the HTTP header `Accept` @@ -562,6 +565,19 @@ def _delete_role_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -569,8 +585,8 @@ def _delete_role_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/api/settings/rbac/roles/{id}', + method='POST', + resource_path='/api/settings/rbac/roles', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -587,10 +603,9 @@ def _delete_role_serialize( @validate_call - def get_role( + def delete_mapping( self, - id: Annotated[StrictStr, Field(description="Id of the role for retrieval")], - include_team_usage: Optional[StrictBool] = None, + id: Annotated[StrictStr, Field(description="Id of the mapping to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -603,15 +618,13 @@ def get_role( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiRole: - """Get role by ID + ) -> None: + """Delete mapping - Retrieve a specific role by its ID. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param id: Id of the role for retrieval (required) + :param id: Id of the mapping to delete (required) :type id: str - :param include_team_usage: - :type include_team_usage: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -634,9 +647,8 @@ def get_role( :return: Returns the result object. """ # noqa: E501 - _param = self._get_role_serialize( + _param = self._delete_mapping_serialize( id=id, - include_team_usage=include_team_usage, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -644,8 +656,6 @@ def get_role( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ApiRole", - '404': None, } response_data = self.api_client.call_api( *_param, @@ -659,10 +669,9 @@ def get_role( @validate_call - def get_role_with_http_info( + def delete_mapping_with_http_info( self, - id: Annotated[StrictStr, Field(description="Id of the role for retrieval")], - include_team_usage: Optional[StrictBool] = None, + id: Annotated[StrictStr, Field(description="Id of the mapping to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -675,15 +684,13 @@ def get_role_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ApiRole]: - """Get role by ID + ) -> ApiResponse[None]: + """Delete mapping - Retrieve a specific role by its ID. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param id: Id of the role for retrieval (required) + :param id: Id of the mapping to delete (required) :type id: str - :param include_team_usage: - :type include_team_usage: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -706,9 +713,8 @@ def get_role_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_role_serialize( + _param = self._delete_mapping_serialize( id=id, - include_team_usage=include_team_usage, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -716,8 +722,6 @@ def get_role_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ApiRole", - '404': None, } response_data = self.api_client.call_api( *_param, @@ -731,10 +735,9 @@ def get_role_with_http_info( @validate_call - def get_role_without_preload_content( + def delete_mapping_without_preload_content( self, - id: Annotated[StrictStr, Field(description="Id of the role for retrieval")], - include_team_usage: Optional[StrictBool] = None, + id: Annotated[StrictStr, Field(description="Id of the mapping to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -748,14 +751,12 @@ def get_role_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get role by ID + """Delete mapping - Retrieve a specific role by its ID. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param id: Id of the role for retrieval (required) + :param id: Id of the mapping to delete (required) :type id: str - :param include_team_usage: - :type include_team_usage: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -778,9 +779,8 @@ def get_role_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_role_serialize( + _param = self._delete_mapping_serialize( id=id, - include_team_usage=include_team_usage, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -788,8 +788,6 @@ def get_role_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ApiRole", - '404': None, } response_data = self.api_client.call_api( *_param, @@ -798,10 +796,9 @@ def get_role_without_preload_content( return response_data.response - def _get_role_serialize( + def _delete_mapping_serialize( self, id, - include_team_usage, _request_auth, _content_type, _headers, @@ -826,10 +823,6 @@ def _get_role_serialize( if id is not None: _path_params['id'] = id # process the query parameters - if include_team_usage is not None: - - _query_params.append(('includeTeamUsage', include_team_usage)) - # process the header parameters # process the form parameters # process the body parameter @@ -850,8 +843,8 @@ def _get_role_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/api/settings/rbac/roles/{id}', + method='DELETE', + resource_path='/api/settings/rbac/mappings/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -868,9 +861,9 @@ def _get_role_serialize( @validate_call - def get_role_mappings( + def delete_role( self, - role_id: StrictStr, + id: Annotated[StrictStr, Field(description="Id of the role to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -883,13 +876,13 @@ def get_role_mappings( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> List[RoleMappingOverview]: - """Get role mappings + ) -> None: + """Delete role - Retrieve IdP role mappings applicable to a specific role + Delete a role by ID. - :param role_id: (required) - :type role_id: str + :param id: Id of the role to delete (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -912,8 +905,8 @@ def get_role_mappings( :return: Returns the result object. """ # noqa: E501 - _param = self._get_role_mappings_serialize( - role_id=role_id, + _param = self._delete_role_serialize( + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -921,8 +914,9 @@ def get_role_mappings( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[RoleMappingOverview]", + '204': None, '404': None, + '412': "str", } response_data = self.api_client.call_api( *_param, @@ -936,9 +930,9 @@ def get_role_mappings( @validate_call - def get_role_mappings_with_http_info( + def delete_role_with_http_info( self, - role_id: StrictStr, + id: Annotated[StrictStr, Field(description="Id of the role to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -951,13 +945,13 @@ def get_role_mappings_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[List[RoleMappingOverview]]: - """Get role mappings + ) -> ApiResponse[None]: + """Delete role - Retrieve IdP role mappings applicable to a specific role + Delete a role by ID. - :param role_id: (required) - :type role_id: str + :param id: Id of the role to delete (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -980,8 +974,8 @@ def get_role_mappings_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_role_mappings_serialize( - role_id=role_id, + _param = self._delete_role_serialize( + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -989,8 +983,9 @@ def get_role_mappings_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[RoleMappingOverview]", + '204': None, '404': None, + '412': "str", } response_data = self.api_client.call_api( *_param, @@ -1004,9 +999,9 @@ def get_role_mappings_with_http_info( @validate_call - def get_role_mappings_without_preload_content( + def delete_role_without_preload_content( self, - role_id: StrictStr, + id: Annotated[StrictStr, Field(description="Id of the role to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1020,12 +1015,12 @@ def get_role_mappings_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get role mappings + """Delete role - Retrieve IdP role mappings applicable to a specific role + Delete a role by ID. - :param role_id: (required) - :type role_id: str + :param id: Id of the role to delete (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1048,8 +1043,8 @@ def get_role_mappings_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_role_mappings_serialize( - role_id=role_id, + _param = self._delete_role_serialize( + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1057,8 +1052,9 @@ def get_role_mappings_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[RoleMappingOverview]", + '204': None, '404': None, + '412': "str", } response_data = self.api_client.call_api( *_param, @@ -1067,9 +1063,9 @@ def get_role_mappings_without_preload_content( return response_data.response - def _get_role_mappings_serialize( + def _delete_role_serialize( self, - role_id, + id, _request_auth, _content_type, _headers, @@ -1091,8 +1087,8 @@ def _get_role_mappings_serialize( _body_params: Optional[bytes] = None # process the path parameters - if role_id is not None: - _path_params['roleId'] = role_id + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters # process the form parameters @@ -1114,8 +1110,8 @@ def _get_role_mappings_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/api/settings/rbac/roles/{roleId}/mappings', + method='DELETE', + resource_path='/api/settings/rbac/roles/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1132,7 +1128,7 @@ def _get_role_mappings_serialize( @validate_call - def get_roles( + def get_identity_provider_patch( self, _request_timeout: Union[ None, @@ -1146,10 +1142,10 @@ def get_roles( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> List[ApiRole]: - """Get all roles + ) -> IdentityProviderPatch: + """Check user restrictions for empty Idp mapping - Retrieve all roles for the current tenant unit. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -1173,7 +1169,1563 @@ def get_roles( :return: Returns the result object. """ # noqa: E501 - _param = self._get_roles_serialize( + _param = self._get_identity_provider_patch_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "IdentityProviderPatch", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_identity_provider_patch_with_http_info( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[IdentityProviderPatch]: + """Check user restrictions for empty Idp mapping + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_identity_provider_patch_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "IdentityProviderPatch", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_identity_provider_patch_without_preload_content( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Check user restrictions for empty Idp mapping + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_identity_provider_patch_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "IdentityProviderPatch", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_identity_provider_patch_serialize( + self, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_mapping( + self, + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Mapping: + """Get mapping + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param id: (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mapping_serialize( + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Mapping", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_mapping_with_http_info( + self, + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[Mapping]: + """Get mapping + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param id: (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mapping_serialize( + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Mapping", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_mapping_without_preload_content( + self, + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get mapping + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param id: (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mapping_serialize( + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Mapping", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_mapping_serialize( + self, + id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if id is not None: + _path_params['id'] = id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/rbac/mappings/{id}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_mappings( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> List[Mapping]: + """Get all mappings + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mappings_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[Mapping]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_mappings_with_http_info( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[List[Mapping]]: + """Get all mappings + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mappings_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[Mapping]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_mappings_without_preload_content( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get all mappings + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mappings_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[Mapping]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_mappings_serialize( + self, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/rbac/mappings', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_mappings_overview( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> List[MappingOverview]: + """Get all mappings overview + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mappings_overview_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[MappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_mappings_overview_with_http_info( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[List[MappingOverview]]: + """Get all mappings overview + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mappings_overview_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[MappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_mappings_overview_without_preload_content( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get all mappings overview + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mappings_overview_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[MappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_mappings_overview_serialize( + self, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/rbac/mappings/overview', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_role( + self, + id: Annotated[StrictStr, Field(description="Id of the role for retrieval")], + include_team_usage: Optional[StrictBool] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiRole: + """Get role by ID + + Retrieve a specific role by its ID. + + :param id: Id of the role for retrieval (required) + :type id: str + :param include_team_usage: + :type include_team_usage: bool + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_role_serialize( + id=id, + include_team_usage=include_team_usage, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ApiRole", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_role_with_http_info( + self, + id: Annotated[StrictStr, Field(description="Id of the role for retrieval")], + include_team_usage: Optional[StrictBool] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[ApiRole]: + """Get role by ID + + Retrieve a specific role by its ID. + + :param id: Id of the role for retrieval (required) + :type id: str + :param include_team_usage: + :type include_team_usage: bool + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_role_serialize( + id=id, + include_team_usage=include_team_usage, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ApiRole", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_role_without_preload_content( + self, + id: Annotated[StrictStr, Field(description="Id of the role for retrieval")], + include_team_usage: Optional[StrictBool] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get role by ID + + Retrieve a specific role by its ID. + + :param id: Id of the role for retrieval (required) + :type id: str + :param include_team_usage: + :type include_team_usage: bool + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_role_serialize( + id=id, + include_team_usage=include_team_usage, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ApiRole", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_role_serialize( + self, + id, + include_team_usage, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if id is not None: + _path_params['id'] = id + # process the query parameters + if include_team_usage is not None: + + _query_params.append(('includeTeamUsage', include_team_usage)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/rbac/roles/{id}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_role_mappings( + self, + role_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> List[RoleMappingOverview]: + """Get role mappings + + Retrieve IdP role mappings applicable to a specific role + + :param role_id: (required) + :type role_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_role_mappings_serialize( + role_id=role_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[RoleMappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_role_mappings_with_http_info( + self, + role_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[List[RoleMappingOverview]]: + """Get role mappings + + Retrieve IdP role mappings applicable to a specific role + + :param role_id: (required) + :type role_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_role_mappings_serialize( + role_id=role_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[RoleMappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_role_mappings_without_preload_content( + self, + role_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get role mappings + + Retrieve IdP role mappings applicable to a specific role + + :param role_id: (required) + :type role_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_role_mappings_serialize( + role_id=role_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[RoleMappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_role_mappings_serialize( + self, + role_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if role_id is not None: + _path_params['roleId'] = role_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/rbac/roles/{roleId}/mappings', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_roles( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> List[ApiRole]: + """Get all roles + + Retrieve all roles for the current tenant unit. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_roles_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1380,6 +2932,301 @@ def _get_roles_serialize( + @validate_call + def update_mapping( + self, + id: Annotated[StrictStr, Field(description="Id of the mapping to update")], + mapping: Mapping, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Mapping: + """Update mapping + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param id: Id of the mapping to update (required) + :type id: str + :param mapping: (required) + :type mapping: Mapping + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._update_mapping_serialize( + id=id, + mapping=mapping, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Mapping", + '412': "str", + '422': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def update_mapping_with_http_info( + self, + id: Annotated[StrictStr, Field(description="Id of the mapping to update")], + mapping: Mapping, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[Mapping]: + """Update mapping + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param id: Id of the mapping to update (required) + :type id: str + :param mapping: (required) + :type mapping: Mapping + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._update_mapping_serialize( + id=id, + mapping=mapping, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Mapping", + '412': "str", + '422': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def update_mapping_without_preload_content( + self, + id: Annotated[StrictStr, Field(description="Id of the mapping to update")], + mapping: Mapping, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Update mapping + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param id: Id of the mapping to update (required) + :type id: str + :param mapping: (required) + :type mapping: Mapping + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._update_mapping_serialize( + id=id, + mapping=mapping, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Mapping", + '412': "str", + '422': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _update_mapping_serialize( + self, + id, + mapping, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if id is not None: + _path_params['id'] = id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if mapping is not None: + _body_params = mapping + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='PUT', + resource_path='/api/settings/rbac/mappings/{id}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def update_role( self, diff --git a/instana_client/api/service_levels_alert_configuration_api.py b/instana_client/api/service_levels_alert_configuration_api.py index 96cb6ee..8d3eb4e 100644 --- a/instana_client/api/service_levels_alert_configuration_api.py +++ b/instana_client/api/service_levels_alert_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/service_levels_objective_slo_report_api.py b/instana_client/api/service_levels_objective_slo_report_api.py index 653fe41..34ea180 100644 --- a/instana_client/api/service_levels_objective_slo_report_api.py +++ b/instana_client/api/service_levels_objective_slo_report_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/session_settings_api.py b/instana_client/api/session_settings_api.py index 0747132..aca3467 100644 --- a/instana_client/api/session_settings_api.py +++ b/instana_client/api/session_settings_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/sli_report_api.py b/instana_client/api/sli_report_api.py index c9ad584..cea84b9 100644 --- a/instana_client/api/sli_report_api.py +++ b/instana_client/api/sli_report_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/sli_settings_api.py b/instana_client/api/sli_settings_api.py index 8ae1709..1c3f845 100644 --- a/instana_client/api/sli_settings_api.py +++ b/instana_client/api/sli_settings_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/slo_catalog_for_mobile_app_api.py b/instana_client/api/slo_catalog_for_mobile_app_api.py index 86a06b9..d0cd76a 100644 --- a/instana_client/api/slo_catalog_for_mobile_app_api.py +++ b/instana_client/api/slo_catalog_for_mobile_app_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/slo_configurations_api.py b/instana_client/api/slo_configurations_api.py index 7454388..754005b 100644 --- a/instana_client/api/slo_configurations_api.py +++ b/instana_client/api/slo_configurations_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -21,6 +21,7 @@ from typing import List, Optional from instana_client.models.paginated_result import PaginatedResult from instana_client.models.slo_config_with_rbac_tag import SLOConfigWithRBACTag +from instana_client.models.slo_health_snapshot import SloHealthSnapshot from instana_client.api_client import ApiClient, RequestSerialized from instana_client.api_response import ApiResponse @@ -875,6 +876,7 @@ def get_all_slo_configs( blueprint: Optional[List[StrictStr]] = None, slo_ids: Optional[List[StrictStr]] = None, slo_status: Optional[StrictStr] = None, + slo_health_state: Optional[StrictStr] = None, entity_ids: Optional[List[StrictStr]] = None, grouped: Optional[StrictBool] = None, refresh: Optional[StrictBool] = None, @@ -919,6 +921,8 @@ def get_all_slo_configs( :type slo_ids: List[str] :param slo_status: :type slo_status: str + :param slo_health_state: + :type slo_health_state: str :param entity_ids: :type entity_ids: List[str] :param grouped: @@ -962,6 +966,7 @@ def get_all_slo_configs( blueprint=blueprint, slo_ids=slo_ids, slo_status=slo_status, + slo_health_state=slo_health_state, entity_ids=entity_ids, grouped=grouped, refresh=refresh, @@ -1001,6 +1006,7 @@ def get_all_slo_configs_with_http_info( blueprint: Optional[List[StrictStr]] = None, slo_ids: Optional[List[StrictStr]] = None, slo_status: Optional[StrictStr] = None, + slo_health_state: Optional[StrictStr] = None, entity_ids: Optional[List[StrictStr]] = None, grouped: Optional[StrictBool] = None, refresh: Optional[StrictBool] = None, @@ -1045,6 +1051,8 @@ def get_all_slo_configs_with_http_info( :type slo_ids: List[str] :param slo_status: :type slo_status: str + :param slo_health_state: + :type slo_health_state: str :param entity_ids: :type entity_ids: List[str] :param grouped: @@ -1088,6 +1096,7 @@ def get_all_slo_configs_with_http_info( blueprint=blueprint, slo_ids=slo_ids, slo_status=slo_status, + slo_health_state=slo_health_state, entity_ids=entity_ids, grouped=grouped, refresh=refresh, @@ -1127,6 +1136,7 @@ def get_all_slo_configs_without_preload_content( blueprint: Optional[List[StrictStr]] = None, slo_ids: Optional[List[StrictStr]] = None, slo_status: Optional[StrictStr] = None, + slo_health_state: Optional[StrictStr] = None, entity_ids: Optional[List[StrictStr]] = None, grouped: Optional[StrictBool] = None, refresh: Optional[StrictBool] = None, @@ -1171,6 +1181,8 @@ def get_all_slo_configs_without_preload_content( :type slo_ids: List[str] :param slo_status: :type slo_status: str + :param slo_health_state: + :type slo_health_state: str :param entity_ids: :type entity_ids: List[str] :param grouped: @@ -1214,6 +1226,7 @@ def get_all_slo_configs_without_preload_content( blueprint=blueprint, slo_ids=slo_ids, slo_status=slo_status, + slo_health_state=slo_health_state, entity_ids=entity_ids, grouped=grouped, refresh=refresh, @@ -1248,6 +1261,7 @@ def _get_all_slo_configs_serialize( blueprint, slo_ids, slo_status, + slo_health_state, entity_ids, grouped, refresh, @@ -1329,6 +1343,10 @@ def _get_all_slo_configs_serialize( _query_params.append(('sloStatus', slo_status)) + if slo_health_state is not None: + + _query_params.append(('sloHealthState', slo_health_state)) + if entity_ids is not None: _query_params.append(('entityIds', entity_ids)) @@ -1660,6 +1678,376 @@ def _get_slo_config_by_id_serialize( + @validate_call + def get_slo_health_snapshot( + self, + query: Optional[StrictStr] = None, + tag: Optional[List[StrictStr]] = None, + entity_type: Optional[List[StrictStr]] = None, + blueprint: Optional[List[StrictStr]] = None, + slo_health_state: Optional[StrictStr] = None, + slo_ids: Optional[List[StrictStr]] = None, + rbac_tags: Optional[List[StrictStr]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> SloHealthSnapshot: + """Get SLO Health Snapshot + + + :param query: + :type query: str + :param tag: + :type tag: List[str] + :param entity_type: + :type entity_type: List[str] + :param blueprint: + :type blueprint: List[str] + :param slo_health_state: + :type slo_health_state: str + :param slo_ids: + :type slo_ids: List[str] + :param rbac_tags: + :type rbac_tags: List[str] + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_slo_health_snapshot_serialize( + query=query, + tag=tag, + entity_type=entity_type, + blueprint=blueprint, + slo_health_state=slo_health_state, + slo_ids=slo_ids, + rbac_tags=rbac_tags, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SloHealthSnapshot", + '503': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_slo_health_snapshot_with_http_info( + self, + query: Optional[StrictStr] = None, + tag: Optional[List[StrictStr]] = None, + entity_type: Optional[List[StrictStr]] = None, + blueprint: Optional[List[StrictStr]] = None, + slo_health_state: Optional[StrictStr] = None, + slo_ids: Optional[List[StrictStr]] = None, + rbac_tags: Optional[List[StrictStr]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[SloHealthSnapshot]: + """Get SLO Health Snapshot + + + :param query: + :type query: str + :param tag: + :type tag: List[str] + :param entity_type: + :type entity_type: List[str] + :param blueprint: + :type blueprint: List[str] + :param slo_health_state: + :type slo_health_state: str + :param slo_ids: + :type slo_ids: List[str] + :param rbac_tags: + :type rbac_tags: List[str] + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_slo_health_snapshot_serialize( + query=query, + tag=tag, + entity_type=entity_type, + blueprint=blueprint, + slo_health_state=slo_health_state, + slo_ids=slo_ids, + rbac_tags=rbac_tags, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SloHealthSnapshot", + '503': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_slo_health_snapshot_without_preload_content( + self, + query: Optional[StrictStr] = None, + tag: Optional[List[StrictStr]] = None, + entity_type: Optional[List[StrictStr]] = None, + blueprint: Optional[List[StrictStr]] = None, + slo_health_state: Optional[StrictStr] = None, + slo_ids: Optional[List[StrictStr]] = None, + rbac_tags: Optional[List[StrictStr]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get SLO Health Snapshot + + + :param query: + :type query: str + :param tag: + :type tag: List[str] + :param entity_type: + :type entity_type: List[str] + :param blueprint: + :type blueprint: List[str] + :param slo_health_state: + :type slo_health_state: str + :param slo_ids: + :type slo_ids: List[str] + :param rbac_tags: + :type rbac_tags: List[str] + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_slo_health_snapshot_serialize( + query=query, + tag=tag, + entity_type=entity_type, + blueprint=blueprint, + slo_health_state=slo_health_state, + slo_ids=slo_ids, + rbac_tags=rbac_tags, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SloHealthSnapshot", + '503': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_slo_health_snapshot_serialize( + self, + query, + tag, + entity_type, + blueprint, + slo_health_state, + slo_ids, + rbac_tags, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + 'tag': 'multi', + 'entityType': 'multi', + 'blueprint': 'multi', + 'sloIds': 'multi', + 'rbacTags': 'multi', + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + if query is not None: + + _query_params.append(('query', query)) + + if tag is not None: + + _query_params.append(('tag', tag)) + + if entity_type is not None: + + _query_params.append(('entityType', entity_type)) + + if blueprint is not None: + + _query_params.append(('blueprint', blueprint)) + + if slo_health_state is not None: + + _query_params.append(('sloHealthState', slo_health_state)) + + if slo_ids is not None: + + _query_params.append(('sloIds', slo_ids)) + + if rbac_tags is not None: + + _query_params.append(('rbacTags', rbac_tags)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/slo/health-snapshot', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def update_slo_config( self, diff --git a/instana_client/api/slo_correction_configurations_api.py b/instana_client/api/slo_correction_configurations_api.py index 78cc412..b5e9a17 100644 --- a/instana_client/api/slo_correction_configurations_api.py +++ b/instana_client/api/slo_correction_configurations_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/slo_correction_windows_api.py b/instana_client/api/slo_correction_windows_api.py index 87ab6bf..b166a34 100644 --- a/instana_client/api/slo_correction_windows_api.py +++ b/instana_client/api/slo_correction_windows_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/synthetic_alert_configuration_api.py b/instana_client/api/synthetic_alert_configuration_api.py index 17660c2..69fcb3e 100644 --- a/instana_client/api/synthetic_alert_configuration_api.py +++ b/instana_client/api/synthetic_alert_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/synthetic_calls_api.py b/instana_client/api/synthetic_calls_api.py index 12bd2ca..0c070e6 100644 --- a/instana_client/api/synthetic_calls_api.py +++ b/instana_client/api/synthetic_calls_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/synthetic_catalog_api.py b/instana_client/api/synthetic_catalog_api.py index 3b9ee6e..c188401 100644 --- a/instana_client/api/synthetic_catalog_api.py +++ b/instana_client/api/synthetic_catalog_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/synthetic_metrics_api.py b/instana_client/api/synthetic_metrics_api.py index 23a2f23..dbf54c5 100644 --- a/instana_client/api/synthetic_metrics_api.py +++ b/instana_client/api/synthetic_metrics_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/synthetic_settings_api.py b/instana_client/api/synthetic_settings_api.py index 9649dad..223128b 100644 --- a/instana_client/api/synthetic_settings_api.py +++ b/instana_client/api/synthetic_settings_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/synthetic_test_playback_results_api.py b/instana_client/api/synthetic_test_playback_results_api.py index 3b6dbf8..ff2effc 100644 --- a/instana_client/api/synthetic_test_playback_results_api.py +++ b/instana_client/api/synthetic_test_playback_results_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/teams_api.py b/instana_client/api/teams_api.py index 655bc84..080d52d 100644 --- a/instana_client/api/teams_api.py +++ b/instana_client/api/teams_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -21,6 +21,9 @@ from typing import List, Optional from typing_extensions import Annotated from instana_client.models.api_team import ApiTeam +from instana_client.models.identity_provider_patch import IdentityProviderPatch +from instana_client.models.mapping import Mapping +from instana_client.models.mapping_overview import MappingOverview from instana_client.models.role_mapping_overview import RoleMappingOverview from instana_client.api_client import ApiClient, RequestSerialized @@ -42,9 +45,9 @@ def __init__(self, api_client=None) -> None: @validate_call - def create_team( + def create_mapping( self, - api_team: Annotated[ApiTeam, Field(description="Team to create")], + mapping: Mapping, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -57,13 +60,13 @@ def create_team( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """Create team + ) -> Mapping: + """Create mapping - Create a new team. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param api_team: Team to create (required) - :type api_team: ApiTeam + :param mapping: (required) + :type mapping: Mapping :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -86,8 +89,8 @@ def create_team( :return: Returns the result object. """ # noqa: E501 - _param = self._create_team_serialize( - api_team=api_team, + _param = self._create_mapping_serialize( + mapping=mapping, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -95,7 +98,9 @@ def create_team( ) _response_types_map: Dict[str, Optional[str]] = { - '200': None, + '200': "Mapping", + '412': "str", + '422': None, } response_data = self.api_client.call_api( *_param, @@ -109,9 +114,9 @@ def create_team( @validate_call - def create_team_with_http_info( + def create_mapping_with_http_info( self, - api_team: Annotated[ApiTeam, Field(description="Team to create")], + mapping: Mapping, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -124,13 +129,13 @@ def create_team_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """Create team + ) -> ApiResponse[Mapping]: + """Create mapping - Create a new team. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param api_team: Team to create (required) - :type api_team: ApiTeam + :param mapping: (required) + :type mapping: Mapping :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -153,8 +158,8 @@ def create_team_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._create_team_serialize( - api_team=api_team, + _param = self._create_mapping_serialize( + mapping=mapping, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -162,7 +167,9 @@ def create_team_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': None, + '200': "Mapping", + '412': "str", + '422': None, } response_data = self.api_client.call_api( *_param, @@ -176,9 +183,9 @@ def create_team_with_http_info( @validate_call - def create_team_without_preload_content( + def create_mapping_without_preload_content( self, - api_team: Annotated[ApiTeam, Field(description="Team to create")], + mapping: Mapping, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -192,12 +199,12 @@ def create_team_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Create team + """Create mapping - Create a new team. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param api_team: Team to create (required) - :type api_team: ApiTeam + :param mapping: (required) + :type mapping: Mapping :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -220,8 +227,8 @@ def create_team_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._create_team_serialize( - api_team=api_team, + _param = self._create_mapping_serialize( + mapping=mapping, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -229,7 +236,9 @@ def create_team_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': None, + '200': "Mapping", + '412': "str", + '422': None, } response_data = self.api_client.call_api( *_param, @@ -238,9 +247,9 @@ def create_team_without_preload_content( return response_data.response - def _create_team_serialize( + def _create_mapping_serialize( self, - api_team, + mapping, _request_auth, _content_type, _headers, @@ -266,10 +275,17 @@ def _create_team_serialize( # process the header parameters # process the form parameters # process the body parameter - if api_team is not None: - _body_params = api_team + if mapping is not None: + _body_params = mapping + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -292,7 +308,7 @@ def _create_team_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/api/settings/rbac/teams', + resource_path='/api/settings/rbac/mappings', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -309,9 +325,9 @@ def _create_team_serialize( @validate_call - def delete_team( + def create_team( self, - id: Annotated[StrictStr, Field(description="Id of the team to delete")], + api_team: Annotated[ApiTeam, Field(description="Team to create")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -325,12 +341,12 @@ def delete_team( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> None: - """Delete team + """Create team - Delete the team data. + Create a new team. - :param id: Id of the team to delete (required) - :type id: str + :param api_team: Team to create (required) + :type api_team: ApiTeam :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -353,8 +369,8 @@ def delete_team( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_team_serialize( - id=id, + _param = self._create_team_serialize( + api_team=api_team, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -362,6 +378,7 @@ def delete_team( ) _response_types_map: Dict[str, Optional[str]] = { + '200': None, } response_data = self.api_client.call_api( *_param, @@ -375,9 +392,9 @@ def delete_team( @validate_call - def delete_team_with_http_info( + def create_team_with_http_info( self, - id: Annotated[StrictStr, Field(description="Id of the team to delete")], + api_team: Annotated[ApiTeam, Field(description="Team to create")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -391,12 +408,12 @@ def delete_team_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[None]: - """Delete team + """Create team - Delete the team data. + Create a new team. - :param id: Id of the team to delete (required) - :type id: str + :param api_team: Team to create (required) + :type api_team: ApiTeam :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -419,8 +436,8 @@ def delete_team_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_team_serialize( - id=id, + _param = self._create_team_serialize( + api_team=api_team, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -428,6 +445,7 @@ def delete_team_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { + '200': None, } response_data = self.api_client.call_api( *_param, @@ -441,9 +459,9 @@ def delete_team_with_http_info( @validate_call - def delete_team_without_preload_content( + def create_team_without_preload_content( self, - id: Annotated[StrictStr, Field(description="Id of the team to delete")], + api_team: Annotated[ApiTeam, Field(description="Team to create")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -457,12 +475,12 @@ def delete_team_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Delete team + """Create team - Delete the team data. + Create a new team. - :param id: Id of the team to delete (required) - :type id: str + :param api_team: Team to create (required) + :type api_team: ApiTeam :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -485,8 +503,8 @@ def delete_team_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_team_serialize( - id=id, + _param = self._create_team_serialize( + api_team=api_team, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -494,6 +512,7 @@ def delete_team_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { + '200': None, } response_data = self.api_client.call_api( *_param, @@ -502,9 +521,9 @@ def delete_team_without_preload_content( return response_data.response - def _delete_team_serialize( + def _create_team_serialize( self, - id, + api_team, _request_auth, _content_type, _headers, @@ -526,22 +545,28 @@ def _delete_team_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters # process the form parameters # process the body parameter + if api_team is not None: + _body_params = api_team - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -549,8 +574,8 @@ def _delete_team_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/api/settings/rbac/teams/{id}', + method='POST', + resource_path='/api/settings/rbac/teams', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -567,10 +592,9 @@ def _delete_team_serialize( @validate_call - def get_team( + def delete_mapping( self, - id: Annotated[StrictStr, Field(description="Id of the team for retrieval")], - include_team_usage: Optional[StrictBool] = None, + id: Annotated[StrictStr, Field(description="Id of the mapping to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -583,15 +607,13 @@ def get_team( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiTeam: - """Get team by ID + ) -> None: + """Delete mapping - Retrieve a specific team by its ID. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param id: Id of the team for retrieval (required) + :param id: Id of the mapping to delete (required) :type id: str - :param include_team_usage: - :type include_team_usage: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -614,9 +636,8 @@ def get_team( :return: Returns the result object. """ # noqa: E501 - _param = self._get_team_serialize( + _param = self._delete_mapping_serialize( id=id, - include_team_usage=include_team_usage, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -624,8 +645,6 @@ def get_team( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ApiTeam", - '404': None, } response_data = self.api_client.call_api( *_param, @@ -639,10 +658,9 @@ def get_team( @validate_call - def get_team_with_http_info( + def delete_mapping_with_http_info( self, - id: Annotated[StrictStr, Field(description="Id of the team for retrieval")], - include_team_usage: Optional[StrictBool] = None, + id: Annotated[StrictStr, Field(description="Id of the mapping to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -655,15 +673,13 @@ def get_team_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ApiTeam]: - """Get team by ID + ) -> ApiResponse[None]: + """Delete mapping - Retrieve a specific team by its ID. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param id: Id of the team for retrieval (required) + :param id: Id of the mapping to delete (required) :type id: str - :param include_team_usage: - :type include_team_usage: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -686,9 +702,8 @@ def get_team_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_team_serialize( + _param = self._delete_mapping_serialize( id=id, - include_team_usage=include_team_usage, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -696,8 +711,6 @@ def get_team_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ApiTeam", - '404': None, } response_data = self.api_client.call_api( *_param, @@ -711,10 +724,9 @@ def get_team_with_http_info( @validate_call - def get_team_without_preload_content( + def delete_mapping_without_preload_content( self, - id: Annotated[StrictStr, Field(description="Id of the team for retrieval")], - include_team_usage: Optional[StrictBool] = None, + id: Annotated[StrictStr, Field(description="Id of the mapping to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -728,14 +740,12 @@ def get_team_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get team by ID + """Delete mapping - Retrieve a specific team by its ID. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - :param id: Id of the team for retrieval (required) + :param id: Id of the mapping to delete (required) :type id: str - :param include_team_usage: - :type include_team_usage: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -758,9 +768,8 @@ def get_team_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_team_serialize( + _param = self._delete_mapping_serialize( id=id, - include_team_usage=include_team_usage, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -768,8 +777,6 @@ def get_team_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ApiTeam", - '404': None, } response_data = self.api_client.call_api( *_param, @@ -778,10 +785,9 @@ def get_team_without_preload_content( return response_data.response - def _get_team_serialize( + def _delete_mapping_serialize( self, id, - include_team_usage, _request_auth, _content_type, _headers, @@ -806,10 +812,6 @@ def _get_team_serialize( if id is not None: _path_params['id'] = id # process the query parameters - if include_team_usage is not None: - - _query_params.append(('includeTeamUsage', include_team_usage)) - # process the header parameters # process the form parameters # process the body parameter @@ -830,8 +832,8 @@ def _get_team_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/api/settings/rbac/teams/{id}', + method='DELETE', + resource_path='/api/settings/rbac/mappings/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -848,9 +850,9 @@ def _get_team_serialize( @validate_call - def get_team_role_mappings( + def delete_team( self, - team_id: StrictStr, + id: Annotated[StrictStr, Field(description="Id of the team to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -863,13 +865,13 @@ def get_team_role_mappings( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> List[RoleMappingOverview]: - """Get team role mappings + ) -> None: + """Delete team - Retrieve IdP role mappings applicable to a specific team + Delete the team data. - :param team_id: (required) - :type team_id: str + :param id: Id of the team to delete (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -892,8 +894,8 @@ def get_team_role_mappings( :return: Returns the result object. """ # noqa: E501 - _param = self._get_team_role_mappings_serialize( - team_id=team_id, + _param = self._delete_team_serialize( + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -901,8 +903,6 @@ def get_team_role_mappings( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[RoleMappingOverview]", - '404': None, } response_data = self.api_client.call_api( *_param, @@ -916,9 +916,9 @@ def get_team_role_mappings( @validate_call - def get_team_role_mappings_with_http_info( + def delete_team_with_http_info( self, - team_id: StrictStr, + id: Annotated[StrictStr, Field(description="Id of the team to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -931,13 +931,13 @@ def get_team_role_mappings_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[List[RoleMappingOverview]]: - """Get team role mappings + ) -> ApiResponse[None]: + """Delete team - Retrieve IdP role mappings applicable to a specific team + Delete the team data. - :param team_id: (required) - :type team_id: str + :param id: Id of the team to delete (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -960,8 +960,8 @@ def get_team_role_mappings_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_team_role_mappings_serialize( - team_id=team_id, + _param = self._delete_team_serialize( + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -969,8 +969,6 @@ def get_team_role_mappings_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[RoleMappingOverview]", - '404': None, } response_data = self.api_client.call_api( *_param, @@ -984,9 +982,9 @@ def get_team_role_mappings_with_http_info( @validate_call - def get_team_role_mappings_without_preload_content( + def delete_team_without_preload_content( self, - team_id: StrictStr, + id: Annotated[StrictStr, Field(description="Id of the team to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1000,12 +998,12 @@ def get_team_role_mappings_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get team role mappings + """Delete team - Retrieve IdP role mappings applicable to a specific team + Delete the team data. - :param team_id: (required) - :type team_id: str + :param id: Id of the team to delete (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1028,8 +1026,8 @@ def get_team_role_mappings_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_team_role_mappings_serialize( - team_id=team_id, + _param = self._delete_team_serialize( + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1037,8 +1035,6 @@ def get_team_role_mappings_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[RoleMappingOverview]", - '404': None, } response_data = self.api_client.call_api( *_param, @@ -1047,9 +1043,9 @@ def get_team_role_mappings_without_preload_content( return response_data.response - def _get_team_role_mappings_serialize( + def _delete_team_serialize( self, - team_id, + id, _request_auth, _content_type, _headers, @@ -1071,8 +1067,8 @@ def _get_team_role_mappings_serialize( _body_params: Optional[bytes] = None # process the path parameters - if team_id is not None: - _path_params['teamId'] = team_id + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters # process the form parameters @@ -1094,8 +1090,8 @@ def _get_team_role_mappings_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/api/settings/rbac/teams/{teamId}/mappings', + method='DELETE', + resource_path='/api/settings/rbac/teams/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1112,7 +1108,7 @@ def _get_team_role_mappings_serialize( @validate_call - def get_teams( + def get_identity_provider_patch( self, _request_timeout: Union[ None, @@ -1126,10 +1122,10 @@ def get_teams( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> List[ApiTeam]: - """Get all teams + ) -> IdentityProviderPatch: + """Check user restrictions for empty Idp mapping - Retrieve all user teams for the current tenant unit. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -1153,7 +1149,7 @@ def get_teams( :return: Returns the result object. """ # noqa: E501 - _param = self._get_teams_serialize( + _param = self._get_identity_provider_patch_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1161,7 +1157,7 @@ def get_teams( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[ApiTeam]", + '200': "IdentityProviderPatch", '404': None, } response_data = self.api_client.call_api( @@ -1176,7 +1172,7 @@ def get_teams( @validate_call - def get_teams_with_http_info( + def get_identity_provider_patch_with_http_info( self, _request_timeout: Union[ None, @@ -1190,10 +1186,10 @@ def get_teams_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[List[ApiTeam]]: - """Get all teams + ) -> ApiResponse[IdentityProviderPatch]: + """Check user restrictions for empty Idp mapping - Retrieve all user teams for the current tenant unit. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -1217,7 +1213,7 @@ def get_teams_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_teams_serialize( + _param = self._get_identity_provider_patch_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1225,7 +1221,7 @@ def get_teams_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[ApiTeam]", + '200': "IdentityProviderPatch", '404': None, } response_data = self.api_client.call_api( @@ -1240,7 +1236,1563 @@ def get_teams_with_http_info( @validate_call - def get_teams_without_preload_content( + def get_identity_provider_patch_without_preload_content( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Check user restrictions for empty Idp mapping + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_identity_provider_patch_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "IdentityProviderPatch", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_identity_provider_patch_serialize( + self, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_mapping( + self, + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Mapping: + """Get mapping + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param id: (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mapping_serialize( + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Mapping", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_mapping_with_http_info( + self, + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[Mapping]: + """Get mapping + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param id: (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mapping_serialize( + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Mapping", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_mapping_without_preload_content( + self, + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get mapping + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param id: (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mapping_serialize( + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Mapping", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_mapping_serialize( + self, + id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if id is not None: + _path_params['id'] = id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/rbac/mappings/{id}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_mappings( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> List[Mapping]: + """Get all mappings + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mappings_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[Mapping]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_mappings_with_http_info( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[List[Mapping]]: + """Get all mappings + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mappings_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[Mapping]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_mappings_without_preload_content( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get all mappings + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mappings_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[Mapping]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_mappings_serialize( + self, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/rbac/mappings', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_mappings_overview( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> List[MappingOverview]: + """Get all mappings overview + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mappings_overview_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[MappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_mappings_overview_with_http_info( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[List[MappingOverview]]: + """Get all mappings overview + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mappings_overview_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[MappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_mappings_overview_without_preload_content( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get all mappings overview + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mappings_overview_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[MappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_mappings_overview_serialize( + self, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/rbac/mappings/overview', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_team( + self, + id: Annotated[StrictStr, Field(description="Id of the team for retrieval")], + include_team_usage: Optional[StrictBool] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiTeam: + """Get team by ID + + Retrieve a specific team by its ID. + + :param id: Id of the team for retrieval (required) + :type id: str + :param include_team_usage: + :type include_team_usage: bool + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_team_serialize( + id=id, + include_team_usage=include_team_usage, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ApiTeam", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_team_with_http_info( + self, + id: Annotated[StrictStr, Field(description="Id of the team for retrieval")], + include_team_usage: Optional[StrictBool] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[ApiTeam]: + """Get team by ID + + Retrieve a specific team by its ID. + + :param id: Id of the team for retrieval (required) + :type id: str + :param include_team_usage: + :type include_team_usage: bool + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_team_serialize( + id=id, + include_team_usage=include_team_usage, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ApiTeam", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_team_without_preload_content( + self, + id: Annotated[StrictStr, Field(description="Id of the team for retrieval")], + include_team_usage: Optional[StrictBool] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get team by ID + + Retrieve a specific team by its ID. + + :param id: Id of the team for retrieval (required) + :type id: str + :param include_team_usage: + :type include_team_usage: bool + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_team_serialize( + id=id, + include_team_usage=include_team_usage, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ApiTeam", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_team_serialize( + self, + id, + include_team_usage, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if id is not None: + _path_params['id'] = id + # process the query parameters + if include_team_usage is not None: + + _query_params.append(('includeTeamUsage', include_team_usage)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/rbac/teams/{id}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_team_role_mappings( + self, + team_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> List[RoleMappingOverview]: + """Get team role mappings + + Retrieve IdP role mappings applicable to a specific team + + :param team_id: (required) + :type team_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_team_role_mappings_serialize( + team_id=team_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[RoleMappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_team_role_mappings_with_http_info( + self, + team_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[List[RoleMappingOverview]]: + """Get team role mappings + + Retrieve IdP role mappings applicable to a specific team + + :param team_id: (required) + :type team_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_team_role_mappings_serialize( + team_id=team_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[RoleMappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_team_role_mappings_without_preload_content( + self, + team_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get team role mappings + + Retrieve IdP role mappings applicable to a specific team + + :param team_id: (required) + :type team_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_team_role_mappings_serialize( + team_id=team_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[RoleMappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_team_role_mappings_serialize( + self, + team_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if team_id is not None: + _path_params['teamId'] = team_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/rbac/teams/{teamId}/mappings', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_teams( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> List[ApiTeam]: + """Get all teams + + Retrieve all user teams for the current tenant unit. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_teams_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[ApiTeam]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_teams_with_http_info( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[List[ApiTeam]]: + """Get all teams + + Retrieve all user teams for the current tenant unit. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_teams_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[ApiTeam]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_teams_without_preload_content( self, _request_timeout: Union[ None, @@ -1360,6 +2912,301 @@ def _get_teams_serialize( + @validate_call + def update_mapping( + self, + id: Annotated[StrictStr, Field(description="Id of the mapping to update")], + mapping: Mapping, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Mapping: + """Update mapping + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param id: Id of the mapping to update (required) + :type id: str + :param mapping: (required) + :type mapping: Mapping + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._update_mapping_serialize( + id=id, + mapping=mapping, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Mapping", + '412': "str", + '422': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def update_mapping_with_http_info( + self, + id: Annotated[StrictStr, Field(description="Id of the mapping to update")], + mapping: Mapping, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[Mapping]: + """Update mapping + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param id: Id of the mapping to update (required) + :type id: str + :param mapping: (required) + :type mapping: Mapping + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._update_mapping_serialize( + id=id, + mapping=mapping, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Mapping", + '412': "str", + '422': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def update_mapping_without_preload_content( + self, + id: Annotated[StrictStr, Field(description="Id of the mapping to update")], + mapping: Mapping, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Update mapping + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + + :param id: Id of the mapping to update (required) + :type id: str + :param mapping: (required) + :type mapping: Mapping + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._update_mapping_serialize( + id=id, + mapping=mapping, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Mapping", + '412': "str", + '422': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _update_mapping_serialize( + self, + id, + mapping, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if id is not None: + _path_params['id'] = id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if mapping is not None: + _body_params = mapping + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='PUT', + resource_path='/api/settings/rbac/mappings/{id}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def update_team( self, diff --git a/instana_client/api/usage_api.py b/instana_client/api/usage_api.py index dc90cde..f380e39 100644 --- a/instana_client/api/usage_api.py +++ b/instana_client/api/usage_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/user_api.py b/instana_client/api/user_api.py index f10d452..4bc999b 100644 --- a/instana_client/api/user_api.py +++ b/instana_client/api/user_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/website_analyze_api.py b/instana_client/api/website_analyze_api.py index 1365997..ee9b268 100644 --- a/instana_client/api/website_analyze_api.py +++ b/instana_client/api/website_analyze_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/website_catalog_api.py b/instana_client/api/website_catalog_api.py index 17ad2e7..f21e5da 100644 --- a/instana_client/api/website_catalog_api.py +++ b/instana_client/api/website_catalog_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/website_configuration_api.py b/instana_client/api/website_configuration_api.py index 9c00bdd..eb6d50f 100644 --- a/instana_client/api/website_configuration_api.py +++ b/instana_client/api/website_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/website_metrics_api.py b/instana_client/api/website_metrics_api.py index 4a68380..9e6477a 100644 --- a/instana_client/api/website_metrics_api.py +++ b/instana_client/api/website_metrics_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api_client.py b/instana_client/api_client.py index 20fccf6..7d9ddbc 100644 --- a/instana_client/api_client.py +++ b/instana_client/api_client.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -22,6 +22,7 @@ import os import re import tempfile +import uuid from urllib.parse import quote from typing import Tuple, Optional, List, Dict, Union @@ -91,7 +92,7 @@ def __init__( self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/1.1.3/python' + self.user_agent = 'OpenAPI-Generator/1.1.4/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): @@ -357,6 +358,8 @@ def sanitize_for_serialization(self, obj): return obj.get_secret_value() elif isinstance(obj, self.PRIMITIVE_TYPES): return obj + elif isinstance(obj, uuid.UUID): + return str(obj) elif isinstance(obj, list): return [ self.sanitize_for_serialization(sub_obj) for sub_obj in obj @@ -383,6 +386,10 @@ def sanitize_for_serialization(self, obj): else: obj_dict = obj.__dict__ + if isinstance(obj_dict, list): + # here we handle instances that can either be a list or something else, and only became a real list by calling to_dict() + return self.sanitize_for_serialization(obj_dict) + return { key: self.sanitize_for_serialization(val) for key, val in obj_dict.items() @@ -405,7 +412,7 @@ def deserialize(self, response_text: str, response_type: str, content_type: Opti data = json.loads(response_text) except ValueError: data = response_text - elif re.match(r'^application/(json|[\w!#$&.+-^_]+\+json)\s*(;|$)', content_type, re.IGNORECASE): + elif re.match(r'^application/(json|[\w!#$&.+\-^_]+\+json)\s*(;|$)', content_type, re.IGNORECASE): if response_text == "": data = "" else: diff --git a/instana_client/configuration.py b/instana_client/configuration.py index dfeb23a..a6fb3fa 100644 --- a/instana_client/configuration.py +++ b/instana_client/configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -531,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.326.1571\n"\ - "SDK Package Version: 1.1.3".\ + "Version of the API: 1.328.1128\n"\ + "SDK Package Version: 1.1.4".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self) -> List[HostSetting]: diff --git a/instana_client/exceptions.py b/instana_client/exceptions.py index e8ed44d..b3458d3 100644 --- a/instana_client/exceptions.py +++ b/instana_client/exceptions.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/__init__.py b/instana_client/models/__init__.py index 9df8097..6fcece5 100644 --- a/instana_client/models/__init__.py +++ b/instana_client/models/__init__.py @@ -6,7 +6,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -14,7 +14,593 @@ """ # noqa: E501 -# import models into model package +if __import__("typing").TYPE_CHECKING: + # import models into model package + from instana_client.models.abstract_integration import AbstractIntegration + from instana_client.models.abstract_rule import AbstractRule + from instana_client.models.access_rule import AccessRule + from instana_client.models.action import Action + from instana_client.models.action_beacon import ActionBeacon + from instana_client.models.action_configuration import ActionConfiguration + from instana_client.models.action_instance import ActionInstance + from instana_client.models.action_instance_metadata_entry import ActionInstanceMetadataEntry + from instana_client.models.action_instance_parameter import ActionInstanceParameter + from instana_client.models.action_instance_request import ActionInstanceRequest + from instana_client.models.action_instance_request_parameters import ActionInstanceRequestParameters + from instana_client.models.action_match import ActionMatch + from instana_client.models.action_search_space import ActionSearchSpace + from instana_client.models.adaptive_baseline import AdaptiveBaseline + from instana_client.models.adaptive_threshold_rule import AdaptiveThresholdRule + from instana_client.models.adjusted_timeframe import AdjustedTimeframe + from instana_client.models.advanced_custom_blueprint_indicator import AdvancedCustomBlueprintIndicator + from instana_client.models.advanced_filter import AdvancedFilter + from instana_client.models.agent_configuration_update import AgentConfigurationUpdate + from instana_client.models.agent_mode_update import AgentModeUpdate + from instana_client.models.alerting_configuration import AlertingConfiguration + from instana_client.models.alerting_configuration_with_last_updated import AlertingConfigurationWithLastUpdated + from instana_client.models.alerting_time_window import AlertingTimeWindow + from instana_client.models.apdex_alert_rule import ApdexAlertRule + from instana_client.models.apdex_config_with_rbac_tag import ApdexConfigWithRBACTag + from instana_client.models.apdex_configuration import ApdexConfiguration + from instana_client.models.apdex_configuration_input import ApdexConfigurationInput + from instana_client.models.apdex_entity import ApdexEntity + from instana_client.models.apdex_level import ApdexLevel + from instana_client.models.apdex_report import ApdexReport + from instana_client.models.api_create_group import ApiCreateGroup + from instana_client.models.api_create_role import ApiCreateRole + from instana_client.models.api_group import ApiGroup + from instana_client.models.api_group_to_team_role_migration import ApiGroupToTeamRoleMigration + from instana_client.models.api_log_item import ApiLogItem + from instana_client.models.api_log_tag import ApiLogTag + from instana_client.models.api_member import ApiMember + from instana_client.models.api_permission_set import ApiPermissionSet + from instana_client.models.api_restricted_application_filter import ApiRestrictedApplicationFilter + from instana_client.models.api_role import ApiRole + from instana_client.models.api_tag import ApiTag + from instana_client.models.api_team import ApiTeam + from instana_client.models.api_team_info import ApiTeamInfo + from instana_client.models.api_team_member import ApiTeamMember + from instana_client.models.api_team_role import ApiTeamRole + from instana_client.models.api_team_scope import ApiTeamScope + from instana_client.models.api_token import ApiToken + from instana_client.models.app_data_metric_configuration import AppDataMetricConfiguration + from instana_client.models.application import Application + from instana_client.models.application_alert_config import ApplicationAlertConfig + from instana_client.models.application_alert_config_with_metadata import ApplicationAlertConfigWithMetadata + from instana_client.models.application_alert_rule import ApplicationAlertRule + from instana_client.models.application_apdex_entity import ApplicationApdexEntity + from instana_client.models.application_batch_business_criticality_update import ApplicationBatchBusinessCriticalityUpdate + from instana_client.models.application_config import ApplicationConfig + from instana_client.models.application_event_result import ApplicationEventResult + from instana_client.models.application_item import ApplicationItem + from instana_client.models.application_metric_result import ApplicationMetricResult + from instana_client.models.application_node import ApplicationNode + from instana_client.models.application_result import ApplicationResult + from instana_client.models.application_scope import ApplicationScope + from instana_client.models.application_scope_with_metadata import ApplicationScopeWithMetadata + from instana_client.models.application_sli_entity import ApplicationSliEntity + from instana_client.models.application_slo_entity import ApplicationSloEntity + from instana_client.models.application_time_threshold import ApplicationTimeThreshold + from instana_client.models.audit_log_ui_response import AuditLogUiResponse + from instana_client.models.author import Author + from instana_client.models.availability_blueprint_indicator import AvailabilityBlueprintIndicator + from instana_client.models.availability_sli_entity import AvailabilitySliEntity + from instana_client.models.available_metrics import AvailableMetrics + from instana_client.models.available_plugins import AvailablePlugins + from instana_client.models.backend_trace_reference import BackendTraceReference + from instana_client.models.bidirectional_ms_teams_app_integration import BidirectionalMsTeamsAppIntegration + from instana_client.models.bidirectional_slack_app_integration import BidirectionalSlackAppIntegration + from instana_client.models.binary_operator_dto import BinaryOperatorDTO + from instana_client.models.browser_script_configuration import BrowserScriptConfiguration + from instana_client.models.browser_script_configuration_update import BrowserScriptConfigurationUpdate + from instana_client.models.built_in_event_specification import BuiltInEventSpecification + from instana_client.models.built_in_event_specification_with_last_updated import BuiltInEventSpecificationWithLastUpdated + from instana_client.models.bulk_alert_config_request import BulkAlertConfigRequest + from instana_client.models.business_activity import BusinessActivity + from instana_client.models.business_perspective_config import BusinessPerspectiveConfig + from instana_client.models.call_groups_item import CallGroupsItem + from instana_client.models.call_groups_result import CallGroupsResult + from instana_client.models.call_relation import CallRelation + from instana_client.models.calls_event_result import CallsEventResult + from instana_client.models.change_summary import ChangeSummary + from instana_client.models.cloudfoundry_physical_context import CloudfoundryPhysicalContext + from instana_client.models.condition import Condition + from instana_client.models.config_version import ConfigVersion + from instana_client.models.correction import Correction + from instana_client.models.correction_configuration import CorrectionConfiguration + from instana_client.models.correction_scheduling import CorrectionScheduling + from instana_client.models.correction_window import CorrectionWindow + from instana_client.models.crash_mobile_app_alert_rule import CrashMobileAppAlertRule + from instana_client.models.create_evaluation_request import CreateEvaluationRequest + from instana_client.models.create_evaluation_response import CreateEvaluationResponse + from instana_client.models.create_website_request_inner import CreateWebsiteRequestInner + from instana_client.models.cursor_paginated_business_activity_item import CursorPaginatedBusinessActivityItem + from instana_client.models.cursor_pagination import CursorPagination + from instana_client.models.cursor_pagination_with_ui_cursor_infra_explore_cursor import CursorPaginationWithUiCursorInfraExploreCursor + from instana_client.models.custom_blueprint_indicator import CustomBlueprintIndicator + from instana_client.models.custom_dashboard import CustomDashboard + from instana_client.models.custom_dashboard_preview import CustomDashboardPreview + from instana_client.models.custom_dashboard_with_user_specific_information import CustomDashboardWithUserSpecificInformation + from instana_client.models.custom_dependency import CustomDependency + from instana_client.models.custom_email_subject_prefix import CustomEmailSubjectPrefix + from instana_client.models.custom_entity_model import CustomEntityModel + from instana_client.models.custom_entity_with_metadata import CustomEntityWithMetadata + from instana_client.models.custom_event_mobile_app_alert_rule import CustomEventMobileAppAlertRule + from instana_client.models.custom_event_specification import CustomEventSpecification + from instana_client.models.custom_event_specification_with_last_updated import CustomEventSpecificationWithLastUpdated + from instana_client.models.custom_event_website_alert_rule import CustomEventWebsiteAlertRule + from instana_client.models.custom_metric import CustomMetric + from instana_client.models.custom_metric_application_alert_rule import CustomMetricApplicationAlertRule + from instana_client.models.custom_payload_configuration import CustomPayloadConfiguration + from instana_client.models.custom_payload_field import CustomPayloadField + from instana_client.models.custom_payload_with_last_updated import CustomPayloadWithLastUpdated + from instana_client.models.custom_payload_with_version import CustomPayloadWithVersion + from instana_client.models.custom_tag import CustomTag + from instana_client.models.customer_email import CustomerEmail + from instana_client.models.dns_configuration import DNSConfiguration + from instana_client.models.dns_configuration_update import DNSConfigurationUpdate + from instana_client.models.dns_filter_query_time import DNSFilterQueryTime + from instana_client.models.dns_filter_target_value import DNSFilterTargetValue + from instana_client.models.dashboard_api_token import DashboardApiToken + from instana_client.models.database_integration import DatabaseIntegration + from instana_client.models.deprecated_tag_filter import DeprecatedTagFilter + from instana_client.models.duration import Duration + from instana_client.models.dynamic_field import DynamicField + from instana_client.models.dynamic_field_value import DynamicFieldValue + from instana_client.models.dynamic_parameter import DynamicParameter + from instana_client.models.dynamic_tag import DynamicTag + from instana_client.models.edit_user import EditUser + from instana_client.models.email_integration import EmailIntegration + from instana_client.models.empty_configuration import EmptyConfiguration + from instana_client.models.endpoint import Endpoint + from instana_client.models.endpoint_config import EndpointConfig + from instana_client.models.endpoint_event_result import EndpointEventResult + from instana_client.models.endpoint_item import EndpointItem + from instana_client.models.endpoint_metric_result import EndpointMetricResult + from instana_client.models.endpoint_node import EndpointNode + from instana_client.models.endpoint_result import EndpointResult + from instana_client.models.endpoint_simple import EndpointSimple + from instana_client.models.entity_count_rule import EntityCountRule + from instana_client.models.entity_count_verification_rule import EntityCountVerificationRule + from instana_client.models.entity_health_info import EntityHealthInfo + from instana_client.models.entity_id import EntityId + from instana_client.models.entity_metric import EntityMetric + from instana_client.models.entity_metric_scope import EntityMetricScope + from instana_client.models.entity_verification_rule import EntityVerificationRule + from instana_client.models.error_budget_alert_rule import ErrorBudgetAlertRule + from instana_client.models.errors_application_alert_rule import ErrorsApplicationAlertRule + from instana_client.models.evaluation_detail_response import EvaluationDetailResponse + from instana_client.models.evaluation_list_item import EvaluationListItem + from instana_client.models.evaluation_list_response import EvaluationListResponse + from instana_client.models.evaluator import Evaluator + from instana_client.models.event import Event + from instana_client.models.event_filtering_configuration import EventFilteringConfiguration + from instana_client.models.event_result import EventResult + from instana_client.models.event_specification_info import EventSpecificationInfo + from instana_client.models.extended_service import ExtendedService + from instana_client.models.failure_synthetic_alert_rule import FailureSyntheticAlertRule + from instana_client.models.filter_interface import FilterInterface + from instana_client.models.fixed_http_path_segment_matching_rule import FixedHttpPathSegmentMatchingRule + from instana_client.models.fixed_time_window import FixedTimeWindow + from instana_client.models.gateway_status_response import GatewayStatusResponse + from instana_client.models.generic_infra_alert_rule import GenericInfraAlertRule + from instana_client.models.geo_location_configuration import GeoLocationConfiguration + from instana_client.models.geo_mapping_rule import GeoMappingRule + from instana_client.models.geo_subdivision import GeoSubdivision + from instana_client.models.get_action_beacons_result import GetActionBeaconsResult + from instana_client.models.get_activities import GetActivities + from instana_client.models.get_application_metrics import GetApplicationMetrics + from instana_client.models.get_applications import GetApplications + from instana_client.models.get_available_metrics_query import GetAvailableMetricsQuery + from instana_client.models.get_available_plugins_query import GetAvailablePluginsQuery + from instana_client.models.get_call_groups import GetCallGroups + from instana_client.models.get_combined_metrics import GetCombinedMetrics + from instana_client.models.get_dynamic_parameter_values import GetDynamicParameterValues + from instana_client.models.get_endpoints import GetEndpoints + from instana_client.models.get_infrastructure_groups_query import GetInfrastructureGroupsQuery + from instana_client.models.get_infrastructure_query import GetInfrastructureQuery + from instana_client.models.get_metrics_result import GetMetricsResult + from instana_client.models.get_mobile_app_beacon_groups import GetMobileAppBeaconGroups + from instana_client.models.get_mobile_app_beacons import GetMobileAppBeacons + from instana_client.models.get_mobile_app_metrics import GetMobileAppMetrics + from instana_client.models.get_mobile_app_metrics_v2 import GetMobileAppMetricsV2 + from instana_client.models.get_payload_keys_result import GetPayloadKeysResult + from instana_client.models.get_services import GetServices + from instana_client.models.get_session_replay_metadata_result import GetSessionReplayMetadataResult + from instana_client.models.get_snapshots_query import GetSnapshotsQuery + from instana_client.models.get_test_result import GetTestResult + from instana_client.models.get_test_result_analytic import GetTestResultAnalytic + from instana_client.models.get_test_result_base import GetTestResultBase + from instana_client.models.get_test_result_list import GetTestResultList + from instana_client.models.get_test_summary_result import GetTestSummaryResult + from instana_client.models.get_trace_download_result_item import GetTraceDownloadResultItem + from instana_client.models.get_trace_groups import GetTraceGroups + from instana_client.models.get_traces import GetTraces + from instana_client.models.get_website_beacon_groups import GetWebsiteBeaconGroups + from instana_client.models.get_website_beacons import GetWebsiteBeacons + from instana_client.models.get_website_metrics import GetWebsiteMetrics + from instana_client.models.get_website_metrics_v2 import GetWebsiteMetricsV2 + from instana_client.models.git_hub_configuration import GitHubConfiguration + from instana_client.models.global_application_alert_config_with_metadata import GlobalApplicationAlertConfigWithMetadata + from instana_client.models.global_applications_alert_config import GlobalApplicationsAlertConfig + from instana_client.models.google_chat_integration import GoogleChatIntegration + from instana_client.models.graph_edge import GraphEdge + from instana_client.models.graph_node import GraphNode + from instana_client.models.group import Group + from instana_client.models.group_by_tag import GroupByTag + from instana_client.models.health_state import HealthState + from instana_client.models.historic_baseline import HistoricBaseline + from instana_client.models.host_availability_rule import HostAvailabilityRule + from instana_client.models.http_action_configuration import HttpActionConfiguration + from instana_client.models.http_action_configuration_update import HttpActionConfigurationUpdate + from instana_client.models.http_endpoint_config import HttpEndpointConfig + from instana_client.models.http_endpoint_rule import HttpEndpointRule + from instana_client.models.http_path_segment_matching_rule import HttpPathSegmentMatchingRule + from instana_client.models.http_script_configuration import HttpScriptConfiguration + from instana_client.models.http_script_configuration_update import HttpScriptConfigurationUpdate + from instana_client.models.hyper_param import HyperParam + from instana_client.models.icmp_configuration import ICMPConfiguration + from instana_client.models.icmp_configuration_update import ICMPConfigurationUpdate + from instana_client.models.icmp_validation import ICMPValidation + from instana_client.models.ip_filtering import IPFiltering + from instana_client.models.ip_filtering_rule_dto import IPFilteringRuleDto + from instana_client.models.ip_filtering_upsert import IPFilteringUpsert + from instana_client.models.identity_provider_patch import IdentityProviderPatch + from instana_client.models.idp_status_update import IdpStatusUpdate + from instana_client.models.impacted_beacon_info import ImpactedBeaconInfo + from instana_client.models.infra_alert_config import InfraAlertConfig + from instana_client.models.infra_alert_config_with_metadata import InfraAlertConfigWithMetadata + from instana_client.models.infra_alert_rule import InfraAlertRule + from instana_client.models.infra_event_result import InfraEventResult + from instana_client.models.infra_slo_entity import InfraSloEntity + from instana_client.models.infra_time_threshold import InfraTimeThreshold + from instana_client.models.infrastructure_entities_result import InfrastructureEntitiesResult + from instana_client.models.infrastructure_group import InfrastructureGroup + from instana_client.models.infrastructure_groups_result import InfrastructureGroupsResult + from instana_client.models.infrastructure_item import InfrastructureItem + from instana_client.models.infrastructure_metric_result import InfrastructureMetricResult + from instana_client.models.instana_version_info import InstanaVersionInfo + from instana_client.models.integration_overview import IntegrationOverview + from instana_client.models.invitation import Invitation + from instana_client.models.invitation_response import InvitationResponse + from instana_client.models.invitation_result import InvitationResult + from instana_client.models.ip_masking_configuration import IpMaskingConfiguration + from instana_client.models.js_stack_trace_line import JsStackTraceLine + from instana_client.models.kubernetes_physical_context import KubernetesPhysicalContext + from instana_client.models.llm_egress_gateway import LLMEgressGateway + from instana_client.models.llm_gateway_capability import LLMGatewayCapability + from instana_client.models.llm_gateway_model import LLMGatewayModel + from instana_client.models.llm_gateway_service import LLMGatewayService + from instana_client.models.llm_gateway_test_connection_request import LLMGatewayTestConnectionRequest + from instana_client.models.latency_blueprint_indicator import LatencyBlueprintIndicator + from instana_client.models.llm_model_price import LlmModelPrice + from instana_client.models.llm_model_price_metadata import LlmModelPriceMetadata + from instana_client.models.location_status import LocationStatus + from instana_client.models.log_alert_config import LogAlertConfig + from instana_client.models.log_alert_config_with_metadata import LogAlertConfigWithMetadata + from instana_client.models.log_alert_rule import LogAlertRule + from instana_client.models.log_count_alert_rule import LogCountAlertRule + from instana_client.models.log_event_result import LogEventResult + from instana_client.models.log_time_threshold import LogTimeThreshold + from instana_client.models.log_volume_group import LogVolumeGroup + from instana_client.models.log_volume_usage_item import LogVolumeUsageItem + from instana_client.models.log_volume_usage_result import LogVolumeUsageResult + from instana_client.models.logging_perspective import LoggingPerspective + from instana_client.models.logs_api_response import LogsApiResponse + from instana_client.models.logs_application_alert_rule import LogsApplicationAlertRule + from instana_client.models.logs_query import LogsQuery + from instana_client.models.maintenance_config import MaintenanceConfig + from instana_client.models.maintenance_config_scheduling import MaintenanceConfigScheduling + from instana_client.models.maintenance_config_v2 import MaintenanceConfigV2 + from instana_client.models.maintenance_config_v2_with_state_and_occurrence import MaintenanceConfigV2WithStateAndOccurrence + from instana_client.models.maintenance_config_with_last_updated import MaintenanceConfigWithLastUpdated + from instana_client.models.maintenance_window import MaintenanceWindow + from instana_client.models.manual_alerting_channel_configuration import ManualAlertingChannelConfiguration + from instana_client.models.manual_close_info import ManualCloseInfo + from instana_client.models.manual_service_config import ManualServiceConfig + from instana_client.models.mapping import Mapping + from instana_client.models.mapping_overview import MappingOverview + from instana_client.models.match_all_http_path_segment_matching_rule import MatchAllHttpPathSegmentMatchingRule + from instana_client.models.match_expression_dto import MatchExpressionDTO + from instana_client.models.meta_data import MetaData + from instana_client.models.metric_api_result import MetricAPIResult + from instana_client.models.metric_config import MetricConfig + from instana_client.models.metric_configuration import MetricConfiguration + from instana_client.models.metric_description import MetricDescription + from instana_client.models.metric_field import MetricField + from instana_client.models.metric_field_value import MetricFieldValue + from instana_client.models.metric_instance import MetricInstance + from instana_client.models.metric_item import MetricItem + from instana_client.models.metric_metadata import MetricMetadata + from instana_client.models.metric_pattern import MetricPattern + from instana_client.models.metrics_result import MetricsResult + from instana_client.models.metrics_result_item import MetricsResultItem + from instana_client.models.metrics_test_result_item import MetricsTestResultItem + from instana_client.models.mobile_app import MobileApp + from instana_client.models.mobile_app_alert_config import MobileAppAlertConfig + from instana_client.models.mobile_app_alert_config_with_rbac_tag import MobileAppAlertConfigWithRBACTag + from instana_client.models.mobile_app_alert_rule import MobileAppAlertRule + from instana_client.models.mobile_app_beacon_groups_item import MobileAppBeaconGroupsItem + from instana_client.models.mobile_app_beacon_groups_result import MobileAppBeaconGroupsResult + from instana_client.models.mobile_app_beacon_result import MobileAppBeaconResult + from instana_client.models.mobile_app_beacon_tag_group import MobileAppBeaconTagGroup + from instana_client.models.mobile_app_beacons_item import MobileAppBeaconsItem + from instana_client.models.mobile_app_event_result import MobileAppEventResult + from instana_client.models.mobile_app_metric_result import MobileAppMetricResult + from instana_client.models.mobile_app_monitoring_beacon import MobileAppMonitoringBeacon + from instana_client.models.mobile_app_monitoring_metric_description import MobileAppMonitoringMetricDescription + from instana_client.models.mobile_app_monitoring_metrics_configuration import MobileAppMonitoringMetricsConfiguration + from instana_client.models.mobile_app_time_threshold import MobileAppTimeThreshold + from instana_client.models.mobile_slo_entity import MobileSloEntity + from instana_client.models.model_field import ModelField + from instana_client.models.monitored_entities_stats import MonitoredEntitiesStats + from instana_client.models.monitoring_state import MonitoringState + from instana_client.models.multiple_scripts_configuration import MultipleScriptsConfiguration + from instana_client.models.ns1_integration import NS1Integration + from instana_client.models.new_application_config import NewApplicationConfig + from instana_client.models.new_business_perspective_config import NewBusinessPerspectiveConfig + from instana_client.models.new_manual_service_config import NewManualServiceConfig + from instana_client.models.notification import Notification + from instana_client.models.o_auth_config import OAuthConfig + from instana_client.models.o_auth_integration import OAuthIntegration + from instana_client.models.o_auth_token import OAuthToken + from instana_client.models.occurrence import Occurrence + from instana_client.models.office365_integration import Office365Integration + from instana_client.models.one_time_maintenance_window import OneTimeMaintenanceWindow + from instana_client.models.opsgenie_integration import OpsgenieIntegration + from instana_client.models.order import Order + from instana_client.models.pagerduty_integration import PagerdutyIntegration + from instana_client.models.paginated_result import PaginatedResult + from instana_client.models.pagination import Pagination + from instana_client.models.parameter import Parameter + from instana_client.models.parameter_value import ParameterValue + from instana_client.models.path_parameter_http_path_segment_matching_rule import PathParameterHttpPathSegmentMatchingRule + from instana_client.models.physical_context import PhysicalContext + from instana_client.models.plugin_result import PluginResult + from instana_client.models.policy import Policy + from instana_client.models.policy_runnable import PolicyRunnable + from instana_client.models.policy_scheduling import PolicyScheduling + from instana_client.models.post_mobile_app_source_map_config_request import PostMobileAppSourceMapConfigRequest + from instana_client.models.post_snapshots_result import PostSnapshotsResult + from instana_client.models.prefix_object import PrefixObject + from instana_client.models.problem import Problem + from instana_client.models.prometheus_webhook_integration import PrometheusWebhookIntegration + from instana_client.models.rbac_restrictions import RbacRestrictions + from instana_client.models.recurrent_maintenance_window import RecurrentMaintenanceWindow + from instana_client.models.release import Release + from instana_client.models.release_scope import ReleaseScope + from instana_client.models.release_with_metadata import ReleaseWithMetadata + from instana_client.models.retention_period import RetentionPeriod + from instana_client.models.role_mapping_overview import RoleMappingOverview + from instana_client.models.rolling_time_window import RollingTimeWindow + from instana_client.models.rule_input import RuleInput + from instana_client.models.rule_with_threshold_application_alert_rule import RuleWithThresholdApplicationAlertRule + from instana_client.models.rule_with_threshold_infra_alert_rule import RuleWithThresholdInfraAlertRule + from instana_client.models.rule_with_threshold_log_alert_rule import RuleWithThresholdLogAlertRule + from instana_client.models.rule_with_threshold_mobile_app_alert_rule import RuleWithThresholdMobileAppAlertRule + from instana_client.models.rule_with_threshold_website_alert_rule import RuleWithThresholdWebsiteAlertRule + from instana_client.models.run_configuration import RunConfiguration + from instana_client.models.run_evaluation_response import RunEvaluationResponse + from instana_client.models.slo_config_with_rbac_tag import SLOConfigWithRBACTag + from instana_client.models.ssl_certificate_configuration import SSLCertificateConfiguration + from instana_client.models.ssl_certificate_configuration_update import SSLCertificateConfigurationUpdate + from instana_client.models.ssl_certificate_validation import SSLCertificateValidation + from instana_client.models.salesforce_integration import SalesforceIntegration + from instana_client.models.sampling_metadata import SamplingMetadata + from instana_client.models.saturation_blueprint_indicator import SaturationBlueprintIndicator + from instana_client.models.scope_binding import ScopeBinding + from instana_client.models.search_field_result import SearchFieldResult + from instana_client.models.service import Service + from instana_client.models.service_config import ServiceConfig + from instana_client.models.service_event_result import ServiceEventResult + from instana_client.models.service_item import ServiceItem + from instana_client.models.service_level_indicator import ServiceLevelIndicator + from instana_client.models.service_level_objective_alert_rule import ServiceLevelObjectiveAlertRule + from instana_client.models.service_levels_alert_config import ServiceLevelsAlertConfig + from instana_client.models.service_levels_alert_config_with_rbac_tag import ServiceLevelsAlertConfigWithRBACTag + from instana_client.models.service_levels_alert_rule import ServiceLevelsAlertRule + from instana_client.models.service_levels_burn_rate_config import ServiceLevelsBurnRateConfig + from instana_client.models.service_levels_burn_rate_time_windows import ServiceLevelsBurnRateTimeWindows + from instana_client.models.service_levels_static_threshold_config import ServiceLevelsStaticThresholdConfig + from instana_client.models.service_levels_time_threshold import ServiceLevelsTimeThreshold + from instana_client.models.service_levelse_alert_config_with_metadata import ServiceLevelseAlertConfigWithMetadata + from instana_client.models.service_map import ServiceMap + from instana_client.models.service_map_connection import ServiceMapConnection + from instana_client.models.service_matching_rule import ServiceMatchingRule + from instana_client.models.service_metric_result import ServiceMetricResult + from instana_client.models.service_node import ServiceNode + from instana_client.models.service_now_enhanced_integration import ServiceNowEnhancedIntegration + from instana_client.models.service_now_integration import ServiceNowIntegration + from instana_client.models.service_result import ServiceResult + from instana_client.models.service_scope import ServiceScope + from instana_client.models.service_scope_with_metadata import ServiceScopeWithMetadata + from instana_client.models.service_scoped_to import ServiceScopedTo + from instana_client.models.service_scoped_to_with_metadata import ServiceScopedToWithMetadata + from instana_client.models.service_simple import ServiceSimple + from instana_client.models.session_replay_metadata import SessionReplayMetadata + from instana_client.models.session_replay_timestamps import SessionReplayTimestamps + from instana_client.models.session_settings import SessionSettings + from instana_client.models.simple_metric_configuration import SimpleMetricConfiguration + from instana_client.models.slack_integration import SlackIntegration + from instana_client.models.sli_configuration import SliConfiguration + from instana_client.models.sli_configuration_with_last_updated import SliConfigurationWithLastUpdated + from instana_client.models.sli_entity import SliEntity + from instana_client.models.sli_report import SliReport + from instana_client.models.slo_entity import SloEntity + from instana_client.models.slo_health_snapshot import SloHealthSnapshot + from instana_client.models.slo_health_snapshot_item import SloHealthSnapshotItem + from instana_client.models.slo_report import SloReport + from instana_client.models.slowness_application_alert_rule import SlownessApplicationAlertRule + from instana_client.models.slowness_mobile_app_alert_rule import SlownessMobileAppAlertRule + from instana_client.models.slowness_website_alert_rule import SlownessWebsiteAlertRule + from instana_client.models.snapshot_item import SnapshotItem + from instana_client.models.snapshot_preview import SnapshotPreview + from instana_client.models.snapshot_result import SnapshotResult + from instana_client.models.software_user import SoftwareUser + from instana_client.models.software_version import SoftwareVersion + from instana_client.models.source_map_file_blob import SourceMapFileBlob + from instana_client.models.source_map_file_meta import SourceMapFileMeta + from instana_client.models.source_map_upload_config import SourceMapUploadConfig + from instana_client.models.source_map_upload_configs import SourceMapUploadConfigs + from instana_client.models.span_excerpt import SpanExcerpt + from instana_client.models.span_relation import SpanRelation + from instana_client.models.specific_js_errors_website_alert_rule import SpecificJsErrorsWebsiteAlertRule + from instana_client.models.splunk_integration import SplunkIntegration + from instana_client.models.stack_trace_item import StackTraceItem + from instana_client.models.stack_trace_line import StackTraceLine + from instana_client.models.static_baseline_threshold_rule import StaticBaselineThresholdRule + from instana_client.models.static_string_field import StaticStringField + from instana_client.models.static_threshold import StaticThreshold + from instana_client.models.static_threshold_rule import StaticThresholdRule + from instana_client.models.status_code_application_alert_rule import StatusCodeApplicationAlertRule + from instana_client.models.status_code_mobile_app_alert_rule import StatusCodeMobileAppAlertRule + from instana_client.models.status_code_website_alert_rule import StatusCodeWebsiteAlertRule + from instana_client.models.synthetic_alert_config import SyntheticAlertConfig + from instana_client.models.synthetic_alert_config_with_metadata import SyntheticAlertConfigWithMetadata + from instana_client.models.synthetic_alert_config_with_rbac_tag import SyntheticAlertConfigWithRBACTag + from instana_client.models.synthetic_alert_rule import SyntheticAlertRule + from instana_client.models.synthetic_bulk_response import SyntheticBulkResponse + from instana_client.models.synthetic_call_config import SyntheticCallConfig + from instana_client.models.synthetic_call_rule import SyntheticCallRule + from instana_client.models.synthetic_call_with_defaults_config import SyntheticCallWithDefaultsConfig + from instana_client.models.synthetic_configuration import SyntheticConfiguration + from instana_client.models.synthetic_configuration_update import SyntheticConfigurationUpdate + from instana_client.models.synthetic_credential import SyntheticCredential + from instana_client.models.synthetic_datacenter import SyntheticDatacenter + from instana_client.models.synthetic_datacenter_configuration import SyntheticDatacenterConfiguration + from instana_client.models.synthetic_geo_point import SyntheticGeoPoint + from instana_client.models.synthetic_location import SyntheticLocation + from instana_client.models.synthetic_location_configuration import SyntheticLocationConfiguration + from instana_client.models.synthetic_metric_configuration import SyntheticMetricConfiguration + from instana_client.models.synthetic_metric_tag_group import SyntheticMetricTagGroup + from instana_client.models.synthetic_playback_capabilities import SyntheticPlaybackCapabilities + from instana_client.models.synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value import SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue + from instana_client.models.synthetic_resource_update_list_icmp_validation_list_icmp_validation import SyntheticResourceUpdateListICMPValidationListICMPValidation + from instana_client.models.synthetic_resource_update_list_network_profile_list_network_profile import SyntheticResourceUpdateListNetworkProfileListNetworkProfile + from instana_client.models.synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation import SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation + from instana_client.models.synthetic_resource_update_list_string_list_string import SyntheticResourceUpdateListStringListString + from instana_client.models.synthetic_resource_update_map_string_string_list_string import SyntheticResourceUpdateMapStringStringListString + from instana_client.models.synthetic_slo_entity import SyntheticSloEntity + from instana_client.models.synthetic_test import SyntheticTest + from instana_client.models.synthetic_test_cicd import SyntheticTestCICD + from instana_client.models.synthetic_test_cicd_customization import SyntheticTestCICDCustomization + from instana_client.models.synthetic_test_cicd_item import SyntheticTestCICDItem + from instana_client.models.synthetic_test_cicd_response import SyntheticTestCICDResponse + from instana_client.models.synthetic_test_deep_update import SyntheticTestDeepUpdate + from instana_client.models.synthetic_test_shallow_update import SyntheticTestShallowUpdate + from instana_client.models.synthetic_test_update import SyntheticTestUpdate + from instana_client.models.synthetic_time_threshold import SyntheticTimeThreshold + from instana_client.models.synthetic_type_configuration import SyntheticTypeConfiguration + from instana_client.models.synthetic_type_configuration_update import SyntheticTypeConfigurationUpdate + from instana_client.models.synthetics_event_result import SyntheticsEventResult + from instana_client.models.system_rule import SystemRule + from instana_client.models.system_rule_label import SystemRuleLabel + from instana_client.models.tag import Tag + from instana_client.models.tag_catalog import TagCatalog + from instana_client.models.tag_filter import TagFilter + from instana_client.models.tag_filter_expression import TagFilterExpression + from instana_client.models.tag_filter_expression_element import TagFilterExpressionElement + from instana_client.models.tag_matcher_dto import TagMatcherDTO + from instana_client.models.tag_tree_level import TagTreeLevel + from instana_client.models.tag_tree_node import TagTreeNode + from instana_client.models.tag_tree_tag import TagTreeTag + from instana_client.models.test_common_properties import TestCommonProperties + from instana_client.models.test_connection_response import TestConnectionResponse + from instana_client.models.test_last_error import TestLastError + from instana_client.models.test_result import TestResult + from instana_client.models.test_result_common_properties import TestResultCommonProperties + from instana_client.models.test_result_detail_data import TestResultDetailData + from instana_client.models.test_result_item import TestResultItem + from instana_client.models.test_result_list_item import TestResultListItem + from instana_client.models.test_result_list_result import TestResultListResult + from instana_client.models.test_result_metadata import TestResultMetadata + from instana_client.models.test_result_subtransaction import TestResultSubtransaction + from instana_client.models.threshold import Threshold + from instana_client.models.threshold_config_rule import ThresholdConfigRule + from instana_client.models.threshold_rule import ThresholdRule + from instana_client.models.throughput_application_alert_rule import ThroughputApplicationAlertRule + from instana_client.models.throughput_mobile_app_alert_rule import ThroughputMobileAppAlertRule + from instana_client.models.throughput_website_alert_rule import ThroughputWebsiteAlertRule + from instana_client.models.time_config import TimeConfig + from instana_client.models.time_frame import TimeFrame + from instana_client.models.time_window import TimeWindow + from instana_client.models.topology import Topology + from instana_client.models.trace import Trace + from instana_client.models.trace_activity_tree_node_details import TraceActivityTreeNodeDetails + from instana_client.models.trace_download_result import TraceDownloadResult + from instana_client.models.trace_groups_item import TraceGroupsItem + from instana_client.models.trace_groups_result import TraceGroupsResult + from instana_client.models.trace_impact_application_time_threshold import TraceImpactApplicationTimeThreshold + from instana_client.models.trace_item import TraceItem + from instana_client.models.trace_result import TraceResult + from instana_client.models.trace_sampling_config import TraceSamplingConfig + from instana_client.models.traffic_blueprint_indicator import TrafficBlueprintIndicator + from instana_client.models.trigger import Trigger + from instana_client.models.type_configuration import TypeConfiguration + from instana_client.models.unified_beacon import UnifiedBeacon + from instana_client.models.unsupported_http_path_segment_matching_rule import UnsupportedHttpPathSegmentMatchingRule + from instana_client.models.update_evaluation_request import UpdateEvaluationRequest + from instana_client.models.updated_business_perspective_config import UpdatedBusinessPerspectiveConfig + from instana_client.models.usage_result import UsageResult + from instana_client.models.usage_result_items import UsageResultItems + from instana_client.models.user_basic_result import UserBasicResult + from instana_client.models.user_impact_mobile_app_time_threshold import UserImpactMobileAppTimeThreshold + from instana_client.models.user_impact_website_time_threshold import UserImpactWebsiteTimeThreshold + from instana_client.models.user_result import UserResult + from instana_client.models.users_result import UsersResult + from instana_client.models.validated_alerting_channel_input_info import ValidatedAlertingChannelInputInfo + from instana_client.models.validated_alerting_configuration import ValidatedAlertingConfiguration + from instana_client.models.validated_maintenance_config_v2_with_state_and_occurrence import ValidatedMaintenanceConfigV2WithStateAndOccurrence + from instana_client.models.validated_maintenance_config_with_status import ValidatedMaintenanceConfigWithStatus + from instana_client.models.victor_ops_integration import VictorOpsIntegration + from instana_client.models.violations_in_period_application_time_threshold import ViolationsInPeriodApplicationTimeThreshold + from instana_client.models.violations_in_period_mobile_app_time_threshold import ViolationsInPeriodMobileAppTimeThreshold + from instana_client.models.violations_in_period_website_time_threshold import ViolationsInPeriodWebsiteTimeThreshold + from instana_client.models.violations_in_sequence_application_time_threshold import ViolationsInSequenceApplicationTimeThreshold + from instana_client.models.violations_in_sequence_infra_time_threshold import ViolationsInSequenceInfraTimeThreshold + from instana_client.models.violations_in_sequence_log_time_threshold import ViolationsInSequenceLogTimeThreshold + from instana_client.models.violations_in_sequence_mobile_app_time_threshold import ViolationsInSequenceMobileAppTimeThreshold + from instana_client.models.violations_in_sequence_synthetic_time_threshold import ViolationsInSequenceSyntheticTimeThreshold + from instana_client.models.violations_in_sequence_website_time_threshold import ViolationsInSequenceWebsiteTimeThreshold + from instana_client.models.watson_ai_ops_webhook_integration import WatsonAIOpsWebhookIntegration + from instana_client.models.webex_teams_webhook_integration import WebexTeamsWebhookIntegration + from instana_client.models.webhook_integration import WebhookIntegration + from instana_client.models.webpage_action_configuration import WebpageActionConfiguration + from instana_client.models.webpage_action_configuration_update import WebpageActionConfigurationUpdate + from instana_client.models.webpage_script_configuration import WebpageScriptConfiguration + from instana_client.models.webpage_script_configuration_update import WebpageScriptConfigurationUpdate + from instana_client.models.website import Website + from instana_client.models.website_alert_config import WebsiteAlertConfig + from instana_client.models.website_alert_config_with_metadata import WebsiteAlertConfigWithMetadata + from instana_client.models.website_alert_config_with_rbac_tag import WebsiteAlertConfigWithRBACTag + from instana_client.models.website_alert_rule import WebsiteAlertRule + from instana_client.models.website_apdex_entity import WebsiteApdexEntity + from instana_client.models.website_beacon_groups_item import WebsiteBeaconGroupsItem + from instana_client.models.website_beacon_groups_result import WebsiteBeaconGroupsResult + from instana_client.models.website_beacon_result import WebsiteBeaconResult + from instana_client.models.website_beacon_tag_group import WebsiteBeaconTagGroup + from instana_client.models.website_beacons_item import WebsiteBeaconsItem + from instana_client.models.website_event_based_sli_entity import WebsiteEventBasedSliEntity + from instana_client.models.website_event_result import WebsiteEventResult + from instana_client.models.website_metric_result import WebsiteMetricResult + from instana_client.models.website_monitoring_beacon import WebsiteMonitoringBeacon + from instana_client.models.website_monitoring_metric_description import WebsiteMonitoringMetricDescription + from instana_client.models.website_monitoring_metrics_configuration import WebsiteMonitoringMetricsConfiguration + from instana_client.models.website_slo_entity import WebsiteSloEntity + from instana_client.models.website_time_based_sli_entity import WebsiteTimeBasedSliEntity + from instana_client.models.website_time_threshold import WebsiteTimeThreshold + from instana_client.models.widget import Widget + from instana_client.models.with_meta_data import WithMetaData + from instana_client.models.with_resolved_name import WithResolvedName + from instana_client.models.z_chat_ops_integration import ZChatOpsIntegration + +else: + from lazy_imports import LazyModule, as_package, load + + load( + LazyModule( + *as_package(__file__), + """# import models into model package from instana_client.models.abstract_integration import AbstractIntegration from instana_client.models.abstract_rule import AbstractRule from instana_client.models.access_rule import AccessRule @@ -48,6 +634,7 @@ from instana_client.models.api_create_group import ApiCreateGroup from instana_client.models.api_create_role import ApiCreateRole from instana_client.models.api_group import ApiGroup +from instana_client.models.api_group_to_team_role_migration import ApiGroupToTeamRoleMigration from instana_client.models.api_log_item import ApiLogItem from instana_client.models.api_log_tag import ApiLogTag from instana_client.models.api_member import ApiMember @@ -67,6 +654,7 @@ from instana_client.models.application_alert_config_with_metadata import ApplicationAlertConfigWithMetadata from instana_client.models.application_alert_rule import ApplicationAlertRule from instana_client.models.application_apdex_entity import ApplicationApdexEntity +from instana_client.models.application_batch_business_criticality_update import ApplicationBatchBusinessCriticalityUpdate from instana_client.models.application_config import ApplicationConfig from instana_client.models.application_event_result import ApplicationEventResult from instana_client.models.application_item import ApplicationItem @@ -98,6 +686,7 @@ from instana_client.models.call_groups_item import CallGroupsItem from instana_client.models.call_groups_result import CallGroupsResult from instana_client.models.call_relation import CallRelation +from instana_client.models.calls_event_result import CallsEventResult from instana_client.models.change_summary import ChangeSummary from instana_client.models.cloudfoundry_physical_context import CloudfoundryPhysicalContext from instana_client.models.condition import Condition @@ -224,8 +813,6 @@ from instana_client.models.graph_node import GraphNode from instana_client.models.group import Group from instana_client.models.group_by_tag import GroupByTag -from instana_client.models.group_mapping import GroupMapping -from instana_client.models.group_mapping_overview import GroupMappingOverview from instana_client.models.health_state import HealthState from instana_client.models.historic_baseline import HistoricBaseline from instana_client.models.host_availability_rule import HostAvailabilityRule @@ -283,6 +870,7 @@ from instana_client.models.log_volume_group import LogVolumeGroup from instana_client.models.log_volume_usage_item import LogVolumeUsageItem from instana_client.models.log_volume_usage_result import LogVolumeUsageResult +from instana_client.models.logging_perspective import LoggingPerspective from instana_client.models.logs_api_response import LogsApiResponse from instana_client.models.logs_application_alert_rule import LogsApplicationAlertRule from instana_client.models.logs_query import LogsQuery @@ -295,6 +883,8 @@ from instana_client.models.manual_alerting_channel_configuration import ManualAlertingChannelConfiguration from instana_client.models.manual_close_info import ManualCloseInfo from instana_client.models.manual_service_config import ManualServiceConfig +from instana_client.models.mapping import Mapping +from instana_client.models.mapping_overview import MappingOverview from instana_client.models.match_all_http_path_segment_matching_rule import MatchAllHttpPathSegmentMatchingRule from instana_client.models.match_expression_dto import MatchExpressionDTO from instana_client.models.meta_data import MetaData @@ -422,6 +1012,8 @@ from instana_client.models.sli_entity import SliEntity from instana_client.models.sli_report import SliReport from instana_client.models.slo_entity import SloEntity +from instana_client.models.slo_health_snapshot import SloHealthSnapshot +from instana_client.models.slo_health_snapshot_item import SloHealthSnapshotItem from instana_client.models.slo_report import SloReport from instana_client.models.slowness_application_alert_rule import SlownessApplicationAlertRule from instana_client.models.slowness_mobile_app_alert_rule import SlownessMobileAppAlertRule @@ -586,3 +1178,9 @@ from instana_client.models.with_meta_data import WithMetaData from instana_client.models.with_resolved_name import WithResolvedName from instana_client.models.z_chat_ops_integration import ZChatOpsIntegration + +""", + name=__name__, + doc=__doc__, + ) + ) diff --git a/instana_client/models/abstract_integration.py b/instana_client/models/abstract_integration.py index e303874..5ddd285 100644 --- a/instana_client/models/abstract_integration.py +++ b/instana_client/models/abstract_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -19,7 +19,7 @@ import json from importlib import import_module -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional, Union from typing_extensions import Annotated from typing import Optional, Set @@ -54,41 +54,8 @@ class AbstractIntegration(BaseModel): id: Annotated[str, Field(min_length=1, strict=True)] = Field(description="Unique ID of the returned Alert Channel") kind: StrictStr = Field(description="The type of the Alerting Channel.") name: StrictStr = Field(description="The name of the Alerting Channel.") - test_event_type: Optional[StrictStr] = Field(default=None, alias="testEventType") - test_severity: Optional[StrictStr] = Field(default=None, alias="testSeverity") - test_state: Optional[StrictStr] = Field(default=None, alias="testState") timezone: Optional[StrictStr] = Field(default=None, description="The timezone to be used for DateTime") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone"] - - @field_validator('test_event_type') - def test_event_type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['INFRA_SMART_ALERT', 'LOG_SMART_ALERT', 'APPLICATION_SMART_ALERT', 'BUILT_IN_EVENT', 'CUSTOM_EVENT']): - raise ValueError("must be one of enum values ('INFRA_SMART_ALERT', 'LOG_SMART_ALERT', 'APPLICATION_SMART_ALERT', 'BUILT_IN_EVENT', 'CUSTOM_EVENT')") - return value - - @field_validator('test_severity') - def test_severity_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['WARNING', 'CRITICAL']): - raise ValueError("must be one of enum values ('WARNING', 'CRITICAL')") - return value - - @field_validator('test_state') - def test_state_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['OPEN', 'CLOSE']): - raise ValueError("must be one of enum values ('OPEN', 'CLOSE')") - return value + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone"] model_config = ConfigDict( populate_by_name=True, diff --git a/instana_client/models/abstract_rule.py b/instana_client/models/abstract_rule.py index 6916f5a..fa7cc72 100644 --- a/instana_client/models/abstract_rule.py +++ b/instana_client/models/abstract_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/access_rule.py b/instana_client/models/access_rule.py index 69d9ee7..bac1dc0 100644 --- a/instana_client/models/access_rule.py +++ b/instana_client/models/access_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action.py b/instana_client/models/action.py index 02d524e..048ba52 100644 --- a/instana_client/models/action.py +++ b/instana_client/models/action.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_beacon.py b/instana_client/models/action_beacon.py index 567ad34..75ac40f 100644 --- a/instana_client/models/action_beacon.py +++ b/instana_client/models/action_beacon.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_configuration.py b/instana_client/models/action_configuration.py index afdcc16..396b550 100644 --- a/instana_client/models/action_configuration.py +++ b/instana_client/models/action_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_instance.py b/instana_client/models/action_instance.py index 5d3a30b..bee9f8f 100644 --- a/instana_client/models/action_instance.py +++ b/instana_client/models/action_instance.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_instance_metadata_entry.py b/instana_client/models/action_instance_metadata_entry.py index 7f9dbf6..d6be2b4 100644 --- a/instana_client/models/action_instance_metadata_entry.py +++ b/instana_client/models/action_instance_metadata_entry.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_instance_parameter.py b/instana_client/models/action_instance_parameter.py index c58febf..858e8bd 100644 --- a/instana_client/models/action_instance_parameter.py +++ b/instana_client/models/action_instance_parameter.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_instance_request.py b/instana_client/models/action_instance_request.py index 2d5cf5c..49c1037 100644 --- a/instana_client/models/action_instance_request.py +++ b/instana_client/models/action_instance_request.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_instance_request_parameters.py b/instana_client/models/action_instance_request_parameters.py index c0b07e3..bc4505a 100644 --- a/instana_client/models/action_instance_request_parameters.py +++ b/instana_client/models/action_instance_request_parameters.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_match.py b/instana_client/models/action_match.py index 25b695b..138caf8 100644 --- a/instana_client/models/action_match.py +++ b/instana_client/models/action_match.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_search_space.py b/instana_client/models/action_search_space.py index ab8c2e9..53dcf69 100644 --- a/instana_client/models/action_search_space.py +++ b/instana_client/models/action_search_space.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/adaptive_baseline.py b/instana_client/models/adaptive_baseline.py index 6aa7e05..a407eaf 100644 --- a/instana_client/models/adaptive_baseline.py +++ b/instana_client/models/adaptive_baseline.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/adaptive_threshold_rule.py b/instana_client/models/adaptive_threshold_rule.py index fa01110..438213f 100644 --- a/instana_client/models/adaptive_threshold_rule.py +++ b/instana_client/models/adaptive_threshold_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/adjusted_timeframe.py b/instana_client/models/adjusted_timeframe.py index 4846a4b..9d0ce18 100644 --- a/instana_client/models/adjusted_timeframe.py +++ b/instana_client/models/adjusted_timeframe.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/advanced_custom_blueprint_indicator.py b/instana_client/models/advanced_custom_blueprint_indicator.py index 20a1335..0a7a1e1 100644 --- a/instana_client/models/advanced_custom_blueprint_indicator.py +++ b/instana_client/models/advanced_custom_blueprint_indicator.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/advanced_filter.py b/instana_client/models/advanced_filter.py index a93cb88..5c158ff 100644 --- a/instana_client/models/advanced_filter.py +++ b/instana_client/models/advanced_filter.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/agent_configuration_update.py b/instana_client/models/agent_configuration_update.py index 8f129fc..de82c2b 100644 --- a/instana_client/models/agent_configuration_update.py +++ b/instana_client/models/agent_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/agent_mode_update.py b/instana_client/models/agent_mode_update.py index 1ecbbe5..b8f0b9e 100644 --- a/instana_client/models/agent_mode_update.py +++ b/instana_client/models/agent_mode_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/alerting_configuration.py b/instana_client/models/alerting_configuration.py index 5abbb6b..a3828b8 100644 --- a/instana_client/models/alerting_configuration.py +++ b/instana_client/models/alerting_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/alerting_configuration_with_last_updated.py b/instana_client/models/alerting_configuration_with_last_updated.py index 4e46941..b4926ce 100644 --- a/instana_client/models/alerting_configuration_with_last_updated.py +++ b/instana_client/models/alerting_configuration_with_last_updated.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/alerting_time_window.py b/instana_client/models/alerting_time_window.py index 965341f..af8b5fd 100644 --- a/instana_client/models/alerting_time_window.py +++ b/instana_client/models/alerting_time_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/apdex_alert_rule.py b/instana_client/models/apdex_alert_rule.py index 271fcb6..5dc57df 100644 --- a/instana_client/models/apdex_alert_rule.py +++ b/instana_client/models/apdex_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/apdex_config_with_rbac_tag.py b/instana_client/models/apdex_config_with_rbac_tag.py index c071a75..563ac36 100644 --- a/instana_client/models/apdex_config_with_rbac_tag.py +++ b/instana_client/models/apdex_config_with_rbac_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/apdex_configuration.py b/instana_client/models/apdex_configuration.py index 0ff4c4d..a3a3f05 100644 --- a/instana_client/models/apdex_configuration.py +++ b/instana_client/models/apdex_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/apdex_configuration_input.py b/instana_client/models/apdex_configuration_input.py index b8ba744..280d1ae 100644 --- a/instana_client/models/apdex_configuration_input.py +++ b/instana_client/models/apdex_configuration_input.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/apdex_entity.py b/instana_client/models/apdex_entity.py index 4715a33..06919dd 100644 --- a/instana_client/models/apdex_entity.py +++ b/instana_client/models/apdex_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/apdex_level.py b/instana_client/models/apdex_level.py index 6ffaeed..e7a15c2 100644 --- a/instana_client/models/apdex_level.py +++ b/instana_client/models/apdex_level.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/apdex_report.py b/instana_client/models/apdex_report.py index b32b9c4..9d5c8f1 100644 --- a/instana_client/models/apdex_report.py +++ b/instana_client/models/apdex_report.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_create_group.py b/instana_client/models/api_create_group.py index a018cca..01fbe41 100644 --- a/instana_client/models/api_create_group.py +++ b/instana_client/models/api_create_group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_create_role.py b/instana_client/models/api_create_role.py index 9ad7ad7..6322223 100644 --- a/instana_client/models/api_create_role.py +++ b/instana_client/models/api_create_role.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_group.py b/instana_client/models/api_group.py index 86887bf..448ff30 100644 --- a/instana_client/models/api_group.py +++ b/instana_client/models/api_group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_group_to_team_role_migration.py b/instana_client/models/api_group_to_team_role_migration.py new file mode 100644 index 0000000..ad00a1b --- /dev/null +++ b/instana_client/models/api_group_to_team_role_migration.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class ApiGroupToTeamRoleMigration(BaseModel): + """ + ApiGroupToTeamRoleMigration + """ # noqa: E501 + target_role_id: Annotated[str, Field(min_length=1, strict=True)] = Field(description="The ID of the pre-existing role to assign to all migrated team members", alias="targetRoleId") + __properties: ClassVar[List[str]] = ["targetRoleId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ApiGroupToTeamRoleMigration from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ApiGroupToTeamRoleMigration from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "targetRoleId": obj.get("targetRoleId") + }) + return _obj + + diff --git a/instana_client/models/api_log_item.py b/instana_client/models/api_log_item.py index 70363f7..64f1ad4 100644 --- a/instana_client/models/api_log_item.py +++ b/instana_client/models/api_log_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_log_tag.py b/instana_client/models/api_log_tag.py index 13f9ab1..d40ecc3 100644 --- a/instana_client/models/api_log_tag.py +++ b/instana_client/models/api_log_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_member.py b/instana_client/models/api_member.py index 03dd915..35536bb 100644 --- a/instana_client/models/api_member.py +++ b/instana_client/models/api_member.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_permission_set.py b/instana_client/models/api_permission_set.py index 3a308c5..973ce52 100644 --- a/instana_client/models/api_permission_set.py +++ b/instana_client/models/api_permission_set.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_restricted_application_filter.py b/instana_client/models/api_restricted_application_filter.py index de976eb..d32cd3c 100644 --- a/instana_client/models/api_restricted_application_filter.py +++ b/instana_client/models/api_restricted_application_filter.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_role.py b/instana_client/models/api_role.py index aefdd46..6425b79 100644 --- a/instana_client/models/api_role.py +++ b/instana_client/models/api_role.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_tag.py b/instana_client/models/api_tag.py index 5df9528..b09d9ce 100644 --- a/instana_client/models/api_tag.py +++ b/instana_client/models/api_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_team.py b/instana_client/models/api_team.py index 7107a22..8c6eac6 100644 --- a/instana_client/models/api_team.py +++ b/instana_client/models/api_team.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_team_info.py b/instana_client/models/api_team_info.py index 1e1d828..610c707 100644 --- a/instana_client/models/api_team_info.py +++ b/instana_client/models/api_team_info.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_team_member.py b/instana_client/models/api_team_member.py index 8e21fbb..8b31cc0 100644 --- a/instana_client/models/api_team_member.py +++ b/instana_client/models/api_team_member.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_team_role.py b/instana_client/models/api_team_role.py index c536193..415544b 100644 --- a/instana_client/models/api_team_role.py +++ b/instana_client/models/api_team_role.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_team_scope.py b/instana_client/models/api_team_scope.py index e70091f..f9f2501 100644 --- a/instana_client/models/api_team_scope.py +++ b/instana_client/models/api_team_scope.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_token.py b/instana_client/models/api_token.py index 4f09025..93fbd18 100644 --- a/instana_client/models/api_token.py +++ b/instana_client/models/api_token.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/app_data_metric_configuration.py b/instana_client/models/app_data_metric_configuration.py index e5615ac..f160899 100644 --- a/instana_client/models/app_data_metric_configuration.py +++ b/instana_client/models/app_data_metric_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application.py b/instana_client/models/application.py index a5e1d42..847980b 100644 --- a/instana_client/models/application.py +++ b/instana_client/models/application.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_alert_config.py b/instana_client/models/application_alert_config.py index 1090156..0506a26 100644 --- a/instana_client/models/application_alert_config.py +++ b/instana_client/models/application_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_alert_config_with_metadata.py b/instana_client/models/application_alert_config_with_metadata.py index 6d74dcb..0b9136c 100644 --- a/instana_client/models/application_alert_config_with_metadata.py +++ b/instana_client/models/application_alert_config_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_alert_rule.py b/instana_client/models/application_alert_rule.py index 6ff51e6..67afa9b 100644 --- a/instana_client/models/application_alert_rule.py +++ b/instana_client/models/application_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_apdex_entity.py b/instana_client/models/application_apdex_entity.py index 6385bd1..2b255d8 100644 --- a/instana_client/models/application_apdex_entity.py +++ b/instana_client/models/application_apdex_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_batch_business_criticality_update.py b/instana_client/models/application_batch_business_criticality_update.py new file mode 100644 index 0000000..cb3825c --- /dev/null +++ b/instana_client/models/application_batch_business_criticality_update.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class ApplicationBatchBusinessCriticalityUpdate(BaseModel): + """ + ApplicationBatchBusinessCriticalityUpdate + """ # noqa: E501 + business_criticality: Annotated[int, Field(le=5, strict=True, ge=0)] = Field(alias="businessCriticality") + ids: Annotated[List[Annotated[str, Field(min_length=1, strict=True)]], Field(min_length=0, max_length=100)] + ids_unique: Optional[StrictBool] = Field(default=None, alias="idsUnique") + __properties: ClassVar[List[str]] = ["businessCriticality", "ids", "idsUnique"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ApplicationBatchBusinessCriticalityUpdate from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ApplicationBatchBusinessCriticalityUpdate from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "businessCriticality": obj.get("businessCriticality"), + "ids": obj.get("ids"), + "idsUnique": obj.get("idsUnique") + }) + return _obj + + diff --git a/instana_client/models/application_config.py b/instana_client/models/application_config.py index d962fd6..b7341c2 100644 --- a/instana_client/models/application_config.py +++ b/instana_client/models/application_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -111,6 +111,11 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of tag_filter_expression if self.tag_filter_expression: _dict['tagFilterExpression'] = self.tag_filter_expression.to_dict() + # set to None if business_criticality (nullable) is None + # and model_fields_set contains the field + if self.business_criticality is None and "business_criticality" in self.model_fields_set: + _dict['businessCriticality'] = None + # set to None if tag_filter_expression (nullable) is None # and model_fields_set contains the field if self.tag_filter_expression is None and "tag_filter_expression" in self.model_fields_set: diff --git a/instana_client/models/application_event_result.py b/instana_client/models/application_event_result.py index a21cee1..b49287b 100644 --- a/instana_client/models/application_event_result.py +++ b/instana_client/models/application_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_item.py b/instana_client/models/application_item.py index 1f53f5f..f44c175 100644 --- a/instana_client/models/application_item.py +++ b/instana_client/models/application_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_metric_result.py b/instana_client/models/application_metric_result.py index a945def..2085f99 100644 --- a/instana_client/models/application_metric_result.py +++ b/instana_client/models/application_metric_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_node.py b/instana_client/models/application_node.py index 79fae0e..2b5f251 100644 --- a/instana_client/models/application_node.py +++ b/instana_client/models/application_node.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_result.py b/instana_client/models/application_result.py index a09b681..ef3010d 100644 --- a/instana_client/models/application_result.py +++ b/instana_client/models/application_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_scope.py b/instana_client/models/application_scope.py index 2359be1..9763481 100644 --- a/instana_client/models/application_scope.py +++ b/instana_client/models/application_scope.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_scope_with_metadata.py b/instana_client/models/application_scope_with_metadata.py index b331d2e..fed061d 100644 --- a/instana_client/models/application_scope_with_metadata.py +++ b/instana_client/models/application_scope_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_sli_entity.py b/instana_client/models/application_sli_entity.py index ee8e1ca..00b3901 100644 --- a/instana_client/models/application_sli_entity.py +++ b/instana_client/models/application_sli_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_slo_entity.py b/instana_client/models/application_slo_entity.py index 9c12c02..b733273 100644 --- a/instana_client/models/application_slo_entity.py +++ b/instana_client/models/application_slo_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_time_threshold.py b/instana_client/models/application_time_threshold.py index ce34ea1..39dc7f8 100644 --- a/instana_client/models/application_time_threshold.py +++ b/instana_client/models/application_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/audit_log_ui_response.py b/instana_client/models/audit_log_ui_response.py index a666c30..4051f80 100644 --- a/instana_client/models/audit_log_ui_response.py +++ b/instana_client/models/audit_log_ui_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/author.py b/instana_client/models/author.py index 05258f4..13ac078 100644 --- a/instana_client/models/author.py +++ b/instana_client/models/author.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/availability_blueprint_indicator.py b/instana_client/models/availability_blueprint_indicator.py index 99f0b22..dae52ff 100644 --- a/instana_client/models/availability_blueprint_indicator.py +++ b/instana_client/models/availability_blueprint_indicator.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/availability_sli_entity.py b/instana_client/models/availability_sli_entity.py index 3197b0f..ea71137 100644 --- a/instana_client/models/availability_sli_entity.py +++ b/instana_client/models/availability_sli_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/available_metrics.py b/instana_client/models/available_metrics.py index bb62422..051a69e 100644 --- a/instana_client/models/available_metrics.py +++ b/instana_client/models/available_metrics.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/available_plugins.py b/instana_client/models/available_plugins.py index 270133d..b0484c8 100644 --- a/instana_client/models/available_plugins.py +++ b/instana_client/models/available_plugins.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/backend_trace_reference.py b/instana_client/models/backend_trace_reference.py index 410a3e8..23f5181 100644 --- a/instana_client/models/backend_trace_reference.py +++ b/instana_client/models/backend_trace_reference.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/bidirectional_ms_teams_app_integration.py b/instana_client/models/bidirectional_ms_teams_app_integration.py index b4cea71..9c0e43d 100644 --- a/instana_client/models/bidirectional_ms_teams_app_integration.py +++ b/instana_client/models/bidirectional_ms_teams_app_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -38,7 +38,7 @@ class BidirectionalMsTeamsAppIntegration(AbstractIntegration): team_name: Optional[StrictStr] = Field(default=None, alias="teamName") tenant_id: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="tenantId") tenant_name: Optional[StrictStr] = Field(default=None, alias="tenantName") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "apiTokenId", "channelId", "channelName", "instanaUrl", "serviceUrl", "teamId", "teamName", "tenantId", "tenantName"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "apiTokenId", "channelId", "channelName", "instanaUrl", "serviceUrl", "teamId", "teamName", "tenantId", "tenantName"] model_config = ConfigDict( populate_by_name=True, @@ -94,9 +94,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "apiTokenId": obj.get("apiTokenId"), "channelId": obj.get("channelId"), diff --git a/instana_client/models/bidirectional_slack_app_integration.py b/instana_client/models/bidirectional_slack_app_integration.py index 46c3fa4..03e887a 100644 --- a/instana_client/models/bidirectional_slack_app_integration.py +++ b/instana_client/models/bidirectional_slack_app_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -35,7 +35,7 @@ class BidirectionalSlackAppIntegration(AbstractIntegration): status: Optional[StrictStr] = None team_id: Optional[StrictStr] = Field(default=None, alias="teamId") team_name: Optional[StrictStr] = Field(default=None, alias="teamName") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "appId", "channelId", "channelName", "emojiRendering", "status", "teamId", "teamName"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "appId", "channelId", "channelName", "emojiRendering", "status", "teamId", "teamName"] model_config = ConfigDict( populate_by_name=True, @@ -91,9 +91,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "appId": obj.get("appId"), "channelId": obj.get("channelId"), diff --git a/instana_client/models/binary_operator_dto.py b/instana_client/models/binary_operator_dto.py index 9234792..005dfb8 100644 --- a/instana_client/models/binary_operator_dto.py +++ b/instana_client/models/binary_operator_dto.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/browser_script_configuration.py b/instana_client/models/browser_script_configuration.py index 22a8d88..b52af01 100644 --- a/instana_client/models/browser_script_configuration.py +++ b/instana_client/models/browser_script_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/browser_script_configuration_update.py b/instana_client/models/browser_script_configuration_update.py index 7d1a101..a180fbf 100644 --- a/instana_client/models/browser_script_configuration_update.py +++ b/instana_client/models/browser_script_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/built_in_event_specification.py b/instana_client/models/built_in_event_specification.py index f9766f3..066292d 100644 --- a/instana_client/models/built_in_event_specification.py +++ b/instana_client/models/built_in_event_specification.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/built_in_event_specification_with_last_updated.py b/instana_client/models/built_in_event_specification_with_last_updated.py index 026ab63..b7f8e68 100644 --- a/instana_client/models/built_in_event_specification_with_last_updated.py +++ b/instana_client/models/built_in_event_specification_with_last_updated.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/bulk_alert_config_request.py b/instana_client/models/bulk_alert_config_request.py index 4e31e0d..f28fdfc 100644 --- a/instana_client/models/bulk_alert_config_request.py +++ b/instana_client/models/bulk_alert_config_request.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/business_activity.py b/instana_client/models/business_activity.py index 882e6f9..9ebeec9 100644 --- a/instana_client/models/business_activity.py +++ b/instana_client/models/business_activity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/business_perspective_config.py b/instana_client/models/business_perspective_config.py index ef34646..4a2c53a 100644 --- a/instana_client/models/business_perspective_config.py +++ b/instana_client/models/business_perspective_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/call_groups_item.py b/instana_client/models/call_groups_item.py index d679d76..bb268c7 100644 --- a/instana_client/models/call_groups_item.py +++ b/instana_client/models/call_groups_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/call_groups_result.py b/instana_client/models/call_groups_result.py index da638ab..c827722 100644 --- a/instana_client/models/call_groups_result.py +++ b/instana_client/models/call_groups_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/call_relation.py b/instana_client/models/call_relation.py index ccf494e..c86e2c6 100644 --- a/instana_client/models/call_relation.py +++ b/instana_client/models/call_relation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/calls_event_result.py b/instana_client/models/calls_event_result.py new file mode 100644 index 0000000..7be5966 --- /dev/null +++ b/instana_client/models/calls_event_result.py @@ -0,0 +1,108 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from instana_client.models.event_result import EventResult +from typing import Optional, Set +from typing_extensions import Self + +class CallsEventResult(EventResult): + """ + CallsEventResult + """ # noqa: E501 + __properties: ClassVar[List[str]] = ["aggregated", "detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metadata", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "triggeringEventId", "type"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CallsEventResult from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CallsEventResult from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "aggregated": obj.get("aggregated"), + "detail": obj.get("detail"), + "end": obj.get("end"), + "entityLabel": obj.get("entityLabel"), + "entityName": obj.get("entityName"), + "entityType": obj.get("entityType"), + "eventId": obj.get("eventId"), + "eventSpecificationId": obj.get("eventSpecificationId"), + "fixSuggestion": obj.get("fixSuggestion"), + "metadata": obj.get("metadata"), + "metrics": obj.get("metrics"), + "probableCause": obj.get("probableCause"), + "problem": obj.get("problem"), + "recentEvents": obj.get("recentEvents"), + "severity": obj.get("severity"), + "shortCode": obj.get("shortCode"), + "snapshotId": obj.get("snapshotId"), + "start": obj.get("start"), + "state": obj.get("state"), + "triggeringEventId": obj.get("triggeringEventId"), + "type": obj.get("type") + }) + return _obj + + diff --git a/instana_client/models/change_summary.py b/instana_client/models/change_summary.py index e0f8efe..224e2aa 100644 --- a/instana_client/models/change_summary.py +++ b/instana_client/models/change_summary.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/cloudfoundry_physical_context.py b/instana_client/models/cloudfoundry_physical_context.py index 852be18..4a4a2ee 100644 --- a/instana_client/models/cloudfoundry_physical_context.py +++ b/instana_client/models/cloudfoundry_physical_context.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/condition.py b/instana_client/models/condition.py index bbb5fda..1e67a21 100644 --- a/instana_client/models/condition.py +++ b/instana_client/models/condition.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/config_version.py b/instana_client/models/config_version.py index 2d8d8a8..e7beba7 100644 --- a/instana_client/models/config_version.py +++ b/instana_client/models/config_version.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/correction.py b/instana_client/models/correction.py index be2a90d..7aca8f4 100644 --- a/instana_client/models/correction.py +++ b/instana_client/models/correction.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/correction_configuration.py b/instana_client/models/correction_configuration.py index c2f7d78..6316429 100644 --- a/instana_client/models/correction_configuration.py +++ b/instana_client/models/correction_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/correction_scheduling.py b/instana_client/models/correction_scheduling.py index 50da918..52db375 100644 --- a/instana_client/models/correction_scheduling.py +++ b/instana_client/models/correction_scheduling.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/correction_window.py b/instana_client/models/correction_window.py index e30dfcc..5f9bb8d 100644 --- a/instana_client/models/correction_window.py +++ b/instana_client/models/correction_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/crash_mobile_app_alert_rule.py b/instana_client/models/crash_mobile_app_alert_rule.py index 8593576..74a7029 100644 --- a/instana_client/models/crash_mobile_app_alert_rule.py +++ b/instana_client/models/crash_mobile_app_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/create_evaluation_request.py b/instana_client/models/create_evaluation_request.py index 1bf6900..aa79d0e 100644 --- a/instana_client/models/create_evaluation_request.py +++ b/instana_client/models/create_evaluation_request.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/create_evaluation_response.py b/instana_client/models/create_evaluation_response.py index be55db4..18d67c4 100644 --- a/instana_client/models/create_evaluation_response.py +++ b/instana_client/models/create_evaluation_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/create_website_request_inner.py b/instana_client/models/create_website_request_inner.py index 57d5d73..175aa82 100644 --- a/instana_client/models/create_website_request_inner.py +++ b/instana_client/models/create_website_request_inner.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/cursor_paginated_business_activity_item.py b/instana_client/models/cursor_paginated_business_activity_item.py index 6dcf5a5..6e8abe2 100644 --- a/instana_client/models/cursor_paginated_business_activity_item.py +++ b/instana_client/models/cursor_paginated_business_activity_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/cursor_pagination.py b/instana_client/models/cursor_pagination.py index b7e2083..332a0d1 100644 --- a/instana_client/models/cursor_pagination.py +++ b/instana_client/models/cursor_pagination.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/cursor_pagination_with_ui_cursor_infra_explore_cursor.py b/instana_client/models/cursor_pagination_with_ui_cursor_infra_explore_cursor.py index 1c4d902..609782a 100644 --- a/instana_client/models/cursor_pagination_with_ui_cursor_infra_explore_cursor.py +++ b/instana_client/models/cursor_pagination_with_ui_cursor_infra_explore_cursor.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_blueprint_indicator.py b/instana_client/models/custom_blueprint_indicator.py index 74446a4..76c424a 100644 --- a/instana_client/models/custom_blueprint_indicator.py +++ b/instana_client/models/custom_blueprint_indicator.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_dashboard.py b/instana_client/models/custom_dashboard.py index 088126a..7177c39 100644 --- a/instana_client/models/custom_dashboard.py +++ b/instana_client/models/custom_dashboard.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_dashboard_preview.py b/instana_client/models/custom_dashboard_preview.py index 2e8eca0..3d8253a 100644 --- a/instana_client/models/custom_dashboard_preview.py +++ b/instana_client/models/custom_dashboard_preview.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_dashboard_with_user_specific_information.py b/instana_client/models/custom_dashboard_with_user_specific_information.py index 9ba50e0..4da58a8 100644 --- a/instana_client/models/custom_dashboard_with_user_specific_information.py +++ b/instana_client/models/custom_dashboard_with_user_specific_information.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_dependency.py b/instana_client/models/custom_dependency.py index e491ce1..ae1b99d 100644 --- a/instana_client/models/custom_dependency.py +++ b/instana_client/models/custom_dependency.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_email_subject_prefix.py b/instana_client/models/custom_email_subject_prefix.py index 463ea64..a52f09f 100644 --- a/instana_client/models/custom_email_subject_prefix.py +++ b/instana_client/models/custom_email_subject_prefix.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_entity_model.py b/instana_client/models/custom_entity_model.py index bc1710e..151bb8b 100644 --- a/instana_client/models/custom_entity_model.py +++ b/instana_client/models/custom_entity_model.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_entity_with_metadata.py b/instana_client/models/custom_entity_with_metadata.py index 83fcdb5..a80b747 100644 --- a/instana_client/models/custom_entity_with_metadata.py +++ b/instana_client/models/custom_entity_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_event_mobile_app_alert_rule.py b/instana_client/models/custom_event_mobile_app_alert_rule.py index 22877e0..84a49ae 100644 --- a/instana_client/models/custom_event_mobile_app_alert_rule.py +++ b/instana_client/models/custom_event_mobile_app_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_event_specification.py b/instana_client/models/custom_event_specification.py index d389e38..5ccd057 100644 --- a/instana_client/models/custom_event_specification.py +++ b/instana_client/models/custom_event_specification.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_event_specification_with_last_updated.py b/instana_client/models/custom_event_specification_with_last_updated.py index a785302..fe1f9ef 100644 --- a/instana_client/models/custom_event_specification_with_last_updated.py +++ b/instana_client/models/custom_event_specification_with_last_updated.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_event_website_alert_rule.py b/instana_client/models/custom_event_website_alert_rule.py index 73ce36b..811f245 100644 --- a/instana_client/models/custom_event_website_alert_rule.py +++ b/instana_client/models/custom_event_website_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_metric.py b/instana_client/models/custom_metric.py index 78d3019..2af5456 100644 --- a/instana_client/models/custom_metric.py +++ b/instana_client/models/custom_metric.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -61,8 +61,8 @@ def section_validate_enum(cls, value): if value is None: return value - if value not in set(['ACE', 'ALICLOUD', 'AWS', 'AZURE', 'CASSANDRA', 'CLOUD_FOUNDRY', 'CLR', 'COCKROACH', 'CONSUL', 'CONTAINER', 'COUCHBASE', 'DFQ', 'ELASTICSEARCH', 'GCP', 'HADOOP_YARN', 'HAZELCAST', 'IBM_CLOUD', 'IBM_DATAPOWER', 'IBM_I_SERIES', 'IBM_MQ', 'IBM_MQMFT', 'IBM_OPENSTACK', 'KAFKA_CONNECT', 'KUBERNETES', 'MONGO_DB', 'MSSQL', 'ORACLE_DB', 'OTHERS', 'POSTGRESQL', 'REDIS', 'SAP', 'SELF_MONITORING', 'SOLR', 'SPARK', 'TIBCOBW', 'TUXEDO', 'VSHPERE', 'WEBSPHERE', 'CUSTOM_ENTITY']): - raise ValueError("must be one of enum values ('ACE', 'ALICLOUD', 'AWS', 'AZURE', 'CASSANDRA', 'CLOUD_FOUNDRY', 'CLR', 'COCKROACH', 'CONSUL', 'CONTAINER', 'COUCHBASE', 'DFQ', 'ELASTICSEARCH', 'GCP', 'HADOOP_YARN', 'HAZELCAST', 'IBM_CLOUD', 'IBM_DATAPOWER', 'IBM_I_SERIES', 'IBM_MQ', 'IBM_MQMFT', 'IBM_OPENSTACK', 'KAFKA_CONNECT', 'KUBERNETES', 'MONGO_DB', 'MSSQL', 'ORACLE_DB', 'OTHERS', 'POSTGRESQL', 'REDIS', 'SAP', 'SELF_MONITORING', 'SOLR', 'SPARK', 'TIBCOBW', 'TUXEDO', 'VSHPERE', 'WEBSPHERE', 'CUSTOM_ENTITY')") + if value not in set(['ACE', 'AI', 'ALICLOUD', 'AWS', 'AZURE', 'CASSANDRA', 'CLOUD_FOUNDRY', 'CLR', 'COCKROACH', 'CONSUL', 'CONTAINER', 'COUCHBASE', 'DFQ', 'DIRECTORY', 'ELASTICSEARCH', 'GCP', 'HADOOP_YARN', 'HOST', 'HAZELCAST', 'IBM_CLOUD', 'IBM_DATAPOWER', 'IBM_I_SERIES', 'IBM_MQMFT', 'IBM_OPENSTACK', 'IBM_Z', 'MESSAGING', 'OPENTELEMETRY', 'WEB_SERVER', 'APP_SERVER', 'RUNTIME', 'DATABASE', 'KUBERNETES', 'MONGO_DB', 'MSSQL', 'ORACLE_DB', 'OTHERS', 'POSTGRESQL', 'SAP', 'SELF_MONITORING', 'SOLR', 'SPARK', 'TIBCOBW', 'TUXEDO', 'WEBSPHERE', 'IBM_POWER', 'MAPR', 'VIRTUALIZATION', 'APPLICATION', 'API_GATEWAY', 'LOAD_BALANCER', 'IBM_API_CONNECT', 'IBM_INFOSPHERE', 'CUSTOM_ENTITY']): + raise ValueError("must be one of enum values ('ACE', 'AI', 'ALICLOUD', 'AWS', 'AZURE', 'CASSANDRA', 'CLOUD_FOUNDRY', 'CLR', 'COCKROACH', 'CONSUL', 'CONTAINER', 'COUCHBASE', 'DFQ', 'DIRECTORY', 'ELASTICSEARCH', 'GCP', 'HADOOP_YARN', 'HOST', 'HAZELCAST', 'IBM_CLOUD', 'IBM_DATAPOWER', 'IBM_I_SERIES', 'IBM_MQMFT', 'IBM_OPENSTACK', 'IBM_Z', 'MESSAGING', 'OPENTELEMETRY', 'WEB_SERVER', 'APP_SERVER', 'RUNTIME', 'DATABASE', 'KUBERNETES', 'MONGO_DB', 'MSSQL', 'ORACLE_DB', 'OTHERS', 'POSTGRESQL', 'SAP', 'SELF_MONITORING', 'SOLR', 'SPARK', 'TIBCOBW', 'TUXEDO', 'WEBSPHERE', 'IBM_POWER', 'MAPR', 'VIRTUALIZATION', 'APPLICATION', 'API_GATEWAY', 'LOAD_BALANCER', 'IBM_API_CONNECT', 'IBM_INFOSPHERE', 'CUSTOM_ENTITY')") return value model_config = ConfigDict( diff --git a/instana_client/models/custom_metric_application_alert_rule.py b/instana_client/models/custom_metric_application_alert_rule.py index 82f6972..cd396f1 100644 --- a/instana_client/models/custom_metric_application_alert_rule.py +++ b/instana_client/models/custom_metric_application_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_payload_configuration.py b/instana_client/models/custom_payload_configuration.py index 023ce86..9148bac 100644 --- a/instana_client/models/custom_payload_configuration.py +++ b/instana_client/models/custom_payload_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_payload_field.py b/instana_client/models/custom_payload_field.py index 08a77b6..7f24b92 100644 --- a/instana_client/models/custom_payload_field.py +++ b/instana_client/models/custom_payload_field.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_payload_with_last_updated.py b/instana_client/models/custom_payload_with_last_updated.py index 19de0c9..2cac5c1 100644 --- a/instana_client/models/custom_payload_with_last_updated.py +++ b/instana_client/models/custom_payload_with_last_updated.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_payload_with_version.py b/instana_client/models/custom_payload_with_version.py index 5f07b74..77bdce6 100644 --- a/instana_client/models/custom_payload_with_version.py +++ b/instana_client/models/custom_payload_with_version.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_tag.py b/instana_client/models/custom_tag.py index cd3b416..905bfc7 100644 --- a/instana_client/models/custom_tag.py +++ b/instana_client/models/custom_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -53,8 +53,8 @@ def section_validate_enum(cls, value): if value is None: return value - if value not in set(['ACE', 'ALICLOUD', 'AWS', 'AZURE', 'CASSANDRA', 'CLOUD_FOUNDRY', 'CLR', 'COCKROACH', 'CONSUL', 'CONTAINER', 'COUCHBASE', 'DFQ', 'ELASTICSEARCH', 'GCP', 'HADOOP_YARN', 'HAZELCAST', 'IBM_CLOUD', 'IBM_DATAPOWER', 'IBM_I_SERIES', 'IBM_MQ', 'IBM_MQMFT', 'IBM_OPENSTACK', 'KAFKA_CONNECT', 'KUBERNETES', 'MONGO_DB', 'MSSQL', 'ORACLE_DB', 'OTHERS', 'POSTGRESQL', 'REDIS', 'SAP', 'SELF_MONITORING', 'SOLR', 'SPARK', 'TIBCOBW', 'TUXEDO', 'VSHPERE', 'WEBSPHERE', 'CUSTOM_ENTITY']): - raise ValueError("must be one of enum values ('ACE', 'ALICLOUD', 'AWS', 'AZURE', 'CASSANDRA', 'CLOUD_FOUNDRY', 'CLR', 'COCKROACH', 'CONSUL', 'CONTAINER', 'COUCHBASE', 'DFQ', 'ELASTICSEARCH', 'GCP', 'HADOOP_YARN', 'HAZELCAST', 'IBM_CLOUD', 'IBM_DATAPOWER', 'IBM_I_SERIES', 'IBM_MQ', 'IBM_MQMFT', 'IBM_OPENSTACK', 'KAFKA_CONNECT', 'KUBERNETES', 'MONGO_DB', 'MSSQL', 'ORACLE_DB', 'OTHERS', 'POSTGRESQL', 'REDIS', 'SAP', 'SELF_MONITORING', 'SOLR', 'SPARK', 'TIBCOBW', 'TUXEDO', 'VSHPERE', 'WEBSPHERE', 'CUSTOM_ENTITY')") + if value not in set(['ACE', 'AI', 'ALICLOUD', 'AWS', 'AZURE', 'CASSANDRA', 'CLOUD_FOUNDRY', 'CLR', 'COCKROACH', 'CONSUL', 'CONTAINER', 'COUCHBASE', 'DFQ', 'DIRECTORY', 'ELASTICSEARCH', 'GCP', 'HADOOP_YARN', 'HOST', 'HAZELCAST', 'IBM_CLOUD', 'IBM_DATAPOWER', 'IBM_I_SERIES', 'IBM_MQMFT', 'IBM_OPENSTACK', 'IBM_Z', 'MESSAGING', 'OPENTELEMETRY', 'WEB_SERVER', 'APP_SERVER', 'RUNTIME', 'DATABASE', 'KUBERNETES', 'MONGO_DB', 'MSSQL', 'ORACLE_DB', 'OTHERS', 'POSTGRESQL', 'SAP', 'SELF_MONITORING', 'SOLR', 'SPARK', 'TIBCOBW', 'TUXEDO', 'WEBSPHERE', 'IBM_POWER', 'MAPR', 'VIRTUALIZATION', 'APPLICATION', 'API_GATEWAY', 'LOAD_BALANCER', 'IBM_API_CONNECT', 'IBM_INFOSPHERE', 'CUSTOM_ENTITY']): + raise ValueError("must be one of enum values ('ACE', 'AI', 'ALICLOUD', 'AWS', 'AZURE', 'CASSANDRA', 'CLOUD_FOUNDRY', 'CLR', 'COCKROACH', 'CONSUL', 'CONTAINER', 'COUCHBASE', 'DFQ', 'DIRECTORY', 'ELASTICSEARCH', 'GCP', 'HADOOP_YARN', 'HOST', 'HAZELCAST', 'IBM_CLOUD', 'IBM_DATAPOWER', 'IBM_I_SERIES', 'IBM_MQMFT', 'IBM_OPENSTACK', 'IBM_Z', 'MESSAGING', 'OPENTELEMETRY', 'WEB_SERVER', 'APP_SERVER', 'RUNTIME', 'DATABASE', 'KUBERNETES', 'MONGO_DB', 'MSSQL', 'ORACLE_DB', 'OTHERS', 'POSTGRESQL', 'SAP', 'SELF_MONITORING', 'SOLR', 'SPARK', 'TIBCOBW', 'TUXEDO', 'WEBSPHERE', 'IBM_POWER', 'MAPR', 'VIRTUALIZATION', 'APPLICATION', 'API_GATEWAY', 'LOAD_BALANCER', 'IBM_API_CONNECT', 'IBM_INFOSPHERE', 'CUSTOM_ENTITY')") return value model_config = ConfigDict( diff --git a/instana_client/models/customer_email.py b/instana_client/models/customer_email.py index 1bd5f61..9579cb7 100644 --- a/instana_client/models/customer_email.py +++ b/instana_client/models/customer_email.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dashboard_api_token.py b/instana_client/models/dashboard_api_token.py index a6510e4..7cbb2db 100644 --- a/instana_client/models/dashboard_api_token.py +++ b/instana_client/models/dashboard_api_token.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/database_integration.py b/instana_client/models/database_integration.py index 9ceb8e2..d324fec 100644 --- a/instana_client/models/database_integration.py +++ b/instana_client/models/database_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/deprecated_tag_filter.py b/instana_client/models/deprecated_tag_filter.py index ab34bb4..1464686 100644 --- a/instana_client/models/deprecated_tag_filter.py +++ b/instana_client/models/deprecated_tag_filter.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dns_configuration.py b/instana_client/models/dns_configuration.py index 1d3f2a0..32edd1e 100644 --- a/instana_client/models/dns_configuration.py +++ b/instana_client/models/dns_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dns_configuration_update.py b/instana_client/models/dns_configuration_update.py index 409babc..abf2872 100644 --- a/instana_client/models/dns_configuration_update.py +++ b/instana_client/models/dns_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dns_filter_query_time.py b/instana_client/models/dns_filter_query_time.py index 0811152..51c14a4 100644 --- a/instana_client/models/dns_filter_query_time.py +++ b/instana_client/models/dns_filter_query_time.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dns_filter_target_value.py b/instana_client/models/dns_filter_target_value.py index 3e26fbe..982549a 100644 --- a/instana_client/models/dns_filter_target_value.py +++ b/instana_client/models/dns_filter_target_value.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/duration.py b/instana_client/models/duration.py index 1627a00..fcb1f18 100644 --- a/instana_client/models/duration.py +++ b/instana_client/models/duration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dynamic_field.py b/instana_client/models/dynamic_field.py index 39c8704..dd5358d 100644 --- a/instana_client/models/dynamic_field.py +++ b/instana_client/models/dynamic_field.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dynamic_field_value.py b/instana_client/models/dynamic_field_value.py index 38b33a2..71f2900 100644 --- a/instana_client/models/dynamic_field_value.py +++ b/instana_client/models/dynamic_field_value.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dynamic_parameter.py b/instana_client/models/dynamic_parameter.py index a52c730..c2a61a2 100644 --- a/instana_client/models/dynamic_parameter.py +++ b/instana_client/models/dynamic_parameter.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dynamic_tag.py b/instana_client/models/dynamic_tag.py index aa39222..249bb65 100644 --- a/instana_client/models/dynamic_tag.py +++ b/instana_client/models/dynamic_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/edit_user.py b/instana_client/models/edit_user.py index 4a81166..0ce79af 100644 --- a/instana_client/models/edit_user.py +++ b/instana_client/models/edit_user.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/email_integration.py b/instana_client/models/email_integration.py index 6f40b8b..39f50c5 100644 --- a/instana_client/models/email_integration.py +++ b/instana_client/models/email_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -33,7 +33,7 @@ class EmailIntegration(AbstractIntegration): custom_email_subject_prefix: Optional[CustomEmailSubjectPrefix] = Field(default=None, alias="customEmailSubjectPrefix") emails: Annotated[List[Annotated[str, Field(min_length=1, strict=True)]], Field(min_length=1)] transformation_expression: Optional[StrictStr] = Field(default=None, alias="transformationExpression") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "customEmailSubjectPrefix", "emails", "transformationExpression"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "customEmailSubjectPrefix", "emails", "transformationExpression"] model_config = ConfigDict( populate_by_name=True, @@ -92,9 +92,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "customEmailSubjectPrefix": CustomEmailSubjectPrefix.from_dict(obj["customEmailSubjectPrefix"]) if obj.get("customEmailSubjectPrefix") is not None else None, "emails": obj.get("emails"), diff --git a/instana_client/models/empty_configuration.py b/instana_client/models/empty_configuration.py index 78bc7d9..c79b811 100644 --- a/instana_client/models/empty_configuration.py +++ b/instana_client/models/empty_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/endpoint.py b/instana_client/models/endpoint.py index 978c244..8bbc341 100644 --- a/instana_client/models/endpoint.py +++ b/instana_client/models/endpoint.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/endpoint_config.py b/instana_client/models/endpoint_config.py index 161b817..6005079 100644 --- a/instana_client/models/endpoint_config.py +++ b/instana_client/models/endpoint_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/endpoint_event_result.py b/instana_client/models/endpoint_event_result.py index 1785613..63d6889 100644 --- a/instana_client/models/endpoint_event_result.py +++ b/instana_client/models/endpoint_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/endpoint_item.py b/instana_client/models/endpoint_item.py index 97df52b..b780750 100644 --- a/instana_client/models/endpoint_item.py +++ b/instana_client/models/endpoint_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/endpoint_metric_result.py b/instana_client/models/endpoint_metric_result.py index f323b7e..c69c528 100644 --- a/instana_client/models/endpoint_metric_result.py +++ b/instana_client/models/endpoint_metric_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/endpoint_node.py b/instana_client/models/endpoint_node.py index f5145ee..cb5f638 100644 --- a/instana_client/models/endpoint_node.py +++ b/instana_client/models/endpoint_node.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/endpoint_result.py b/instana_client/models/endpoint_result.py index c5d9a2f..3f3551a 100644 --- a/instana_client/models/endpoint_result.py +++ b/instana_client/models/endpoint_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/endpoint_simple.py b/instana_client/models/endpoint_simple.py index 0d3f8dd..39a3e89 100644 --- a/instana_client/models/endpoint_simple.py +++ b/instana_client/models/endpoint_simple.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/entity_count_rule.py b/instana_client/models/entity_count_rule.py index f00ab19..9847f55 100644 --- a/instana_client/models/entity_count_rule.py +++ b/instana_client/models/entity_count_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/entity_count_verification_rule.py b/instana_client/models/entity_count_verification_rule.py index 21e2261..488ed26 100644 --- a/instana_client/models/entity_count_verification_rule.py +++ b/instana_client/models/entity_count_verification_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/entity_health_info.py b/instana_client/models/entity_health_info.py index 6633eda..303f05e 100644 --- a/instana_client/models/entity_health_info.py +++ b/instana_client/models/entity_health_info.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/entity_id.py b/instana_client/models/entity_id.py index 9975b09..bd8b7ea 100644 --- a/instana_client/models/entity_id.py +++ b/instana_client/models/entity_id.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/entity_metric.py b/instana_client/models/entity_metric.py index 52b3895..a770657 100644 --- a/instana_client/models/entity_metric.py +++ b/instana_client/models/entity_metric.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/entity_metric_scope.py b/instana_client/models/entity_metric_scope.py index e7c2504..527f920 100644 --- a/instana_client/models/entity_metric_scope.py +++ b/instana_client/models/entity_metric_scope.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/entity_verification_rule.py b/instana_client/models/entity_verification_rule.py index c8760df..75eee42 100644 --- a/instana_client/models/entity_verification_rule.py +++ b/instana_client/models/entity_verification_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/error_budget_alert_rule.py b/instana_client/models/error_budget_alert_rule.py index 5ed4cf4..d451154 100644 --- a/instana_client/models/error_budget_alert_rule.py +++ b/instana_client/models/error_budget_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/errors_application_alert_rule.py b/instana_client/models/errors_application_alert_rule.py index 918f978..8c98b38 100644 --- a/instana_client/models/errors_application_alert_rule.py +++ b/instana_client/models/errors_application_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/evaluation_detail_response.py b/instana_client/models/evaluation_detail_response.py index 5e33fda..09df269 100644 --- a/instana_client/models/evaluation_detail_response.py +++ b/instana_client/models/evaluation_detail_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/evaluation_list_item.py b/instana_client/models/evaluation_list_item.py index 83beeff..7b07345 100644 --- a/instana_client/models/evaluation_list_item.py +++ b/instana_client/models/evaluation_list_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/evaluation_list_response.py b/instana_client/models/evaluation_list_response.py index b107a78..7246a34 100644 --- a/instana_client/models/evaluation_list_response.py +++ b/instana_client/models/evaluation_list_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/evaluator.py b/instana_client/models/evaluator.py index ff2f168..486eb8f 100644 --- a/instana_client/models/evaluator.py +++ b/instana_client/models/evaluator.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/event.py b/instana_client/models/event.py index 22e3c76..0d8c852 100644 --- a/instana_client/models/event.py +++ b/instana_client/models/event.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -56,8 +56,8 @@ def entity_type_validate_enum(cls, value): if value is None: return value - if value not in set(['Entity10', 'App20', 'Service20', 'Endpoint20', 'Website', 'Synthetic', 'MobileApp', 'Log']): - raise ValueError("must be one of enum values ('Entity10', 'App20', 'Service20', 'Endpoint20', 'Website', 'Synthetic', 'MobileApp', 'Log')") + if value not in set(['Entity10', 'App20', 'Service20', 'Endpoint20', 'Website', 'Synthetic', 'MobileApp', 'Log', 'Calls']): + raise ValueError("must be one of enum values ('Entity10', 'App20', 'Service20', 'Endpoint20', 'Website', 'Synthetic', 'MobileApp', 'Log', 'Calls')") return value model_config = ConfigDict( diff --git a/instana_client/models/event_filtering_configuration.py b/instana_client/models/event_filtering_configuration.py index 2528495..44688d4 100644 --- a/instana_client/models/event_filtering_configuration.py +++ b/instana_client/models/event_filtering_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/event_result.py b/instana_client/models/event_result.py index 93e4fcd..8b81509 100644 --- a/instana_client/models/event_result.py +++ b/instana_client/models/event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -27,6 +27,7 @@ from typing import TYPE_CHECKING if TYPE_CHECKING: from instana_client.models.application_event_result import ApplicationEventResult + from instana_client.models.calls_event_result import CallsEventResult from instana_client.models.endpoint_event_result import EndpointEventResult from instana_client.models.infra_event_result import InfraEventResult from instana_client.models.log_event_result import LogEventResult @@ -74,7 +75,7 @@ class EventResult(BaseModel): # discriminator mappings __discriminator_value_class_map: ClassVar[Dict[str, str]] = { - 'APPLICATION': 'ApplicationEventResult','ENDPOINT': 'EndpointEventResult','INFRASTRUCTURE': 'InfraEventResult','LOG': 'LogEventResult','MOBILE_APP': 'MobileAppEventResult','SERVICE': 'ServiceEventResult','SYNTHETICS': 'SyntheticsEventResult','WEBSITE': 'WebsiteEventResult' + 'APPLICATION': 'ApplicationEventResult','CALLS': 'CallsEventResult','ENDPOINT': 'EndpointEventResult','INFRASTRUCTURE': 'InfraEventResult','LOG': 'LogEventResult','MOBILE_APP': 'MobileAppEventResult','SERVICE': 'ServiceEventResult','SYNTHETICS': 'SyntheticsEventResult','WEBSITE': 'WebsiteEventResult' } @classmethod @@ -96,7 +97,7 @@ def to_json(self) -> str: return json.dumps(self.to_dict()) @classmethod - def from_json(cls, json_str: str) -> Optional[Union[ApplicationEventResult, EndpointEventResult, InfraEventResult, LogEventResult, MobileAppEventResult, ServiceEventResult, SyntheticsEventResult, WebsiteEventResult]]: + def from_json(cls, json_str: str) -> Optional[Union[ApplicationEventResult, CallsEventResult, EndpointEventResult, InfraEventResult, LogEventResult, MobileAppEventResult, ServiceEventResult, SyntheticsEventResult, WebsiteEventResult]]: """Create an instance of EventResult from a JSON string""" return cls.from_dict(json.loads(json_str)) @@ -121,12 +122,14 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Union[ApplicationEventResult, EndpointEventResult, InfraEventResult, LogEventResult, MobileAppEventResult, ServiceEventResult, SyntheticsEventResult, WebsiteEventResult]]: + def from_dict(cls, obj: Dict[str, Any]) -> Optional[Union[ApplicationEventResult, CallsEventResult, EndpointEventResult, InfraEventResult, LogEventResult, MobileAppEventResult, ServiceEventResult, SyntheticsEventResult, WebsiteEventResult]]: """Create an instance of EventResult from a dict""" # look up the object type based on discriminator mapping object_type = cls.get_discriminator_value(obj) if object_type == 'ApplicationEventResult': return import_module("instana_client.models.application_event_result").ApplicationEventResult.from_dict(obj) + if object_type == 'CallsEventResult': + return import_module("instana_client.models.calls_event_result").CallsEventResult.from_dict(obj) if object_type == 'EndpointEventResult': return import_module("instana_client.models.endpoint_event_result").EndpointEventResult.from_dict(obj) if object_type == 'InfraEventResult': diff --git a/instana_client/models/event_specification_info.py b/instana_client/models/event_specification_info.py index 38ef306..467ba30 100644 --- a/instana_client/models/event_specification_info.py +++ b/instana_client/models/event_specification_info.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/extended_service.py b/instana_client/models/extended_service.py index 0b37316..e0f584f 100644 --- a/instana_client/models/extended_service.py +++ b/instana_client/models/extended_service.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/failure_synthetic_alert_rule.py b/instana_client/models/failure_synthetic_alert_rule.py index d54dca6..b2dccf0 100644 --- a/instana_client/models/failure_synthetic_alert_rule.py +++ b/instana_client/models/failure_synthetic_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/filter_interface.py b/instana_client/models/filter_interface.py index 1df4f60..e7b02fa 100644 --- a/instana_client/models/filter_interface.py +++ b/instana_client/models/filter_interface.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/fixed_http_path_segment_matching_rule.py b/instana_client/models/fixed_http_path_segment_matching_rule.py index f8e4b1a..6018c0e 100644 --- a/instana_client/models/fixed_http_path_segment_matching_rule.py +++ b/instana_client/models/fixed_http_path_segment_matching_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/fixed_time_window.py b/instana_client/models/fixed_time_window.py index 42d0072..b8b114e 100644 --- a/instana_client/models/fixed_time_window.py +++ b/instana_client/models/fixed_time_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/gateway_status_response.py b/instana_client/models/gateway_status_response.py index 403f617..6bdb9c8 100644 --- a/instana_client/models/gateway_status_response.py +++ b/instana_client/models/gateway_status_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/generic_infra_alert_rule.py b/instana_client/models/generic_infra_alert_rule.py index 9823e13..7e3315a 100644 --- a/instana_client/models/generic_infra_alert_rule.py +++ b/instana_client/models/generic_infra_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/geo_location_configuration.py b/instana_client/models/geo_location_configuration.py index 20e8238..5e086c5 100644 --- a/instana_client/models/geo_location_configuration.py +++ b/instana_client/models/geo_location_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/geo_mapping_rule.py b/instana_client/models/geo_mapping_rule.py index a232f8a..773d9d6 100644 --- a/instana_client/models/geo_mapping_rule.py +++ b/instana_client/models/geo_mapping_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/geo_subdivision.py b/instana_client/models/geo_subdivision.py index 4c8a918..012a8ea 100644 --- a/instana_client/models/geo_subdivision.py +++ b/instana_client/models/geo_subdivision.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_action_beacons_result.py b/instana_client/models/get_action_beacons_result.py index cf28342..1824e76 100644 --- a/instana_client/models/get_action_beacons_result.py +++ b/instana_client/models/get_action_beacons_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_activities.py b/instana_client/models/get_activities.py index efadff1..29607f6 100644 --- a/instana_client/models/get_activities.py +++ b/instana_client/models/get_activities.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_application_metrics.py b/instana_client/models/get_application_metrics.py index 15ba66d..2d39370 100644 --- a/instana_client/models/get_application_metrics.py +++ b/instana_client/models/get_application_metrics.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_applications.py b/instana_client/models/get_applications.py index bb828ec..6b38663 100644 --- a/instana_client/models/get_applications.py +++ b/instana_client/models/get_applications.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_available_metrics_query.py b/instana_client/models/get_available_metrics_query.py index 6b97386..6195358 100644 --- a/instana_client/models/get_available_metrics_query.py +++ b/instana_client/models/get_available_metrics_query.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_available_plugins_query.py b/instana_client/models/get_available_plugins_query.py index 6328609..f4d73f8 100644 --- a/instana_client/models/get_available_plugins_query.py +++ b/instana_client/models/get_available_plugins_query.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_call_groups.py b/instana_client/models/get_call_groups.py index 763b811..c040392 100644 --- a/instana_client/models/get_call_groups.py +++ b/instana_client/models/get_call_groups.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_combined_metrics.py b/instana_client/models/get_combined_metrics.py index 7e27f7d..518c003 100644 --- a/instana_client/models/get_combined_metrics.py +++ b/instana_client/models/get_combined_metrics.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_dynamic_parameter_values.py b/instana_client/models/get_dynamic_parameter_values.py index c063f07..6254a26 100644 --- a/instana_client/models/get_dynamic_parameter_values.py +++ b/instana_client/models/get_dynamic_parameter_values.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_endpoints.py b/instana_client/models/get_endpoints.py index 7665e3a..7ef642b 100644 --- a/instana_client/models/get_endpoints.py +++ b/instana_client/models/get_endpoints.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_infrastructure_groups_query.py b/instana_client/models/get_infrastructure_groups_query.py index f25e2db..5b35a54 100644 --- a/instana_client/models/get_infrastructure_groups_query.py +++ b/instana_client/models/get_infrastructure_groups_query.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_infrastructure_query.py b/instana_client/models/get_infrastructure_query.py index 8c6a29e..b262cf4 100644 --- a/instana_client/models/get_infrastructure_query.py +++ b/instana_client/models/get_infrastructure_query.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_metrics_result.py b/instana_client/models/get_metrics_result.py index e357f23..d5c21f5 100644 --- a/instana_client/models/get_metrics_result.py +++ b/instana_client/models/get_metrics_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_mobile_app_beacon_groups.py b/instana_client/models/get_mobile_app_beacon_groups.py index f3a5dbe..c2862ce 100644 --- a/instana_client/models/get_mobile_app_beacon_groups.py +++ b/instana_client/models/get_mobile_app_beacon_groups.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_mobile_app_beacons.py b/instana_client/models/get_mobile_app_beacons.py index d7c3ea6..7448f04 100644 --- a/instana_client/models/get_mobile_app_beacons.py +++ b/instana_client/models/get_mobile_app_beacons.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_mobile_app_metrics.py b/instana_client/models/get_mobile_app_metrics.py index 6081a94..fb34d61 100644 --- a/instana_client/models/get_mobile_app_metrics.py +++ b/instana_client/models/get_mobile_app_metrics.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_mobile_app_metrics_v2.py b/instana_client/models/get_mobile_app_metrics_v2.py index ff62a53..7e4aaeb 100644 --- a/instana_client/models/get_mobile_app_metrics_v2.py +++ b/instana_client/models/get_mobile_app_metrics_v2.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_payload_keys_result.py b/instana_client/models/get_payload_keys_result.py index c7f3d54..105a1d2 100644 --- a/instana_client/models/get_payload_keys_result.py +++ b/instana_client/models/get_payload_keys_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_services.py b/instana_client/models/get_services.py index 51f3b4c..4a1ef76 100644 --- a/instana_client/models/get_services.py +++ b/instana_client/models/get_services.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_session_replay_metadata_result.py b/instana_client/models/get_session_replay_metadata_result.py index e6ecdad..999d5e3 100644 --- a/instana_client/models/get_session_replay_metadata_result.py +++ b/instana_client/models/get_session_replay_metadata_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_snapshots_query.py b/instana_client/models/get_snapshots_query.py index 8652c3d..39af5fd 100644 --- a/instana_client/models/get_snapshots_query.py +++ b/instana_client/models/get_snapshots_query.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_test_result.py b/instana_client/models/get_test_result.py index d0d371a..d9a6678 100644 --- a/instana_client/models/get_test_result.py +++ b/instana_client/models/get_test_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_test_result_analytic.py b/instana_client/models/get_test_result_analytic.py index ecb4505..f68605e 100644 --- a/instana_client/models/get_test_result_analytic.py +++ b/instana_client/models/get_test_result_analytic.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_test_result_base.py b/instana_client/models/get_test_result_base.py index 6a6fcba..ded38cf 100644 --- a/instana_client/models/get_test_result_base.py +++ b/instana_client/models/get_test_result_base.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_test_result_list.py b/instana_client/models/get_test_result_list.py index 02ba1c3..fc78182 100644 --- a/instana_client/models/get_test_result_list.py +++ b/instana_client/models/get_test_result_list.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_test_summary_result.py b/instana_client/models/get_test_summary_result.py index 2c0fc3e..0e68e3a 100644 --- a/instana_client/models/get_test_summary_result.py +++ b/instana_client/models/get_test_summary_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_trace_download_result_item.py b/instana_client/models/get_trace_download_result_item.py index 735a4aa..b441ec0 100644 --- a/instana_client/models/get_trace_download_result_item.py +++ b/instana_client/models/get_trace_download_result_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_trace_groups.py b/instana_client/models/get_trace_groups.py index ae85b2c..b3a67de 100644 --- a/instana_client/models/get_trace_groups.py +++ b/instana_client/models/get_trace_groups.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_traces.py b/instana_client/models/get_traces.py index 01807e8..3f9ae59 100644 --- a/instana_client/models/get_traces.py +++ b/instana_client/models/get_traces.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_website_beacon_groups.py b/instana_client/models/get_website_beacon_groups.py index d871838..a6931e8 100644 --- a/instana_client/models/get_website_beacon_groups.py +++ b/instana_client/models/get_website_beacon_groups.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_website_beacons.py b/instana_client/models/get_website_beacons.py index 8e24ce5..eac5520 100644 --- a/instana_client/models/get_website_beacons.py +++ b/instana_client/models/get_website_beacons.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_website_metrics.py b/instana_client/models/get_website_metrics.py index bfba25a..2b643b1 100644 --- a/instana_client/models/get_website_metrics.py +++ b/instana_client/models/get_website_metrics.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_website_metrics_v2.py b/instana_client/models/get_website_metrics_v2.py index 2b8bbe1..a876f59 100644 --- a/instana_client/models/get_website_metrics_v2.py +++ b/instana_client/models/get_website_metrics_v2.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/git_hub_configuration.py b/instana_client/models/git_hub_configuration.py index b14f3f8..b6c4a36 100644 --- a/instana_client/models/git_hub_configuration.py +++ b/instana_client/models/git_hub_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/global_application_alert_config_with_metadata.py b/instana_client/models/global_application_alert_config_with_metadata.py index 0b92049..985fb7a 100644 --- a/instana_client/models/global_application_alert_config_with_metadata.py +++ b/instana_client/models/global_application_alert_config_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/global_applications_alert_config.py b/instana_client/models/global_applications_alert_config.py index 9c744ba..54a02a1 100644 --- a/instana_client/models/global_applications_alert_config.py +++ b/instana_client/models/global_applications_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/google_chat_integration.py b/instana_client/models/google_chat_integration.py index 51d9bdd..b09845a 100644 --- a/instana_client/models/google_chat_integration.py +++ b/instana_client/models/google_chat_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -30,7 +30,7 @@ class GoogleChatIntegration(AbstractIntegration): GoogleChatIntegration """ # noqa: E501 webhook_url: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="webhookUrl") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "webhookUrl"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "webhookUrl"] model_config = ConfigDict( populate_by_name=True, @@ -86,9 +86,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "webhookUrl": obj.get("webhookUrl") }) diff --git a/instana_client/models/graph_edge.py b/instana_client/models/graph_edge.py index 7e7e16b..38f4998 100644 --- a/instana_client/models/graph_edge.py +++ b/instana_client/models/graph_edge.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/graph_node.py b/instana_client/models/graph_node.py index 93513af..be15445 100644 --- a/instana_client/models/graph_node.py +++ b/instana_client/models/graph_node.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/group.py b/instana_client/models/group.py index 9f914e1..7482667 100644 --- a/instana_client/models/group.py +++ b/instana_client/models/group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/group_by_tag.py b/instana_client/models/group_by_tag.py index c5890fd..00ea177 100644 --- a/instana_client/models/group_by_tag.py +++ b/instana_client/models/group_by_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/group_mapping.py b/instana_client/models/group_mapping.py index 3cc8c70..0d436a7 100644 --- a/instana_client/models/group_mapping.py +++ b/instana_client/models/group_mapping.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/group_mapping_overview.py b/instana_client/models/group_mapping_overview.py index 6fb85be..825d00b 100644 --- a/instana_client/models/group_mapping_overview.py +++ b/instana_client/models/group_mapping_overview.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/health_state.py b/instana_client/models/health_state.py index f84d9ef..d222ec0 100644 --- a/instana_client/models/health_state.py +++ b/instana_client/models/health_state.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/historic_baseline.py b/instana_client/models/historic_baseline.py index 380fc0c..43e56a2 100644 --- a/instana_client/models/historic_baseline.py +++ b/instana_client/models/historic_baseline.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/host_availability_rule.py b/instana_client/models/host_availability_rule.py index 54d2dc2..a161dab 100644 --- a/instana_client/models/host_availability_rule.py +++ b/instana_client/models/host_availability_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/http_action_configuration.py b/instana_client/models/http_action_configuration.py index cc46d79..0f3029c 100644 --- a/instana_client/models/http_action_configuration.py +++ b/instana_client/models/http_action_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/http_action_configuration_update.py b/instana_client/models/http_action_configuration_update.py index 6efbb59..14d01fb 100644 --- a/instana_client/models/http_action_configuration_update.py +++ b/instana_client/models/http_action_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/http_endpoint_config.py b/instana_client/models/http_endpoint_config.py index c298538..e87774b 100644 --- a/instana_client/models/http_endpoint_config.py +++ b/instana_client/models/http_endpoint_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/http_endpoint_rule.py b/instana_client/models/http_endpoint_rule.py index cf315bc..8c16ca1 100644 --- a/instana_client/models/http_endpoint_rule.py +++ b/instana_client/models/http_endpoint_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/http_path_segment_matching_rule.py b/instana_client/models/http_path_segment_matching_rule.py index e3ddb37..773697d 100644 --- a/instana_client/models/http_path_segment_matching_rule.py +++ b/instana_client/models/http_path_segment_matching_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/http_script_configuration.py b/instana_client/models/http_script_configuration.py index 50405bc..b66d312 100644 --- a/instana_client/models/http_script_configuration.py +++ b/instana_client/models/http_script_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/http_script_configuration_update.py b/instana_client/models/http_script_configuration_update.py index 543a50c..99179a8 100644 --- a/instana_client/models/http_script_configuration_update.py +++ b/instana_client/models/http_script_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/hyper_param.py b/instana_client/models/hyper_param.py index 16dd838..bbb4e86 100644 --- a/instana_client/models/hyper_param.py +++ b/instana_client/models/hyper_param.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/icmp_configuration.py b/instana_client/models/icmp_configuration.py index c76c5c1..98ea304 100644 --- a/instana_client/models/icmp_configuration.py +++ b/instana_client/models/icmp_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/icmp_configuration_update.py b/instana_client/models/icmp_configuration_update.py index b1c56f1..4be4fb3 100644 --- a/instana_client/models/icmp_configuration_update.py +++ b/instana_client/models/icmp_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/icmp_validation.py b/instana_client/models/icmp_validation.py index 8b72e18..ac61bc9 100644 --- a/instana_client/models/icmp_validation.py +++ b/instana_client/models/icmp_validation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/identity_provider_patch.py b/instana_client/models/identity_provider_patch.py index 94ee942..256b8ec 100644 --- a/instana_client/models/identity_provider_patch.py +++ b/instana_client/models/identity_provider_patch.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -27,7 +27,7 @@ class IdentityProviderPatch(BaseModel): """ IdentityProviderPatch """ # noqa: E501 - restrict_empty_idp_groups: Optional[StrictBool] = Field(default=None, alias="restrictEmptyIdpGroups") + restrict_empty_idp_groups: Optional[StrictBool] = Field(default=None, description="If IdP users need to be mapped to at least one group before being allowed to access Instana.", alias="restrictEmptyIdpGroups") __properties: ClassVar[List[str]] = ["restrictEmptyIdpGroups"] model_config = ConfigDict( diff --git a/instana_client/models/idp_status_update.py b/instana_client/models/idp_status_update.py index 74f3d6b..2ddbada 100644 --- a/instana_client/models/idp_status_update.py +++ b/instana_client/models/idp_status_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/impacted_beacon_info.py b/instana_client/models/impacted_beacon_info.py index 889f20d..206362e 100644 --- a/instana_client/models/impacted_beacon_info.py +++ b/instana_client/models/impacted_beacon_info.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infra_alert_config.py b/instana_client/models/infra_alert_config.py index da77c67..29fc05c 100644 --- a/instana_client/models/infra_alert_config.py +++ b/instana_client/models/infra_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infra_alert_config_with_metadata.py b/instana_client/models/infra_alert_config_with_metadata.py index cb23717..dc2d7b1 100644 --- a/instana_client/models/infra_alert_config_with_metadata.py +++ b/instana_client/models/infra_alert_config_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infra_alert_rule.py b/instana_client/models/infra_alert_rule.py index 33aa11e..54d0482 100644 --- a/instana_client/models/infra_alert_rule.py +++ b/instana_client/models/infra_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infra_event_result.py b/instana_client/models/infra_event_result.py index 60107a0..6aae3a0 100644 --- a/instana_client/models/infra_event_result.py +++ b/instana_client/models/infra_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infra_slo_entity.py b/instana_client/models/infra_slo_entity.py index 548ff64..7f2fa94 100644 --- a/instana_client/models/infra_slo_entity.py +++ b/instana_client/models/infra_slo_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infra_time_threshold.py b/instana_client/models/infra_time_threshold.py index 7e74c69..7e61ad0 100644 --- a/instana_client/models/infra_time_threshold.py +++ b/instana_client/models/infra_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infrastructure_entities_result.py b/instana_client/models/infrastructure_entities_result.py index 03b58e8..eece941 100644 --- a/instana_client/models/infrastructure_entities_result.py +++ b/instana_client/models/infrastructure_entities_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infrastructure_group.py b/instana_client/models/infrastructure_group.py index e2f72a3..9aaa7c3 100644 --- a/instana_client/models/infrastructure_group.py +++ b/instana_client/models/infrastructure_group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infrastructure_groups_result.py b/instana_client/models/infrastructure_groups_result.py index 08789e1..07bafc1 100644 --- a/instana_client/models/infrastructure_groups_result.py +++ b/instana_client/models/infrastructure_groups_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infrastructure_item.py b/instana_client/models/infrastructure_item.py index 3cb3f51..fff9317 100644 --- a/instana_client/models/infrastructure_item.py +++ b/instana_client/models/infrastructure_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infrastructure_metric_result.py b/instana_client/models/infrastructure_metric_result.py index 622d9eb..c3c0d6e 100644 --- a/instana_client/models/infrastructure_metric_result.py +++ b/instana_client/models/infrastructure_metric_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/instana_version_info.py b/instana_client/models/instana_version_info.py index 0bc29c9..d024b8d 100644 --- a/instana_client/models/instana_version_info.py +++ b/instana_client/models/instana_version_info.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/integration_overview.py b/instana_client/models/integration_overview.py index 28303fb..a54b2a8 100644 --- a/instana_client/models/integration_overview.py +++ b/instana_client/models/integration_overview.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/invitation.py b/instana_client/models/invitation.py index 3adb2e2..702056c 100644 --- a/instana_client/models/invitation.py +++ b/instana_client/models/invitation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/invitation_response.py b/instana_client/models/invitation_response.py index 451765a..44d1619 100644 --- a/instana_client/models/invitation_response.py +++ b/instana_client/models/invitation_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/invitation_result.py b/instana_client/models/invitation_result.py index 3effa98..e566a26 100644 --- a/instana_client/models/invitation_result.py +++ b/instana_client/models/invitation_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ip_filtering.py b/instana_client/models/ip_filtering.py index b4c2ad0..368d2a3 100644 --- a/instana_client/models/ip_filtering.py +++ b/instana_client/models/ip_filtering.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ip_filtering_rule_dto.py b/instana_client/models/ip_filtering_rule_dto.py index 8e0137b..32613d8 100644 --- a/instana_client/models/ip_filtering_rule_dto.py +++ b/instana_client/models/ip_filtering_rule_dto.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ip_filtering_upsert.py b/instana_client/models/ip_filtering_upsert.py index cf344cd..49b500a 100644 --- a/instana_client/models/ip_filtering_upsert.py +++ b/instana_client/models/ip_filtering_upsert.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ip_masking_configuration.py b/instana_client/models/ip_masking_configuration.py index 09d0538..ea6240c 100644 --- a/instana_client/models/ip_masking_configuration.py +++ b/instana_client/models/ip_masking_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/js_stack_trace_line.py b/instana_client/models/js_stack_trace_line.py index 88607b4..85219b3 100644 --- a/instana_client/models/js_stack_trace_line.py +++ b/instana_client/models/js_stack_trace_line.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/kubernetes_physical_context.py b/instana_client/models/kubernetes_physical_context.py index 9933865..848ff26 100644 --- a/instana_client/models/kubernetes_physical_context.py +++ b/instana_client/models/kubernetes_physical_context.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/latency_blueprint_indicator.py b/instana_client/models/latency_blueprint_indicator.py index f6ee1ac..1c4c735 100644 --- a/instana_client/models/latency_blueprint_indicator.py +++ b/instana_client/models/latency_blueprint_indicator.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/llm_egress_gateway.py b/instana_client/models/llm_egress_gateway.py index f7a8abb..fae529f 100644 --- a/instana_client/models/llm_egress_gateway.py +++ b/instana_client/models/llm_egress_gateway.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -21,6 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from uuid import UUID from instana_client.models.llm_gateway_capability import LLMGatewayCapability from instana_client.models.llm_gateway_model import LLMGatewayModel from instana_client.models.llm_gateway_service import LLMGatewayService @@ -35,7 +36,7 @@ class LLMEgressGateway(BaseModel): created_at: Optional[StrictStr] = Field(default=None, alias="createdAt") description: Optional[StrictStr] = None enabled: Optional[StrictBool] = None - id: StrictStr + id: UUID instana_agents: Optional[Dict[str, Any]] = Field(default=None, alias="instanaAgents") metadata: Optional[Dict[str, Any]] = None model: LLMGatewayModel diff --git a/instana_client/models/llm_gateway_capability.py b/instana_client/models/llm_gateway_capability.py index e9241bb..4bd1923 100644 --- a/instana_client/models/llm_gateway_capability.py +++ b/instana_client/models/llm_gateway_capability.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/llm_gateway_model.py b/instana_client/models/llm_gateway_model.py index 3c4a43e..4802a9a 100644 --- a/instana_client/models/llm_gateway_model.py +++ b/instana_client/models/llm_gateway_model.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/llm_gateway_service.py b/instana_client/models/llm_gateway_service.py index 3cfa956..dd18cc4 100644 --- a/instana_client/models/llm_gateway_service.py +++ b/instana_client/models/llm_gateway_service.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/llm_gateway_test_connection_request.py b/instana_client/models/llm_gateway_test_connection_request.py index 8ddb9d7..eeabde8 100644 --- a/instana_client/models/llm_gateway_test_connection_request.py +++ b/instana_client/models/llm_gateway_test_connection_request.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/llm_model_price.py b/instana_client/models/llm_model_price.py index c09bab4..3c4214f 100644 --- a/instana_client/models/llm_model_price.py +++ b/instana_client/models/llm_model_price.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/llm_model_price_metadata.py b/instana_client/models/llm_model_price_metadata.py index 5312a3f..0930559 100644 --- a/instana_client/models/llm_model_price_metadata.py +++ b/instana_client/models/llm_model_price_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/location_status.py b/instana_client/models/location_status.py index bebd68d..1138151 100644 --- a/instana_client/models/location_status.py +++ b/instana_client/models/location_status.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_alert_config.py b/instana_client/models/log_alert_config.py index e17161d..24d8679 100644 --- a/instana_client/models/log_alert_config.py +++ b/instana_client/models/log_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_alert_config_with_metadata.py b/instana_client/models/log_alert_config_with_metadata.py index b7458c0..2d3ac21 100644 --- a/instana_client/models/log_alert_config_with_metadata.py +++ b/instana_client/models/log_alert_config_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_alert_rule.py b/instana_client/models/log_alert_rule.py index e9071e6..e2953f8 100644 --- a/instana_client/models/log_alert_rule.py +++ b/instana_client/models/log_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_count_alert_rule.py b/instana_client/models/log_count_alert_rule.py index 93930d2..0aa7de5 100644 --- a/instana_client/models/log_count_alert_rule.py +++ b/instana_client/models/log_count_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_event_result.py b/instana_client/models/log_event_result.py index edf132c..bedefa9 100644 --- a/instana_client/models/log_event_result.py +++ b/instana_client/models/log_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_time_threshold.py b/instana_client/models/log_time_threshold.py index 354a507..d35aa68 100644 --- a/instana_client/models/log_time_threshold.py +++ b/instana_client/models/log_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_volume_group.py b/instana_client/models/log_volume_group.py index 08dacf7..e88930c 100644 --- a/instana_client/models/log_volume_group.py +++ b/instana_client/models/log_volume_group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_volume_usage_item.py b/instana_client/models/log_volume_usage_item.py index f0ef3e7..18616e4 100644 --- a/instana_client/models/log_volume_usage_item.py +++ b/instana_client/models/log_volume_usage_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_volume_usage_result.py b/instana_client/models/log_volume_usage_result.py index 7748ce9..002d665 100644 --- a/instana_client/models/log_volume_usage_result.py +++ b/instana_client/models/log_volume_usage_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/logging_perspective.py b/instana_client/models/logging_perspective.py new file mode 100644 index 0000000..a68380c --- /dev/null +++ b/instana_client/models/logging_perspective.py @@ -0,0 +1,109 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from instana_client.models.tag_filter_expression_element import TagFilterExpressionElement +from typing import Optional, Set +from typing_extensions import Self + +class LoggingPerspective(BaseModel): + """ + A filtered view of logs defined by a tag filter expression. Referred to as a Log Perspective in the UI. + """ # noqa: E501 + description: Optional[StrictStr] = Field(default=None, description="Optional free-text description shown in the UI. Set to null to clear.") + filter: Optional[TagFilterExpressionElement] + perspective_id: Optional[StrictStr] = Field(default=None, description="Server-assigned unique identifier. Omit on create (POST). Must match the path parameter on update (PUT).", alias="perspectiveId") + perspective_name: Annotated[str, Field(min_length=1, strict=True)] = Field(description="Display name of the perspective. Must be unique. `Required`.", alias="perspectiveName") + __properties: ClassVar[List[str]] = ["description", "filter", "perspectiveId", "perspectiveName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of LoggingPerspective from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of filter + if self.filter: + _dict['filter'] = self.filter.to_dict() + # set to None if description (nullable) is None + # and model_fields_set contains the field + if self.description is None and "description" in self.model_fields_set: + _dict['description'] = None + + # set to None if filter (nullable) is None + # and model_fields_set contains the field + if self.filter is None and "filter" in self.model_fields_set: + _dict['filter'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of LoggingPerspective from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "description": obj.get("description"), + "filter": TagFilterExpressionElement.from_dict(obj["filter"]) if obj.get("filter") is not None else None, + "perspectiveId": obj.get("perspectiveId"), + "perspectiveName": obj.get("perspectiveName") + }) + return _obj + + diff --git a/instana_client/models/logs_api_response.py b/instana_client/models/logs_api_response.py index a6dc987..c3534ed 100644 --- a/instana_client/models/logs_api_response.py +++ b/instana_client/models/logs_api_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/logs_application_alert_rule.py b/instana_client/models/logs_application_alert_rule.py index 554b5d4..2525765 100644 --- a/instana_client/models/logs_application_alert_rule.py +++ b/instana_client/models/logs_application_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/logs_query.py b/instana_client/models/logs_query.py index b4b71a1..aa6ed95 100644 --- a/instana_client/models/logs_query.py +++ b/instana_client/models/logs_query.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -35,7 +35,7 @@ class LogsQuery(BaseModel): offset: Optional[Annotated[int, Field(le=2000, strict=True, ge=0)]] = None order_direction: Optional[StrictStr] = Field(default=None, alias="orderDirection") requested_tags: Optional[Annotated[List[StrictStr], Field(min_length=0, max_length=30)]] = Field(default=None, alias="requestedTags") - retrieval_size: Optional[Annotated[int, Field(le=200, strict=True, ge=1)]] = Field(default=None, alias="retrievalSize") + retrieval_size: Optional[Annotated[int, Field(le=2000, strict=True, ge=1)]] = Field(default=None, alias="retrievalSize") tag_filter_expression: Optional[TagFilterExpressionElement] = Field(default=None, alias="tagFilterExpression") time_config: Optional[TimeConfig] = Field(default=None, alias="timeConfig") __properties: ClassVar[List[str]] = ["filter", "offset", "orderDirection", "requestedTags", "retrievalSize", "tagFilterExpression", "timeConfig"] diff --git a/instana_client/models/maintenance_config.py b/instana_client/models/maintenance_config.py index d1f11b4..fa67682 100644 --- a/instana_client/models/maintenance_config.py +++ b/instana_client/models/maintenance_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/maintenance_config_scheduling.py b/instana_client/models/maintenance_config_scheduling.py index dd178fd..4ec422a 100644 --- a/instana_client/models/maintenance_config_scheduling.py +++ b/instana_client/models/maintenance_config_scheduling.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/maintenance_config_v2.py b/instana_client/models/maintenance_config_v2.py index aaef26a..78cea40 100644 --- a/instana_client/models/maintenance_config_v2.py +++ b/instana_client/models/maintenance_config_v2.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/maintenance_config_v2_with_state_and_occurrence.py b/instana_client/models/maintenance_config_v2_with_state_and_occurrence.py index 2fe703d..fc18fc5 100644 --- a/instana_client/models/maintenance_config_v2_with_state_and_occurrence.py +++ b/instana_client/models/maintenance_config_v2_with_state_and_occurrence.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/maintenance_config_with_last_updated.py b/instana_client/models/maintenance_config_with_last_updated.py index 0c77843..dfb8c91 100644 --- a/instana_client/models/maintenance_config_with_last_updated.py +++ b/instana_client/models/maintenance_config_with_last_updated.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/maintenance_window.py b/instana_client/models/maintenance_window.py index f8cc5b7..e30707d 100644 --- a/instana_client/models/maintenance_window.py +++ b/instana_client/models/maintenance_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/manual_alerting_channel_configuration.py b/instana_client/models/manual_alerting_channel_configuration.py index 94c4ddb..de46d9a 100644 --- a/instana_client/models/manual_alerting_channel_configuration.py +++ b/instana_client/models/manual_alerting_channel_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/manual_close_info.py b/instana_client/models/manual_close_info.py index 2acb024..0031418 100644 --- a/instana_client/models/manual_close_info.py +++ b/instana_client/models/manual_close_info.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/manual_service_config.py b/instana_client/models/manual_service_config.py index 6f53668..f0f0cd9 100644 --- a/instana_client/models/manual_service_config.py +++ b/instana_client/models/manual_service_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mapping.py b/instana_client/models/mapping.py new file mode 100644 index 0000000..f3a0e8f --- /dev/null +++ b/instana_client/models/mapping.py @@ -0,0 +1,107 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class Mapping(BaseModel): + """ + Mapping + """ # noqa: E501 + group_id: Annotated[str, Field(min_length=1, strict=True)] = Field(description="ID of role or group to be assigned if the mapping is matched.", alias="groupId") + id: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=64)]] = Field(default=None, description="ID of the current mapping.") + key: Annotated[str, Field(min_length=0, strict=True, max_length=65536)] = Field(description="Key (in the IdPs \"user-profile\" to be checked for mapping.") + team_id: Optional[Annotated[str, Field(min_length=5, strict=True, max_length=64)]] = Field(default=None, description="Optional, ID of team, to which the role assignment is scoped. If absent mapping is unit scoped.", alias="teamId") + value: Annotated[str, Field(min_length=0, strict=True, max_length=65536)] = Field(description="Value (of the key in the IdPs \"user-profile\" to be compared for mapping.") + __properties: ClassVar[List[str]] = ["groupId", "id", "key", "teamId", "value"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of Mapping from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if id (nullable) is None + # and model_fields_set contains the field + if self.id is None and "id" in self.model_fields_set: + _dict['id'] = None + + # set to None if team_id (nullable) is None + # and model_fields_set contains the field + if self.team_id is None and "team_id" in self.model_fields_set: + _dict['teamId'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of Mapping from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "groupId": obj.get("groupId"), + "id": obj.get("id"), + "key": obj.get("key"), + "teamId": obj.get("teamId"), + "value": obj.get("value") + }) + return _obj + + diff --git a/instana_client/models/mapping_overview.py b/instana_client/models/mapping_overview.py new file mode 100644 index 0000000..d8b15d9 --- /dev/null +++ b/instana_client/models/mapping_overview.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class MappingOverview(BaseModel): + """ + MappingOverview + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="ID of the current mapping.") + key: Optional[StrictStr] = Field(default=None, description="Key (in the IdPs \"user-profile\" to be checked for mapping.") + role: Optional[StrictStr] = Field(default=None, description="Name of role or group to be assigned if the mapping is matched.") + team: Optional[StrictStr] = Field(default=None, description="Optional, Name of team, to which the role assignment is scoped. If absent mapping is unit scoped.") + value: Optional[StrictStr] = Field(default=None, description="Value (of the key in the IdPs \"user-profile\" to be compared for mapping.") + __properties: ClassVar[List[str]] = ["id", "key", "role", "team", "value"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of MappingOverview from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of MappingOverview from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "key": obj.get("key"), + "role": obj.get("role"), + "team": obj.get("team"), + "value": obj.get("value") + }) + return _obj + + diff --git a/instana_client/models/match_all_http_path_segment_matching_rule.py b/instana_client/models/match_all_http_path_segment_matching_rule.py index d88a1d6..54e4ffb 100644 --- a/instana_client/models/match_all_http_path_segment_matching_rule.py +++ b/instana_client/models/match_all_http_path_segment_matching_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/match_expression_dto.py b/instana_client/models/match_expression_dto.py index d88b0cc..7fc81c6 100644 --- a/instana_client/models/match_expression_dto.py +++ b/instana_client/models/match_expression_dto.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/meta_data.py b/instana_client/models/meta_data.py index c1c0f18..c03d4f0 100644 --- a/instana_client/models/meta_data.py +++ b/instana_client/models/meta_data.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_api_result.py b/instana_client/models/metric_api_result.py index 8391211..868cbf8 100644 --- a/instana_client/models/metric_api_result.py +++ b/instana_client/models/metric_api_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_config.py b/instana_client/models/metric_config.py index 3c94a8d..13cc333 100644 --- a/instana_client/models/metric_config.py +++ b/instana_client/models/metric_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_configuration.py b/instana_client/models/metric_configuration.py index 66f2009..1fddcad 100644 --- a/instana_client/models/metric_configuration.py +++ b/instana_client/models/metric_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_description.py b/instana_client/models/metric_description.py index adc8854..d0d1694 100644 --- a/instana_client/models/metric_description.py +++ b/instana_client/models/metric_description.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_field.py b/instana_client/models/metric_field.py index a88bfee..36247bb 100644 --- a/instana_client/models/metric_field.py +++ b/instana_client/models/metric_field.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_field_value.py b/instana_client/models/metric_field_value.py index 67dd086..9302c1d 100644 --- a/instana_client/models/metric_field_value.py +++ b/instana_client/models/metric_field_value.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_instance.py b/instana_client/models/metric_instance.py index e30063c..75613ba 100644 --- a/instana_client/models/metric_instance.py +++ b/instana_client/models/metric_instance.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_item.py b/instana_client/models/metric_item.py index ddb25f1..5b866ad 100644 --- a/instana_client/models/metric_item.py +++ b/instana_client/models/metric_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_metadata.py b/instana_client/models/metric_metadata.py index c133b62..7420ff0 100644 --- a/instana_client/models/metric_metadata.py +++ b/instana_client/models/metric_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -62,8 +62,8 @@ def format_validate_enum(cls, value): @field_validator('infra_tag_category') def infra_tag_category_validate_enum(cls, value): """Validates the enum""" - if value not in set(['ACE', 'ALICLOUD', 'AWS', 'AZURE', 'CASSANDRA', 'CLOUD_FOUNDRY', 'CLR', 'COCKROACH', 'CONSUL', 'CONTAINER', 'COUCHBASE', 'DFQ', 'ELASTICSEARCH', 'GCP', 'HADOOP_YARN', 'HAZELCAST', 'IBM_CLOUD', 'IBM_DATAPOWER', 'IBM_I_SERIES', 'IBM_MQ', 'IBM_MQMFT', 'IBM_OPENSTACK', 'KAFKA_CONNECT', 'KUBERNETES', 'MONGO_DB', 'MSSQL', 'ORACLE_DB', 'OTHERS', 'POSTGRESQL', 'REDIS', 'SAP', 'SELF_MONITORING', 'SOLR', 'SPARK', 'TIBCOBW', 'TUXEDO', 'VSHPERE', 'WEBSPHERE', 'CUSTOM_ENTITY']): - raise ValueError("must be one of enum values ('ACE', 'ALICLOUD', 'AWS', 'AZURE', 'CASSANDRA', 'CLOUD_FOUNDRY', 'CLR', 'COCKROACH', 'CONSUL', 'CONTAINER', 'COUCHBASE', 'DFQ', 'ELASTICSEARCH', 'GCP', 'HADOOP_YARN', 'HAZELCAST', 'IBM_CLOUD', 'IBM_DATAPOWER', 'IBM_I_SERIES', 'IBM_MQ', 'IBM_MQMFT', 'IBM_OPENSTACK', 'KAFKA_CONNECT', 'KUBERNETES', 'MONGO_DB', 'MSSQL', 'ORACLE_DB', 'OTHERS', 'POSTGRESQL', 'REDIS', 'SAP', 'SELF_MONITORING', 'SOLR', 'SPARK', 'TIBCOBW', 'TUXEDO', 'VSHPERE', 'WEBSPHERE', 'CUSTOM_ENTITY')") + if value not in set(['ACE', 'AI', 'ALICLOUD', 'AWS', 'AZURE', 'CASSANDRA', 'CLOUD_FOUNDRY', 'CLR', 'COCKROACH', 'CONSUL', 'CONTAINER', 'COUCHBASE', 'DFQ', 'DIRECTORY', 'ELASTICSEARCH', 'GCP', 'HADOOP_YARN', 'HOST', 'HAZELCAST', 'IBM_CLOUD', 'IBM_DATAPOWER', 'IBM_I_SERIES', 'IBM_MQMFT', 'IBM_OPENSTACK', 'IBM_Z', 'MESSAGING', 'OPENTELEMETRY', 'WEB_SERVER', 'APP_SERVER', 'RUNTIME', 'DATABASE', 'KUBERNETES', 'MONGO_DB', 'MSSQL', 'ORACLE_DB', 'OTHERS', 'POSTGRESQL', 'SAP', 'SELF_MONITORING', 'SOLR', 'SPARK', 'TIBCOBW', 'TUXEDO', 'WEBSPHERE', 'IBM_POWER', 'MAPR', 'VIRTUALIZATION', 'APPLICATION', 'API_GATEWAY', 'LOAD_BALANCER', 'IBM_API_CONNECT', 'IBM_INFOSPHERE', 'CUSTOM_ENTITY']): + raise ValueError("must be one of enum values ('ACE', 'AI', 'ALICLOUD', 'AWS', 'AZURE', 'CASSANDRA', 'CLOUD_FOUNDRY', 'CLR', 'COCKROACH', 'CONSUL', 'CONTAINER', 'COUCHBASE', 'DFQ', 'DIRECTORY', 'ELASTICSEARCH', 'GCP', 'HADOOP_YARN', 'HOST', 'HAZELCAST', 'IBM_CLOUD', 'IBM_DATAPOWER', 'IBM_I_SERIES', 'IBM_MQMFT', 'IBM_OPENSTACK', 'IBM_Z', 'MESSAGING', 'OPENTELEMETRY', 'WEB_SERVER', 'APP_SERVER', 'RUNTIME', 'DATABASE', 'KUBERNETES', 'MONGO_DB', 'MSSQL', 'ORACLE_DB', 'OTHERS', 'POSTGRESQL', 'SAP', 'SELF_MONITORING', 'SOLR', 'SPARK', 'TIBCOBW', 'TUXEDO', 'WEBSPHERE', 'IBM_POWER', 'MAPR', 'VIRTUALIZATION', 'APPLICATION', 'API_GATEWAY', 'LOAD_BALANCER', 'IBM_API_CONNECT', 'IBM_INFOSPHERE', 'CUSTOM_ENTITY')") return value model_config = ConfigDict( diff --git a/instana_client/models/metric_pattern.py b/instana_client/models/metric_pattern.py index fd0e8f0..0d5a8e0 100644 --- a/instana_client/models/metric_pattern.py +++ b/instana_client/models/metric_pattern.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metrics_result.py b/instana_client/models/metrics_result.py index 5482bd1..97eca07 100644 --- a/instana_client/models/metrics_result.py +++ b/instana_client/models/metrics_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metrics_result_item.py b/instana_client/models/metrics_result_item.py index 266c8d4..e431a1f 100644 --- a/instana_client/models/metrics_result_item.py +++ b/instana_client/models/metrics_result_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metrics_test_result_item.py b/instana_client/models/metrics_test_result_item.py index ab72163..d53aca9 100644 --- a/instana_client/models/metrics_test_result_item.py +++ b/instana_client/models/metrics_test_result_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app.py b/instana_client/models/mobile_app.py index 82ce0b3..b9f6fdf 100644 --- a/instana_client/models/mobile_app.py +++ b/instana_client/models/mobile_app.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_alert_config.py b/instana_client/models/mobile_app_alert_config.py index 0fbd457..bc706c9 100644 --- a/instana_client/models/mobile_app_alert_config.py +++ b/instana_client/models/mobile_app_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_alert_config_with_rbac_tag.py b/instana_client/models/mobile_app_alert_config_with_rbac_tag.py index 3cc8a20..10d5bc0 100644 --- a/instana_client/models/mobile_app_alert_config_with_rbac_tag.py +++ b/instana_client/models/mobile_app_alert_config_with_rbac_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_alert_rule.py b/instana_client/models/mobile_app_alert_rule.py index 31cc5e2..015627a 100644 --- a/instana_client/models/mobile_app_alert_rule.py +++ b/instana_client/models/mobile_app_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_beacon_groups_item.py b/instana_client/models/mobile_app_beacon_groups_item.py index db703da..23dfff9 100644 --- a/instana_client/models/mobile_app_beacon_groups_item.py +++ b/instana_client/models/mobile_app_beacon_groups_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_beacon_groups_result.py b/instana_client/models/mobile_app_beacon_groups_result.py index 6714c23..622b9ad 100644 --- a/instana_client/models/mobile_app_beacon_groups_result.py +++ b/instana_client/models/mobile_app_beacon_groups_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_beacon_result.py b/instana_client/models/mobile_app_beacon_result.py index c437e22..92674a3 100644 --- a/instana_client/models/mobile_app_beacon_result.py +++ b/instana_client/models/mobile_app_beacon_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_beacon_tag_group.py b/instana_client/models/mobile_app_beacon_tag_group.py index 7defa37..14266b7 100644 --- a/instana_client/models/mobile_app_beacon_tag_group.py +++ b/instana_client/models/mobile_app_beacon_tag_group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_beacons_item.py b/instana_client/models/mobile_app_beacons_item.py index df465c2..c16d19a 100644 --- a/instana_client/models/mobile_app_beacons_item.py +++ b/instana_client/models/mobile_app_beacons_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_event_result.py b/instana_client/models/mobile_app_event_result.py index bc67ab8..8fc4234 100644 --- a/instana_client/models/mobile_app_event_result.py +++ b/instana_client/models/mobile_app_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_metric_result.py b/instana_client/models/mobile_app_metric_result.py index 795b66f..79bc8b0 100644 --- a/instana_client/models/mobile_app_metric_result.py +++ b/instana_client/models/mobile_app_metric_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_monitoring_beacon.py b/instana_client/models/mobile_app_monitoring_beacon.py index 2b4d1a9..74895ce 100644 --- a/instana_client/models/mobile_app_monitoring_beacon.py +++ b/instana_client/models/mobile_app_monitoring_beacon.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_monitoring_metric_description.py b/instana_client/models/mobile_app_monitoring_metric_description.py index 1a71457..16e7ddc 100644 --- a/instana_client/models/mobile_app_monitoring_metric_description.py +++ b/instana_client/models/mobile_app_monitoring_metric_description.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_monitoring_metrics_configuration.py b/instana_client/models/mobile_app_monitoring_metrics_configuration.py index c2671e7..9d0f0af 100644 --- a/instana_client/models/mobile_app_monitoring_metrics_configuration.py +++ b/instana_client/models/mobile_app_monitoring_metrics_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_time_threshold.py b/instana_client/models/mobile_app_time_threshold.py index 38092a3..fae13ff 100644 --- a/instana_client/models/mobile_app_time_threshold.py +++ b/instana_client/models/mobile_app_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_slo_entity.py b/instana_client/models/mobile_slo_entity.py index 85ec371..7eef0df 100644 --- a/instana_client/models/mobile_slo_entity.py +++ b/instana_client/models/mobile_slo_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/model_field.py b/instana_client/models/model_field.py index 515205c..5e1630d 100644 --- a/instana_client/models/model_field.py +++ b/instana_client/models/model_field.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/monitored_entities_stats.py b/instana_client/models/monitored_entities_stats.py index ca8d6b3..873ad3b 100644 --- a/instana_client/models/monitored_entities_stats.py +++ b/instana_client/models/monitored_entities_stats.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/monitoring_state.py b/instana_client/models/monitoring_state.py index 96472af..696b7f4 100644 --- a/instana_client/models/monitoring_state.py +++ b/instana_client/models/monitoring_state.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/multiple_scripts_configuration.py b/instana_client/models/multiple_scripts_configuration.py index 235c7f6..835b842 100644 --- a/instana_client/models/multiple_scripts_configuration.py +++ b/instana_client/models/multiple_scripts_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/new_application_config.py b/instana_client/models/new_application_config.py index 54fd880..9e8d82b 100644 --- a/instana_client/models/new_application_config.py +++ b/instana_client/models/new_application_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -106,6 +106,11 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of tag_filter_expression if self.tag_filter_expression: _dict['tagFilterExpression'] = self.tag_filter_expression.to_dict() + # set to None if business_criticality (nullable) is None + # and model_fields_set contains the field + if self.business_criticality is None and "business_criticality" in self.model_fields_set: + _dict['businessCriticality'] = None + # set to None if tag_filter_expression (nullable) is None # and model_fields_set contains the field if self.tag_filter_expression is None and "tag_filter_expression" in self.model_fields_set: diff --git a/instana_client/models/new_business_perspective_config.py b/instana_client/models/new_business_perspective_config.py index d1c2717..9178ed8 100644 --- a/instana_client/models/new_business_perspective_config.py +++ b/instana_client/models/new_business_perspective_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/new_manual_service_config.py b/instana_client/models/new_manual_service_config.py index 43effb2..c359dc9 100644 --- a/instana_client/models/new_manual_service_config.py +++ b/instana_client/models/new_manual_service_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/notification.py b/instana_client/models/notification.py index e5b8bda..99d25a1 100644 --- a/instana_client/models/notification.py +++ b/instana_client/models/notification.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ns1_integration.py b/instana_client/models/ns1_integration.py index b281506..f79fb9f 100644 --- a/instana_client/models/ns1_integration.py +++ b/instana_client/models/ns1_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -32,7 +32,7 @@ class NS1Integration(AbstractIntegration): feed_label: Optional[StrictStr] = Field(default=None, alias="feedLabel") headers: Optional[List[Annotated[str, Field(min_length=1, strict=True)]]] = None webhook_urls: Annotated[List[Annotated[str, Field(min_length=1, strict=True)]], Field(min_length=1)] = Field(alias="webhookUrls") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "feedLabel", "headers", "webhookUrls"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "feedLabel", "headers", "webhookUrls"] model_config = ConfigDict( populate_by_name=True, @@ -88,9 +88,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "feedLabel": obj.get("feedLabel"), "headers": obj.get("headers"), diff --git a/instana_client/models/o_auth_config.py b/instana_client/models/o_auth_config.py index 948922b..5460263 100644 --- a/instana_client/models/o_auth_config.py +++ b/instana_client/models/o_auth_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/o_auth_integration.py b/instana_client/models/o_auth_integration.py index 3f5a5ce..4ff9b57 100644 --- a/instana_client/models/o_auth_integration.py +++ b/instana_client/models/o_auth_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/o_auth_token.py b/instana_client/models/o_auth_token.py index 40968fa..5672ddd 100644 --- a/instana_client/models/o_auth_token.py +++ b/instana_client/models/o_auth_token.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/occurrence.py b/instana_client/models/occurrence.py index f2bbf0e..68d07f9 100644 --- a/instana_client/models/occurrence.py +++ b/instana_client/models/occurrence.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/office365_integration.py b/instana_client/models/office365_integration.py index 2dfd82b..458eefc 100644 --- a/instana_client/models/office365_integration.py +++ b/instana_client/models/office365_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -30,7 +30,7 @@ class Office365Integration(AbstractIntegration): Office365Integration """ # noqa: E501 webhook_url: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="webhookUrl") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "webhookUrl"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "webhookUrl"] model_config = ConfigDict( populate_by_name=True, @@ -86,9 +86,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "webhookUrl": obj.get("webhookUrl") }) diff --git a/instana_client/models/one_time_maintenance_window.py b/instana_client/models/one_time_maintenance_window.py index d7891d5..3d18ede 100644 --- a/instana_client/models/one_time_maintenance_window.py +++ b/instana_client/models/one_time_maintenance_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/opsgenie_integration.py b/instana_client/models/opsgenie_integration.py index 73a48dd..0d85fad 100644 --- a/instana_client/models/opsgenie_integration.py +++ b/instana_client/models/opsgenie_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -33,7 +33,7 @@ class OpsgenieIntegration(AbstractIntegration): api_key: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="apiKey") region: StrictStr tags: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "alias", "apiKey", "region", "tags"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "alias", "apiKey", "region", "tags"] @field_validator('region') def region_validate_enum(cls, value): @@ -106,9 +106,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "alias": obj.get("alias"), "apiKey": obj.get("apiKey"), diff --git a/instana_client/models/order.py b/instana_client/models/order.py index 8e57383..20eca8a 100644 --- a/instana_client/models/order.py +++ b/instana_client/models/order.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/pagerduty_integration.py b/instana_client/models/pagerduty_integration.py index 0765e10..8ce20a3 100644 --- a/instana_client/models/pagerduty_integration.py +++ b/instana_client/models/pagerduty_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -30,7 +30,7 @@ class PagerdutyIntegration(AbstractIntegration): PagerdutyIntegration """ # noqa: E501 service_integration_key: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="serviceIntegrationKey") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "serviceIntegrationKey"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "serviceIntegrationKey"] model_config = ConfigDict( populate_by_name=True, @@ -86,9 +86,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "serviceIntegrationKey": obj.get("serviceIntegrationKey") }) diff --git a/instana_client/models/paginated_result.py b/instana_client/models/paginated_result.py index e48b15e..a53505d 100644 --- a/instana_client/models/paginated_result.py +++ b/instana_client/models/paginated_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/pagination.py b/instana_client/models/pagination.py index 90d4056..2fe60ed 100644 --- a/instana_client/models/pagination.py +++ b/instana_client/models/pagination.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/parameter.py b/instana_client/models/parameter.py index 8e0367a..c4d5b94 100644 --- a/instana_client/models/parameter.py +++ b/instana_client/models/parameter.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/parameter_value.py b/instana_client/models/parameter_value.py index 5c784ff..27d5e85 100644 --- a/instana_client/models/parameter_value.py +++ b/instana_client/models/parameter_value.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/path_parameter_http_path_segment_matching_rule.py b/instana_client/models/path_parameter_http_path_segment_matching_rule.py index b9a4b9b..88118af 100644 --- a/instana_client/models/path_parameter_http_path_segment_matching_rule.py +++ b/instana_client/models/path_parameter_http_path_segment_matching_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/physical_context.py b/instana_client/models/physical_context.py index e13a7e5..ea66f60 100644 --- a/instana_client/models/physical_context.py +++ b/instana_client/models/physical_context.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/plugin_result.py b/instana_client/models/plugin_result.py index 4464972..3b0b72b 100644 --- a/instana_client/models/plugin_result.py +++ b/instana_client/models/plugin_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/policy.py b/instana_client/models/policy.py index 6eb6cd4..e75e68c 100644 --- a/instana_client/models/policy.py +++ b/instana_client/models/policy.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/policy_runnable.py b/instana_client/models/policy_runnable.py index 350d61c..984b016 100644 --- a/instana_client/models/policy_runnable.py +++ b/instana_client/models/policy_runnable.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/policy_scheduling.py b/instana_client/models/policy_scheduling.py index 76258ea..5a5f452 100644 --- a/instana_client/models/policy_scheduling.py +++ b/instana_client/models/policy_scheduling.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/post_mobile_app_source_map_config_request.py b/instana_client/models/post_mobile_app_source_map_config_request.py index ffa4b6d..e1c5719 100644 --- a/instana_client/models/post_mobile_app_source_map_config_request.py +++ b/instana_client/models/post_mobile_app_source_map_config_request.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/post_snapshots_result.py b/instana_client/models/post_snapshots_result.py index 7b46720..cf402cd 100644 --- a/instana_client/models/post_snapshots_result.py +++ b/instana_client/models/post_snapshots_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/prefix_object.py b/instana_client/models/prefix_object.py index b99701c..dbe2d1b 100644 --- a/instana_client/models/prefix_object.py +++ b/instana_client/models/prefix_object.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/problem.py b/instana_client/models/problem.py index 3980530..cdc9c30 100644 --- a/instana_client/models/problem.py +++ b/instana_client/models/problem.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/prometheus_webhook_integration.py b/instana_client/models/prometheus_webhook_integration.py index 399db6e..12bb64f 100644 --- a/instana_client/models/prometheus_webhook_integration.py +++ b/instana_client/models/prometheus_webhook_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -31,7 +31,7 @@ class PrometheusWebhookIntegration(AbstractIntegration): """ # noqa: E501 receiver: Optional[StrictStr] = None webhook_url: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="webhookUrl") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "receiver", "webhookUrl"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "receiver", "webhookUrl"] model_config = ConfigDict( populate_by_name=True, @@ -92,9 +92,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "receiver": obj.get("receiver"), "webhookUrl": obj.get("webhookUrl") diff --git a/instana_client/models/rbac_restrictions.py b/instana_client/models/rbac_restrictions.py index de67b60..db3ac09 100644 --- a/instana_client/models/rbac_restrictions.py +++ b/instana_client/models/rbac_restrictions.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/recurrent_maintenance_window.py b/instana_client/models/recurrent_maintenance_window.py index c98acc4..12f82ad 100644 --- a/instana_client/models/recurrent_maintenance_window.py +++ b/instana_client/models/recurrent_maintenance_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/release.py b/instana_client/models/release.py index 0a08c98..51b46f5 100644 --- a/instana_client/models/release.py +++ b/instana_client/models/release.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/release_scope.py b/instana_client/models/release_scope.py index 69113a9..39ca33f 100644 --- a/instana_client/models/release_scope.py +++ b/instana_client/models/release_scope.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/release_with_metadata.py b/instana_client/models/release_with_metadata.py index 1c6da03..6e27db0 100644 --- a/instana_client/models/release_with_metadata.py +++ b/instana_client/models/release_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/retention_period.py b/instana_client/models/retention_period.py index 9c797a6..6a64c91 100644 --- a/instana_client/models/retention_period.py +++ b/instana_client/models/retention_period.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/role_mapping_overview.py b/instana_client/models/role_mapping_overview.py index 8796906..ef58b91 100644 --- a/instana_client/models/role_mapping_overview.py +++ b/instana_client/models/role_mapping_overview.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/rolling_time_window.py b/instana_client/models/rolling_time_window.py index 83ed6bb..4a0942b 100644 --- a/instana_client/models/rolling_time_window.py +++ b/instana_client/models/rolling_time_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/rule_input.py b/instana_client/models/rule_input.py index b915910..76c138d 100644 --- a/instana_client/models/rule_input.py +++ b/instana_client/models/rule_input.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/rule_with_threshold_application_alert_rule.py b/instana_client/models/rule_with_threshold_application_alert_rule.py index 0a97817..4f650a5 100644 --- a/instana_client/models/rule_with_threshold_application_alert_rule.py +++ b/instana_client/models/rule_with_threshold_application_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/rule_with_threshold_infra_alert_rule.py b/instana_client/models/rule_with_threshold_infra_alert_rule.py index b93e645..7127f13 100644 --- a/instana_client/models/rule_with_threshold_infra_alert_rule.py +++ b/instana_client/models/rule_with_threshold_infra_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/rule_with_threshold_log_alert_rule.py b/instana_client/models/rule_with_threshold_log_alert_rule.py index 9b87e86..dd75afb 100644 --- a/instana_client/models/rule_with_threshold_log_alert_rule.py +++ b/instana_client/models/rule_with_threshold_log_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/rule_with_threshold_mobile_app_alert_rule.py b/instana_client/models/rule_with_threshold_mobile_app_alert_rule.py index 797ef83..045e554 100644 --- a/instana_client/models/rule_with_threshold_mobile_app_alert_rule.py +++ b/instana_client/models/rule_with_threshold_mobile_app_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/rule_with_threshold_website_alert_rule.py b/instana_client/models/rule_with_threshold_website_alert_rule.py index d310092..2964402 100644 --- a/instana_client/models/rule_with_threshold_website_alert_rule.py +++ b/instana_client/models/rule_with_threshold_website_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/run_configuration.py b/instana_client/models/run_configuration.py index 3b4b5d7..770e0cf 100644 --- a/instana_client/models/run_configuration.py +++ b/instana_client/models/run_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/run_evaluation_response.py b/instana_client/models/run_evaluation_response.py index dd62c88..6ccfe18 100644 --- a/instana_client/models/run_evaluation_response.py +++ b/instana_client/models/run_evaluation_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/salesforce_integration.py b/instana_client/models/salesforce_integration.py index d38db19..a523b42 100644 --- a/instana_client/models/salesforce_integration.py +++ b/instana_client/models/salesforce_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -33,7 +33,7 @@ class SalesforceIntegration(AbstractIntegration): client_id: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(alias="clientId") client_secret: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(alias="clientSecret") salesforce_url: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="salesforceUrl") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "bearerToken", "clientId", "clientSecret", "salesforceUrl"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "bearerToken", "clientId", "clientSecret", "salesforceUrl"] model_config = ConfigDict( populate_by_name=True, @@ -104,9 +104,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "bearerToken": obj.get("bearerToken"), "clientId": obj.get("clientId"), diff --git a/instana_client/models/sampling_metadata.py b/instana_client/models/sampling_metadata.py index edaf5a4..a86b449 100644 --- a/instana_client/models/sampling_metadata.py +++ b/instana_client/models/sampling_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/saturation_blueprint_indicator.py b/instana_client/models/saturation_blueprint_indicator.py index d95a968..fb2bcf3 100644 --- a/instana_client/models/saturation_blueprint_indicator.py +++ b/instana_client/models/saturation_blueprint_indicator.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/scope_binding.py b/instana_client/models/scope_binding.py index 4d52179..3bce23a 100644 --- a/instana_client/models/scope_binding.py +++ b/instana_client/models/scope_binding.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/search_field_result.py b/instana_client/models/search_field_result.py index 01ecba1..e3096ff 100644 --- a/instana_client/models/search_field_result.py +++ b/instana_client/models/search_field_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service.py b/instana_client/models/service.py index 92cc3d4..12f3145 100644 --- a/instana_client/models/service.py +++ b/instana_client/models/service.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_config.py b/instana_client/models/service_config.py index b3b2fe7..c346d1f 100644 --- a/instana_client/models/service_config.py +++ b/instana_client/models/service_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_event_result.py b/instana_client/models/service_event_result.py index 22e6f9e..f02de71 100644 --- a/instana_client/models/service_event_result.py +++ b/instana_client/models/service_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_item.py b/instana_client/models/service_item.py index 0359852..385f0e8 100644 --- a/instana_client/models/service_item.py +++ b/instana_client/models/service_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_level_indicator.py b/instana_client/models/service_level_indicator.py index 524c81d..8c467ff 100644 --- a/instana_client/models/service_level_indicator.py +++ b/instana_client/models/service_level_indicator.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_level_objective_alert_rule.py b/instana_client/models/service_level_objective_alert_rule.py index 13825d8..49cb446 100644 --- a/instana_client/models/service_level_objective_alert_rule.py +++ b/instana_client/models/service_level_objective_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_levels_alert_config.py b/instana_client/models/service_levels_alert_config.py index 0b456fb..fc81ef7 100644 --- a/instana_client/models/service_levels_alert_config.py +++ b/instana_client/models/service_levels_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_levels_alert_config_with_rbac_tag.py b/instana_client/models/service_levels_alert_config_with_rbac_tag.py index 54eb5b0..402472c 100644 --- a/instana_client/models/service_levels_alert_config_with_rbac_tag.py +++ b/instana_client/models/service_levels_alert_config_with_rbac_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_levels_alert_rule.py b/instana_client/models/service_levels_alert_rule.py index e433163..42613cf 100644 --- a/instana_client/models/service_levels_alert_rule.py +++ b/instana_client/models/service_levels_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_levels_burn_rate_config.py b/instana_client/models/service_levels_burn_rate_config.py index a2a078e..e81f1a0 100644 --- a/instana_client/models/service_levels_burn_rate_config.py +++ b/instana_client/models/service_levels_burn_rate_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_levels_burn_rate_time_windows.py b/instana_client/models/service_levels_burn_rate_time_windows.py index 2785437..888472c 100644 --- a/instana_client/models/service_levels_burn_rate_time_windows.py +++ b/instana_client/models/service_levels_burn_rate_time_windows.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_levels_static_threshold_config.py b/instana_client/models/service_levels_static_threshold_config.py index 4e162e2..1786155 100644 --- a/instana_client/models/service_levels_static_threshold_config.py +++ b/instana_client/models/service_levels_static_threshold_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_levels_time_threshold.py b/instana_client/models/service_levels_time_threshold.py index 9c268ce..4d7c35e 100644 --- a/instana_client/models/service_levels_time_threshold.py +++ b/instana_client/models/service_levels_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_levelse_alert_config_with_metadata.py b/instana_client/models/service_levelse_alert_config_with_metadata.py index 71e2ae6..a30f5e0 100644 --- a/instana_client/models/service_levelse_alert_config_with_metadata.py +++ b/instana_client/models/service_levelse_alert_config_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_map.py b/instana_client/models/service_map.py index 2c074c4..e40d924 100644 --- a/instana_client/models/service_map.py +++ b/instana_client/models/service_map.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_map_connection.py b/instana_client/models/service_map_connection.py index 0595cad..f7b0ee5 100644 --- a/instana_client/models/service_map_connection.py +++ b/instana_client/models/service_map_connection.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_matching_rule.py b/instana_client/models/service_matching_rule.py index 4e1d001..33d1f06 100644 --- a/instana_client/models/service_matching_rule.py +++ b/instana_client/models/service_matching_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_metric_result.py b/instana_client/models/service_metric_result.py index 5df5bed..087a324 100644 --- a/instana_client/models/service_metric_result.py +++ b/instana_client/models/service_metric_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_node.py b/instana_client/models/service_node.py index c892440..d62d81f 100644 --- a/instana_client/models/service_node.py +++ b/instana_client/models/service_node.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_now_enhanced_integration.py b/instana_client/models/service_now_enhanced_integration.py index 197525a..cfe0f0d 100644 --- a/instana_client/models/service_now_enhanced_integration.py +++ b/instana_client/models/service_now_enhanced_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -42,7 +42,7 @@ class ServiceNowEnhancedIntegration(AbstractIntegration): tenant: Annotated[str, Field(min_length=1, strict=True)] unit: Annotated[str, Field(min_length=1, strict=True)] username: Annotated[str, Field(min_length=1, strict=True)] - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "autoCloseIncidents", "enableSendInstanaNotes", "enableSendServiceNowActivities", "enableSendServiceNowWorkNotes", "instanaUrl", "manuallyClosedIncidents", "password", "resolutionOfIncident", "serviceNowUrl", "snowStatusOnCloseEvent", "tenant", "unit", "username"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "autoCloseIncidents", "enableSendInstanaNotes", "enableSendServiceNowActivities", "enableSendServiceNowWorkNotes", "instanaUrl", "manuallyClosedIncidents", "password", "resolutionOfIncident", "serviceNowUrl", "snowStatusOnCloseEvent", "tenant", "unit", "username"] model_config = ConfigDict( populate_by_name=True, @@ -98,9 +98,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "autoCloseIncidents": obj.get("autoCloseIncidents"), "enableSendInstanaNotes": obj.get("enableSendInstanaNotes"), diff --git a/instana_client/models/service_now_integration.py b/instana_client/models/service_now_integration.py index 923249f..6ad814e 100644 --- a/instana_client/models/service_now_integration.py +++ b/instana_client/models/service_now_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -33,7 +33,7 @@ class ServiceNowIntegration(AbstractIntegration): password: Annotated[str, Field(min_length=1, strict=True)] service_now_url: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="serviceNowUrl") username: Annotated[str, Field(min_length=1, strict=True)] - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "autoCloseIncidents", "password", "serviceNowUrl", "username"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "autoCloseIncidents", "password", "serviceNowUrl", "username"] model_config = ConfigDict( populate_by_name=True, @@ -89,9 +89,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "autoCloseIncidents": obj.get("autoCloseIncidents"), "password": obj.get("password"), diff --git a/instana_client/models/service_result.py b/instana_client/models/service_result.py index 9fcb2fd..a3d9f2d 100644 --- a/instana_client/models/service_result.py +++ b/instana_client/models/service_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_scope.py b/instana_client/models/service_scope.py index 1ead619..3f12c00 100644 --- a/instana_client/models/service_scope.py +++ b/instana_client/models/service_scope.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_scope_with_metadata.py b/instana_client/models/service_scope_with_metadata.py index 3d08ed7..1b4af34 100644 --- a/instana_client/models/service_scope_with_metadata.py +++ b/instana_client/models/service_scope_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_scoped_to.py b/instana_client/models/service_scoped_to.py index a44ebb6..667493f 100644 --- a/instana_client/models/service_scoped_to.py +++ b/instana_client/models/service_scoped_to.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_scoped_to_with_metadata.py b/instana_client/models/service_scoped_to_with_metadata.py index 57030d5..acac3d1 100644 --- a/instana_client/models/service_scoped_to_with_metadata.py +++ b/instana_client/models/service_scoped_to_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_simple.py b/instana_client/models/service_simple.py index f12c5b2..715b6d8 100644 --- a/instana_client/models/service_simple.py +++ b/instana_client/models/service_simple.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/session_replay_metadata.py b/instana_client/models/session_replay_metadata.py index 9e8a734..d2bb2df 100644 --- a/instana_client/models/session_replay_metadata.py +++ b/instana_client/models/session_replay_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/session_replay_timestamps.py b/instana_client/models/session_replay_timestamps.py index bb7a40c..192b785 100644 --- a/instana_client/models/session_replay_timestamps.py +++ b/instana_client/models/session_replay_timestamps.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/session_settings.py b/instana_client/models/session_settings.py index ef6a0a7..e409701 100644 --- a/instana_client/models/session_settings.py +++ b/instana_client/models/session_settings.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/simple_metric_configuration.py b/instana_client/models/simple_metric_configuration.py index f4396a1..a264634 100644 --- a/instana_client/models/simple_metric_configuration.py +++ b/instana_client/models/simple_metric_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/slack_integration.py b/instana_client/models/slack_integration.py index 70c5c86..44c1d35 100644 --- a/instana_client/models/slack_integration.py +++ b/instana_client/models/slack_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -33,7 +33,7 @@ class SlackIntegration(AbstractIntegration): emoji_rendering: Optional[StrictBool] = Field(default=None, alias="emojiRendering") icon_url: Optional[StrictStr] = Field(default=None, alias="iconUrl") webhook_url: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="webhookUrl") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "channel", "emojiRendering", "iconUrl", "webhookUrl"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "channel", "emojiRendering", "iconUrl", "webhookUrl"] model_config = ConfigDict( populate_by_name=True, @@ -99,9 +99,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "channel": obj.get("channel"), "emojiRendering": obj.get("emojiRendering"), diff --git a/instana_client/models/sli_configuration.py b/instana_client/models/sli_configuration.py index 749ad02..54c974c 100644 --- a/instana_client/models/sli_configuration.py +++ b/instana_client/models/sli_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/sli_configuration_with_last_updated.py b/instana_client/models/sli_configuration_with_last_updated.py index 925ba06..c2dd79a 100644 --- a/instana_client/models/sli_configuration_with_last_updated.py +++ b/instana_client/models/sli_configuration_with_last_updated.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/sli_entity.py b/instana_client/models/sli_entity.py index e65803a..4abca8d 100644 --- a/instana_client/models/sli_entity.py +++ b/instana_client/models/sli_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/sli_report.py b/instana_client/models/sli_report.py index 87b52ee..9684354 100644 --- a/instana_client/models/sli_report.py +++ b/instana_client/models/sli_report.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/slo_config_with_rbac_tag.py b/instana_client/models/slo_config_with_rbac_tag.py index b0d526f..3eaf0ec 100644 --- a/instana_client/models/slo_config_with_rbac_tag.py +++ b/instana_client/models/slo_config_with_rbac_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/slo_entity.py b/instana_client/models/slo_entity.py index f82f180..ffbe056 100644 --- a/instana_client/models/slo_entity.py +++ b/instana_client/models/slo_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/slo_health_snapshot.py b/instana_client/models/slo_health_snapshot.py new file mode 100644 index 0000000..d5be1e5 --- /dev/null +++ b/instana_client/models/slo_health_snapshot.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List, Optional +from instana_client.models.slo_health_snapshot_item import SloHealthSnapshotItem +from typing import Optional, Set +from typing_extensions import Self + +class SloHealthSnapshot(BaseModel): + """ + SloHealthSnapshot + """ # noqa: E501 + items: Optional[List[SloHealthSnapshotItem]] = None + state_counts: Optional[Dict[str, StrictInt]] = Field(default=None, alias="stateCounts") + total_count: Optional[StrictInt] = Field(default=None, alias="totalCount") + __properties: ClassVar[List[str]] = ["items", "stateCounts", "totalCount"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SloHealthSnapshot from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in items (list) + _items = [] + if self.items: + for _item_items in self.items: + if _item_items: + _items.append(_item_items.to_dict()) + _dict['items'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SloHealthSnapshot from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "items": [SloHealthSnapshotItem.from_dict(_item) for _item in obj["items"]] if obj.get("items") is not None else None, + "stateCounts": obj.get("stateCounts"), + "totalCount": obj.get("totalCount") + }) + return _obj + + diff --git a/instana_client/models/slo_health_snapshot_item.py b/instana_client/models/slo_health_snapshot_item.py new file mode 100644 index 0000000..709968b --- /dev/null +++ b/instana_client/models/slo_health_snapshot_item.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing import Optional, Set +from typing_extensions import Self + +class SloHealthSnapshotItem(BaseModel): + """ + SloHealthSnapshotItem + """ # noqa: E501 + blueprint: Optional[StrictStr] = None + entity_type: Optional[StrictStr] = Field(default=None, alias="entityType") + health_score: Optional[StrictInt] = Field(default=None, alias="healthScore") + health_state: Optional[StrictStr] = Field(default=None, alias="healthState") + id: Optional[StrictStr] = None + name: Optional[StrictStr] = None + primary_reason: Optional[StrictStr] = Field(default=None, alias="primaryReason") + tags: Optional[List[StrictStr]] = None + target: Optional[Union[StrictFloat, StrictInt]] = None + trend: Optional[StrictStr] = None + window_duration: Optional[StrictInt] = Field(default=None, alias="windowDuration") + window_duration_unit: Optional[StrictStr] = Field(default=None, alias="windowDurationUnit") + window_type: Optional[StrictStr] = Field(default=None, alias="windowType") + __properties: ClassVar[List[str]] = ["blueprint", "entityType", "healthScore", "healthState", "id", "name", "primaryReason", "tags", "target", "trend", "windowDuration", "windowDurationUnit", "windowType"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SloHealthSnapshotItem from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if health_score (nullable) is None + # and model_fields_set contains the field + if self.health_score is None and "health_score" in self.model_fields_set: + _dict['healthScore'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SloHealthSnapshotItem from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "blueprint": obj.get("blueprint"), + "entityType": obj.get("entityType"), + "healthScore": obj.get("healthScore"), + "healthState": obj.get("healthState"), + "id": obj.get("id"), + "name": obj.get("name"), + "primaryReason": obj.get("primaryReason"), + "tags": obj.get("tags"), + "target": obj.get("target"), + "trend": obj.get("trend"), + "windowDuration": obj.get("windowDuration"), + "windowDurationUnit": obj.get("windowDurationUnit"), + "windowType": obj.get("windowType") + }) + return _obj + + diff --git a/instana_client/models/slo_report.py b/instana_client/models/slo_report.py index dae0263..f7a27e4 100644 --- a/instana_client/models/slo_report.py +++ b/instana_client/models/slo_report.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional, Union from typing import Optional, Set from typing_extensions import Self @@ -35,12 +35,16 @@ class SloReport(BaseModel): error_burn_rate_chart: Optional[Dict[str, StrictInt]] = Field(default=None, description="Budget Rate value of SLO configuration in different timestamps from starting to ending point", alias="errorBurnRateChart") error_chart: Optional[Dict[str, StrictInt]] = Field(default=None, description="Value indicating presence of bad minutes/events of SLO configuration in different timestamps from starting to ending point", alias="errorChart") from_timestamp: Optional[StrictInt] = Field(default=None, description="Starting point of the data retrieval, specified as 13 digit Unix Timestamp milliseconds", alias="fromTimestamp") + health_score: Optional[StrictInt] = Field(default=None, description="Health score of the SLO (0–100), null when state is INSUFFICIENT_DATA or NOT_EVALUATED", alias="healthScore") + health_score_primary_reason: Optional[StrictStr] = Field(default=None, description="Primary reason code driving the current health state", alias="healthScorePrimaryReason") + health_score_trend: Optional[StrictStr] = Field(default=None, description="Burn rate trend direction (IMPROVING, CONSTANT, DEGRADING, UNKNOWN)", alias="healthScoreTrend") + health_state: Optional[StrictStr] = Field(default=None, description="Health state of the SLO (HEALTHY, AT_RISK, BREACHED, INSUFFICIENT_DATA, NOT_EVALUATED)", alias="healthState") sli: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Latest Status value of SLO Configuration") slo: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Target status of SLO Configuration") to_timestamp: Optional[StrictInt] = Field(default=None, description="Ending point of the data retrieval, specified as 13 digit Unix Timestamp milliseconds", alias="toTimestamp") total_error_budget: Optional[StrictInt] = Field(default=None, description="Latest Available Error Budget value of SLO Configuration", alias="totalErrorBudget") violation_distribution: Optional[Dict[str, StrictInt]] = Field(default=None, description="Value indicating violation of SLO configuration in different timestamps from starting to ending point", alias="violationDistribution") - __properties: ClassVar[List[str]] = ["errorAccumulationChart", "errorBudgetRemainChart", "errorBudgetRemaining", "errorBudgetSpent", "errorBurnRate", "errorBurnRateChart", "errorChart", "fromTimestamp", "sli", "slo", "toTimestamp", "totalErrorBudget", "violationDistribution"] + __properties: ClassVar[List[str]] = ["errorAccumulationChart", "errorBudgetRemainChart", "errorBudgetRemaining", "errorBudgetSpent", "errorBurnRate", "errorBurnRateChart", "errorChart", "fromTimestamp", "healthScore", "healthScorePrimaryReason", "healthScoreTrend", "healthState", "sli", "slo", "toTimestamp", "totalErrorBudget", "violationDistribution"] model_config = ConfigDict( populate_by_name=True, @@ -101,6 +105,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "errorBurnRateChart": obj.get("errorBurnRateChart"), "errorChart": obj.get("errorChart"), "fromTimestamp": obj.get("fromTimestamp"), + "healthScore": obj.get("healthScore"), + "healthScorePrimaryReason": obj.get("healthScorePrimaryReason"), + "healthScoreTrend": obj.get("healthScoreTrend"), + "healthState": obj.get("healthState"), "sli": obj.get("sli"), "slo": obj.get("slo"), "toTimestamp": obj.get("toTimestamp"), diff --git a/instana_client/models/slowness_application_alert_rule.py b/instana_client/models/slowness_application_alert_rule.py index 719ebcb..f722a17 100644 --- a/instana_client/models/slowness_application_alert_rule.py +++ b/instana_client/models/slowness_application_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/slowness_mobile_app_alert_rule.py b/instana_client/models/slowness_mobile_app_alert_rule.py index 990b7b6..f39d186 100644 --- a/instana_client/models/slowness_mobile_app_alert_rule.py +++ b/instana_client/models/slowness_mobile_app_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/slowness_website_alert_rule.py b/instana_client/models/slowness_website_alert_rule.py index 36715c9..efe1416 100644 --- a/instana_client/models/slowness_website_alert_rule.py +++ b/instana_client/models/slowness_website_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/snapshot_item.py b/instana_client/models/snapshot_item.py index aaf1a53..11c2e59 100644 --- a/instana_client/models/snapshot_item.py +++ b/instana_client/models/snapshot_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/snapshot_preview.py b/instana_client/models/snapshot_preview.py index a582ddc..a076f01 100644 --- a/instana_client/models/snapshot_preview.py +++ b/instana_client/models/snapshot_preview.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/snapshot_result.py b/instana_client/models/snapshot_result.py index 7321c12..030f2f8 100644 --- a/instana_client/models/snapshot_result.py +++ b/instana_client/models/snapshot_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/software_user.py b/instana_client/models/software_user.py index 58695d8..1b0ef82 100644 --- a/instana_client/models/software_user.py +++ b/instana_client/models/software_user.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/software_version.py b/instana_client/models/software_version.py index 765e477..b288b70 100644 --- a/instana_client/models/software_version.py +++ b/instana_client/models/software_version.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/source_map_file_blob.py b/instana_client/models/source_map_file_blob.py index 7248bb3..8cb09c7 100644 --- a/instana_client/models/source_map_file_blob.py +++ b/instana_client/models/source_map_file_blob.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/source_map_file_meta.py b/instana_client/models/source_map_file_meta.py index bdb50d0..cb011e2 100644 --- a/instana_client/models/source_map_file_meta.py +++ b/instana_client/models/source_map_file_meta.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/source_map_upload_config.py b/instana_client/models/source_map_upload_config.py index 184db90..8a80c1e 100644 --- a/instana_client/models/source_map_upload_config.py +++ b/instana_client/models/source_map_upload_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/source_map_upload_configs.py b/instana_client/models/source_map_upload_configs.py index 5ea81eb..3512621 100644 --- a/instana_client/models/source_map_upload_configs.py +++ b/instana_client/models/source_map_upload_configs.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/span_excerpt.py b/instana_client/models/span_excerpt.py index e23bc15..6ab4001 100644 --- a/instana_client/models/span_excerpt.py +++ b/instana_client/models/span_excerpt.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/span_relation.py b/instana_client/models/span_relation.py index 0ef0371..66942ec 100644 --- a/instana_client/models/span_relation.py +++ b/instana_client/models/span_relation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/specific_js_errors_website_alert_rule.py b/instana_client/models/specific_js_errors_website_alert_rule.py index 3b8b566..b1d03fc 100644 --- a/instana_client/models/specific_js_errors_website_alert_rule.py +++ b/instana_client/models/specific_js_errors_website_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/splunk_integration.py b/instana_client/models/splunk_integration.py index 9edd202..df9299d 100644 --- a/instana_client/models/splunk_integration.py +++ b/instana_client/models/splunk_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -31,7 +31,7 @@ class SplunkIntegration(AbstractIntegration): """ # noqa: E501 token: Annotated[str, Field(min_length=1, strict=True)] url: Annotated[str, Field(min_length=1, strict=True)] - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "token", "url"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "token", "url"] model_config = ConfigDict( populate_by_name=True, @@ -87,9 +87,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "token": obj.get("token"), "url": obj.get("url") diff --git a/instana_client/models/ssl_certificate_configuration.py b/instana_client/models/ssl_certificate_configuration.py index e9da673..1d06826 100644 --- a/instana_client/models/ssl_certificate_configuration.py +++ b/instana_client/models/ssl_certificate_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ssl_certificate_configuration_update.py b/instana_client/models/ssl_certificate_configuration_update.py index 7b19329..9019679 100644 --- a/instana_client/models/ssl_certificate_configuration_update.py +++ b/instana_client/models/ssl_certificate_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ssl_certificate_validation.py b/instana_client/models/ssl_certificate_validation.py index 0f2ce41..a6ea05b 100644 --- a/instana_client/models/ssl_certificate_validation.py +++ b/instana_client/models/ssl_certificate_validation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/stack_trace_item.py b/instana_client/models/stack_trace_item.py index 29cbd5f..0e3a9b9 100644 --- a/instana_client/models/stack_trace_item.py +++ b/instana_client/models/stack_trace_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/stack_trace_line.py b/instana_client/models/stack_trace_line.py index 19bd169..ad2a069 100644 --- a/instana_client/models/stack_trace_line.py +++ b/instana_client/models/stack_trace_line.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/static_baseline_threshold_rule.py b/instana_client/models/static_baseline_threshold_rule.py index a25cc4f..99615b2 100644 --- a/instana_client/models/static_baseline_threshold_rule.py +++ b/instana_client/models/static_baseline_threshold_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/static_string_field.py b/instana_client/models/static_string_field.py index 9d931da..f4dcf8e 100644 --- a/instana_client/models/static_string_field.py +++ b/instana_client/models/static_string_field.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/static_threshold.py b/instana_client/models/static_threshold.py index 333053a..7a3b5e9 100644 --- a/instana_client/models/static_threshold.py +++ b/instana_client/models/static_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/static_threshold_rule.py b/instana_client/models/static_threshold_rule.py index 66191d1..d8ddbe5 100644 --- a/instana_client/models/static_threshold_rule.py +++ b/instana_client/models/static_threshold_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/status_code_application_alert_rule.py b/instana_client/models/status_code_application_alert_rule.py index e421c5b..99bb9ed 100644 --- a/instana_client/models/status_code_application_alert_rule.py +++ b/instana_client/models/status_code_application_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/status_code_mobile_app_alert_rule.py b/instana_client/models/status_code_mobile_app_alert_rule.py index 2fd269c..de13ab8 100644 --- a/instana_client/models/status_code_mobile_app_alert_rule.py +++ b/instana_client/models/status_code_mobile_app_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/status_code_website_alert_rule.py b/instana_client/models/status_code_website_alert_rule.py index ea24676..474f6a7 100644 --- a/instana_client/models/status_code_website_alert_rule.py +++ b/instana_client/models/status_code_website_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_alert_config.py b/instana_client/models/synthetic_alert_config.py index db19055..780ae8f 100644 --- a/instana_client/models/synthetic_alert_config.py +++ b/instana_client/models/synthetic_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_alert_config_with_metadata.py b/instana_client/models/synthetic_alert_config_with_metadata.py index da83190..e3944b0 100644 --- a/instana_client/models/synthetic_alert_config_with_metadata.py +++ b/instana_client/models/synthetic_alert_config_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_alert_config_with_rbac_tag.py b/instana_client/models/synthetic_alert_config_with_rbac_tag.py index 47bfcba..faae49f 100644 --- a/instana_client/models/synthetic_alert_config_with_rbac_tag.py +++ b/instana_client/models/synthetic_alert_config_with_rbac_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_alert_rule.py b/instana_client/models/synthetic_alert_rule.py index a42fb6d..380635e 100644 --- a/instana_client/models/synthetic_alert_rule.py +++ b/instana_client/models/synthetic_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_bulk_response.py b/instana_client/models/synthetic_bulk_response.py index b6e2aed..8822fd0 100644 --- a/instana_client/models/synthetic_bulk_response.py +++ b/instana_client/models/synthetic_bulk_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_call_config.py b/instana_client/models/synthetic_call_config.py index a7c4940..7d7b6ec 100644 --- a/instana_client/models/synthetic_call_config.py +++ b/instana_client/models/synthetic_call_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_call_rule.py b/instana_client/models/synthetic_call_rule.py index da47d1f..27a05a3 100644 --- a/instana_client/models/synthetic_call_rule.py +++ b/instana_client/models/synthetic_call_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_call_with_defaults_config.py b/instana_client/models/synthetic_call_with_defaults_config.py index a7f9a01..e2be2a5 100644 --- a/instana_client/models/synthetic_call_with_defaults_config.py +++ b/instana_client/models/synthetic_call_with_defaults_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_configuration.py b/instana_client/models/synthetic_configuration.py index 4ee5d00..133071f 100644 --- a/instana_client/models/synthetic_configuration.py +++ b/instana_client/models/synthetic_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_configuration_update.py b/instana_client/models/synthetic_configuration_update.py index 9ea9e11..511c9d5 100644 --- a/instana_client/models/synthetic_configuration_update.py +++ b/instana_client/models/synthetic_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_credential.py b/instana_client/models/synthetic_credential.py index 575d0fb..da46281 100644 --- a/instana_client/models/synthetic_credential.py +++ b/instana_client/models/synthetic_credential.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_datacenter.py b/instana_client/models/synthetic_datacenter.py index a1ebd85..12d9e57 100644 --- a/instana_client/models/synthetic_datacenter.py +++ b/instana_client/models/synthetic_datacenter.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_datacenter_configuration.py b/instana_client/models/synthetic_datacenter_configuration.py index 5511e6a..98c244a 100644 --- a/instana_client/models/synthetic_datacenter_configuration.py +++ b/instana_client/models/synthetic_datacenter_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_geo_point.py b/instana_client/models/synthetic_geo_point.py index 98b2750..01766ac 100644 --- a/instana_client/models/synthetic_geo_point.py +++ b/instana_client/models/synthetic_geo_point.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_location.py b/instana_client/models/synthetic_location.py index 8743758..f083bfd 100644 --- a/instana_client/models/synthetic_location.py +++ b/instana_client/models/synthetic_location.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_location_configuration.py b/instana_client/models/synthetic_location_configuration.py index d98d75b..d500561 100644 --- a/instana_client/models/synthetic_location_configuration.py +++ b/instana_client/models/synthetic_location_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_metric_configuration.py b/instana_client/models/synthetic_metric_configuration.py index d1313e2..808beae 100644 --- a/instana_client/models/synthetic_metric_configuration.py +++ b/instana_client/models/synthetic_metric_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_metric_tag_group.py b/instana_client/models/synthetic_metric_tag_group.py index 084d9a3..5cbf45b 100644 --- a/instana_client/models/synthetic_metric_tag_group.py +++ b/instana_client/models/synthetic_metric_tag_group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_playback_capabilities.py b/instana_client/models/synthetic_playback_capabilities.py index 1bda105..e1cc412 100644 --- a/instana_client/models/synthetic_playback_capabilities.py +++ b/instana_client/models/synthetic_playback_capabilities.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -59,8 +59,8 @@ def extensions_validate_enum(cls, value): return value for i in value: - if i not in set(['GitHub', 'PW']): - raise ValueError("each list item must be one of ('GitHub', 'PW')") + if i not in set(['CNP', 'GitHub', 'PW']): + raise ValueError("each list item must be one of ('CNP', 'GitHub', 'PW')") return value model_config = ConfigDict( diff --git a/instana_client/models/synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value.py b/instana_client/models/synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value.py index 04856db..b9d82b4 100644 --- a/instana_client/models/synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value.py +++ b/instana_client/models/synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_resource_update_list_icmp_validation_list_icmp_validation.py b/instana_client/models/synthetic_resource_update_list_icmp_validation_list_icmp_validation.py index e770f06..126b9c1 100644 --- a/instana_client/models/synthetic_resource_update_list_icmp_validation_list_icmp_validation.py +++ b/instana_client/models/synthetic_resource_update_list_icmp_validation_list_icmp_validation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_resource_update_list_network_profile_list_network_profile.py b/instana_client/models/synthetic_resource_update_list_network_profile_list_network_profile.py index 64d676c..3e4e904 100644 --- a/instana_client/models/synthetic_resource_update_list_network_profile_list_network_profile.py +++ b/instana_client/models/synthetic_resource_update_list_network_profile_list_network_profile.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation.py b/instana_client/models/synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation.py index af2ec65..068ea77 100644 --- a/instana_client/models/synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation.py +++ b/instana_client/models/synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_resource_update_list_string_list_string.py b/instana_client/models/synthetic_resource_update_list_string_list_string.py index 63fb6aa..e303da6 100644 --- a/instana_client/models/synthetic_resource_update_list_string_list_string.py +++ b/instana_client/models/synthetic_resource_update_list_string_list_string.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_resource_update_map_string_string_list_string.py b/instana_client/models/synthetic_resource_update_map_string_string_list_string.py index 099331a..6c86ec1 100644 --- a/instana_client/models/synthetic_resource_update_map_string_string_list_string.py +++ b/instana_client/models/synthetic_resource_update_map_string_string_list_string.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_slo_entity.py b/instana_client/models/synthetic_slo_entity.py index 256c652..51dd06b 100644 --- a/instana_client/models/synthetic_slo_entity.py +++ b/instana_client/models/synthetic_slo_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test.py b/instana_client/models/synthetic_test.py index 4fa09f3..d769366 100644 --- a/instana_client/models/synthetic_test.py +++ b/instana_client/models/synthetic_test.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test_cicd.py b/instana_client/models/synthetic_test_cicd.py index 7284ccd..a73d3c2 100644 --- a/instana_client/models/synthetic_test_cicd.py +++ b/instana_client/models/synthetic_test_cicd.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test_cicd_customization.py b/instana_client/models/synthetic_test_cicd_customization.py index 7e05019..b249c29 100644 --- a/instana_client/models/synthetic_test_cicd_customization.py +++ b/instana_client/models/synthetic_test_cicd_customization.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test_cicd_item.py b/instana_client/models/synthetic_test_cicd_item.py index 89314ce..ad30189 100644 --- a/instana_client/models/synthetic_test_cicd_item.py +++ b/instana_client/models/synthetic_test_cicd_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test_cicd_response.py b/instana_client/models/synthetic_test_cicd_response.py index a777201..17b18e7 100644 --- a/instana_client/models/synthetic_test_cicd_response.py +++ b/instana_client/models/synthetic_test_cicd_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test_deep_update.py b/instana_client/models/synthetic_test_deep_update.py index a635ddc..f48727c 100644 --- a/instana_client/models/synthetic_test_deep_update.py +++ b/instana_client/models/synthetic_test_deep_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test_shallow_update.py b/instana_client/models/synthetic_test_shallow_update.py index 3ce0d7e..8a083c0 100644 --- a/instana_client/models/synthetic_test_shallow_update.py +++ b/instana_client/models/synthetic_test_shallow_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test_update.py b/instana_client/models/synthetic_test_update.py index 5660660..31d0793 100644 --- a/instana_client/models/synthetic_test_update.py +++ b/instana_client/models/synthetic_test_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_time_threshold.py b/instana_client/models/synthetic_time_threshold.py index 32e911e..6014d9e 100644 --- a/instana_client/models/synthetic_time_threshold.py +++ b/instana_client/models/synthetic_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_type_configuration.py b/instana_client/models/synthetic_type_configuration.py index 2ef48ee..6298647 100644 --- a/instana_client/models/synthetic_type_configuration.py +++ b/instana_client/models/synthetic_type_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_type_configuration_update.py b/instana_client/models/synthetic_type_configuration_update.py index f24a064..70f66c3 100644 --- a/instana_client/models/synthetic_type_configuration_update.py +++ b/instana_client/models/synthetic_type_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetics_event_result.py b/instana_client/models/synthetics_event_result.py index a07ab21..9314149 100644 --- a/instana_client/models/synthetics_event_result.py +++ b/instana_client/models/synthetics_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/system_rule.py b/instana_client/models/system_rule.py index f88a7d2..e540f50 100644 --- a/instana_client/models/system_rule.py +++ b/instana_client/models/system_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/system_rule_label.py b/instana_client/models/system_rule_label.py index 24f1600..3a4ec01 100644 --- a/instana_client/models/system_rule_label.py +++ b/instana_client/models/system_rule_label.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag.py b/instana_client/models/tag.py index 54b77a0..31d810e 100644 --- a/instana_client/models/tag.py +++ b/instana_client/models/tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag_catalog.py b/instana_client/models/tag_catalog.py index 7165f1e..2952c84 100644 --- a/instana_client/models/tag_catalog.py +++ b/instana_client/models/tag_catalog.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag_filter_expression.py b/instana_client/models/tag_filter_expression.py index a2d4872..10d73e2 100644 --- a/instana_client/models/tag_filter_expression.py +++ b/instana_client/models/tag_filter_expression.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag_filter_expression_element.py b/instana_client/models/tag_filter_expression_element.py index 28cc3ec..d21a409 100644 --- a/instana_client/models/tag_filter_expression_element.py +++ b/instana_client/models/tag_filter_expression_element.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag_matcher_dto.py b/instana_client/models/tag_matcher_dto.py index de99deb..c52b482 100644 --- a/instana_client/models/tag_matcher_dto.py +++ b/instana_client/models/tag_matcher_dto.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag_tree_level.py b/instana_client/models/tag_tree_level.py index f5522c9..7d51384 100644 --- a/instana_client/models/tag_tree_level.py +++ b/instana_client/models/tag_tree_level.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag_tree_node.py b/instana_client/models/tag_tree_node.py index 71bd98b..611b47d 100644 --- a/instana_client/models/tag_tree_node.py +++ b/instana_client/models/tag_tree_node.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag_tree_tag.py b/instana_client/models/tag_tree_tag.py index 6c95f8b..02d8e62 100644 --- a/instana_client/models/tag_tree_tag.py +++ b/instana_client/models/tag_tree_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_common_properties.py b/instana_client/models/test_common_properties.py index 0a1bdae..72c308d 100644 --- a/instana_client/models/test_common_properties.py +++ b/instana_client/models/test_common_properties.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -47,12 +47,13 @@ class TestCommonProperties(BaseModel): mobile_application_ids: Optional[List[StrictStr]] = Field(default=None, alias="mobileApplicationIds") mobile_application_labels: Optional[List[StrictStr]] = Field(default=None, alias="mobileApplicationLabels") modified_at: Optional[StrictInt] = Field(default=None, alias="modifiedAt") + profiles: Optional[List[StrictStr]] = None rbac_tags: Optional[List[ApiTag]] = Field(default=None, alias="rbacTags") service_id: Optional[StrictStr] = Field(default=None, alias="serviceId") type: Annotated[str, Field(min_length=1, strict=True)] website_ids: Optional[List[StrictStr]] = Field(default=None, alias="websiteIds") website_labels: Optional[List[StrictStr]] = Field(default=None, alias="websiteLabels") - __properties: ClassVar[List[str]] = ["active", "applicationId", "applicationIds", "applicationLabel", "applicationLabels", "createdAt", "frequency", "getWebsiteLabels", "id", "label", "locationDisplayLabels", "locationIds", "locationLabels", "locationStatusList", "mobileApplicationIds", "mobileApplicationLabels", "modifiedAt", "rbacTags", "serviceId", "type", "websiteIds", "websiteLabels"] + __properties: ClassVar[List[str]] = ["active", "applicationId", "applicationIds", "applicationLabel", "applicationLabels", "createdAt", "frequency", "getWebsiteLabels", "id", "label", "locationDisplayLabels", "locationIds", "locationLabels", "locationStatusList", "mobileApplicationIds", "mobileApplicationLabels", "modifiedAt", "profiles", "rbacTags", "serviceId", "type", "websiteIds", "websiteLabels"] model_config = ConfigDict( populate_by_name=True, @@ -141,6 +142,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "mobileApplicationIds": obj.get("mobileApplicationIds"), "mobileApplicationLabels": obj.get("mobileApplicationLabels"), "modifiedAt": obj.get("modifiedAt"), + "profiles": obj.get("profiles"), "rbacTags": [ApiTag.from_dict(_item) for _item in obj["rbacTags"]] if obj.get("rbacTags") is not None else None, "serviceId": obj.get("serviceId"), "type": obj.get("type"), diff --git a/instana_client/models/test_connection_response.py b/instana_client/models/test_connection_response.py index 61a39f3..423debe 100644 --- a/instana_client/models/test_connection_response.py +++ b/instana_client/models/test_connection_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_last_error.py b/instana_client/models/test_last_error.py index d36f79b..fb7321a 100644 --- a/instana_client/models/test_last_error.py +++ b/instana_client/models/test_last_error.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_result.py b/instana_client/models/test_result.py index a018200..2303aa2 100644 --- a/instana_client/models/test_result.py +++ b/instana_client/models/test_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_result_common_properties.py b/instana_client/models/test_result_common_properties.py index bb18a67..6aeeb18 100644 --- a/instana_client/models/test_result_common_properties.py +++ b/instana_client/models/test_result_common_properties.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_result_detail_data.py b/instana_client/models/test_result_detail_data.py index 0979a82..e8b5c61 100644 --- a/instana_client/models/test_result_detail_data.py +++ b/instana_client/models/test_result_detail_data.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_result_item.py b/instana_client/models/test_result_item.py index a0b6c2b..749328a 100644 --- a/instana_client/models/test_result_item.py +++ b/instana_client/models/test_result_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_result_list_item.py b/instana_client/models/test_result_list_item.py index 75e19b6..907ff3f 100644 --- a/instana_client/models/test_result_list_item.py +++ b/instana_client/models/test_result_list_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_result_list_result.py b/instana_client/models/test_result_list_result.py index eacb525..eed30da 100644 --- a/instana_client/models/test_result_list_result.py +++ b/instana_client/models/test_result_list_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_result_metadata.py b/instana_client/models/test_result_metadata.py index 0f4a613..18f3b14 100644 --- a/instana_client/models/test_result_metadata.py +++ b/instana_client/models/test_result_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_result_subtransaction.py b/instana_client/models/test_result_subtransaction.py index 30db632..bd56062 100644 --- a/instana_client/models/test_result_subtransaction.py +++ b/instana_client/models/test_result_subtransaction.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/threshold.py b/instana_client/models/threshold.py index d6a5377..a910dfe 100644 --- a/instana_client/models/threshold.py +++ b/instana_client/models/threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/threshold_config_rule.py b/instana_client/models/threshold_config_rule.py index 73703f1..bb8c011 100644 --- a/instana_client/models/threshold_config_rule.py +++ b/instana_client/models/threshold_config_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/threshold_rule.py b/instana_client/models/threshold_rule.py index e5e8e2b..a512f71 100644 --- a/instana_client/models/threshold_rule.py +++ b/instana_client/models/threshold_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/throughput_application_alert_rule.py b/instana_client/models/throughput_application_alert_rule.py index e51b39f..b2b0dea 100644 --- a/instana_client/models/throughput_application_alert_rule.py +++ b/instana_client/models/throughput_application_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/throughput_mobile_app_alert_rule.py b/instana_client/models/throughput_mobile_app_alert_rule.py index fc18aa5..e7b4851 100644 --- a/instana_client/models/throughput_mobile_app_alert_rule.py +++ b/instana_client/models/throughput_mobile_app_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/throughput_website_alert_rule.py b/instana_client/models/throughput_website_alert_rule.py index 8495c2b..23f7d20 100644 --- a/instana_client/models/throughput_website_alert_rule.py +++ b/instana_client/models/throughput_website_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/time_config.py b/instana_client/models/time_config.py index d7b8624..35e3dd5 100644 --- a/instana_client/models/time_config.py +++ b/instana_client/models/time_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/time_frame.py b/instana_client/models/time_frame.py index 39b0ab0..5471124 100644 --- a/instana_client/models/time_frame.py +++ b/instana_client/models/time_frame.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/time_window.py b/instana_client/models/time_window.py index 4d7d4a6..fb7dca0 100644 --- a/instana_client/models/time_window.py +++ b/instana_client/models/time_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/topology.py b/instana_client/models/topology.py index 1e821eb..ab7804e 100644 --- a/instana_client/models/topology.py +++ b/instana_client/models/topology.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace.py b/instana_client/models/trace.py index 9a62435..2b919a0 100644 --- a/instana_client/models/trace.py +++ b/instana_client/models/trace.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace_activity_tree_node_details.py b/instana_client/models/trace_activity_tree_node_details.py index 609e1bf..330e4f2 100644 --- a/instana_client/models/trace_activity_tree_node_details.py +++ b/instana_client/models/trace_activity_tree_node_details.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace_download_result.py b/instana_client/models/trace_download_result.py index 4b5079c..fc74f05 100644 --- a/instana_client/models/trace_download_result.py +++ b/instana_client/models/trace_download_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace_groups_item.py b/instana_client/models/trace_groups_item.py index 8ad0a07..0d1500e 100644 --- a/instana_client/models/trace_groups_item.py +++ b/instana_client/models/trace_groups_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace_groups_result.py b/instana_client/models/trace_groups_result.py index 555f1ed..8153bf8 100644 --- a/instana_client/models/trace_groups_result.py +++ b/instana_client/models/trace_groups_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace_impact_application_time_threshold.py b/instana_client/models/trace_impact_application_time_threshold.py index e57fd72..c2d9317 100644 --- a/instana_client/models/trace_impact_application_time_threshold.py +++ b/instana_client/models/trace_impact_application_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace_item.py b/instana_client/models/trace_item.py index e9e4218..de36039 100644 --- a/instana_client/models/trace_item.py +++ b/instana_client/models/trace_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace_result.py b/instana_client/models/trace_result.py index 279bcae..ed3d36d 100644 --- a/instana_client/models/trace_result.py +++ b/instana_client/models/trace_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace_sampling_config.py b/instana_client/models/trace_sampling_config.py index 112b68c..2b66c18 100644 --- a/instana_client/models/trace_sampling_config.py +++ b/instana_client/models/trace_sampling_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/traffic_blueprint_indicator.py b/instana_client/models/traffic_blueprint_indicator.py index df68594..33911b5 100644 --- a/instana_client/models/traffic_blueprint_indicator.py +++ b/instana_client/models/traffic_blueprint_indicator.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trigger.py b/instana_client/models/trigger.py index c6fabce..8a9c2bb 100644 --- a/instana_client/models/trigger.py +++ b/instana_client/models/trigger.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/type_configuration.py b/instana_client/models/type_configuration.py index d06f0e5..b8e7f96 100644 --- a/instana_client/models/type_configuration.py +++ b/instana_client/models/type_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/unified_beacon.py b/instana_client/models/unified_beacon.py index f004acc..eb0936d 100644 --- a/instana_client/models/unified_beacon.py +++ b/instana_client/models/unified_beacon.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/unsupported_http_path_segment_matching_rule.py b/instana_client/models/unsupported_http_path_segment_matching_rule.py index 88a01ad..54946e1 100644 --- a/instana_client/models/unsupported_http_path_segment_matching_rule.py +++ b/instana_client/models/unsupported_http_path_segment_matching_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/update_evaluation_request.py b/instana_client/models/update_evaluation_request.py index 123609b..39ddeac 100644 --- a/instana_client/models/update_evaluation_request.py +++ b/instana_client/models/update_evaluation_request.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/updated_business_perspective_config.py b/instana_client/models/updated_business_perspective_config.py index f0c3b58..95257be 100644 --- a/instana_client/models/updated_business_perspective_config.py +++ b/instana_client/models/updated_business_perspective_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/usage_result.py b/instana_client/models/usage_result.py index 43dfad2..2178811 100644 --- a/instana_client/models/usage_result.py +++ b/instana_client/models/usage_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/usage_result_items.py b/instana_client/models/usage_result_items.py index 903b59f..48dc922 100644 --- a/instana_client/models/usage_result_items.py +++ b/instana_client/models/usage_result_items.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/user_basic_result.py b/instana_client/models/user_basic_result.py index 886c028..34ceaf8 100644 --- a/instana_client/models/user_basic_result.py +++ b/instana_client/models/user_basic_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/user_impact_mobile_app_time_threshold.py b/instana_client/models/user_impact_mobile_app_time_threshold.py index fa5d887..371acc1 100644 --- a/instana_client/models/user_impact_mobile_app_time_threshold.py +++ b/instana_client/models/user_impact_mobile_app_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/user_impact_website_time_threshold.py b/instana_client/models/user_impact_website_time_threshold.py index 2de0b13..e46ed2d 100644 --- a/instana_client/models/user_impact_website_time_threshold.py +++ b/instana_client/models/user_impact_website_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/user_result.py b/instana_client/models/user_result.py index f0d8337..bbb735c 100644 --- a/instana_client/models/user_result.py +++ b/instana_client/models/user_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/users_result.py b/instana_client/models/users_result.py index c908fa5..ce88480 100644 --- a/instana_client/models/users_result.py +++ b/instana_client/models/users_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/validated_alerting_channel_input_info.py b/instana_client/models/validated_alerting_channel_input_info.py index 5a96fac..c171535 100644 --- a/instana_client/models/validated_alerting_channel_input_info.py +++ b/instana_client/models/validated_alerting_channel_input_info.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -53,8 +53,8 @@ def event_types_validate_enum(cls, value): @field_validator('type') def type_validate_enum(cls, value): """Validates the enum""" - if value not in set(['Alert', 'WebsiteSmartAlert', 'MobileSmartAlert', 'ApplicationSmartAlert', 'GlobalApplicationSmartAlert', 'SyntheticSmartAlert', 'InfraSmartAlert', 'ServiceLevelSmartAlert', 'ApdexSmartAlert', 'LogSmartAlert']): - raise ValueError("must be one of enum values ('Alert', 'WebsiteSmartAlert', 'MobileSmartAlert', 'ApplicationSmartAlert', 'GlobalApplicationSmartAlert', 'SyntheticSmartAlert', 'InfraSmartAlert', 'ServiceLevelSmartAlert', 'ApdexSmartAlert', 'LogSmartAlert')") + if value not in set(['Alert', 'WebsiteSmartAlert', 'MobileSmartAlert', 'ApplicationSmartAlert', 'GlobalApplicationSmartAlert', 'SyntheticSmartAlert', 'InfraSmartAlert', 'ServiceLevelSmartAlert', 'ApdexSmartAlert', 'LogSmartAlert', 'GenAISmartAlert']): + raise ValueError("must be one of enum values ('Alert', 'WebsiteSmartAlert', 'MobileSmartAlert', 'ApplicationSmartAlert', 'GlobalApplicationSmartAlert', 'SyntheticSmartAlert', 'InfraSmartAlert', 'ServiceLevelSmartAlert', 'ApdexSmartAlert', 'LogSmartAlert', 'GenAISmartAlert')") return value model_config = ConfigDict( diff --git a/instana_client/models/validated_alerting_configuration.py b/instana_client/models/validated_alerting_configuration.py index ce71687..24b579e 100644 --- a/instana_client/models/validated_alerting_configuration.py +++ b/instana_client/models/validated_alerting_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/validated_maintenance_config_v2_with_state_and_occurrence.py b/instana_client/models/validated_maintenance_config_v2_with_state_and_occurrence.py index e524326..3c8c2b3 100644 --- a/instana_client/models/validated_maintenance_config_v2_with_state_and_occurrence.py +++ b/instana_client/models/validated_maintenance_config_v2_with_state_and_occurrence.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/validated_maintenance_config_with_status.py b/instana_client/models/validated_maintenance_config_with_status.py index 24be1f6..a499d56 100644 --- a/instana_client/models/validated_maintenance_config_with_status.py +++ b/instana_client/models/validated_maintenance_config_with_status.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/victor_ops_integration.py b/instana_client/models/victor_ops_integration.py index 9309379..a179be6 100644 --- a/instana_client/models/victor_ops_integration.py +++ b/instana_client/models/victor_ops_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -31,7 +31,7 @@ class VictorOpsIntegration(AbstractIntegration): """ # noqa: E501 api_key: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="apiKey") routing_key: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="routingKey") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "apiKey", "routingKey"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "apiKey", "routingKey"] model_config = ConfigDict( populate_by_name=True, @@ -87,9 +87,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "apiKey": obj.get("apiKey"), "routingKey": obj.get("routingKey") diff --git a/instana_client/models/violations_in_period_application_time_threshold.py b/instana_client/models/violations_in_period_application_time_threshold.py index a285c39..f46cbf9 100644 --- a/instana_client/models/violations_in_period_application_time_threshold.py +++ b/instana_client/models/violations_in_period_application_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_period_mobile_app_time_threshold.py b/instana_client/models/violations_in_period_mobile_app_time_threshold.py index ef4efd3..fe547d5 100644 --- a/instana_client/models/violations_in_period_mobile_app_time_threshold.py +++ b/instana_client/models/violations_in_period_mobile_app_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_period_website_time_threshold.py b/instana_client/models/violations_in_period_website_time_threshold.py index c18f7a2..4db71da 100644 --- a/instana_client/models/violations_in_period_website_time_threshold.py +++ b/instana_client/models/violations_in_period_website_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_sequence_application_time_threshold.py b/instana_client/models/violations_in_sequence_application_time_threshold.py index 7384cf2..32708ac 100644 --- a/instana_client/models/violations_in_sequence_application_time_threshold.py +++ b/instana_client/models/violations_in_sequence_application_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_sequence_infra_time_threshold.py b/instana_client/models/violations_in_sequence_infra_time_threshold.py index 82cc226..406553d 100644 --- a/instana_client/models/violations_in_sequence_infra_time_threshold.py +++ b/instana_client/models/violations_in_sequence_infra_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_sequence_log_time_threshold.py b/instana_client/models/violations_in_sequence_log_time_threshold.py index 6e75d86..197c8ff 100644 --- a/instana_client/models/violations_in_sequence_log_time_threshold.py +++ b/instana_client/models/violations_in_sequence_log_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_sequence_mobile_app_time_threshold.py b/instana_client/models/violations_in_sequence_mobile_app_time_threshold.py index 44e0ded..c2acf41 100644 --- a/instana_client/models/violations_in_sequence_mobile_app_time_threshold.py +++ b/instana_client/models/violations_in_sequence_mobile_app_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_sequence_synthetic_time_threshold.py b/instana_client/models/violations_in_sequence_synthetic_time_threshold.py index c9c0695..891507b 100644 --- a/instana_client/models/violations_in_sequence_synthetic_time_threshold.py +++ b/instana_client/models/violations_in_sequence_synthetic_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_sequence_website_time_threshold.py b/instana_client/models/violations_in_sequence_website_time_threshold.py index 821fc60..29b47a4 100644 --- a/instana_client/models/violations_in_sequence_website_time_threshold.py +++ b/instana_client/models/violations_in_sequence_website_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/watson_ai_ops_webhook_integration.py b/instana_client/models/watson_ai_ops_webhook_integration.py index 0522092..0166aad 100644 --- a/instana_client/models/watson_ai_ops_webhook_integration.py +++ b/instana_client/models/watson_ai_ops_webhook_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -31,7 +31,7 @@ class WatsonAIOpsWebhookIntegration(AbstractIntegration): """ # noqa: E501 headers: Optional[List[Annotated[str, Field(min_length=1, strict=True)]]] = None webhook_url: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="webhookUrl") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "headers", "webhookUrl"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "headers", "webhookUrl"] model_config = ConfigDict( populate_by_name=True, @@ -92,9 +92,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "headers": obj.get("headers"), "webhookUrl": obj.get("webhookUrl") diff --git a/instana_client/models/webex_teams_webhook_integration.py b/instana_client/models/webex_teams_webhook_integration.py index d662e3b..d944031 100644 --- a/instana_client/models/webex_teams_webhook_integration.py +++ b/instana_client/models/webex_teams_webhook_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -30,7 +30,7 @@ class WebexTeamsWebhookIntegration(AbstractIntegration): WebexTeamsWebhookIntegration """ # noqa: E501 webhook_url: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="webhookUrl") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "webhookUrl"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "webhookUrl"] model_config = ConfigDict( populate_by_name=True, @@ -86,9 +86,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "webhookUrl": obj.get("webhookUrl") }) diff --git a/instana_client/models/webhook_integration.py b/instana_client/models/webhook_integration.py index b1a9861..2223e42 100644 --- a/instana_client/models/webhook_integration.py +++ b/instana_client/models/webhook_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -35,7 +35,7 @@ class WebhookIntegration(AbstractIntegration): oauth_enabled: Optional[StrictBool] = Field(default=None, alias="oauthEnabled") transformation_expression: Optional[StrictStr] = Field(default=None, alias="transformationExpression") webhook_urls: Annotated[List[Annotated[str, Field(min_length=1, strict=True)]], Field(min_length=1)] = Field(alias="webhookUrls") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "headers", "oauth", "oauthEnabled", "transformationExpression", "webhookUrls"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "headers", "oauth", "oauthEnabled", "transformationExpression", "webhookUrls"] model_config = ConfigDict( populate_by_name=True, @@ -94,9 +94,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "headers": obj.get("headers"), "oauth": OAuthIntegration.from_dict(obj["oauth"]) if obj.get("oauth") is not None else None, diff --git a/instana_client/models/webpage_action_configuration.py b/instana_client/models/webpage_action_configuration.py index 19ba019..0535217 100644 --- a/instana_client/models/webpage_action_configuration.py +++ b/instana_client/models/webpage_action_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/webpage_action_configuration_update.py b/instana_client/models/webpage_action_configuration_update.py index 94937d5..8bfd04c 100644 --- a/instana_client/models/webpage_action_configuration_update.py +++ b/instana_client/models/webpage_action_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/webpage_script_configuration.py b/instana_client/models/webpage_script_configuration.py index decb100..22ef4f1 100644 --- a/instana_client/models/webpage_script_configuration.py +++ b/instana_client/models/webpage_script_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/webpage_script_configuration_update.py b/instana_client/models/webpage_script_configuration_update.py index 3059042..be8556d 100644 --- a/instana_client/models/webpage_script_configuration_update.py +++ b/instana_client/models/webpage_script_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website.py b/instana_client/models/website.py index 033dc40..161a123 100644 --- a/instana_client/models/website.py +++ b/instana_client/models/website.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_alert_config.py b/instana_client/models/website_alert_config.py index b63d418..501eac2 100644 --- a/instana_client/models/website_alert_config.py +++ b/instana_client/models/website_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_alert_config_with_metadata.py b/instana_client/models/website_alert_config_with_metadata.py index 56ce036..f1a6707 100644 --- a/instana_client/models/website_alert_config_with_metadata.py +++ b/instana_client/models/website_alert_config_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_alert_config_with_rbac_tag.py b/instana_client/models/website_alert_config_with_rbac_tag.py index 889795d..089c836 100644 --- a/instana_client/models/website_alert_config_with_rbac_tag.py +++ b/instana_client/models/website_alert_config_with_rbac_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_alert_rule.py b/instana_client/models/website_alert_rule.py index 4dcc58c..c562320 100644 --- a/instana_client/models/website_alert_rule.py +++ b/instana_client/models/website_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_apdex_entity.py b/instana_client/models/website_apdex_entity.py index 3d5a6ea..0530959 100644 --- a/instana_client/models/website_apdex_entity.py +++ b/instana_client/models/website_apdex_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_beacon_groups_item.py b/instana_client/models/website_beacon_groups_item.py index 42680ac..e8361fb 100644 --- a/instana_client/models/website_beacon_groups_item.py +++ b/instana_client/models/website_beacon_groups_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_beacon_groups_result.py b/instana_client/models/website_beacon_groups_result.py index 1155424..9bce7c1 100644 --- a/instana_client/models/website_beacon_groups_result.py +++ b/instana_client/models/website_beacon_groups_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_beacon_result.py b/instana_client/models/website_beacon_result.py index e299d26..69336ff 100644 --- a/instana_client/models/website_beacon_result.py +++ b/instana_client/models/website_beacon_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_beacon_tag_group.py b/instana_client/models/website_beacon_tag_group.py index eddd955..5712acb 100644 --- a/instana_client/models/website_beacon_tag_group.py +++ b/instana_client/models/website_beacon_tag_group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_beacons_item.py b/instana_client/models/website_beacons_item.py index 2deab4a..e6aedfc 100644 --- a/instana_client/models/website_beacons_item.py +++ b/instana_client/models/website_beacons_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_event_based_sli_entity.py b/instana_client/models/website_event_based_sli_entity.py index f728bca..3b25388 100644 --- a/instana_client/models/website_event_based_sli_entity.py +++ b/instana_client/models/website_event_based_sli_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_event_result.py b/instana_client/models/website_event_result.py index 1e0a9f2..d737b9e 100644 --- a/instana_client/models/website_event_result.py +++ b/instana_client/models/website_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_metric_result.py b/instana_client/models/website_metric_result.py index 80f524e..04617b8 100644 --- a/instana_client/models/website_metric_result.py +++ b/instana_client/models/website_metric_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_monitoring_beacon.py b/instana_client/models/website_monitoring_beacon.py index 72aa1a8..afc7a1b 100644 --- a/instana_client/models/website_monitoring_beacon.py +++ b/instana_client/models/website_monitoring_beacon.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -111,6 +111,7 @@ class WebsiteMonitoringBeacon(BaseModel): resource_type: Optional[StrictStr] = Field(default=None, alias="resourceType") response_time: Optional[Annotated[int, Field(strict=True, ge=-1)]] = Field(default=None, alias="responseTime") session_id: Optional[StrictStr] = Field(default=None, alias="sessionId") + session_replay_status: Optional[StrictInt] = Field(default=None, alias="sessionReplayStatus") snippet_version: Optional[StrictStr] = Field(default=None, alias="snippetVersion") ssl_time: Optional[Annotated[int, Field(strict=True, ge=-1)]] = Field(default=None, alias="sslTime") stack_trace: Optional[StrictStr] = Field(default=None, alias="stackTrace") @@ -134,7 +135,7 @@ class WebsiteMonitoringBeacon(BaseModel): window_height: Optional[Annotated[int, Field(strict=True, ge=-1)]] = Field(default=None, alias="windowHeight") window_hidden: Optional[StrictBool] = Field(default=None, alias="windowHidden") window_width: Optional[Annotated[int, Field(strict=True, ge=-1)]] = Field(default=None, alias="windowWidth") - __properties: ClassVar[List[str]] = ["accuracyRadius", "accurateTimingsAvailable", "agentVersion", "appCacheTime", "backendTime", "backendTraceId", "batchSize", "beaconId", "browserName", "browserVersion", "bytesIngested", "cacheInteraction", "childrenTime", "city", "clockSkew", "componentStack", "connectionType", "continent", "continentCode", "country", "countryCode", "cspBlockedUri", "cspColumnNumber", "cspDisposition", "cspEffectiveDirective", "cspLineNumber", "cspOriginalPolicy", "cspSample", "cspSourceFile", "cumulativeLayoutShift", "customEventName", "customMetric", "decodedBodySize", "deprecations", "deviceType", "dnsTime", "domTime", "duration", "encodedBodySize", "errorCount", "errorId", "errorMessage", "errorType", "firstContentfulPaintTime", "firstInputDelayTime", "firstPaintTime", "frontendTime", "graphqlOperationName", "graphqlOperationType", "httpCallAsynchronous", "httpCallCorrelationAttempted", "httpCallHeaders", "httpCallMethod", "httpCallOrigin", "httpCallPath", "httpCallStatus", "httpCallUrl", "initiator", "interactionNextPaint", "internalMeta", "label", "largestContentfulPaintTime", "latitude", "locationOrigin", "locationPath", "locationUrl", "longitude", "meta", "onLoadTime", "osName", "osVersion", "page", "pageLoadId", "parentBeaconId", "parsedStackTrace", "phase", "processingTime", "redirectTime", "requestTime", "resourceType", "responseTime", "sessionId", "snippetVersion", "sslTime", "stackTrace", "stackTraceParsingStatus", "stackTraceReadability", "subdivision", "subdivisionCode", "tcpTime", "timestamp", "transferSize", "type", "unloadTime", "useFeatures", "userEmail", "userId", "userIp", "userLanguages", "userName", "websiteId", "websiteLabel", "windowHeight", "windowHidden", "windowWidth"] + __properties: ClassVar[List[str]] = ["accuracyRadius", "accurateTimingsAvailable", "agentVersion", "appCacheTime", "backendTime", "backendTraceId", "batchSize", "beaconId", "browserName", "browserVersion", "bytesIngested", "cacheInteraction", "childrenTime", "city", "clockSkew", "componentStack", "connectionType", "continent", "continentCode", "country", "countryCode", "cspBlockedUri", "cspColumnNumber", "cspDisposition", "cspEffectiveDirective", "cspLineNumber", "cspOriginalPolicy", "cspSample", "cspSourceFile", "cumulativeLayoutShift", "customEventName", "customMetric", "decodedBodySize", "deprecations", "deviceType", "dnsTime", "domTime", "duration", "encodedBodySize", "errorCount", "errorId", "errorMessage", "errorType", "firstContentfulPaintTime", "firstInputDelayTime", "firstPaintTime", "frontendTime", "graphqlOperationName", "graphqlOperationType", "httpCallAsynchronous", "httpCallCorrelationAttempted", "httpCallHeaders", "httpCallMethod", "httpCallOrigin", "httpCallPath", "httpCallStatus", "httpCallUrl", "initiator", "interactionNextPaint", "internalMeta", "label", "largestContentfulPaintTime", "latitude", "locationOrigin", "locationPath", "locationUrl", "longitude", "meta", "onLoadTime", "osName", "osVersion", "page", "pageLoadId", "parentBeaconId", "parsedStackTrace", "phase", "processingTime", "redirectTime", "requestTime", "resourceType", "responseTime", "sessionId", "sessionReplayStatus", "snippetVersion", "sslTime", "stackTrace", "stackTraceParsingStatus", "stackTraceReadability", "subdivision", "subdivisionCode", "tcpTime", "timestamp", "transferSize", "type", "unloadTime", "useFeatures", "userEmail", "userId", "userIp", "userLanguages", "userName", "websiteId", "websiteLabel", "windowHeight", "windowHidden", "windowWidth"] model_config = ConfigDict( populate_by_name=True, @@ -491,6 +492,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "resourceType": obj.get("resourceType"), "responseTime": obj.get("responseTime"), "sessionId": obj.get("sessionId"), + "sessionReplayStatus": obj.get("sessionReplayStatus"), "snippetVersion": obj.get("snippetVersion"), "sslTime": obj.get("sslTime"), "stackTrace": obj.get("stackTrace"), diff --git a/instana_client/models/website_monitoring_metric_description.py b/instana_client/models/website_monitoring_metric_description.py index c3fdf42..7e6813a 100644 --- a/instana_client/models/website_monitoring_metric_description.py +++ b/instana_client/models/website_monitoring_metric_description.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_monitoring_metrics_configuration.py b/instana_client/models/website_monitoring_metrics_configuration.py index 230add8..6c61272 100644 --- a/instana_client/models/website_monitoring_metrics_configuration.py +++ b/instana_client/models/website_monitoring_metrics_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_slo_entity.py b/instana_client/models/website_slo_entity.py index e0d8f41..ad8a4d3 100644 --- a/instana_client/models/website_slo_entity.py +++ b/instana_client/models/website_slo_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_time_based_sli_entity.py b/instana_client/models/website_time_based_sli_entity.py index ec886c9..fa817c9 100644 --- a/instana_client/models/website_time_based_sli_entity.py +++ b/instana_client/models/website_time_based_sli_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_time_threshold.py b/instana_client/models/website_time_threshold.py index fb75320..59a933f 100644 --- a/instana_client/models/website_time_threshold.py +++ b/instana_client/models/website_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/widget.py b/instana_client/models/widget.py index a3385b6..f8d0d4d 100644 --- a/instana_client/models/widget.py +++ b/instana_client/models/widget.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/with_meta_data.py b/instana_client/models/with_meta_data.py index c1abf2f..0ab93d9 100644 --- a/instana_client/models/with_meta_data.py +++ b/instana_client/models/with_meta_data.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/with_resolved_name.py b/instana_client/models/with_resolved_name.py index ca08aa1..40b7f79 100644 --- a/instana_client/models/with_resolved_name.py +++ b/instana_client/models/with_resolved_name.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/z_chat_ops_integration.py b/instana_client/models/z_chat_ops_integration.py index 7de227a..94d1b2b 100644 --- a/instana_client/models/z_chat_ops_integration.py +++ b/instana_client/models/z_chat_ops_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -32,7 +32,7 @@ class ZChatOpsIntegration(AbstractIntegration): bearer_auth_token: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="bearerAuthToken") channels: Optional[Annotated[List[Annotated[str, Field(min_length=1, strict=True)]], Field(min_length=0, max_length=1)]] = None zchat_ops_incidents_url: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="zchatOpsIncidentsUrl") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "testEventType", "testSeverity", "testState", "timezone", "bearerAuthToken", "channels", "zchatOpsIncidentsUrl"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "timezone", "bearerAuthToken", "channels", "zchatOpsIncidentsUrl"] model_config = ConfigDict( populate_by_name=True, @@ -93,9 +93,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "kind": obj.get("kind"), "name": obj.get("name"), - "testEventType": obj.get("testEventType"), - "testSeverity": obj.get("testSeverity"), - "testState": obj.get("testState"), "timezone": obj.get("timezone"), "bearerAuthToken": obj.get("bearerAuthToken"), "channels": obj.get("channels"), diff --git a/instana_client/rest.py b/instana_client/rest.py index 0a552b3..11b4800 100644 --- a/instana_client/rest.py +++ b/instana_client/rest.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/openapi-generator-config.json b/openapi-generator-config.json index c7075e3..78f022f 100644 --- a/openapi-generator-config.json +++ b/openapi-generator-config.json @@ -1,6 +1,6 @@ { "packageName": "instana_client", "projectName": "instana-client", - "packageVersion": "1.1.3", + "packageVersion": "1.1.4", "packageUrl": "https://github.com/instana/client-python" } diff --git a/openapi.yaml b/openapi.yaml index 09a83d3..3e29c43 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -7,7 +7,7 @@ info: description: Documentation for INSTANA REST API termsOfService: https://www.instana.com/terms-of-use/ title: Instana REST API documentation - version: 1.326.1571 + version: 1.328.1128 x-description: info x-ibm-ahub-try: true x-logo: @@ -1288,6 +1288,7 @@ paths: entity: DESTINATION scope: INCLUDE_IMMEDIATE_DOWNSTREAM_DATABASE_AND_MESSAGING boundaryScope: INBOUND + businessCriticality: 0 accessRules: - accessType: READ_WRITE relationType: GLOBAL @@ -1304,9 +1305,10 @@ paths: tags: - Application Settings post: - description: |2- - - For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + description: "Ignores the provided business criticality of the application;\ + \ business criticality can only be set with the \"Batch update application\ + \ business criticality\" API, which requires different permissions. \nFor\ + \ more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings." operationId: addApplicationConfig requestBody: content: @@ -1408,6 +1410,39 @@ paths: tags: - Application Settings x-description: addApplicationConfig + /api/application-monitoring/settings/application/batch-business-criticality: + patch: + description: Updates the business criticality of one or more Application Perspectives + to a new value. + operationId: batchUpdateApplicationBusinessCriticality + requestBody: + content: + application/json: + example: + ids: + - CxJ55sRbQwqBIfw5DzpRmQ + - oLyuFtIfQ3eKzAqM5vBGkQ + businessCriticality: HIGH + schema: + $ref: '#/components/schemas/ApplicationBatchBusinessCriticalityUpdate' + required: true + responses: + '204': + description: No Content + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions or limited in access. + '404': + description: Resource not found. + '422': + description: Unprocessable request - missing/invalid data. + security: + - ApiKeyAuth: + - ConfigureServiceMapping + summary: Batch update application business criticality + tags: + - Application Settings /api/application-monitoring/settings/application/{id}: delete: description: |- @@ -1500,6 +1535,7 @@ paths: entity: DESTINATION scope: INCLUDE_IMMEDIATE_DOWNSTREAM_DATABASE_AND_MESSAGING boundaryScope: INBOUND + businessCriticality: 0 accessRules: - accessType: READ_WRITE relationType: GLOBAL @@ -1518,9 +1554,10 @@ paths: tags: - Application Settings put: - description: |2- - - For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + description: "Does not allow changing the business criticality of an application;\ + \ this must be done with the \"Batch update application business criticality\"\ + \ API, which requires different permissions. \nFor more information on Application\ + \ Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings." operationId: putApplicationConfig parameters: - in: path @@ -15228,7 +15265,7 @@ paths: - description: | Optional tag to group volume usage by. Valid groupingTag values are: `kubernetes_cluster_name`, `kubernetes_daemonset_name`, `kubernetes_namespace_name`, - `kubernetes_deployment_name`, `host_name`, `zone`. + `kubernetes_deployment_name`, `host_name`, `zone`, `perspective_id`. example: zone in: query name: groupingTag @@ -15510,6 +15547,408 @@ paths: summary: Retrieve logs via REST API tags: - Logging Analyze + /api/logging/perspective/v1: + get: + description: | + Returns all log perspectives that belong to the authenticated caller's tenant unit. + operationId: getAllLoggingPerspectives + responses: + '200': + content: + application/json: + examples: + List of perspectives: + description: List of perspectives + value: + - perspectiveId: '0' + perspectiveName: All logs + description: null + filter: null + - perspectiveId: RuuEJgfYQ3qF_Ma9IcEV4g + perspectiveName: Production Errors + description: Shows only ERROR-level logs from the production environment + filter: + type: TAG_FILTER + name: log.level + operator: EQUALS + entity: NOT_APPLICABLE + value: ERROR + - perspectiveId: Ab1CdEfGhIjKlMnOpQrStU + perspectiveName: Staging Warnings + description: null + filter: + type: TAG_FILTER + name: log.level + operator: EQUALS + entity: NOT_APPLICABLE + value: WARN + schema: + type: array + items: + $ref: '#/components/schemas/LoggingPerspective' + description: Successfully retrieved all log perspectives for the tenant + unit. + '403': + description: Insufficient permissions to view logs. + '404': + description: Tenant unit not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get All Log Perspectives + tags: + - Logging Analyze + post: + description: | + Creates a new log perspective for the caller's tenant unit. + + - `perspectiveId` is **not** required — the server assigns it automatically. + - `perspectiveName` must be unique. + - `filter` accepts at least 1 and at most 10 elements. The `REGEX_MATCH` operator is not supported. + operationId: createLoggingPerspective + requestBody: + content: + application/json: + examples: + Compound filter (AND expression): + description: Compound filter (AND expression) + summary: Match ERROR logs in a specific Kubernetes namespace + value: + perspectiveName: Production Errors (k8s) + description: ERROR logs scoped to the production Kubernetes namespace + filter: + type: EXPRESSION + logicalOperator: AND + elements: + - type: TAG_FILTER + name: log.level + operator: EQUALS + entity: NOT_APPLICABLE + value: ERROR + - type: TAG_FILTER + name: kubernetes.namespace.name + operator: EQUALS + entity: NOT_APPLICABLE + value: production + Single filter (EQUALS): + description: Single filter (EQUALS) + summary: Match logs where log.level = ERROR + value: + perspectiveName: Production Errors + description: Shows only ERROR-level logs from the production environment + filter: + type: TAG_FILTER + name: log.level + operator: EQUALS + entity: NOT_APPLICABLE + value: ERROR + curl — AND expression: + description: curl — AND expression + summary: 'curl example: create with a compound AND filter' + value: |- + curl -X POST 'https:///api/logging/perspective/v1' \ + -H 'authorization: apiToken ' \ + -H 'content-type: application/json' \ + -d '{ + "perspectiveName": "Production Errors (k8s)", + "description": "ERROR logs scoped to the production Kubernetes namespace", + "filter": { + "type": "EXPRESSION", + "logicalOperator": "AND", + "elements": [ + { + "type": "TAG_FILTER", + "name": "log.level", + "operator": "EQUALS", + "entity": "NOT_APPLICABLE", + "value": "ERROR" + }, + { + "type": "TAG_FILTER", + "name": "kubernetes.namespace.name", + "operator": "EQUALS", + "entity": "NOT_APPLICABLE", + "value": "production" + } + ] + } + }' + curl — single filter: + description: curl — single filter + summary: 'curl example: create with a single EQUALS filter' + value: |- + curl -X POST 'https:///api/logging/perspective/v1' \ + -H 'authorization: apiToken ' \ + -H 'content-type: application/json' \ + -d '{ + "perspectiveName": "Production Errors", + "description": "Shows only ERROR-level logs from the production environment", + "filter": { + "type": "TAG_FILTER", + "name": "log.level", + "operator": "EQUALS", + "entity": "NOT_APPLICABLE", + "value": "ERROR" + } + }' + schema: + $ref: '#/components/schemas/LoggingPerspective' + description: The log perspective to create. + required: true + responses: + '201': + content: + application/json: + examples: + Created perspective: + description: Created perspective + value: + perspectiveId: RuuEJgfYQ3qF_Ma9IcEV4g + perspectiveName: Production Errors + description: Shows only ERROR-level logs from the production environment + filter: + type: TAG_FILTER + name: log.level + operator: EQUALS + entity: NOT_APPLICABLE + value: ERROR + schema: + $ref: '#/components/schemas/LoggingPerspective' + description: Perspective created successfully. Returns the persisted perspective + including the server-assigned `perspectiveId`. + '400': + description: | + Validation failed. Possible reasons: + - `perspectiveName` is missing or blank. + - `perspectiveName` is `"All logs"` — this is a reserved name. + - `filter` is missing, empty, or cannot be parsed. + - The filter contains more than 10 elements. + - The filter contains a `REGEX_MATCH` operator. + - A perspective with the same name already exists. + - The reserved ID `"0"` ("All logs") was provided. + '403': + description: | + Possible reasons: + - Insufficient permissions to configure log perspectives. + - The tenant unit has reached its maximum number of allowed perspectives. + '404': + description: Tenant unit not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Create Log Perspective + tags: + - Logging Analyze + /api/logging/perspective/v1/{perspectiveId}: + delete: + description: | + Deletes an existing log perspective by its ID. + + The reserved **"All logs"** perspective (id=`"0"`) cannot be deleted. + operationId: deleteLoggingPerspective + parameters: + - in: path + name: perspectiveId + required: true + schema: + type: string + responses: + '204': + description: Perspective deleted successfully. + '400': + description: Attempted to delete the reserved perspective "0" ("All logs"). + '403': + description: Insufficient permissions to delete this perspective. + '404': + description: Tenant unit not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Delete Log Perspective + tags: + - Logging Analyze + get: + description: | + Retrieves a single log perspective by its ID. + operationId: getLoggingPerspective + parameters: + - in: path + name: perspectiveId + required: true + schema: + type: string + responses: + '200': + content: + application/json: + examples: + Perspective with filter: + description: Perspective with filter + value: + perspectiveId: RuuEJgfYQ3qF_Ma9IcEV4g + perspectiveName: Production Errors + description: Shows only ERROR-level logs from the production environment + filter: + type: TAG_FILTER + name: log.level + operator: EQUALS + entity: NOT_APPLICABLE + value: ERROR + schema: + $ref: '#/components/schemas/LoggingPerspective' + description: Successfully retrieved the log perspective. + '403': + description: Insufficient permissions to view this perspective. + '404': + description: Logging perspective not found or tenant unit not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get Log Perspective + tags: + - Logging Analyze + put: + description: | + Replaces an existing log perspective with the provided values. + + **Updatable fields:** + - `perspectiveName` — new display name; must be unique within the tenant unit. + - `description` — free-text description shown in the UI. Set to `null` to clear. + - `filter` — accepts at most 10 elements; the `REGEX_MATCH` operator is not supported. + + **Rules:** + - `perspectiveId` in the request body must match the `{perspectiveId}` path parameter. + - The reserved perspective `"0"` ("All logs") cannot be updated. + operationId: updateLoggingPerspective + parameters: + - in: path + name: perspectiveId + required: true + schema: + type: string + requestBody: + content: + application/json: + examples: + Updated perspective: + description: Updated perspective + summary: Update name, description, and filter using an AND expression + value: + perspectiveId: RuuEJgfYQ3qF_Ma9IcEV4g + perspectiveName: Production Errors (Updated) + description: ERROR-level logs scoped to the production Kubernetes + namespace + filter: + type: EXPRESSION + logicalOperator: AND + elements: + - type: TAG_FILTER + name: log.level + operator: EQUALS + entity: NOT_APPLICABLE + value: ERROR + - type: TAG_FILTER + name: kubernetes.namespace.name + operator: EQUALS + entity: NOT_APPLICABLE + value: production + curl — update perspective: + description: curl — update perspective + summary: 'curl example: update an existing perspective' + value: |- + curl -X PUT 'https:///api/logging/perspective/v1/RuuEJgfYQ3qF_Ma9IcEV4g' \ + -H 'authorization: apiToken ' \ + -H 'content-type: application/json' \ + -d '{ + "perspectiveId": "RuuEJgfYQ3qF_Ma9IcEV4g", + "perspectiveName": "Production Errors (Updated)", + "description": "ERROR-level logs scoped to the production Kubernetes namespace", + "filter": { + "type": "EXPRESSION", + "logicalOperator": "AND", + "elements": [ + { + "type": "TAG_FILTER", + "name": "log.level", + "operator": "EQUALS", + "entity": "NOT_APPLICABLE", + "value": "ERROR" + }, + { + "type": "TAG_FILTER", + "name": "kubernetes.namespace.name", + "operator": "EQUALS", + "entity": "NOT_APPLICABLE", + "value": "production" + } + ] + } + }' + schema: + $ref: '#/components/schemas/LoggingPerspective' + description: Full log perspective object. `perspectiveId` must be present + and match the path parameter. + required: true + responses: + '200': + content: + application/json: + examples: + Updated perspective: + description: Updated perspective + value: + perspectiveId: RuuEJgfYQ3qF_Ma9IcEV4g + perspectiveName: Production Errors (Updated) + description: ERROR-level logs scoped to the production Kubernetes + namespace + filter: + type: EXPRESSION + logicalOperator: AND + elements: + - type: TAG_FILTER + name: log.level + operator: EQUALS + entity: NOT_APPLICABLE + value: ERROR + - type: TAG_FILTER + name: kubernetes.namespace.name + operator: EQUALS + entity: NOT_APPLICABLE + value: production + schema: + $ref: '#/components/schemas/LoggingPerspective' + description: Perspective updated successfully. Returns the persisted perspective. + '400': + description: | + Validation failed. Possible reasons: + - `perspectiveId` in the body does not match the path parameter. + - `perspectiveName` is missing or blank. + - `perspectiveName` is `"All logs"` — this is a reserved name. + - `filter` is missing, empty, or cannot be parsed. + - The filter contains more than 10 elements. + - The filter contains a `REGEX_MATCH` operator. + - A different perspective with the same name already exists in this tenant unit. + - Attempted to update the reserved perspective `"0"` ("All logs"). + '403': + description: Insufficient permissions to update this perspective. + '404': + description: Perspective not found or tenant unit not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Update Log Perspective + tags: + - Logging Analyze /api/mobile-app-monitoring/analyze/beacon-groups: post: description: API request to get grouped mobile app beacon metrics. @@ -18113,7 +18552,8 @@ paths: "canConfigureGlobalLogSmartAlerts": true, "canManuallyCloseIssue": true, "canViewLogVolume": true, - "canConfigureLogRetentionPeriod": true + "canConfigureLogRetentionPeriod": true, + "canConfigureLoggingPerspectives": true }, { "id": "tokenId-2(masked)", @@ -18192,7 +18632,8 @@ paths: "canConfigureGlobalLogSmartAlerts": false, "canManuallyCloseIssue": false, "canViewLogVolume": false, - "canConfigureLogRetentionPeriod": false + "canConfigureLogRetentionPeriod": false, + "canConfigureLoggingPerspectives": false } ] schema: @@ -18313,6 +18754,7 @@ paths: canManuallyCloseIssue: false canViewLogVolume: false canConfigureLogRetentionPeriod: false + canConfigureLoggingPerspectives: false schema: $ref: '#/components/schemas/ApiToken' description: OK @@ -18437,7 +18879,8 @@ paths: "canConfigureGlobalLogSmartAlerts": true, "canManuallyCloseIssue": true, "canViewLogVolume": true, - "canConfigureLogRetentionPeriod": true + "canConfigureLogRetentionPeriod": true, + "canConfigureLoggingPerspectives": true } schema: $ref: '#/components/schemas/ApiToken' @@ -18561,6 +19004,7 @@ paths: canManuallyCloseIssue: false canViewLogVolume: false canConfigureLogRetentionPeriod: false + canConfigureLoggingPerspectives: false schema: $ref: '#/components/schemas/ApiToken' description: OK @@ -19405,8 +19849,16 @@ paths: /api/settings/ip-filtering/disable: patch: description: Disable and retrieve the currently configured ip-filtering for - the current tenant unit. + the current tenant unit. Request body is ignored, but required by some clients. operationId: disableIPFiltering + requestBody: + content: + application/json: + example: + key: null + schema: + type: object + required: true responses: '200': content: @@ -19455,8 +19907,17 @@ paths: description: Verify and retrieve the currently configured ip-filtering for the current tenant unit. This action is required to promote a configuration from temporary active to permanently active. This action can only be performed - whilst the configuration is temporary active. + whilst the configuration is temporary active. Request body is ignored, but + required by some clients. operationId: verifyIPFiltering + requestBody: + content: + application/json: + example: + key: null + schema: + type: object + required: true responses: '200': content: @@ -20596,6 +21057,49 @@ paths: tags: - Groups x-description: updateGroup + /api/settings/rbac/groups/{id}/migrateToTeams: + put: + description: |- + Migrates a legacy RBAC group to a team preserving the access scope, assigning all non-IdP members the specified target role. IdP group mappings are automatically converted to team mappings with the migrated team and target role. This is a tenant-wide, **irreversible** operation — the original group is permanently deleted on success. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + operationId: migrateGroupToTeamAndRole + parameters: + - description: The ID of the legacy RBAC group to migrate. + example: aGzFe3kLp9qR + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + example: + targetRoleId: bXt7mNpQ2wYs + schema: + $ref: '#/components/schemas/ApiGroupToTeamRoleMigration' + required: true + responses: + '200': + description: Migration completed successfully. The group has been converted + to a team, all eligible members have been assigned the target role, and + the original group has been permanently deleted. + '400': + description: 'Bad request. Possible reasons: (1) the groupId refers to a + protected system group which cannot be migrated; (2) the groupId and targetRoleId + refer to the same entity; (3) the targetRoleId does not refer to an existing + role.' + '404': + description: No group found for the given groupId in this tenant. + '500': + description: 'An unexpected error occurred. ' + security: + - ApiKeyAuth: + - CanConfigureTeams + summary: Migrate a legacy RBAC group to the Team and Role model + tags: + - Groups + x-description: migrateGroup /api/settings/rbac/groups/{id}/user/{userId}: delete: description: |- @@ -20634,7 +21138,7 @@ paths: description: |2- For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - operationId: getGroupMappings + operationId: getMappings responses: '200': content: @@ -20644,34 +21148,39 @@ paths: key: roles value: analyst groupId: '-3' + teamId: null schema: type: array items: - $ref: '#/components/schemas/GroupMapping' + $ref: '#/components/schemas/Mapping' description: OK '404': - description: No group mapping found + description: No mapping found security: - ApiKeyAuth: - CanConfigureAuthenticationMethods - summary: Get all group mappings + summary: Get all mappings tags: - Groups - x-description: getGroupMappings + - Roles + - Teams + x-description: getMappings post: description: |2- For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - operationId: createGroupMapping + operationId: createMapping requestBody: content: application/json: example: + id: mappingId key: roles value: analyst groupId: '-3' + teamId: null schema: - $ref: '#/components/schemas/GroupMapping' + $ref: '#/components/schemas/Mapping' required: true responses: '200': @@ -20682,16 +21191,30 @@ paths: key: roles value: analyst groupId: '-3' + teamId: null schema: - $ref: '#/components/schemas/GroupMapping' + $ref: '#/components/schemas/Mapping' description: OK + '412': + content: + application/json: + example: + errors: + - attempting to create team-mapping whilst teams is disabled + schema: + type: string + description: Attempting to upsert a mapping containing a teamId - without + teams being available + '422': + description: invalid request body security: - ApiKeyAuth: - CanConfigureAuthenticationMethods - summary: Create group mapping + summary: Create mapping tags: - Groups - x-description: createGroupMapping + - Roles + - Teams /api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups: get: description: |2- @@ -20708,14 +21231,15 @@ paths: $ref: '#/components/schemas/IdentityProviderPatch' description: OK '404': - description: No group mapping restriction found + description: No mapping restriction found security: - ApiKeyAuth: - CanConfigureAuthenticationMethods - summary: Check user restrictions for empty Idp group mapping + summary: Check user restrictions for empty Idp mapping tags: - Groups - x-description: getIdentityProviderPatch + - Roles + - Teams put: description: |2- @@ -20725,29 +21249,27 @@ paths: content: application/json: example: - restrictEmptyIdpGroups: true + restrictEmptyIdpGroups: false schema: $ref: '#/components/schemas/IdentityProviderPatch' required: true responses: - default: - content: - application/json: { - } - description: default response + '412': + description: An IdP must be configured before this can be changed. + '422': + description: Invalid request body. security: - ApiKeyAuth: - CanConfigureAuthenticationMethods summary: Allow/Restrict users with empty Idp group mapping tags: - Groups - x-description: updateIdentityProvider /api/settings/rbac/mappings/overview: get: description: |2- For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - operationId: getGroupMappingsOverview + operationId: getMappingsOverview responses: '200': content: @@ -20761,25 +21283,26 @@ paths: schema: type: array items: - $ref: '#/components/schemas/GroupMappingOverview' + $ref: '#/components/schemas/MappingOverview' description: OK '404': description: No group mapping overviews found security: - ApiKeyAuth: - CanConfigureAuthenticationMethods - summary: Get all group mappings overview + summary: Get all mappings overview tags: - Groups - x-description: getGroupMappingsOverview + - Roles + - Teams /api/settings/rbac/mappings/{id}: delete: description: |2- For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - operationId: deleteGroupMapping + operationId: deleteMapping parameters: - - description: Id of the group mapping to delete + - description: Id of the mapping to delete example: mappingId in: path name: id @@ -20795,15 +21318,16 @@ paths: security: - ApiKeyAuth: - CanConfigureAuthenticationMethods - summary: Delete group mapping + summary: Delete mapping tags: - Groups - x-description: deleteGroupMapping + - Roles + - Teams get: description: |2- For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - operationId: getGroupMapping + operationId: getMapping parameters: - in: path name: id @@ -20819,25 +21343,27 @@ paths: key: roles value: analyst groupId: '-3' + teamId: null schema: - $ref: '#/components/schemas/GroupMapping' + $ref: '#/components/schemas/Mapping' description: OK '404': - description: No group mapping found + description: No mapping found security: - ApiKeyAuth: - CanConfigureAuthenticationMethods - summary: Get group mapping + summary: Get mapping tags: - Groups - x-description: getGroupMapping + - Roles + - Teams put: description: |2- For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - operationId: updateGroupMapping + operationId: updateMapping parameters: - - description: Id of the group mapping to update + - description: Id of the mapping to update example: mappingId in: path name: id @@ -20852,8 +21378,9 @@ paths: key: roles value: analyst groupId: '-3' + teamId: null schema: - $ref: '#/components/schemas/GroupMapping' + $ref: '#/components/schemas/Mapping' required: true responses: '200': @@ -20864,16 +21391,30 @@ paths: key: roles value: analyst groupId: '-3' + teamId: null schema: - $ref: '#/components/schemas/GroupMapping' + $ref: '#/components/schemas/Mapping' description: OK + '412': + content: + application/json: + example: + errors: + - attempting to create team-mapping whilst teams is disabled + schema: + type: string + description: Attempting to upsert a mapping containing a teamId - without + teams being available + '422': + description: invalid request body security: - ApiKeyAuth: - CanConfigureAuthenticationMethods - summary: Update group mapping + summary: Update mapping tags: - Groups - x-description: updateGroupMapping + - Roles + - Teams /api/settings/rbac/roles: get: description: Retrieve all roles for the current tenant unit. @@ -21752,6 +22293,7 @@ paths: - blueprint - sloStatus - sloWindowRemain + - sloHealthState - timeWindow - 'null' example: name @@ -21856,6 +22398,18 @@ paths: type: string description: Filter by the SLO status example: green + - in: query + name: sloHealthState + schema: + type: string + description: Filter by the SLO health state + enum: + - HEALTHY + - AT_RISK + - BREACHED + - INSUFFICIENT_DATA + - NOT_EVALUATED + example: HEALTHY - in: query name: entityIds schema: @@ -22053,6 +22607,180 @@ paths: tags: - SLO Configurations x-description: createSloConfiguration + /api/settings/slo/health-snapshot: + get: + operationId: getSloHealthSnapshot + parameters: + - in: query + name: query + schema: + type: string + description: Keyword or query to filter by SLO name + example: checkout + - in: query + name: tag + schema: + type: array + description: Filter by config-level tag (repeatable) + example: team:payments + items: + type: string + description: Filter by config-level tag (repeatable) + example: team:payments + uniqueItems: true + - in: query + name: entityType + schema: + type: array + description: Filter by SLO entity type (repeatable) + example: application + items: + type: string + description: Filter by SLO entity type (repeatable) + enum: + - application + - website + - synthetic + - infrastructure + - mobile + example: application + uniqueItems: true + - in: query + name: blueprint + schema: + type: array + description: Filter by blueprint type (repeatable) + example: latency + items: + type: string + description: Filter by blueprint type (repeatable) + enum: + - latency + - availability + - traffic + - saturation + - custom + - advanced-custom + example: latency + uniqueItems: true + - in: query + name: sloHealthState + schema: + type: string + description: Filter by SLO health state + enum: + - HEALTHY + - AT_RISK + - BREACHED + - INSUFFICIENT_DATA + - NOT_EVALUATED + example: AT_RISK + - in: query + name: sloIds + schema: + type: array + description: Fetch specific SLO IDs only (repeatable) + example: SLOdCTspkHlS_OzNOATQWgsuw + items: + type: string + description: Fetch specific SLO IDs only (repeatable) + example: SLOdCTspkHlS_OzNOATQWgsuw + - in: query + name: rbacTags + schema: + type: array + description: Filter by RBAC team tags (repeatable) + example: team:payments + items: + type: string + description: Filter by RBAC team tags (repeatable) + example: team:payments + uniqueItems: true + responses: + '200': + content: + application/json: + example: + totalCount: 4 + stateCounts: + HEALTHY: 1 + AT_RISK: 1 + BREACHED: 1 + INSUFFICIENT_DATA: 1 + items: + - id: SLOdCTspkHlS_OzNOATQWgsuw + name: Checkout API latency + healthState: AT_RISK + healthScore: 42 + primaryReason: FAST_BURN_ACTIVE + trend: DEGRADING + entityType: application + blueprint: latency + windowType: rolling + windowDuration: 30 + windowDurationUnit: day + target: 0.99 + tags: + - team:payments + - tier:critical + - id: SLOsmbQLI8ORcuhF_L-QquFWQ + name: Homepage availability + healthState: HEALTHY + healthScore: 87 + primaryReason: NO_SIGNIFICANT_RISK + trend: CONSTANT + entityType: website + blueprint: availability + windowType: fixed + windowDuration: 1 + windowDurationUnit: day + target: 0.999 + tags: + - team:frontend + - id: SLOffwtrVkfRmCjOZbdv3Ls9g + name: K8s CPU saturation + healthState: BREACHED + healthScore: 4 + primaryReason: BUDGET_EXHAUSTED_STILL_BURNING + trend: IMPROVING_NOT_RECOVERED + entityType: infrastructure + blueprint: saturation + windowType: rolling + windowDuration: 7 + windowDurationUnit: day + target: 0.95 + tags: + - team:platform + - id: SLOBL-EmhZZQRy-19JVEivEdg + name: Login synthetic check + healthState: INSUFFICIENT_DATA + healthScore: null + primaryReason: STALE_DATA + trend: UNKNOWN + entityType: synthetic + blueprint: availability + windowType: rolling + windowDuration: 1 + windowDurationUnit: day + target: 0.999 + tags: [ + ] + schema: + $ref: '#/components/schemas/SloHealthSnapshot' + description: Health snapshot for all matching SLOs + '503': + content: + application/json: + example: + errors: + - Unable to fetch health score metrics + description: Health metrics temporarily unavailable + security: + - ApiKeyAuth: + - Default + summary: Get SLO Health Snapshot + tags: + - SLO Configurations /api/settings/slo/tags: get: operationId: getAllSloConfigTags @@ -25665,7 +26393,7 @@ paths: clusterName: test101-pop description: PoP in region test101 for my-kedatest popSnapshotId: null - popVersion: 1.1.3 + popVersion: 1.1.2 - id: 0po5d5MxSZx91moqCbri label: apminstana-pop displayLabel: apminstana-pop @@ -26535,7 +27263,7 @@ paths: - id: 55bzhnXQ9uqwld4Ha3bD label: Austin displayLabel: AUTO - popVersion: 1.1.3 + popVersion: 1.1.2 description: My Location 101 locationType: Private playbackCapabilities: @@ -28934,24 +29662,6 @@ components: name: type: string description: The name of the Alerting Channel. - testEventType: - type: string - enum: - - INFRA_SMART_ALERT - - LOG_SMART_ALERT - - APPLICATION_SMART_ALERT - - BUILT_IN_EVENT - - CUSTOM_EVENT - testSeverity: - type: string - enum: - - WARNING - - CRITICAL - testState: - type: string - enum: - - OPEN - - CLOSE timezone: type: string description: The timezone to be used for DateTime @@ -29980,6 +30690,16 @@ components: - members - name - permissionSet + ApiGroupToTeamRoleMigration: + type: object + properties: + targetRoleId: + type: string + description: The ID of the pre-existing role to assign to all migrated team + members + minLength: 1 + required: + - targetRoleId ApiLogItem: type: object properties: @@ -31144,6 +31864,26 @@ components: - boundaryScope - entityId - tagFilterExpression + ApplicationBatchBusinessCriticalityUpdate: + type: object + properties: + businessCriticality: + type: integer + format: int32 + maximum: 5 + minimum: 0 + ids: + type: array + items: + type: string + minLength: 1 + maxItems: 100 + minItems: 0 + idsUnique: + type: boolean + required: + - businessCriticality + - ids ApplicationConfig: type: object properties: @@ -31175,6 +31915,7 @@ components: description: Business criticality of an application (0-5) maximum: 5 minimum: 0 + nullable: true createdAt: type: integer format: int64 @@ -31995,6 +32736,10 @@ components: items: type: string description: 'List of technologies: `Eg:["springbootApplicationContainer"]`' + CallsEventResult: + type: object + allOf: + - $ref: '#/components/schemas/EventResult' ChangeSummary: type: object description: Brief summary of changes made in this config version. @@ -32866,6 +33611,7 @@ components: description: Section of the metric in the catalog enum: - ACE + - AI - ALICLOUD - AWS - AZURE @@ -32877,32 +33623,45 @@ components: - CONTAINER - COUCHBASE - DFQ + - DIRECTORY - ELASTICSEARCH - GCP - HADOOP_YARN + - HOST - HAZELCAST - IBM_CLOUD - IBM_DATAPOWER - IBM_I_SERIES - - IBM_MQ - IBM_MQMFT - IBM_OPENSTACK - - KAFKA_CONNECT + - IBM_Z + - MESSAGING + - OPENTELEMETRY + - WEB_SERVER + - APP_SERVER + - RUNTIME + - DATABASE - KUBERNETES - MONGO_DB - MSSQL - ORACLE_DB - OTHERS - POSTGRESQL - - REDIS - SAP - SELF_MONITORING - SOLR - SPARK - TIBCOBW - TUXEDO - - VSHPERE - WEBSPHERE + - IBM_POWER + - MAPR + - VIRTUALIZATION + - APPLICATION + - API_GATEWAY + - LOAD_BALANCER + - IBM_API_CONNECT + - IBM_INFOSPHERE - CUSTOM_ENTITY nullable: true source: @@ -33032,6 +33791,7 @@ components: description: Section of the tag in the catalog enum: - ACE + - AI - ALICLOUD - AWS - AZURE @@ -33043,32 +33803,45 @@ components: - CONTAINER - COUCHBASE - DFQ + - DIRECTORY - ELASTICSEARCH - GCP - HADOOP_YARN + - HOST - HAZELCAST - IBM_CLOUD - IBM_DATAPOWER - IBM_I_SERIES - - IBM_MQ - IBM_MQMFT - IBM_OPENSTACK - - KAFKA_CONNECT + - IBM_Z + - MESSAGING + - OPENTELEMETRY + - WEB_SERVER + - APP_SERVER + - RUNTIME + - DATABASE - KUBERNETES - MONGO_DB - MSSQL - ORACLE_DB - OTHERS - POSTGRESQL - - REDIS - SAP - SELF_MONITORING - SOLR - SPARK - TIBCOBW - TUXEDO - - VSHPERE - WEBSPHERE + - IBM_POWER + - MAPR + - VIRTUALIZATION + - APPLICATION + - API_GATEWAY + - LOAD_BALANCER + - IBM_API_CONNECT + - IBM_INFOSPHERE - CUSTOM_ENTITY source: type: string @@ -34059,6 +34832,7 @@ components: - Synthetic - MobileApp - Log + - Calls eventConfigurationType: type: string id: @@ -34166,6 +34940,7 @@ components: discriminator: mapping: APPLICATION: '#/components/schemas/ApplicationEventResult' + CALLS: '#/components/schemas/CallsEventResult' ENDPOINT: '#/components/schemas/EndpointEventResult' INFRASTRUCTURE: '#/components/schemas/InfraEventResult' LOG: '#/components/schemas/LogEventResult' @@ -36124,47 +36899,6 @@ components: minLength: 1 required: - tagName - GroupMapping: - type: object - properties: - groupId: - type: string - minLength: 1 - id: - type: string - maxLength: 64 - minLength: 0 - nullable: true - key: - type: string - maxLength: 65536 - minLength: 0 - teamId: - type: string - maxLength: 64 - minLength: 5 - nullable: true - value: - type: string - maxLength: 65536 - minLength: 0 - required: - - groupId - - key - - value - GroupMappingOverview: - type: object - properties: - id: - type: string - key: - type: string - role: - type: string - team: - type: string - value: - type: string HealthState: type: object properties: @@ -36705,6 +37439,8 @@ components: properties: restrictEmptyIdpGroups: type: boolean + description: If IdP users need to be mapped to at least one group before + being allowed to access Instana. IdpStatusUpdate: type: object properties: @@ -37901,6 +38637,29 @@ components: $ref: '#/components/schemas/LogVolumeUsageItem' required: - logVolumeUsageItems + LoggingPerspective: + type: object + description: A filtered view of logs defined by a tag filter expression. Referred + to as a Log Perspective in the UI. + properties: + description: + type: string + description: Optional free-text description shown in the UI. Set to null + to clear. + nullable: true + filter: + $ref: '#/components/schemas/TagFilterExpressionElement' + perspectiveId: + type: string + description: "Server-assigned unique identifier. \nOmit on create (POST).\ + \ \nMust match the path parameter on update (PUT)." + perspectiveName: + type: string + description: Display name of the perspective. Must be unique. `Required`. + minLength: 1 + required: + - filter + - perspectiveName LogsApiResponse: type: object properties: @@ -37989,7 +38748,7 @@ components: retrievalSize: type: integer format: int32 - maximum: 200 + maximum: 2000 minimum: 1 tagFilterExpression: $ref: '#/components/schemas/TagFilterExpressionElement' @@ -38286,6 +39045,61 @@ components: required: - id - tagFilterExpression + Mapping: + type: object + properties: + groupId: + type: string + description: ID of role or group to be assigned if the mapping is matched. + minLength: 1 + id: + type: string + description: ID of the current mapping. + maxLength: 64 + minLength: 0 + nullable: true + key: + type: string + description: Key (in the IdPs "user-profile" to be checked for mapping. + maxLength: 65536 + minLength: 0 + teamId: + type: string + description: Optional, ID of team, to which the role assignment is scoped. + If absent mapping is unit scoped. + maxLength: 64 + minLength: 5 + nullable: true + value: + type: string + description: Value (of the key in the IdPs "user-profile" to be compared + for mapping. + maxLength: 65536 + minLength: 0 + required: + - groupId + - key + - value + MappingOverview: + type: object + properties: + id: + type: string + description: ID of the current mapping. + key: + type: string + description: Key (in the IdPs "user-profile" to be checked for mapping. + role: + type: string + description: Name of role or group to be assigned if the mapping is matched. + team: + type: string + description: Optional, Name of team, to which the role assignment is scoped. + If absent mapping is unit scoped. + value: + type: string + description: Value (of the key in the IdPs "user-profile" to be compared + for mapping. MatchAllHttpPathSegmentMatchingRule: type: object allOf: @@ -38768,6 +39582,7 @@ components: description: Category of the entity enum: - ACE + - AI - ALICLOUD - AWS - AZURE @@ -38779,32 +39594,45 @@ components: - CONTAINER - COUCHBASE - DFQ + - DIRECTORY - ELASTICSEARCH - GCP - HADOOP_YARN + - HOST - HAZELCAST - IBM_CLOUD - IBM_DATAPOWER - IBM_I_SERIES - - IBM_MQ - IBM_MQMFT - IBM_OPENSTACK - - KAFKA_CONNECT + - IBM_Z + - MESSAGING + - OPENTELEMETRY + - WEB_SERVER + - APP_SERVER + - RUNTIME + - DATABASE - KUBERNETES - MONGO_DB - MSSQL - ORACLE_DB - OTHERS - POSTGRESQL - - REDIS - SAP - SELF_MONITORING - SOLR - SPARK - TIBCOBW - TUXEDO - - VSHPERE - WEBSPHERE + - IBM_POWER + - MAPR + - VIRTUALIZATION + - APPLICATION + - API_GATEWAY + - LOAD_BALANCER + - IBM_API_CONNECT + - IBM_INFOSPHERE - CUSTOM_ENTITY label: type: string @@ -40160,6 +40988,7 @@ components: description: Business criticality of an application (0-5) maximum: 5 minimum: 0 + nullable: true label: type: string description: 'Name of the Application Perspective. Eg: `app1`.' @@ -42598,6 +43427,56 @@ components: type: string required: - type + SloHealthSnapshot: + type: object + properties: + items: + type: array + items: + $ref: '#/components/schemas/SloHealthSnapshotItem' + stateCounts: + type: object + additionalProperties: + type: integer + format: int32 + totalCount: + type: integer + format: int32 + SloHealthSnapshotItem: + type: object + properties: + blueprint: + type: string + entityType: + type: string + healthScore: + type: integer + format: int32 + nullable: true + healthState: + type: string + id: + type: string + name: + type: string + primaryReason: + type: string + tags: + type: array + items: + type: string + target: + type: number + format: double + trend: + type: string + windowDuration: + type: integer + format: int32 + windowDurationUnit: + type: string + windowType: + type: string SloReport: type: object properties: @@ -42654,6 +43533,22 @@ components: format: int64 description: Starting point of the data retrieval, specified as 13 digit Unix Timestamp milliseconds + healthScore: + type: integer + format: int32 + description: Health score of the SLO (0–100), null when state is INSUFFICIENT_DATA + or NOT_EVALUATED + healthScorePrimaryReason: + type: string + description: Primary reason code driving the current health state + healthScoreTrend: + type: string + description: Burn rate trend direction (IMPROVING, CONSTANT, DEGRADING, + UNKNOWN) + healthState: + type: string + description: Health state of the SLO (HEALTHY, AT_RISK, BREACHED, INSUFFICIENT_DATA, + NOT_EVALUATED) sli: type: number format: double @@ -44117,6 +45012,7 @@ components: items: type: string enum: + - CNP - GitHub - PW syntheticType: @@ -45077,6 +45973,10 @@ components: type: integer format: int64 nullable: true + profiles: + type: array + items: + type: string rbacTags: type: array items: @@ -46607,6 +47507,7 @@ components: - ServiceLevelSmartAlert - ApdexSmartAlert - LogSmartAlert + - GenAISmartAlert required: - id - label @@ -47996,6 +48897,9 @@ components: sessionId: type: string nullable: true + sessionReplayStatus: + type: integer + format: int64 snippetVersion: type: string sslTime: diff --git a/pyproject.toml b/pyproject.toml index a00392c..16f1d4c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "instana_client" -version = "1.1.3" +version = "1.1.4" description = "Instana REST API documentation" authors = [ {name = "© Instana",email = "support@instana.com"}, diff --git a/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 23d338d..ba357f5 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -22,13 +22,14 @@ # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools NAME = "instana-client" -VERSION = "1.1.3" +VERSION = "1.1.4" PYTHON_REQUIRES = ">= 3.9" REQUIRES = [ "urllib3 >= 2.1.0, < 3.0.0", "python-dateutil >= 2.8.2", "pydantic >= 2", "typing-extensions >= 4.7.1", + "lazy-imports >= 1, < 2", ] setup( diff --git a/test/test_api_group_to_team_role_migration.py b/test/test_api_group_to_team_role_migration.py new file mode 100644 index 0000000..71eb914 --- /dev/null +++ b/test/test_api_group_to_team_role_migration.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from instana_client.models.api_group_to_team_role_migration import ApiGroupToTeamRoleMigration + +class TestApiGroupToTeamRoleMigration(unittest.TestCase): + """ApiGroupToTeamRoleMigration unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ApiGroupToTeamRoleMigration: + """Test ApiGroupToTeamRoleMigration + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ApiGroupToTeamRoleMigration` + """ + model = ApiGroupToTeamRoleMigration() + if include_optional: + return ApiGroupToTeamRoleMigration( + target_role_id = '0' + ) + else: + return ApiGroupToTeamRoleMigration( + target_role_id = '0', + ) + """ + + def testApiGroupToTeamRoleMigration(self): + """Test ApiGroupToTeamRoleMigration""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_application_batch_business_criticality_update.py b/test/test_application_batch_business_criticality_update.py new file mode 100644 index 0000000..c9f6602 --- /dev/null +++ b/test/test_application_batch_business_criticality_update.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from instana_client.models.application_batch_business_criticality_update import ApplicationBatchBusinessCriticalityUpdate + +class TestApplicationBatchBusinessCriticalityUpdate(unittest.TestCase): + """ApplicationBatchBusinessCriticalityUpdate unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ApplicationBatchBusinessCriticalityUpdate: + """Test ApplicationBatchBusinessCriticalityUpdate + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ApplicationBatchBusinessCriticalityUpdate` + """ + model = ApplicationBatchBusinessCriticalityUpdate() + if include_optional: + return ApplicationBatchBusinessCriticalityUpdate( + business_criticality = 0, + ids = [ + '0' + ], + ids_unique = True + ) + else: + return ApplicationBatchBusinessCriticalityUpdate( + business_criticality = 0, + ids = [ + '0' + ], + ) + """ + + def testApplicationBatchBusinessCriticalityUpdate(self): + """Test ApplicationBatchBusinessCriticalityUpdate""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_calls_event_result.py b/test/test_calls_event_result.py new file mode 100644 index 0000000..095e20f --- /dev/null +++ b/test/test_calls_event_result.py @@ -0,0 +1,51 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from instana_client.models.calls_event_result import CallsEventResult + +class TestCallsEventResult(unittest.TestCase): + """CallsEventResult unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CallsEventResult: + """Test CallsEventResult + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `CallsEventResult` + """ + model = CallsEventResult() + if include_optional: + return CallsEventResult( + ) + else: + return CallsEventResult( + ) + """ + + def testCallsEventResult(self): + """Test CallsEventResult""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_logging_perspective.py b/test/test_logging_perspective.py new file mode 100644 index 0000000..f6055de --- /dev/null +++ b/test/test_logging_perspective.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from instana_client.models.logging_perspective import LoggingPerspective + +class TestLoggingPerspective(unittest.TestCase): + """LoggingPerspective unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> LoggingPerspective: + """Test LoggingPerspective + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `LoggingPerspective` + """ + model = LoggingPerspective() + if include_optional: + return LoggingPerspective( + description = '', + filter = instana_client.models.tag_filter_expression_element.TagFilterExpressionElement( + type = '', ), + perspective_id = '', + perspective_name = '0' + ) + else: + return LoggingPerspective( + filter = instana_client.models.tag_filter_expression_element.TagFilterExpressionElement( + type = '', ), + perspective_name = '0', + ) + """ + + def testLoggingPerspective(self): + """Test LoggingPerspective""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_mapping.py b/test/test_mapping.py new file mode 100644 index 0000000..fffe584 --- /dev/null +++ b/test/test_mapping.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from instana_client.models.mapping import Mapping + +class TestMapping(unittest.TestCase): + """Mapping unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> Mapping: + """Test Mapping + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `Mapping` + """ + model = Mapping() + if include_optional: + return Mapping( + group_id = '0', + id = '', + key = '', + team_id = '01234', + value = '' + ) + else: + return Mapping( + group_id = '0', + key = '', + value = '', + ) + """ + + def testMapping(self): + """Test Mapping""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_mapping_overview.py b/test/test_mapping_overview.py new file mode 100644 index 0000000..e411725 --- /dev/null +++ b/test/test_mapping_overview.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from instana_client.models.mapping_overview import MappingOverview + +class TestMappingOverview(unittest.TestCase): + """MappingOverview unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> MappingOverview: + """Test MappingOverview + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `MappingOverview` + """ + model = MappingOverview() + if include_optional: + return MappingOverview( + id = '', + key = '', + role = '', + team = '', + value = '' + ) + else: + return MappingOverview( + ) + """ + + def testMappingOverview(self): + """Test MappingOverview""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_slo_health_snapshot.py b/test/test_slo_health_snapshot.py new file mode 100644 index 0000000..c8be195 --- /dev/null +++ b/test/test_slo_health_snapshot.py @@ -0,0 +1,73 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from instana_client.models.slo_health_snapshot import SloHealthSnapshot + +class TestSloHealthSnapshot(unittest.TestCase): + """SloHealthSnapshot unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SloHealthSnapshot: + """Test SloHealthSnapshot + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SloHealthSnapshot` + """ + model = SloHealthSnapshot() + if include_optional: + return SloHealthSnapshot( + items = [ + instana_client.models.slo_health_snapshot_item.SloHealthSnapshotItem( + blueprint = '', + entity_type = '', + health_score = 56, + health_state = '', + id = '', + name = '', + primary_reason = '', + tags = [ + '' + ], + target = 1.337, + trend = '', + window_duration = 56, + window_duration_unit = '', + window_type = '', ) + ], + state_counts = { + 'key' : 56 + }, + total_count = 56 + ) + else: + return SloHealthSnapshot( + ) + """ + + def testSloHealthSnapshot(self): + """Test SloHealthSnapshot""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_slo_health_snapshot_item.py b/test/test_slo_health_snapshot_item.py new file mode 100644 index 0000000..3b0cde8 --- /dev/null +++ b/test/test_slo_health_snapshot_item.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.328.1128 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from instana_client.models.slo_health_snapshot_item import SloHealthSnapshotItem + +class TestSloHealthSnapshotItem(unittest.TestCase): + """SloHealthSnapshotItem unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SloHealthSnapshotItem: + """Test SloHealthSnapshotItem + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SloHealthSnapshotItem` + """ + model = SloHealthSnapshotItem() + if include_optional: + return SloHealthSnapshotItem( + blueprint = '', + entity_type = '', + health_score = 56, + health_state = '', + id = '', + name = '', + primary_reason = '', + tags = [ + '' + ], + target = 1.337, + trend = '', + window_duration = 56, + window_duration_unit = '', + window_type = '' + ) + else: + return SloHealthSnapshotItem( + ) + """ + + def testSloHealthSnapshotItem(self): + """Test SloHealthSnapshotItem""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_synthetic_resource_update_list_network_profile_list_network_profile.py b/test/test_synthetic_resource_update_list_network_profile_list_network_profile.py index 4568e3f..5123516 100644 --- a/test/test_synthetic_resource_update_list_network_profile_list_network_profile.py +++ b/test/test_synthetic_resource_update_list_network_profile_list_network_profile.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/test/test_unified_beacon.py b/test/test_unified_beacon.py index 67ef08c..0d8918d 100644 --- a/test/test_unified_beacon.py +++ b/test/test_unified_beacon.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.326.1571 + The version of the OpenAPI document: 1.328.1128 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech)